I want to know how sessions work in Ruby on Rails.
I already now that I can save a session with session[:user_id] = @user.id and retrieve it with session[:user_id].
Thus, does Rails save the session to cookie store, cache store, or database store?