lib/torque/postgresql/reflection/association_reflection.rb in torque-postgresql-3.2.2 vs lib/torque/postgresql/reflection/association_reflection.rb in torque-postgresql-3.3.0
- old
+ new
@@ -15,10 +15,10 @@
end
private
# Check if the foreign key should be pluralized
- def derive_foreign_key
+ def derive_foreign_key(*, **)
result = super
result = ActiveSupport::Inflector.pluralize(result) \
if collection? && connected_through_array?
result
end