# File lib/dm-core/associations/many_to_many.rb, line 133 def query # TODO: consider making this a query_for method, so that ManyToMany::Relationship#query only # returns the query supplied in the definition @many_to_many_query ||= super.merge(:links => links).freeze end