Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 1.17 KB

spec.md

File metadata and controls

18 lines (16 loc) · 1.17 KB

Specifications for the Sinatra Assessment

Specs:

  • Use Sinatra to build the app => Shotgun gem installed.
  • Use ActiveRecord for storing information in a database => rake db created migrations.
  • Include more than one model class (list of model class names e.g. User, Post, Category) => user and movie models
  • Include at least one has_many relationship (x has_many y e.g. User has_many Posts) => User has (owns) many movies while a movie belongs to (owned by) one user.
  • Include user accounts. Tested.
  • Ensure that users can't modify content created by other users. Tested.
  • Include user input validations. Tested.
  • Display validation failures to user with error message (example form URL e.g. /posts/new). Tested.
  • Your README.md includes a short description, install instructions, a contributors guide and a link to the license for your code. Done.

Confirm

  • You have a large number of small Git commits => Done.
  • Your commit messages are meaningful => Done.
  • You made the changes in a commit that relate to the commit message => Done.
  • You don't include changes in a commit that aren't related to the commit message => Done.