Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
sgharms Merge pull request #18 from learn-co-curriculum/morgvanny-patch-1
add required middleware in test environment
Latest commit dd23859 Apr 4, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin rails app:update Feb 13, 2019
config add required middleware in test environment Apr 4, 2019
db Revert "Wip rails shrinking solution" May 7, 2018
lib add solution Dec 21, 2017
log add solution Dec 21, 2017
public add solution Dec 21, 2017
spec Update specs to support login via select box Feb 13, 2018
test add solution Dec 21, 2017
tmp add solution Dec 21, 2017
vendor add solution Dec 21, 2017
.gitignore AUTO: standardize .gitignore Mar 7, 2019
.learn
.rspec add solution Dec 21, 2017
CONTRIBUTING.md update LICENSE, etc Dec 21, 2017
Gemfile adds bootsnap Feb 13, 2019
LICENSE.md update LICENSE, etc Dec 21, 2017
README.md Update heroku demo app address Mar 30, 2018
Rakefile add solution Dec 21, 2017
config.ru add solution Dec 21, 2017
package.json add solution Dec 21, 2017

README.md

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.

You can’t perform that action at this time.