Paperclip produces this error, after checking out the plugin's rails3 branch. My Gemfile has following line:
gem 'paperclip', :git => 'http://github.com/thoughtbot/paperclip.git', :branch => 'rails3'
And the error message is:
NoMethodError: undefined method `has_attached_file' for #<Class:0x2a50530>