Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 1.32 KB

spec-js.md

File metadata and controls

16 lines (14 loc) · 1.32 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. //-- /insulation_types/:id and /accessories/:id include next button for next show page
  • Include an index resource rendered using jQuery and an Active Model Serialization JSON backend. //-- /quotes/:id view all related accessories
  • Include at least one has_many relationship in information rendered via JSON and appended to the DOM. //-- /accessories/:id renders accessories and their related quotes
  • Use your Rails API and a form to create a resource and render the response without a page refresh. //-- /accessories create a new accessory
  • Translate JSON responses into js model objects. //-- /accessories Accessory is translated into a js model object in accessories.js
  • At least one of the js model objects must have at least one method added by your code to the prototype. //-- Accessory.prototype.renderLI renders each new accessory list item

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