Skip to content

veranyc/rails-amusement-park-web-051517

 
 

Repository files navigation

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.
  • Before anything, note that when you generate models, controllers, etc, be sure to include this option, so that it skips tests (which are already included in the lab): --no-test-framework
  • 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 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 this lesson on Learn.co

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 82.6%
  • HTML 14.6%
  • CSS 1.7%
  • JavaScript 1.1%