lib/rom/sql/plugin/associates.rb in rom-sql-2.5.0 vs lib/rom/sql/plugin/associates.rb in rom-sql-3.0.0
- old
+ new
@@ -144,11 +144,10 @@
#
# @api public
def with_association(name, opts = EMPTY_HASH)
self.class.build(
relation,
- **options,
- associations: associations.merge(name => opts)
+ { **options, associations: associations.merge(name => opts) }
)
end
end
end
end