You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having a little trouble understanding the difference between these two.
Ideally, I'd like it to only show the miniprofiler if I call authorize_request. This seems to be the case in production. But in development it ignores authorize_request and obeys pre_authorize_cb so I have some duplicate logic in there.
Was just curious why the separate methods? Maybe there was some historical reason or another purpose I'm not aware of. Would it make sense to consolidate the two?
Thanks for the awesome gem. It's been a life saver.
The text was updated successfully, but these errors were encountered:
I'm having a little trouble understanding the difference between these two.
Ideally, I'd like it to only show the miniprofiler if I call
authorize_request
. This seems to be the case in production. But in development it ignoresauthorize_request
and obeyspre_authorize_cb
so I have some duplicate logic in there.Was just curious why the separate methods? Maybe there was some historical reason or another purpose I'm not aware of. Would it make sense to consolidate the two?
Thanks for the awesome gem. It's been a life saver.
The text was updated successfully, but these errors were encountered: