Displaying 2 results from an estimated 2 matches for "session_page".
Did you mean:
session_name
2006 May 23
2
additional fields in session DB table
...bGF0Zho0MC42NTk5OTk5OTk5OTk5OTcArhQ6DGRlZl9sYXQwOglsb25nZhstNzMuOTgwMDAwMDAwMDAwMDA0AIUfOgh1'',
"session_start" = 0, "session_user_id" = 3, "session_admin" = 0,
"session_time" = 1148349972, "session_logged_in" = 1, "id" = 22,
"session_page" = 0, "session_ip" = ''185afae3'', "updated_at" = ''2006-05-22
22:06:12'' WHERE session_id = ''a1f7912ebd968e7136e10d6d67021680''
However the extra fields dont get updated. running this manually in
postgres works as expecte...
2006 Mar 09
2
turn off auto increment
...=> Time.now }
it wont update the session_id as noted here in script/console:
>> sess = Session.new
=> #<Session:0x407683f0 @attributes={"session_start"=>0, "session_time"=>0,
"session_ip"=>"0", "session_admin"=>0, "session_page"=>0,
"session_logged_in"=>false, "session_user_id"=>0}, @new_record=true>
>> sess.session_id
=> nil
>> sess.session_id = ''3893839393''
NoMethodError: undefined method `session_id='' for #<Session:0x407683f0>...