mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Always use table.* in the finder query unless specified
This commit is contained in:
@@ -145,7 +145,7 @@ module ActiveRecord
|
||||
@implicit_readonly = false
|
||||
arel = arel.project(s) if s.present?
|
||||
end
|
||||
elsif joins.present?
|
||||
else
|
||||
arel = arel.project(@klass.quoted_table_name + '.*')
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user