Merge pull request #4217 from tapajos/patch-2

Remove empty line
This commit is contained in:
Xavier Noria
2011-12-28 07:01:21 -08:00

View File

@@ -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) }