Skip to content

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

Description

@tepidt

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions