How to execute code before action is called
Rails is a great framework! When you start building web apps with it, you will definitely fall in love with it!
Today I want to share with you one really cool feature - you have hooks (called Filters in Rails) that allow you to execute code before, after or around