On 29 January 2015 at 15:46, Brian Sammon
<rubyonrails-list@brisammon.fastmail.fm> 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.
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 rubyonrails-talk+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/20150129104637.96fd7141b23464613fd80528%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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLurYX8qrPwS%2B4Hb%3Dwm0Zk2UZYBjqNEbe1HM6koHRvswAA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment