Baking ActiveRecord Cookies With JSON


Our upcoming Mightyvites site has a nifty form where users can calculate the cost of their invitations. There are a number of options to choose from, and once a user makes the effort to price a package they shouldn’t lose their settings if they leave the page. It’s imperative that the form pick up where the user left off so that it is easy for them to continue with their purchase. That said I needed a way to persist their configuration, but I couldn’t rely on the database because the user very well may be anonymous. I also didn’t want to use the session because it will expire soon.
Read the rest of this entry »

Incoming search terms:

  • rails json cookie
  • rails json cookies
  • activerecord store json
  • mighty nice blog
  • rails cookie json
  • rails json session
  • json cookie
  • json cookie rails
  • rails session json
  • store json activerecord