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 e8210450. 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.
Showing
想要评论请 注册 或 登录