NakyungLee / rails-amusement-park-v-000

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rails Amusement Park

Objectives

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.

Instructions

  • Check out The Demo to see where this lab is headed.
  • This is a test driven lab, check out the model tests and get those to pass before moving onto the feature specs.
  • Remember, if you use scaffolds or generators do not overwrite the model specs that are included in this lab. Always use the --no-test-framework flag and enter n or no when 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 has_secure_password here.

Resources

View Rails Amusement Park on Learn.co and start learning to code for free.

About

License:Other


Languages

Language:Ruby 85.6%Language:HTML 11.1%Language:CSS 2.0%Language:JavaScript 1.3%