Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error with paperclip #2410

Closed
wants to merge 1 commit into from
Closed

Conversation

dmilisic
Copy link

Fix for http://stackoverflow.com/questions/17523849/rails-4-paperclip-and-rails-admin-undefined-method-attachment-definitions-er

Paperclip factory tries to register paperclip type even when there is no has_attached_file definition in the model. That causes undefined method 'attachment_definitions' erorr.

@mshibuya
Copy link
Member

mshibuya commented Oct 3, 2015

Merging into #1674.

@mshibuya mshibuya closed this Oct 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants