Is there any good documentation of the controller callback order for
rails?
I’m not sure whether the before_action comes before the around_action,
if it comes after, or maybe “it depends”.
The Action Controller guide doesn’t really answer the question.
On 29 January 2015 at 15:46, Brian S.
[email protected] wrote:
Is there any good documentation of the controller callback order for
rails?
I’m not sure whether the before_action comes before the around_action,
if it comes after, or maybe “it depends”.
The Action Controller guide doesn’t really answer the question.
says that they are listed in the order they will get called.
Colin
On Thu, 29 Jan 2015 15:54:54 +0000
Colin L. [email protected] wrote:
Active Record Callbacks — Ruby on Rails Guides
callbacks
says that they are listed in the order they will get called.
I’m sorry – I was asking about Controller filters, not model
callbacks.
If only filters were as well documented as callbacks.
On 29 January 2015 at 16:11, Brian S.
[email protected] wrote:
The Action Controller guide doesn’t really answer the question.
Active Record Callbacks — Ruby on Rails Guides
callbacks
says that they are listed in the order they will get called.
I’m sorry – I was asking about Controller filters, not model
callbacks.
If only filters were as well documented as callbacks.
No need to be sorry, my error. That’s what comes from not reading the
question.
Colin