1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/cases/attribute_methods
Yves Senn d5580b91b6 Allow included modules to override association methods.
Closes #16684.

This is achieved by always generating `GeneratedAssociationMethods` when
`ActiveRecord::Base` is subclassed. When some of the included modules
of `ActiveRecord::Base` were reordered this behavior was broken as
`Core#initialize_generated_modules` was no longer called. Meaning that
the module was generated on first access.
2014-09-09 10:00:30 +02:00
..
read_test.rb Allow included modules to override association methods. 2014-09-09 10:00:30 +02:00