Nic Lin's Blog

喜歡在地上打滾的 Rails Developer

Rails 內如何操作 session?

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