Skip to content

Commit

Permalink
construct_joins no longer needs an argument
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Dec 14, 2010
1 parent 2e7da54 commit 7af9ec8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -54,7 +54,7 @@ def construct_select(custom_select = nil)
custom_select || @reflection.options[:select] || "#{distinct}#{@reflection.quoted_table_name}.*"
end

def construct_joins(custom_joins = nil)
def construct_joins
right = @reflection.through_reflection.klass.arel_table
left = @reflection.klass.arel_table

Expand Down

0 comments on commit 7af9ec8

Please sign in to comment.