Forum: Ruby on Rails Rails and CSV Files

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E6ce854040e4774d54826e3bdbb7edf6?d=identicon&s=25 Ideale Ideale (ideale)
on 2008-12-02 19:10
Hi

I'm programming in rails a web application which uses 4 CSV files

prof.csv, student.csv et course.csv et subscriptions.csv

a prof can give one or many courses, a student can subscribe to one or
many courses etc ...

I need to update the CSV files. for example : create, list, modify and
delete on one or many tables in the same time. For example un student
select a course and a new record is added to the table subscription.csv
...

1. what are the methods I need for these operations ?
2. how many controllers should I create ?
3. how many models ?

thank you so much :-)
This topic is locked and can not be replied to.