rails 3 : paperclip : undefined method logo

38 views
Skip to first unread message

supriya surve

unread,
May 4, 2012, 2:48:30 AM5/4/12
to Paperclip Plugin
In model I have something like

has_attached_file :logo, something_here

Code/ Uploading logo is working fine, but I need dimensions before
uploading the logo. So when I am using geometry, error is thrown for

undefined local variable or method 'logo' for #<Class:0xbfabbc0>

Any idea how to solve this? Or is there any other way to get the
dimension before storing the data.
Reply all
Reply to author
Forward
0 new messages