This is doable, I just did it differently (for reasons that I wonโt go into, we needed to have them in the database). In the application controller, set the filter before as follows:
prepend_before_filter :migrate_session def migrate_session
Everything in the session hash will be stored in a cookie. After you no longer have active recording sessions, you can get rid of this code.
source share