dimanche 18 décembre 2016

How does "user = users(:michael)" work in Michael Hartl's Rails tutorial?

I don't understand how: user = users(:michael)

works, for instance in Listing 12.12 here: http://ift.tt/2hXzn04

Does this have something to do with the .yml file? What is this method of creating users called?

Aucun commentaire:

Enregistrer un commentaire