I've been having trouble deploying a rails app to Heroku - and it's working locally.
Receiving the following error from rails console:
1: from /app/vendor/bundle/ruby/2.5.0/gems/activestorage-5.2.1/app/models/active_storage/blob/representable.rb:7:in
block in <module:Representable>' /app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/dynamic_matchers.rb:22:in
method_missing': undefined method `has_one_attached' for # (NoMethodError)
I'm not utilizing a db in this project, I moved sqlite3 here -
group :test do
# Adds support for Capybara system testing and selenium driver
gem 'capybara', '>= 2.15'
gem 'selenium-webdriver'
gem 'sqlite3'
# Easy installation and use of chromedriver to run system tests with Chrome
gem 'chromedriver-helper'
end