Skip to content

undefined method 'has_attached_file' #180

Description

@jakoss
> Booting WEBrick
=> Rails 4.1.8 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
=> Ctrl-C to shutdown server
Exiting
/Volumes/D/KonsultacjeSpoleczneJastrzebieZdroj/vendor/bundle/ruby/2.2.0/gems/activerecord-4.1.8/lib/active_record/dynamic_matchers.rb:26:in `method_missing': undefined method `has_attached_file' for #<Class:0x007fbc1689b230> (NoMethodError)
from /Volumes/D/KonsultacjeSpoleczneJastrzebieZdroj/vendor/bundle/ruby/2.2.0/bundler/gems/rich-2ee815f0d8f5/app/models/rich/rich_file.rb:13:in `<class:RichFile>'

After clean install from git gem. Any idea why is that happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions