title: How do I save data on LocalStorage in Ruby on Rails 3.2.8?
body: <p>I'm trying to save a variable called <code>persistent_data</code>.</p>
  
  <p>I usually use <code>session[:persistent_data]</code> or <code>cookies[:persistent_data]</code>, but I would like to use the localstorage instead.</p>
  
  <p>How do I do that on Rails?</p>