1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib
Sean Griffin b644964b2b Include Enumerable in ActiveRecord::Relation
After discussing, we've decided it makes more sense to include it. We're
already forwarding every conflicting method to `to_a`, and there's no
conflation of concerns. `Enumerable` has no mutating methods, and it
just allows us to simplify the code. No existing methods will have a
change in behavior. Un-overridden Enumerable methods will simply
delegate to `each`.

[Sean Griffin & bogdan]
2015-06-19 15:35:35 -06:00
..
active_record Include Enumerable in ActiveRecord::Relation 2015-06-19 15:35:35 -06:00
rails/generators [ci skip] Correct grammar, add docs to ActiveRecord migration generator 2015-04-28 13:34:13 -07:00
active_record.rb Autoload ActiveRecord::RecordInvalid 2015-06-18 18:36:16 -03:00