diff options
author | Marcos Tapajós <tapajos@gmail.com> | 2011-12-28 12:57:20 -0200 |
---|---|---|
committer | Marcos Tapajós <tapajos@gmail.com> | 2011-12-28 12:57:20 -0200 |
commit | 7767159a15ea82e296f997398cd209eac427bacd (patch) | |
tree | 0a896cac5a1be5010135c0fb53e9c6307b216763 /activerecord/lib/active_record/relation/query_methods.rb | |
parent | d547761eb3f15ac223c56183c1e98254046e1a61 (diff) | |
download | rails-7767159a15ea82e296f997398cd209eac427bacd.tar.gz rails-7767159a15ea82e296f997398cd209eac427bacd.tar.bz2 rails-7767159a15ea82e296f997398cd209eac427bacd.zip |
Remove empty line.
Diffstat (limited to 'activerecord/lib/active_record/relation/query_methods.rb')
-rw-r--r-- | activerecord/lib/active_record/relation/query_methods.rb | 1 |
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) } |