[ rails ] AbstractController callback

order

prepend_around_action
prepend_before_action
before_action
append_before_action
around_action
append_around_action

Rendered layouts/application.html.erb (0.5ms)
Rendered home/index.html.erb (0.5ms)

append_after_action
after_action
prepend_after_action

ref : http://hollandaiseparty.com/order-of-abstractcontrollercallbacks/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s