Thank you, you are really right I should put it in my application_helper. But Here we will have a lot of projets and I want to share this kind of changes to all teams. So that's why I would like to ultimatly put it in a gem.
So I'm curious to see how you would include mymodule on ActionView::Base. Thanks in advance Frederick Cheung wrote: > On 28 Oct 2008, at 17:46, Rémi Gagnon <[EMAIL PROTECTED] > s.net> wrote: > >> >> I created a file ./lib/action_view/helpers/asset_tag_helper.rb >> >> and put in it only the method I want to override. like this >> > Don't. Create lib/my_module.rb and then include MyModule into > ActionView::Base. Or it might be more convenient to do this in > application_helper -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

