[Rails] Re: Help Plzz (new to ruby)

2009-10-26 Thread Antony Nambikkai
Thank you Sakthivel I Will try this -- 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@google

[Rails] Re: Help Plzz (new to ruby)

2009-10-26 Thread Antony Nambikkai
# Thank you Brijesh Shah # I know the basics of ruby on rails. I studied from those links only. # Can you send me any articles of using Params effectively Thanks In Advance, Antony -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You receive

[Rails] Re: Help Plzz (new to ruby)

2009-10-26 Thread srinivasan sakthivel
Hi Antony, For Example: erb.file.U have 3 three fields. username,useremail then useraddress in the user tables. Table Name:users In controller def create @user =User.new(params[:user]) @user.save redirect_to :action =>'list' end Otherwise u can try this one: def create @user =User.new() @user.

[Rails] Re: Help Plzz (new to ruby)

2009-10-26 Thread Brijesh Shah
Antony Nambikkai wrote: > # In a *.erb file I have a Form with controller action > # In that I have 3 textbox and a submit button > # while clicking submit button I want to get the value of all 3 textbox > in controller > # I mean In java we ll get the value like > > request.getparameter("ID");