activemodel-associations
activemodel-associations copied to clipboard
Incompatible with Rails 5.2 changes to add_constraints
It looks like Rails changed how add_constraints works again in Rails 5.2, so in addition to the open PR for ActiveRecord 5.1 support, ActiveRecord 5.2 support will require additional significant changes.
See here: https://github.com/rails/rails/blob/5-2-stable/activerecord/lib/active_record/associations/association_scope.rb#L123
Really interested in these changes... is this gem still being maintained?? :roll_eyes: