Rails provides a fantastic framework for execution hooks/Filters. Using this, we can define hooks which can be executed before or after the execution of required methods. 979 more words