Skip to content


undefined method 'has_attached_file' #192

razic opened this Issue · 5 comments

3 participants


paperclips gives undefined method error for has_attached_file


source ''
gem 'rails', :git => 'git://'
gem 'pg'
gem 'paperclip', :git => 'git://', :branch => 'rails3'

Had the same issue
gem 'paperclip', :git => 'git://', :branch => 'rails3'
workarounded it


Are you sure? That's not working for me either.


Yeah this is defnitely broken at the moment - at least in rails3beta3.
This issue is a dup of -


As a work around, you can add the line
include Paperclip
In your model just above the attempt to call has_attached_file.


I will try this later - am not at a computer right now. Thanks, I'll close this issue and follow the one you mentioned.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.