lib/rom/sql/association/many_to_many.rb in rom-sql-1.0.3 vs lib/rom/sql/association/many_to_many.rb in rom-sql-1.1.0
- old
+ new
@@ -35,12 +35,10 @@
end
else
right.schema.merge(join_rel.schema.project(left_fk))
end.qualified
- relation = left
- .inner_join(source, join_keys(relations))
- .order(*right.schema.project_pk.qualified)
+ relation = left.inner_join(source, join_keys(relations))
if view
apply_view(schema, relation)
else
schema.(relation)