I'll second Marnen's idea. With a DB you'll get random access to any record. Using a CSV you'll either have to read record by record until you find what you need or dump everything to an array or hash and then get it from there. I think it's actually more work going the CSV approach.
On Nov 9, 9:44 am, Marnen Laibow-Koser <rails-mailing-l...@andreas- s.net> wrote: > Antony Nambikkai wrote: > > Mr. Jones..... Its a Requirement.... Just to store simple name and a > > Id..... > > It will reduce my coding ..... > > Then, if you're really set on ActiveScaffold, and if you really need CSV > output, use the database for storage as Matt suggested, and just write > to CSV on demand. Matt is right that using a CSV file as a database > makes no sense. > > > > > Kindly provide you suggestion. > > >> --Antony > > Best, > -- > Marnen Laibow-Koserhttp://www.marnen.org > [email protected] > -- > Posted viahttp://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 -~----------~----~----~----~------~----~------~--~---

