John Mcleod wrote: > Hello all, > I've been getter better with Rails but I'm still just learning. > > Here's what I have. > I have one table (imports) and I read in a csv into this table. > > I must do some preliminary editing to each record, afterwhich, I wish to > insert all records into another table (projects) in one shot. > > I've created a button below the table > > <%= button_to "Add Records to Projects", :action => 'add_new_projects' > %> > > I need a little clarity on this. > > I know how to delete all records from a table. I wonder if it's as > simple? > > Thank you for any help. > > JohnM
You already asked this at http://www.ruby-forum.com/topic/198008 / http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/7f09e32544d1b4f1/ede1159a796d9e64 , and got some answers. Let's keep further discussion to that thread. Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

