prepend_before_action in Rails

Rails encourages usage of callbacks in controllers to execute common pieces of  code before or after an action. A very simple example of this is

Read More