amritpal p. wrote in post #993489: > But i didnt explain in which > file it should be written? > > Thanks
Well, perhaps you would benefit from seeing a scaffolded response. At an OS prompt, type in: ruby script/generate scaffold person first_name:string last_name:string run the resulting migration, then take some time to look at the controller, model, and views created for a person / people. That might give you some insight to how Rails works by default. Then you could answer your own question I think. -- 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, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.