dimanche 12 avril 2015

Form Organization In a Rails 4 App

I'm building a new Rails app for a client and one of the requirements is to allow people to fill out service request forms. There are 10 request forms so far and they're all different. To implement this I was thinking of creating a separate Model, View and Controller for each one to keep everything simplistic and RESTful. I'm kind of worried though about having 10+ different MVCs and routes just for the forms. Is there potentially and better way to achieve this?


Also the data submitted just gets emailed. No saving to a database.


Thanks for any help! :)


Aucun commentaire:

Enregistrer un commentaire