dimanche 14 mai 2017

Ruby on Rails inheritance?

I've seen a bunch of rails "inheritance" models but any of them makes sense for me What is the right way to use inheritance in rails?

Model Person with name, address Model User > Person, with all of the attributes of Person plus user and password

thanks!

Aucun commentaire:

Enregistrer un commentaire