-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
[4.1.1] Paperclip Gerenator - No Method Error #1495
Comments
have the same issue |
It seems that this commit fixes the problem. But I guess that isn't avaliable in any release yet. I used |
Did you just put that in the command line? I'm getting 'unknown command paperclip' when I paste that in. |
No, you have to put the command on Gemfile |
I did like marcioj recommended and it works know. Thanks |
THANK YOU very much! Been looking at this for a few days now. what marcioj suggested worked perfectly for me as well. I have ruby 2.1.1 and rails 4.0.4. Not sure if that combination was the issue. |
Probably yes because I have the same combination |
Same here, thanks for solution. |
This worked for me as well. Thank you! |
Replacing the gem command with gem 'paperclip', github: 'thoughtbot/paperclip' worked! |
Thanks for the solution. I was getting the same error and replacing "gem "paperclip", "~> 4.1" with |
thanks for the solution - marcioj. This fixed the problem |
Thanks for the solution! |
You have to put this " gem 'paperclip', github: 'thoughtbot/paperclip' " command on Gemfile. |
thanks for the solution! |
This solution worked for me too. Thanks for the help! |
I guess you guys need to merge the pull request on the gem repo, switching the gem to this repo did the trick ! |
Life savor! Thanks!!!! |
thanks @marcioj for the glitch! |
This worked for me! Thanks :) |
Worked for me as well. Thank you! |
Worked for me too! thank you |
Using github directly should not be the solution for this problem. This problem still exists in the default gemfile -((( |
Wow, I didn't realize I'd gone so long without a new version. I just pushed out 4.2.0 which includes this change. Thanks, all! |
Thanks! it worked for me |
Thanks for this input, solved my problem! |
Thanks a ton @marcioj! |
Thanks that worked @marcioj |
Many thanks @marcioj! |
Had same issue, wasn't working, realized I was on old version of the gem.
|
yes, gem 'paperclip', '~> 4.2' fixed it for me. I wish there's a readme for anticipated errors |
I looked up the latest version of paperclip from https://rubygems.org and its 4.3.0 then in my Gemfile i changed it to gem 'paperclip' , ' |
It worked for me as well. GREAT! |
Just chiming in -- this worked for me as well, thank you. |
Thanks- fixed my issue as well |
That was the perfect fix! Thank you! |
gem 'paperclip', '~> 4.2' was the perfect solution to my problem, thanks. |
Hi,
When I run the command "rails g paperclip user photo" I have this message:
/usr/local/Cellar/ruby/2.1.1/lib/ruby/gems/2.1.0/gems/railties-4.0.4/lib/rails/generators/actions/create_migration.rb:13:in
migration_file_name': protected method
migration_file_name' called for #PaperclipGenerator:0x007fb3c6494c20 (NoMethodError)Can somebody help me ?
The text was updated successfully, but these errors were encountered: