Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def index
- @students = Student.all_with_school_details
- respond_to do |format|
- format.html
- format.csv { send_data @students.as_csv }
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement