Thank's Masuda, but what im looking for is a solution where the user can upload a CSV file an update the DB records that way.
On 22 Sep., 08:59, Masuda <[email protected]> wrote: > If you mean CSV to DB records, you should use fixtures. > > On terminal window. > rake db:fixtures:load FIXTURES=table_name RAILS_ENV=development > > Change 'table_name' and RAILS_ENV=~ as you like. > This will import CSV as DB records. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

