Skip to content

Latest commit

 

History

History
22 lines (20 loc) · 1.3 KB

spec-js.md

File metadata and controls

22 lines (20 loc) · 1.3 KB

Specifications for the Rails with jQuery Assessment

Specs:

  • Use jQuery for implementing new requirements
  • Include a show resource rendered using jQuery and an Active Model Serialization JSON backend. -new activity review inserted into DOM (review.js line 50)
  • Include an index resource rendered using jQuery and an Active Model Serialization JSON backend. -location activities inserted into DOM (location.js line 30)
  • Include at least one has_many relationship in information rendered via JSON and appended to the DOM. -location activity reviews inserted into DOM (location.js line 30)
  • Use your Rails API and a form to create a resource and render the response without a page refresh. -new activity review form and new resource inserted(review.js line 50)
  • Translate JSON responses into js model objects. -Review, Activity, & Location js objects
  • At least one of the js model objects must have at least one method added by your code to the prototype. -format date (review.js line 17)

Confirm

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