Rails and CSV Files

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 :slight_smile: