On 29 January 2015 at 16:11, Brian Sammon
<[email protected]> wrote:
> On Thu, 29 Jan 2015 15:54:54 +0000
> Colin Law <[email protected]> wrote:
>
>> On 29 January 2015 at 15:46, Brian Sammon
>> <[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.
>>
>> http://guides.rubyonrails.org/active_record_callbacks.html#available-
>> 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

>
> --
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rubyonrails-talk/20150129111145.ee8c8ad738eff741605309d9%40brisammon.fastmail.fm.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLupjt-qgfV%2B8a4TqQQov83xFRJmMzHMwUw5YEXaXPKwmQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to