Ruby on Rails
Wednesday, March 11, 2020
I was wondering if it is possible to know if the rails session has been modified?
I am having a around filter, I make changes to the session object
I then yield to the action being performed, the action might not might not change the session object. In the after block I want to figure out if the session has been altered?
Thanks,
Jaleel
-- I am having a around filter, I make changes to the session object
I then yield to the action being performed, the action might not might not change the session object. In the after block I want to figure out if the session has been altered?
Thanks,
Jaleel
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 view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7e3904d7-680c-485a-99fd-9c85455c2352%40googlegroups.com.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment