Short write up at: http://www.therailsway.com/2009/4/6/controller-inheritance

Quoting Jeffrey L. Taylor <[email protected]>:
> 
> Why not put it in app/controllers/application_controller.rb?  Are you trying
> to override the method for all Rails applications?  Unless I do not understand
> what you are trying to do, I see no reason to not put it in
> application_controller.rb.  This is exactly what this class is for - methods
> common to all controllers.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to