On 1/5/07, Jon Egil Strand <jes / luretanker.no> wrote: > > Greetings > > Do we have an object relational mapper for csv files? > > #data: > first_name;last_name;phone > peter;pan;12345 > > #ROW ACCESS > person.first_name => "peter" > person.last_name => "pan" > > > > Even nicer if it header_row and separation_character can be specified? > > > I've considered csvparser-0.1.1 and FasterCSV, but as far as I can tell > > - csvparser is a little thin on header_row/sep_char > - FasterCSV's synax > table[:first_name][1] > this kind'o does the job, but I would prefer the implementation of > the datasource to be a bit less visible in the rest of the app Have you considered Ruport?