[Rails] session management

2012-06-28 Thread RR TT
Hello, I read on a link that by default session is turned off, but it did not mention the rails version. Is this applicable for rails 3 as well, since am implementing a session for users on a login form. T.I.A. -- Posted via http://www.ruby-forum.com/. -- You received this message because you

[Rails] Re: user registration form example?

2012-06-14 Thread RR TT
is there a way to encrypt the password value being stored in development.sqlite3? so far when I open it I can see the values as plain text -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To po

[Rails] Re: user registration form example?

2012-06-13 Thread RR TT
I managed to solve the route problem :) -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, se

[Rails] Re: user registration form example?

2012-06-13 Thread RR TT
am using the default sqlite3 to manage the db, and in the routes.rb I only have get "user/register" get "user/index" get "user/login" get "user/logout" since I followed the example, with a bunch of comments which follow -- Posted via http://www.ruby-forum.com/. -- You received this message b

[Rails] Re: user registration form example?

2012-06-13 Thread RR TT
thanks for the <%= I was referring to this tutorial again: http://rails.francik.name/tutorial/chapter/5#23 It uses :user instead of @user for the form creation However I could not get it to work with the @user, had to use :user to load the form in browser. Another problem am getting when am cl

[Rails] Re: user registration form example?

2012-06-12 Thread RR TT
Hello again, this time I followed the tutorial mentioned previously, however, when am opening localhost:3000/user/register, am only getting the heading , but not the form. my code: Register <% form_for :user do |f| %> <%= f.label :name %>: <%= f.text_field :name %> <%= f.la

[Rails] Re: user registration form example?

2012-06-12 Thread RR TT
thanks Colin, in fact due to be in a hurry i skipped the other parts and went straight to the chapter I was concerned with, but since am a newbie with rails and ruby, I lost track of what was going on and was dreading to start from the beginning due to time constraint -- Posted via http://www.

[Rails] user registration form example?

2012-06-12 Thread RR TT
Hello, anyone can guide me through creating a user registration form in rails from scratch (without the scaffold command thou), using first the inbuilt sqlite3 db and then with mysql? I was having a look at the following tutotial, but lost my way in the first part itself where it mentions the crea