Rails makes it dead easy to clean up objects in the HTTP session. No need for anything as complicated as iterating over them and setting them to nil. Simply use:
reset_session
—within a controller.
Rails makes it dead easy to clean up objects in the HTTP session. No need for anything as complicated as iterating over them and setting them to nil. Simply use:
reset_session
—within a controller.
Comments
There aren’t any comments on this post. Comments are closed.