Permalink
Browse files

stop converting strings to symbols

  • Loading branch information...
1 parent a8eb13a commit de6a35b38a6e633e7639de25f6a83c7892fe8a01 @tenderlove tenderlove committed Jan 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/relation/predicate_builder.rb
@@ -58,7 +58,7 @@ def self.references(attributes)
key
else
key = key.to_s
- key.split('.').first.to_sym if key.include?('.')
+ key.split('.').first if key.include?('.')
end
end.compact
end

0 comments on commit de6a35b

Please sign in to comment.