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

undefined method `const_defined?' for nil:NilClass #14

Open
tepidt opened this issue Dec 31, 2014 · 0 comments
Open

undefined method `const_defined?' for nil:NilClass #14

tepidt opened this issue Dec 31, 2014 · 0 comments

Comments

@tepidt
Copy link

tepidt commented Dec 31, 2014

I have a working app that uses papercip_database gem version 2.2.2.

I recently updated to version 2.3.1 and received the following error message:
ActionView::Template::Error (undefined method `const_defined?' for nil:NilClass)

I did not change my code, all I did was upgrade the gem. Anything I'm doing wrong?

I also tried testing it out in the console and received the same error message but pointing to your new code:
from ../gems/paperclip_database-2.3.1/lib/paperclip/storage/database.rb:98 in 'setup_paperclip_file_model'

I'm using rails 3.2.11, ruby 1.9.3, and paperclip 3.5.0

Please let me know if I need to provide additional information.

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

No branches or pull requests

1 participant