Displaying 1 result from an estimated 1 matches for "session_token".
Did you mean:
session_open
2011 Apr 29
3
questions about cookies when bridging together two rails apps
...n is
stored in cookie so user signs up in one rails app and navigates to
another while still being signed in as unique user. I come across this
line of code where I don''t understand where some of these methods are
coming from:
@session = Session.create!(:user => @user)
cookies[:session_token] = {:value => @session.token, :domain =>
Settings.session_token_domain}
1) I look in Session class and there is no create! class method. Yet it
works and doesn''t throw an exception.
I do understand when that create! method is called, the constructor is
initialized first and generat...