Closed ghost closed 7 years ago
After this merge: https://github.com/rails/rails/pull/18937, running the following line
# Require `belongs_to` associations by default. Previous versions had false. Rails.application.config.active_record.belongs_to_required_by_default = true
will do something like:
ActiveRecord::Base.belongs_to_required_by_default = true
But when usingrgeo-activerecord:
rgeo-activerecord
ActiveRecord::Base.belongs_to_required_by_default #=> nil
I couldn't dig enough to suggest a solution.
I'm closing this as this is no longer an issue to me
After this merge: https://github.com/rails/rails/pull/18937, running the following line
will do something like:
But when using
rgeo-activerecord
:I couldn't dig enough to suggest a solution.