mercredi 4 novembre 2015

Ruby on Rails Controllers organization

Exploring Ruby, I found myself wondering how to properly organize my files, specifically controllers. Taking a generic website as an example, we have a homepage with several links leading us to other features of the site. So how do I know which controllers to create and how to organize them? Which views should go under each controller and so on? Thanks in advance for your time and help!

Aucun commentaire:

Enregistrer un commentaire