aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/digestor.rb
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-09-09 09:44:48 +0200
committerYves Senn <yves.senn@gmail.com>2014-09-09 10:00:30 +0200
commitd5580b91b64daeb114875f24f6d54bbf88428018 (patch)
tree0f0774a4cd5b70fa2adc2fbde98737451eab3f0b /actionview/lib/action_view/digestor.rb
parentc563656a48b81bbbf13b2c6e336af71f38434c77 (diff)
downloadrails-d5580b91b64daeb114875f24f6d54bbf88428018.tar.gz
rails-d5580b91b64daeb114875f24f6d54bbf88428018.tar.bz2
rails-d5580b91b64daeb114875f24f6d54bbf88428018.zip
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.
Diffstat (limited to 'actionview/lib/action_view/digestor.rb')
0 files changed, 0 insertions, 0 deletions