diff options
author | claudiob <claudiob@gmail.com> | 2014-12-19 12:49:50 -0800 |
---|---|---|
committer | claudiob <claudiob@gmail.com> | 2014-12-25 00:30:46 +0100 |
commit | 4761d81923fd9f5a39fb1fa051cbbad2b52c9615 (patch) | |
tree | bc3808f5ec75de8af06e660f24b885747e2c6847 /load_paths.rb | |
parent | a2059068c02c25e61cc7d5701b0bbd2913e4012f (diff) | |
download | rails-4761d81923fd9f5a39fb1fa051cbbad2b52c9615.tar.gz rails-4761d81923fd9f5a39fb1fa051cbbad2b52c9615.tar.bz2 rails-4761d81923fd9f5a39fb1fa051cbbad2b52c9615.zip |
Remove ActionController::ModelNaming
The methods in these modules are not used anywhere. They used to be
invoked in polymorphic_routes.rb but their usage was removed in e821045.
What is your opinion about removing these methods?
They do belong to the public API, but in reality their code has already been duplicated to ActionView::ModelNaming, since they are used by methods like `dom_id` and `dom_class` to associated records with DOM elements (in
ActionView).
Please tell me if you think that removing this module is a good idea and,
in that case, if the PR is okay as it is, or you'd rather start by showing
a deprecation message, and remove the module in Rails 5.1.
Diffstat (limited to 'load_paths.rb')
0 files changed, 0 insertions, 0 deletions