- screenshots of scores will be posted in comments
- screenshots of completed sections will be posted in comments
GET
"/tasks"
- displays all the current tasks with the :index
viewGET
"/tasks/:id"
- display a single task with the :show
viewGET
"/tasks/new"
- display the form to create a new task with the :new
viewPOST
"/tasks"
- write a task to the database, and redirect back to "/tasks"
GET
"/tasks/:id/edit"
- display the form for editing an existing task with the :edit
viewPUT
/PATCH
"tasks/:id"
- update a specific task in the database with new data, and display the edited task by redirecting back to "/tasks/:id"
# This is a skeleton for testing models including examples of validations, callbacks, | |
# scopes, instance & class methods, associations, and more. | |
# Pick and choose what you want, as all models don't NEED to be tested at this depth. | |
# | |
# I'm always eager to hear new tips & suggestions as I'm still new to testing, | |
# so if you have any, please share! | |
# | |
# @kyletcarlson | |
# | |
# This skeleton also assumes you're using the following gems: |
XML - pain to write and parse, but human and machine readable JSON - faster, human and machine readable, maps well to data structures in other langauges Writing JSON - double quotes, wrap it in single ruby JSON & RUBY - JSON.parse(json_string) JSON.generate(some_hash) some_hash.to_json JSON & jQuery = AJAX stuff:
/tweets.json
is an endpoint for your application.
Asset concatenation
Asset minification