ktn00b / todoapp

Lets make todos great again!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

before_action with only smelly code = refactor msg to notice communication in flash render 'xyz' edit_todo_path(t) add _path to anything edit submits to update Todo.find(params[:id]) Flash messaging- running hash... new submits to create action params.require(hash) Stroog parameters & params instance variable resources

Routes validates presence & errrors.any? blank data in db messes with db integrity Update doesnt hit db, happens in memory. But not for destroy Todo.new (capital coz class name), primary key, .new vs .create vs .update Rollback schema and drop table and reset Schema and migrations Naming conventions About and help page

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

  • ...

About

Lets make todos great again!


Languages

Language:Ruby 76.5%Language:HTML 18.6%Language:JavaScript 3.1%Language:CSS 1.8%