Displaying 5 results from an estimated 5 matches for "dbprot".
Did you mean:
dbport
2006 Apr 27
4
Sessions Problems
Hi to group!
I am new to ROR!
I am facing problems on sessions.
First I created the one session variable.
after that I created the other one.
after moving to three pages the session was destroyed automatically.
What is the reason please help me!
Thnaks and Regards,
-Kumar Varma
--
Posted via http://www.ruby-forum.com/.
2006 Jul 05
8
loginGenerator - getting logged in username
i am working on a site taht uses loginGenerator..
it''s a great little package, but i am running into one little problem..
i would like to have something that says:
"logged in as <username>" in the site, but i am not quite getting it..
what i am using is:
<p>You are logged in as: <%= @session[:user] %>
but i have tried:
<p>You are logged in as:
2006 Aug 08
11
Newb question- method not working
I know this shouldn''t be in the view but to test the code it is.
Anyway if I do just session[user] I get back the user id (the id from
the user table)
which is good.
However this code does not work.
<% a = session[:user] %>
<% uname = User.find(:first, :conditions => id = a) %>
<%= @uname %>
TIA
Stuart
2006 Aug 15
3
update or alter cart
I want to modify and update the items in the Depot - "display_cart".
Since the cart is in a session, its a little hard to get at the data.
I just want to create a way to change quantities, prices and
recalculate.
Has someone done this, and could you point me to the right direction.
Thanks
Chas
--
Posted via http://www.ruby-forum.com/.
2007 Jan 26
0
Problems with assert_select in integration tests
...word_confirmation"=>"T3st!ng",
"username"=>"TestUser", "account_type"=>"Personal",
"password"=>"T3st!ng", "email"=>"me-hcDgGtZH8xPR7s880joybQ@public.gmane.org"}, "flash"=>{}},
@dbprot=[], @dbman=#<CGI::Session::ActiveRecordStore:0x246d004
@session=nil>, @new_session=false>,
@cgi=#<ActionController::Integration::Session::MockCGI:0x24772fc
@output_cookies=[["d0060c4ee33f3d58c0ef83bbfa107b6f"]],
@env_table={"CONTENT_LENGTH"=>nil, "HTTP_HOST&q...