-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined method most_appropriate_url with Paperclip 2.4.5 #54
Comments
same here, Anyone reached a solution? |
I got that same problem when using paperclip 2.5 but when reverting it back to 2.4.5 I got it working again. |
Changing paperclip to 2.4.5 made it work! .. Thanks @aguilarsoto alot |
with commented out line:
the processing seems to work fine as well as the url output (as far as i tested as part of a project) i dont really know where to start looking for the root cause but this way paperclip and delayed-paperclip at least work togeter again in the latest version for who else needs it to |
the short answer is that the most_appropriate_url was moved from the attachment to the url_generator and probably the call is different now, when i got a spare minute I can probably came up with a patch for delayed_paperclip lib/paperclip/attachment.rb: def most_appropriate_url is moved to lib/paperclip/url_generator.rb: def most_appropriate_url regards, |
Same problem here. @aguilarsoto a patch will be warmly welcomed! |
Hi gents, the fix has being submited as a pull request its a simple change if you want to see it here it is. Regards, |
seems like I made a mistake here... fixing it now.... |
I'm still having this issue with 2.7 /home/james/dev/baus/paperclip/ruby/1.8/gems/activesupport-3.1.3/lib/active_support/core_ext/module/aliasing.rb:31:in paperclip (2.7.0) |
+1 I too have the same issue |
Fixed in : #62 |
+1 |
Hello !
Here is my bug :
/Users/rnaud/.rvm/gems/ruby-1.9.2-p290/bundler/gems/rails-b7c7f08c87a8/activesupport/lib/active_support/core_ext/module/aliasing.rb:31:in
alias_method': undefined method
most_appropriate_url' for class `Paperclip::Attachment' (NameError)using in my gem file :
Using paperclip (2.4.5) from git://github.com/thoughtbot/paperclip.git (at master)
Using delayed_paperclip (2.4.5.1) from git://github.com/jstorimer/delayed_paperclip.git (at master)
The text was updated successfully, but these errors were encountered: