Skip to content

Commit

Permalink
Fix c479480 to account for from_value -> from_clause in bdc5141
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Feb 24, 2015
1 parent c479480 commit 26915a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/relation/query_methods.rb
Expand Up @@ -999,7 +999,7 @@ def build_select(arel)
end

def arel_columns(columns)
if from_value
if from_clause.value
columns
else
columns.map do |field|
Expand Down

0 comments on commit 26915a1

Please sign in to comment.