aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-12-28 07:01:21 -0800
committerXavier Noria <fxn@hashref.com>2011-12-28 07:01:21 -0800
commit40cab62560046181daded741956faa20a17cbb09 (patch)
tree0a896cac5a1be5010135c0fb53e9c6307b216763 /activerecord/lib
parentd547761eb3f15ac223c56183c1e98254046e1a61 (diff)
parent7767159a15ea82e296f997398cd209eac427bacd (diff)
downloadrails-40cab62560046181daded741956faa20a17cbb09.tar.gz
rails-40cab62560046181daded741956faa20a17cbb09.tar.bz2
rails-40cab62560046181daded741956faa20a17cbb09.zip
Merge pull request #4217 from tapajos/patch-2
Remove empty line
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/relation/query_methods.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation/query_methods.rb b/activerecord/lib/active_record/relation/query_methods.rb
index 26246510e6..c0fe6836aa 100644
--- a/activerecord/lib/active_record/relation/query_methods.rb
+++ b/activerecord/lib/active_record/relation/query_methods.rb
@@ -67,7 +67,6 @@ module ActiveRecord
#
# >> Model.select(:field).first.other_field
# => ActiveModel::MissingAttributeError: missing attribute: other_field
-
def select(value = Proc.new)
if block_given?
to_a.select {|*block_args| value.call(*block_args) }