Nic Lin's Blog

喜歡在地上滾的工程師

Rails 內如何操作 session?

session[:current_user_id] = @user.id
comments powered by Disqus