aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_assignment.rb
diff options
context:
space:
mode:
authorBen Woosley <ben.woosley@gmail.com>2013-06-18 02:21:52 -0700
committerBen Woosley <ben.woosley@gmail.com>2013-06-19 04:04:13 -0700
commit25042359b388a73bae798e023276df59e53c74e2 (patch)
tree8128c43c74df54dc60a1c8e4d755af179a830ab7 /activerecord/lib/active_record/attribute_assignment.rb
parent7324624f748b9717a5f9757ca89d791563ac5f95 (diff)
downloadrails-25042359b388a73bae798e023276df59e53c74e2.tar.gz
rails-25042359b388a73bae798e023276df59e53c74e2.tar.bz2
rails-25042359b388a73bae798e023276df59e53c74e2.zip
When .find_each is called without a block, return an Enumerator.
This lets us do things like call: .find_each.with_index
Diffstat (limited to 'activerecord/lib/active_record/attribute_assignment.rb')
0 files changed, 0 insertions, 0 deletions