Upon pushing my latest commit to heroku, I've been recieving this error, and can't seem to find where it's coming from:
app[web.1]: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/core_ext/hash/keys.rb:75:in `block in assert_valid_keys': Unknown key: :optional. Valid keys are: :class_name, :anonymous_class, :foreign_key, :validate, :autosave, :dependent, :primary_key, :inverse_of, :required, :foreign_type, :polymorphic, :touch, :counter_cache (Argum entError)
Can't seem to figure out why am recieving this error when in development it doesn't occur. Any ideas?
:optionalmethod/key is not used in any of them. - Bad Hombreoptionalkey somewhere in your code. If so it has been added in Rails 5.x - Pavanoptionalkey ever as my code has been working in production fine except the last few days. Is this caused due to using an older version of Rails? - Bad Hombre