在检查了插件的rails3分支后,Paperclip产生了这个错误。我的Gemfile文件有以下行:
gem 'paperclip', :git => 'http://github.com/thoughtbot/paperclip.git', :branch => 'rails3'
错误信息如下:
NoMethodError: undefined method `has_attached_file' for #<Class:0x2a50530>