Re: [Rails] How to connect a form to database ?
On 22 Apr 2011, at 15:07, amrit pal pathak wrote: Here i want 2 things as 1) Now i want to create a table and want to connect this form to that,so that when i click on submit after filling filelds ,entries should go in database.I am running rails 2.3.5 under deveolpment enviornment. 2) when i click to submit ,it should tell me "Welcome"?Here how to give the address of other form that hold "Welcome" or there is some other mean to do it in RoR. How to do it? Please somebody helpW!! http://guides.rubyonrails.org/ Happy reading... the guides will also probably cover your next 100 questions. Best regards Peter De Berdt -- 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, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] How to connect a form to database ?
I am very new to ROR.I created a simple form using controller and view as "script/generate controller form myfun" Now i edit myfun.html.erb file inside /app/view/form and added following contents to the file to make a simple form Student Auditorium Management Project First name: Last name: Enter Password: Repeat Password: Here i want 2 things as 1) Now i want to create a table and want to connect this form to that,so that when i click on submit after filling filelds ,entries should go in database.I am running rails 2.3.5 under deveolpment enviornment. 2) when i click to submit ,it should tell me "Welcome"?Here how to give the address of other form that hold "Welcome" or there is some other mean to do it in RoR. How to do it? Please somebody helpW!! Thanks -- 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, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.