Joe
2007-Feb-28 03:34 UTC
Any reason not to further restrict the action names hidden by default?
A couple of years ago, no objections were voiced to a proposed patch of ActionController that would allow controllers to have methods with the same names as Object''s methods (currently, ActionController::Base.hidden_actions, as called by action_methods, prevents this). Such a change is of interest to me since I just blew some time figuring out why rails wasn''t finding a ''clone'' method in one of my controllers. It would be nice to spare others the same. The 2005 discussion starts at http://lists.rubyonrails.org/pipermail/rails/2005-March/003779.html, and a patch is proposed at http://lists.rubyonrails.org/pipermail/rails/2005-March/003786.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
Joe
2007-Mar-02 16:17 UTC
Re: Any reason not to further restrict the action names hidden by default?
I''ve put together a patch for the bug, in ticket 7691. Any feedback would be appreciated. On Feb 27, 10:34 pm, "Joe" <joe.s...@gmail.com> wrote:> A couple of years ago, no objections were voiced to a proposed patch > of ActionController that would allow controllers to have methods with > the same names as Object''s methods (currently, > ActionController::Base.hidden_actions, as called by action_methods, > prevents this). > > Such a change is of interest to me since I just blew some time > figuring out why rails wasn''t finding a ''clone'' method in one of my > controllers. It would be nice to spare others the same. > > The 2005 discussion starts athttp://lists.rubyonrails.org/pipermail/rails/2005-March/003779.html, > and a patch is proposed athttp://lists.rubyonrails.org/pipermail/rails/2005-March/003786.html--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---