-
Notifications
You must be signed in to change notification settings - Fork 17
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 `has_attached_file' for #<Class:0x00000003346ba8> #20
Comments
Its because you dont have paperclip gem installed.. On Thu, Nov 1, 2012 at 6:39 PM, woaigithub [email protected] wrote:
|
https://github.com/thoughtbot/paperclip undefined method `read_inheritable_attribute' for #Class:0x00000003e60570 |
it might be case that you are using latest version of paperclip use On Thu, Nov 1, 2012 at 7:17 PM, woaigithub [email protected] wrote:
|
gem 'paperclip', '~> 3.0' |
my environment is ruby1.9.3+rails3.2.8, what branch should i use? master or rails_3? or all is ok? http://42.121.5.68/admin/posts/new the text_area is not rich_text_box, it is a ordinary text_area. github.com/woaigithub/blog is my project, if you have time, please see it why do not work correctly? |
error is 'You need to supply at least one validation'. |
` belongs_to :post validates :content, :presence => true, :length => 10..200 error is 'You need to supply at least one validation'. |
Hi upload class is please help me.. |
probs too here, rails 4 |
i was trying to add Papercliphas_attached_file :foto, :styles => { :medium => "300x300>", :thumb => "100x100>" } to the controller instead of the model |
app/models/tiny_print.rb
undefined method `has_attached_file' for #Class:0x00000003346ba8
The text was updated successfully, but these errors were encountered: