Hi being relatively new to rails I am trying to start a simple project
on using paperclip to upload an image file and create a thumbnail.
However I am not sure how to use the rails plug-in? What I did was
install paperclip using gem but not sure if this is the right way to go
require ‘paperclip’ seems to fail.
I also tried
script/plugin install git://github.com/thoughtbot/paperclip.git
I don’t see the plugin downloaded when I look in ‘vendos/plugin’ folder?
I get an error when I run the sample code using the following as an
NoMethodError in UsersController#new
has_attached_file' for #<Class:0x7f645b46a700> RAILS_ROOT: /home/yadav/tmp/rails/PaperclipDemo Application Trace | Framework Trace | Full Trace /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:1959:inmethod_missing’