Sunday, July 16, 2006

Ruby on Rails tips

Call a function before each method in a controller.
Define the function in application.rb and then edit your desired controller file and put the following
before_filter :application_essentials

0 Comments:

Post a Comment

<< Home

eXTReMe Tracker