Get comfortable with using form helpers, having models interact with each other, and building out a simple sessions system.
You're going to be building an amusement park. There will be users, attractions, and users can take rides on attractions.
--no-test-frameworkflag and enter
nowhen prompted to overwrite the model specs for this lab.
A hint about requiring a password: ActiveRecord comes with a handy
has_secure_password attribute that you can set on a model. It requires that you enable the
bcrypt gem and that you add a
password_digest column to your model. You can read more about
View Rails Amusement Park on Learn.co and start learning to code for free.