Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.84 KB

File metadata and controls

36 lines (27 loc) · 1.84 KB
tags language unit module level resources
rails, form_for, generators, sessions, full application, sessions
ruby
rails
Building complete apps
intermediate
7

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

This lab does not cover validations so please do not use them. If you do, your tests will break.

  • 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 to 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.

Resources