Aitor Garcia Rey
2008-Sep-17 11:33 UTC
ActionController::Helpers::HELPERS_DIR and ´helper :all´ behavior
Hi everybody, Currently ´helper :all´ is using ActionController::Helpers::HELPERS_DIR to find all the helpers of the app and load them. Right now is not possible to easily manage multiple helper dirs. Would be useful (I'm thinking basically in plugin development and its helpers registration and detection) to be able to register multiple helpers_path in the same way we're doing with view_paths in ActionView?. I'd like to hear opinions/comments about this before doing any patch... -- Kind Regards, Aitor Garcia Cofounder - Linking Paths http://www.linkingpaths.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Raul Murciano
2008-Sep-17 11:57 UTC
Re: ActionController::Helpers::HELPERS_DIR and ´helper :all´ behavior
2008/9/17 Aitor Garcia Rey <aitor.garcia@gmail.com>:> Hi everybody, > Currently ´helper :all´ is using ActionController::Helpers::HELPERS_DIR to > find all the helpers of the app and load them. Right now is not possible to > easily manage multiple helper dirs. > Would be useful (I''m thinking basically in plugin development and its > helpers registration and detection) to be able to register multiple > helpers_path in the same way we''re doing with view_paths in ActionView?. I''d > like to hear opinions/comments about this before doing any patch...I can''t talk from experience because I''ve never included helpers on a plugin but I agree with you: it would be a nice feature and mirroring the view_paths mechanism would be a good start point. -- Raul Murciano - Freelance Web Developer http://raul.murciano.net --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---