diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-12-22 23:04:10 +0000 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-12-22 23:04:19 +0000 |
commit | 13a9efe62ed202919e208bbee8565ffd68e39ca3 (patch) | |
tree | 7bcfc9dbee554fdd9c8287a77363cf705ef9717c /activerecord/lib/active_record/relation | |
parent | 173eacadf1a827c8731e1ff55f396dc59aacc5e3 (diff) | |
download | rails-13a9efe62ed202919e208bbee8565ffd68e39ca3.tar.gz rails-13a9efe62ed202919e208bbee8565ffd68e39ca3.tar.bz2 rails-13a9efe62ed202919e208bbee8565ffd68e39ca3.zip |
Delete unnecessary line that was necessary before I changed the code and it became no longer necessary.
Diffstat (limited to 'activerecord/lib/active_record/relation')
-rw-r--r-- | activerecord/lib/active_record/relation/calculations.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation/calculations.rb b/activerecord/lib/active_record/relation/calculations.rb index 0d60810cd2..bf9b4bf1c9 100644 --- a/activerecord/lib/active_record/relation/calculations.rb +++ b/activerecord/lib/active_record/relation/calculations.rb @@ -177,7 +177,6 @@ module ActiveRecord # Person.where(:confirmed => true).limit(5).pluck(:id) # def pluck(column_name) - column_name = column_name.to_s klass.connection.select_all(select(column_name).arel).map! do |attributes| klass.type_cast_attribute(attributes.keys.first, klass.initialize_attributes(attributes)) end |