assembler / attachinary

Attachments handler for Rails that uses Cloudinary for storage.
MIT License
295 stars 129 forks source link

undefined method `has_attachment' #145

Open pailoro opened 7 years ago

pailoro commented 7 years ago

After setting all the items according to the documentation, I'm getting this error when I try to run the server

/gems/ruby-2.3.3@r426/gems/activerecord-4.2.6/lib/active_record/dynamic_matchers.rb:26:in method_missing': undefined methodhas_attachment' for User (call 'User.connection' to establish a connection):Class (NoMethodError) Iḿ generate all files and included the require "attachinary/orm/active_record" in the applicationController.

Also included the rout: mount Attachinary::Engine => "/attachinary" and run the migrations.

Has anyone ever come across this problem? Thanks!

danieldocki commented 7 years ago

Same here....

gem 'rails', '~> 5.0.1'
ruby '2.4.1'
estiens commented 7 years ago

Same here, rails 5.0.4, ruby 2.3.1

algritz commented 7 years ago

Same,