I've generated the dragonfly.rb file inside the initializers folder. The setup for Dragonfly is simply what's provided on their site. Querying the specific article details in the Rails console gives me the following NoMethodError there: NoMethodError: undefined method `dragonfly_accessor' for #įrom /Users/user/.rvm/gems/ruby-2.1.0/gems/activerecord-4.0.4/lib/active_record/dynamic_matchers.rb:22:in `method_missing' To be clear, the page loads and displays a broken image link. I am using the Dragonfly gem for image uploads on this Rails 4 blog app and am experiencing an issue where the images appear to be saved through the model (locally, in the default public folder, at least: not yet using online file storage), but not appearing in the article show page. This question has been asked and answered (for that user), but my own experience has varied.įirst: Rails 4.0.4, Ruby 2.1.0, Dragonfly gem 1.0.5.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |