Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lisaolson/efb86d9142e679fd89c40bb0a4579eba to your computer and use it in GitHub Desktop.
Save lisaolson/efb86d9142e679fd89c40bb0a4579eba to your computer and use it in GitHub Desktop.

Week 8 Learning Objectives

###Migrations

  • Add and remove columns from the database.
  • Alter an existing column.
  • Explain when it is okay to edit a migration and when it is okay to edit the schema.

###Associations

  • Describe how relational databases can be used to create associations between resources.
  • Create one to-many-model relationships in Rails.
  • Create many to-many-model relationships in Rails.

###Cookies and Sessions

  • Describe the request and response cycle's relationship to the stateless web.
  • Discuss and use an HTTP Cookie in a web application.
  • Differentiate between an HTTP Cookie and a Session.

###Rails Auth

  • Build routes, controllers, and views for user sign up, log in, and logout.
  • Implement a User model that securely stores hashed passwords with has_secure_password.
  • Compare and contrast authentication and authorization.

###Asset Pipeline

  • Explain benefits of using the Rails asset pipeline.
  • Describe how the asset pipeline works.
  • Require custom and third-party assets in Rails.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment