So as you can see below:
{:id=>1, :name=>"test", :password=>"test", :alias_array=>nil,
:stream_array=>nil, :login_hash=>"1263130262",
:current_login=>"127.0.0.1:52815"}
{:id=>1, :name=>"test", :password=>"test", :alias_array=>nil,
:stream_array=>nil, :login_hash=>"1263130262",
:current_login=>"127.0.0.1:39890"}
{:id=>1, :name=>"test", :password=>"test", :alias_array=>nil,
:stream_array=>nil, :login_hash=>"1263130262",
:current_login=>"127.0.0.1:52815"}
I have a SQLite database that refuses to make the changes
to :current_login permanent.
Why is this?
p $account.all ...
#
{:id=>1, :name=>"test", :password=>"test", :alias_array=>nil,
:stream_array=>nil, :login_hash=>"1263130262",
:current_login=>"127.0.0.1:52815"}
account = $accounts.where(:name => account_name).first
account.update(:current_login => @user)
p account
#
{:id=>1, :name=>"test", :password=>"test", :alias_array=>nil,
:stream_array=>nil, :login_hash=>"1263130262",
:current_login=>"127.0.0.1:39890"}
p $account.all ...
#
{:id=>1, :name=>"test", :password=>"test", :alias_array=>nil,
:stream_array=>nil, :login_hash=>"1263130262",
:current_login=>"127.0.0.1:52815"}
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sequel-talk?hl=en.