hi all, I want to insert new records into table but i dont konw how to use it using rails methods as far i know was Model.save Model.update is there any ways to insert new records with params plz help me.........
Wasim Akram wrote:> hi all, > I want to insert new records into table but i dont konw how > to use it using rails methods > as far i know was > Model.save > Model.update > is there any ways to insert new records with params > > plz help me.........Wasim visit http://www.classifiedscript.in and download railslist. It is a wonderful working application that you can follow very easily. for your question, look into classifieds controller''s methods. -- Posted via http://www.ruby-forum.com/.
2009/8/19 Kart <akramwasim1234-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> > hi all, > I want to insert new records into table but i dont konw how > to use it using rails methods > as far i know was > Model.save > Model.update > is there any ways to insert new records with params >Have a look at the rails guides at http://guides.rubyonrails.org/ particularly Getting Started, and also look at the railscasts (use google I can''t remember the url). Colin