Skip to content

Instantly share code, notes, and snippets.

@danbroadbent
Last active January 9, 2017 21:48
Show Gist options
  • Save danbroadbent/6c757181b050e9559678f51d4d3f07f5 to your computer and use it in GitHub Desktop.
Save danbroadbent/6c757181b050e9559678f51d4d3f07f5 to your computer and use it in GitHub Desktop.
Keys to Success Mod 4 Final Assessment

Take a deep breath and read all the requirements.

If you need to create a new rails app from scratch, reference this: https://gist.github.com/ryanflach/9fe657471bc9282a18d6904171645278

Set up Heroku:

Start a pomodoro timer and get going with good git practices, create a new branch and plan on commiting often.

Start with a test. If there already is a test, fix it.

#Authentication: Keys to Bcrypt:

  • https://gist.github.com/thebucknerlife/10090014
  • Uncomment bcrypt in the gem file, bundle
  • Make sure user model gets password digest when created
  • Make sure user model uses has_secure_password
  • New user view gets password and password confirmation on the form
  • Use strong params on the user model
  • Use session controller for login/logout
  • Give application conroller current_user and authorize methods

Validation:

Flash Messages:

Testing with Time:

API Endpoints:

  • Make controller tests

If you have time, add styling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment