aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/relation/predicate_builder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation/predicate_builder.rb b/activerecord/lib/active_record/relation/predicate_builder.rb
index 57b7e8d13d..59a3130939 100644
--- a/activerecord/lib/active_record/relation/predicate_builder.rb
+++ b/activerecord/lib/active_record/relation/predicate_builder.rb
@@ -7,7 +7,7 @@ module ActiveRecord
table = default_table
if column.is_a?(Symbol) && klass.attribute_alias?(column)
- column = klass.attribute_alias(column.to_s)
+ column = klass.attribute_alias(column)
end
if value.is_a?(Hash)