# Rails and CSV Files

**URL:** <https://www.ruby-forum.com/t/rails-and-csv-files/154663>\
**Category:** Rails\
**Created:** [December 2, 2008, 7:10pm UTC](https://www.ruby-forum.com/t/rails-and-csv-files/154663 "2008-12-02T19:10:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ideale](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/9d8465/32.png) [@ideale](https://www.ruby-forum.com/u/ideale)\
**Post date:** [December 2, 2008, 7:10pm UTC](https://www.ruby-forum.com/t/rails-and-csv-files/154663/1 "2008-12-02T19:10:51Z")

</div>

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 🙂
