From 6578fa3910d24437976787d2cca28a07b90f42f7 Mon Sep 17 00:00:00 2001 From: Adriana Date: Tue, 19 Apr 2016 15:46:39 -0700 Subject: [PATCH 01/42] Getting everything set up and starting to put in my code --- tasklist/.gitignore | 17 ++ tasklist/Gemfile | 50 ++++++ tasklist/Gemfile.lock | 170 ++++++++++++++++++ tasklist/README.rdoc | 28 +++ tasklist/Rakefile | 6 + tasklist/app/assets/images/.keep | 0 .../app/assets/javascripts/application.js | 16 ++ tasklist/app/assets/javascripts/tasks.coffee | 3 + .../app/assets/stylesheets/application.css | 15 ++ tasklist/app/assets/stylesheets/tasks.scss | 3 + .../app/controllers/application_controller.rb | 5 + tasklist/app/controllers/concerns/.keep | 0 tasklist/app/controllers/tasks_controller.rb | 22 +++ tasklist/app/helpers/application_helper.rb | 2 + tasklist/app/helpers/tasks_helper.rb | 2 + tasklist/app/mailers/.keep | 0 tasklist/app/models/.keep | 0 tasklist/app/models/concerns/.keep | 0 tasklist/app/models/task.rb | 2 + .../app/views/layouts/application.html.erb | 16 ++ tasklist/app/views/tasks/add.html.erb | 0 tasklist/app/views/tasks/delete.html.erb | 0 tasklist/app/views/tasks/edit.html.erb | 0 tasklist/app/views/tasks/index.html.erb | 109 +++++++++++ tasklist/bin/bundle | 3 + tasklist/bin/rails | 9 + tasklist/bin/rake | 9 + tasklist/bin/setup | 29 +++ tasklist/bin/spring | 15 ++ tasklist/config.ru | 4 + tasklist/config/application.rb | 26 +++ tasklist/config/boot.rb | 3 + tasklist/config/database.yml | 25 +++ tasklist/config/environment.rb | 5 + tasklist/config/environments/development.rb | 41 +++++ tasklist/config/environments/production.rb | 79 ++++++++ tasklist/config/environments/test.rb | 42 +++++ tasklist/config/initializers/assets.rb | 11 ++ .../initializers/backtrace_silencers.rb | 7 + .../config/initializers/cookies_serializer.rb | 3 + .../initializers/filter_parameter_logging.rb | 4 + tasklist/config/initializers/inflections.rb | 16 ++ tasklist/config/initializers/mime_types.rb | 4 + tasklist/config/initializers/session_store.rb | 3 + .../config/initializers/wrap_parameters.rb | 14 ++ tasklist/config/locales/en.yml | 23 +++ tasklist/config/routes.rb | 61 +++++++ tasklist/config/secrets.yml | 22 +++ .../db/migrate/20160419204342_create_tasks.rb | 15 ++ tasklist/db/schema.rb | 28 +++ tasklist/db/seeds.rb | 28 +++ tasklist/lib/assets/.keep | 0 tasklist/lib/tasks/.keep | 0 tasklist/log/.keep | 0 tasklist/public/404.html | 67 +++++++ tasklist/public/422.html | 67 +++++++ tasklist/public/500.html | 66 +++++++ tasklist/public/favicon.ico | 0 tasklist/public/robots.txt | 5 + tasklist/test/controllers/.keep | 0 .../test/controllers/tasks_controller_test.rb | 7 + tasklist/test/fixtures/.keep | 0 tasklist/test/fixtures/tasks.yml | 19 ++ tasklist/test/helpers/.keep | 0 tasklist/test/integration/.keep | 0 tasklist/test/mailers/.keep | 0 tasklist/test/models/.keep | 0 tasklist/test/models/task_test.rb | 7 + tasklist/test/test_helper.rb | 10 ++ tasklist/vendor/assets/javascripts/.keep | 0 tasklist/vendor/assets/stylesheets/.keep | 0 71 files changed, 1243 insertions(+) create mode 100644 tasklist/.gitignore create mode 100644 tasklist/Gemfile create mode 100644 tasklist/Gemfile.lock create mode 100644 tasklist/README.rdoc create mode 100644 tasklist/Rakefile create mode 100644 tasklist/app/assets/images/.keep create mode 100644 tasklist/app/assets/javascripts/application.js create mode 100644 tasklist/app/assets/javascripts/tasks.coffee create mode 100644 tasklist/app/assets/stylesheets/application.css create mode 100644 tasklist/app/assets/stylesheets/tasks.scss create mode 100644 tasklist/app/controllers/application_controller.rb create mode 100644 tasklist/app/controllers/concerns/.keep create mode 100644 tasklist/app/controllers/tasks_controller.rb create mode 100644 tasklist/app/helpers/application_helper.rb create mode 100644 tasklist/app/helpers/tasks_helper.rb create mode 100644 tasklist/app/mailers/.keep create mode 100644 tasklist/app/models/.keep create mode 100644 tasklist/app/models/concerns/.keep create mode 100644 tasklist/app/models/task.rb create mode 100644 tasklist/app/views/layouts/application.html.erb create mode 100644 tasklist/app/views/tasks/add.html.erb create mode 100644 tasklist/app/views/tasks/delete.html.erb create mode 100644 tasklist/app/views/tasks/edit.html.erb create mode 100644 tasklist/app/views/tasks/index.html.erb create mode 100755 tasklist/bin/bundle create mode 100755 tasklist/bin/rails create mode 100755 tasklist/bin/rake create mode 100755 tasklist/bin/setup create mode 100755 tasklist/bin/spring create mode 100644 tasklist/config.ru create mode 100644 tasklist/config/application.rb create mode 100644 tasklist/config/boot.rb create mode 100644 tasklist/config/database.yml create mode 100644 tasklist/config/environment.rb create mode 100644 tasklist/config/environments/development.rb create mode 100644 tasklist/config/environments/production.rb create mode 100644 tasklist/config/environments/test.rb create mode 100644 tasklist/config/initializers/assets.rb create mode 100644 tasklist/config/initializers/backtrace_silencers.rb create mode 100644 tasklist/config/initializers/cookies_serializer.rb create mode 100644 tasklist/config/initializers/filter_parameter_logging.rb create mode 100644 tasklist/config/initializers/inflections.rb create mode 100644 tasklist/config/initializers/mime_types.rb create mode 100644 tasklist/config/initializers/session_store.rb create mode 100644 tasklist/config/initializers/wrap_parameters.rb create mode 100644 tasklist/config/locales/en.yml create mode 100644 tasklist/config/routes.rb create mode 100644 tasklist/config/secrets.yml create mode 100644 tasklist/db/migrate/20160419204342_create_tasks.rb create mode 100644 tasklist/db/schema.rb create mode 100644 tasklist/db/seeds.rb create mode 100644 tasklist/lib/assets/.keep create mode 100644 tasklist/lib/tasks/.keep create mode 100644 tasklist/log/.keep create mode 100644 tasklist/public/404.html create mode 100644 tasklist/public/422.html create mode 100644 tasklist/public/500.html create mode 100644 tasklist/public/favicon.ico create mode 100644 tasklist/public/robots.txt create mode 100644 tasklist/test/controllers/.keep create mode 100644 tasklist/test/controllers/tasks_controller_test.rb create mode 100644 tasklist/test/fixtures/.keep create mode 100644 tasklist/test/fixtures/tasks.yml create mode 100644 tasklist/test/helpers/.keep create mode 100644 tasklist/test/integration/.keep create mode 100644 tasklist/test/mailers/.keep create mode 100644 tasklist/test/models/.keep create mode 100644 tasklist/test/models/task_test.rb create mode 100644 tasklist/test/test_helper.rb create mode 100644 tasklist/vendor/assets/javascripts/.keep create mode 100644 tasklist/vendor/assets/stylesheets/.keep diff --git a/tasklist/.gitignore b/tasklist/.gitignore new file mode 100644 index 000000000..050c9d95c --- /dev/null +++ b/tasklist/.gitignore @@ -0,0 +1,17 @@ +# See https://help.github.com/articles/ignoring-files for more about ignoring files. +# +# If you find yourself ignoring temporary files generated by your text editor +# or operating system, you probably want to add a global ignore instead: +# git config --global core.excludesfile '~/.gitignore_global' + +# Ignore bundler config. +/.bundle + +# Ignore the default SQLite database. +/db/*.sqlite3 +/db/*.sqlite3-journal + +# Ignore all logfiles and tempfiles. +/log/* +!/log/.keep +/tmp diff --git a/tasklist/Gemfile b/tasklist/Gemfile new file mode 100644 index 000000000..b75143f2e --- /dev/null +++ b/tasklist/Gemfile @@ -0,0 +1,50 @@ +source 'https://rubygems.org' + + +# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' +gem 'rails', '4.2.6' +# Use sqlite3 as the database for Active Record +gem 'sqlite3' +# Use SCSS for stylesheets +gem 'sass-rails', '~> 5.0' +# Use Uglifier as compressor for JavaScript assets +gem 'uglifier', '>= 1.3.0' +# Use CoffeeScript for .coffee assets and views +gem 'coffee-rails', '~> 4.1.0' +# See https://github.com/rails/execjs#readme for more supported runtimes +# gem 'therubyracer', platforms: :ruby + +# Use jquery as the JavaScript library +gem 'jquery-rails' +# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks +gem 'turbolinks' +# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder +gem 'jbuilder', '~> 2.0' +# bundle exec rake doc:rails generates the API under doc/api. +gem 'sdoc', '~> 0.4.0', group: :doc + +# Use ActiveModel has_secure_password +# gem 'bcrypt', '~> 3.1.7' + +# Use Unicorn as the app server +# gem 'unicorn' + +# Use Capistrano for deployment +# gem 'capistrano-rails', group: :development + +group :development, :test do + # Call 'byebug' anywhere in the code to stop execution and get a debugger console + gem 'byebug' +end + +group :development do + # Access an IRB console on exception pages or by using <%= console %> in views + gem 'web-console', '~> 2.0' + + # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring + gem 'spring' + + gem 'pry' + + gem 'chronic' +end diff --git a/tasklist/Gemfile.lock b/tasklist/Gemfile.lock new file mode 100644 index 000000000..0e86eefa7 --- /dev/null +++ b/tasklist/Gemfile.lock @@ -0,0 +1,170 @@ +GEM + remote: https://rubygems.org/ + specs: + actionmailer (4.2.6) + actionpack (= 4.2.6) + actionview (= 4.2.6) + activejob (= 4.2.6) + mail (~> 2.5, >= 2.5.4) + rails-dom-testing (~> 1.0, >= 1.0.5) + actionpack (4.2.6) + actionview (= 4.2.6) + activesupport (= 4.2.6) + rack (~> 1.6) + rack-test (~> 0.6.2) + rails-dom-testing (~> 1.0, >= 1.0.5) + rails-html-sanitizer (~> 1.0, >= 1.0.2) + actionview (4.2.6) + activesupport (= 4.2.6) + builder (~> 3.1) + erubis (~> 2.7.0) + rails-dom-testing (~> 1.0, >= 1.0.5) + rails-html-sanitizer (~> 1.0, >= 1.0.2) + activejob (4.2.6) + activesupport (= 4.2.6) + globalid (>= 0.3.0) + activemodel (4.2.6) + activesupport (= 4.2.6) + builder (~> 3.1) + activerecord (4.2.6) + activemodel (= 4.2.6) + activesupport (= 4.2.6) + arel (~> 6.0) + activesupport (4.2.6) + i18n (~> 0.7) + json (~> 1.7, >= 1.7.7) + minitest (~> 5.1) + thread_safe (~> 0.3, >= 0.3.4) + tzinfo (~> 1.1) + arel (6.0.3) + binding_of_caller (0.7.2) + debug_inspector (>= 0.0.1) + builder (3.2.2) + byebug (8.2.4) + chronic (0.10.2) + coderay (1.1.1) + coffee-rails (4.1.1) + coffee-script (>= 2.2.0) + railties (>= 4.0.0, < 5.1.x) + coffee-script (2.4.1) + coffee-script-source + execjs + coffee-script-source (1.10.0) + concurrent-ruby (1.0.1) + debug_inspector (0.0.2) + erubis (2.7.0) + execjs (2.6.0) + globalid (0.3.6) + activesupport (>= 4.1.0) + i18n (0.7.0) + jbuilder (2.4.1) + activesupport (>= 3.0.0, < 5.1) + multi_json (~> 1.2) + jquery-rails (4.1.1) + rails-dom-testing (>= 1, < 3) + railties (>= 4.2.0) + thor (>= 0.14, < 2.0) + json (1.8.3) + loofah (2.0.3) + nokogiri (>= 1.5.9) + mail (2.6.4) + mime-types (>= 1.16, < 4) + method_source (0.8.2) + mime-types (3.0) + mime-types-data (~> 3.2015) + mime-types-data (3.2016.0221) + mini_portile2 (2.0.0) + minitest (5.8.4) + multi_json (1.11.2) + nokogiri (1.6.7.2) + mini_portile2 (~> 2.0.0.rc2) + pry (0.10.3) + coderay (~> 1.1.0) + method_source (~> 0.8.1) + slop (~> 3.4) + rack (1.6.4) + rack-test (0.6.3) + rack (>= 1.0) + rails (4.2.6) + actionmailer (= 4.2.6) + actionpack (= 4.2.6) + actionview (= 4.2.6) + activejob (= 4.2.6) + activemodel (= 4.2.6) + activerecord (= 4.2.6) + activesupport (= 4.2.6) + bundler (>= 1.3.0, < 2.0) + railties (= 4.2.6) + sprockets-rails + rails-deprecated_sanitizer (1.0.3) + activesupport (>= 4.2.0.alpha) + rails-dom-testing (1.0.7) + activesupport (>= 4.2.0.beta, < 5.0) + nokogiri (~> 1.6.0) + rails-deprecated_sanitizer (>= 1.0.1) + rails-html-sanitizer (1.0.3) + loofah (~> 2.0) + railties (4.2.6) + actionpack (= 4.2.6) + activesupport (= 4.2.6) + rake (>= 0.8.7) + thor (>= 0.18.1, < 2.0) + rake (11.1.2) + rdoc (4.2.2) + json (~> 1.4) + sass (3.4.22) + sass-rails (5.0.4) + railties (>= 4.0.0, < 5.0) + sass (~> 3.1) + sprockets (>= 2.8, < 4.0) + sprockets-rails (>= 2.0, < 4.0) + tilt (>= 1.1, < 3) + sdoc (0.4.1) + json (~> 1.7, >= 1.7.7) + rdoc (~> 4.0) + slop (3.6.0) + spring (1.7.1) + sprockets (3.6.0) + concurrent-ruby (~> 1.0) + rack (> 1, < 3) + sprockets-rails (3.0.4) + actionpack (>= 4.0) + activesupport (>= 4.0) + sprockets (>= 3.0.0) + sqlite3 (1.3.11) + thor (0.19.1) + thread_safe (0.3.5) + tilt (2.0.2) + turbolinks (2.5.3) + coffee-rails + tzinfo (1.2.2) + thread_safe (~> 0.1) + uglifier (3.0.0) + execjs (>= 0.3.0, < 3) + web-console (2.3.0) + activemodel (>= 4.0) + binding_of_caller (>= 0.7.2) + railties (>= 4.0) + sprockets-rails (>= 2.0, < 4.0) + +PLATFORMS + ruby + +DEPENDENCIES + byebug + chronic + coffee-rails (~> 4.1.0) + jbuilder (~> 2.0) + jquery-rails + pry + rails (= 4.2.6) + sass-rails (~> 5.0) + sdoc (~> 0.4.0) + spring + sqlite3 + turbolinks + uglifier (>= 1.3.0) + web-console (~> 2.0) + +BUNDLED WITH + 1.11.2 diff --git a/tasklist/README.rdoc b/tasklist/README.rdoc new file mode 100644 index 000000000..dd4e97e22 --- /dev/null +++ b/tasklist/README.rdoc @@ -0,0 +1,28 @@ +== 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 + +* ... + + +Please feel free to use a different markup language if you do not plan to run +rake doc:app. diff --git a/tasklist/Rakefile b/tasklist/Rakefile new file mode 100644 index 000000000..ba6b733dd --- /dev/null +++ b/tasklist/Rakefile @@ -0,0 +1,6 @@ +# Add your own tasks in files placed in lib/tasks ending in .rake, +# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. + +require File.expand_path('../config/application', __FILE__) + +Rails.application.load_tasks diff --git a/tasklist/app/assets/images/.keep b/tasklist/app/assets/images/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/tasklist/app/assets/javascripts/application.js b/tasklist/app/assets/javascripts/application.js new file mode 100644 index 000000000..e07c5a830 --- /dev/null +++ b/tasklist/app/assets/javascripts/application.js @@ -0,0 +1,16 @@ +// This is a manifest file that'll be compiled into application.js, which will include all the files +// listed below. +// +// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, +// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path. +// +// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the +// compiled file. +// +// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details +// about supported directives. +// +//= require jquery +//= require jquery_ujs +//= require turbolinks +//= require_tree . diff --git a/tasklist/app/assets/javascripts/tasks.coffee b/tasklist/app/assets/javascripts/tasks.coffee new file mode 100644 index 000000000..24f83d18b --- /dev/null +++ b/tasklist/app/assets/javascripts/tasks.coffee @@ -0,0 +1,3 @@ +# Place all the behaviors and hooks related to the matching controller here. +# All this logic will automatically be available in application.js. +# You can use CoffeeScript in this file: http://coffeescript.org/ diff --git a/tasklist/app/assets/stylesheets/application.css b/tasklist/app/assets/stylesheets/application.css new file mode 100644 index 000000000..f9cd5b348 --- /dev/null +++ b/tasklist/app/assets/stylesheets/application.css @@ -0,0 +1,15 @@ +/* + * This is a manifest file that'll be compiled into application.css, which will include all the files + * listed below. + * + * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, + * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path. + * + * You're free to add application-wide styles to this file and they'll appear at the bottom of the + * compiled file so the styles you add here take precedence over styles defined in any styles + * defined in the other CSS/SCSS files in this directory. It is generally better to create a new + * file per style scope. + * + *= require_tree . + *= require_self + */ diff --git a/tasklist/app/assets/stylesheets/tasks.scss b/tasklist/app/assets/stylesheets/tasks.scss new file mode 100644 index 000000000..b57862ec7 --- /dev/null +++ b/tasklist/app/assets/stylesheets/tasks.scss @@ -0,0 +1,3 @@ +// Place all the styles related to the tasks controller here. +// They will automatically be included in application.css. +// You can use Sass (SCSS) here: http://sass-lang.com/ diff --git a/tasklist/app/controllers/application_controller.rb b/tasklist/app/controllers/application_controller.rb new file mode 100644 index 000000000..d83690e1b --- /dev/null +++ b/tasklist/app/controllers/application_controller.rb @@ -0,0 +1,5 @@ +class ApplicationController < ActionController::Base + # Prevent CSRF attacks by raising an exception. + # For APIs, you may want to use :null_session instead. + protect_from_forgery with: :exception +end diff --git a/tasklist/app/controllers/concerns/.keep b/tasklist/app/controllers/concerns/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/tasklist/app/controllers/tasks_controller.rb b/tasklist/app/controllers/tasks_controller.rb new file mode 100644 index 000000000..6601291a9 --- /dev/null +++ b/tasklist/app/controllers/tasks_controller.rb @@ -0,0 +1,22 @@ +class TasksController < ApplicationController + def index #homepage + @tasks = Task.all + end + + def add + + end + + def edit + + end + + def delete + + end + + def by_task + @all_tasks = Task.where(task: params[:task]) + render :index + end +end diff --git a/tasklist/app/helpers/application_helper.rb b/tasklist/app/helpers/application_helper.rb new file mode 100644 index 000000000..de6be7945 --- /dev/null +++ b/tasklist/app/helpers/application_helper.rb @@ -0,0 +1,2 @@ +module ApplicationHelper +end diff --git a/tasklist/app/helpers/tasks_helper.rb b/tasklist/app/helpers/tasks_helper.rb new file mode 100644 index 000000000..ce894d00c --- /dev/null +++ b/tasklist/app/helpers/tasks_helper.rb @@ -0,0 +1,2 @@ +module TasksHelper +end diff --git a/tasklist/app/mailers/.keep b/tasklist/app/mailers/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/tasklist/app/models/.keep b/tasklist/app/models/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/tasklist/app/models/concerns/.keep b/tasklist/app/models/concerns/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/tasklist/app/models/task.rb b/tasklist/app/models/task.rb new file mode 100644 index 000000000..935f76e12 --- /dev/null +++ b/tasklist/app/models/task.rb @@ -0,0 +1,2 @@ +class Task < ActiveRecord::Base +end diff --git a/tasklist/app/views/layouts/application.html.erb b/tasklist/app/views/layouts/application.html.erb new file mode 100644 index 000000000..6fdf83fa8 --- /dev/null +++ b/tasklist/app/views/layouts/application.html.erb @@ -0,0 +1,16 @@ + + + + Tasklist + <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> + <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> + <%= csrf_meta_tags %> + + + + <%= link_to "Home", root_path %> + +<%= yield %> + + + diff --git a/tasklist/app/views/tasks/add.html.erb b/tasklist/app/views/tasks/add.html.erb new file mode 100644 index 000000000..e69de29bb diff --git a/tasklist/app/views/tasks/delete.html.erb b/tasklist/app/views/tasks/delete.html.erb new file mode 100644 index 000000000..e69de29bb diff --git a/tasklist/app/views/tasks/edit.html.erb b/tasklist/app/views/tasks/edit.html.erb new file mode 100644 index 000000000..e69de29bb diff --git a/tasklist/app/views/tasks/index.html.erb b/tasklist/app/views/tasks/index.html.erb new file mode 100644 index 000000000..0e18c6b6f --- /dev/null +++ b/tasklist/app/views/tasks/index.html.erb @@ -0,0 +1,109 @@ + + + +Add a new task +Sort by Priority +Sort by Status +Sort by Due Date + +
+ <% if @all_tasks %> + <% @all_tasks.each do |task| %> +
+
+
+

<%= task.task %>

+
+
+ Priority :
<%= task[2] %>
+
+
+ Status : <%= task[3] %>
+
+
+ Date Created : <%= task[4] %>
+
+
+ Due Date : <%= task[5] %>
+
+
+ Comments : <%= task[6] %>
+
+
+ Date Completed : <%= task[7] %> +
+
+
+ + +
+
+ + +
+
+
+
+ <% end %> + <% end %> +
+ + + + + + + + + diff --git a/tasklist/bin/bundle b/tasklist/bin/bundle new file mode 100755 index 000000000..66e9889e8 --- /dev/null +++ b/tasklist/bin/bundle @@ -0,0 +1,3 @@ +#!/usr/bin/env ruby +ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) +load Gem.bin_path('bundler', 'bundle') diff --git a/tasklist/bin/rails b/tasklist/bin/rails new file mode 100755 index 000000000..0138d79b7 --- /dev/null +++ b/tasklist/bin/rails @@ -0,0 +1,9 @@ +#!/usr/bin/env ruby +begin + load File.expand_path('../spring', __FILE__) +rescue LoadError => e + raise unless e.message.include?('spring') +end +APP_PATH = File.expand_path('../../config/application', __FILE__) +require_relative '../config/boot' +require 'rails/commands' diff --git a/tasklist/bin/rake b/tasklist/bin/rake new file mode 100755 index 000000000..d87d5f578 --- /dev/null +++ b/tasklist/bin/rake @@ -0,0 +1,9 @@ +#!/usr/bin/env ruby +begin + load File.expand_path('../spring', __FILE__) +rescue LoadError => e + raise unless e.message.include?('spring') +end +require_relative '../config/boot' +require 'rake' +Rake.application.run diff --git a/tasklist/bin/setup b/tasklist/bin/setup new file mode 100755 index 000000000..acdb2c138 --- /dev/null +++ b/tasklist/bin/setup @@ -0,0 +1,29 @@ +#!/usr/bin/env ruby +require 'pathname' + +# path to your application root. +APP_ROOT = Pathname.new File.expand_path('../../', __FILE__) + +Dir.chdir APP_ROOT do + # This script is a starting point to setup your application. + # Add necessary setup steps to this file: + + puts "== Installing dependencies ==" + system "gem install bundler --conservative" + system "bundle check || bundle install" + + # puts "\n== Copying sample files ==" + # unless File.exist?("config/database.yml") + # system "cp config/database.yml.sample config/database.yml" + # end + + puts "\n== Preparing database ==" + system "bin/rake db:setup" + + puts "\n== Removing old logs and tempfiles ==" + system "rm -f log/*" + system "rm -rf tmp/cache" + + puts "\n== Restarting application server ==" + system "touch tmp/restart.txt" +end diff --git a/tasklist/bin/spring b/tasklist/bin/spring new file mode 100755 index 000000000..7fe232c3a --- /dev/null +++ b/tasklist/bin/spring @@ -0,0 +1,15 @@ +#!/usr/bin/env ruby + +# This file loads spring without using Bundler, in order to be fast. +# It gets overwritten when you run the `spring binstub` command. + +unless defined?(Spring) + require 'rubygems' + require 'bundler' + + if (match = Bundler.default_lockfile.read.match(/^GEM$.*?^ (?: )*spring \((.*?)\)$.*?^$/m)) + Gem.paths = { 'GEM_PATH' => [Bundler.bundle_path.to_s, *Gem.path].uniq.join(Gem.path_separator) } + gem 'spring', match[1] + require 'spring/binstub' + end +end diff --git a/tasklist/config.ru b/tasklist/config.ru new file mode 100644 index 000000000..bd83b2541 --- /dev/null +++ b/tasklist/config.ru @@ -0,0 +1,4 @@ +# This file is used by Rack-based servers to start the application. + +require ::File.expand_path('../config/environment', __FILE__) +run Rails.application diff --git a/tasklist/config/application.rb b/tasklist/config/application.rb new file mode 100644 index 000000000..90ceacb65 --- /dev/null +++ b/tasklist/config/application.rb @@ -0,0 +1,26 @@ +require File.expand_path('../boot', __FILE__) + +require 'rails/all' + +# Require the gems listed in Gemfile, including any gems +# you've limited to :test, :development, or :production. +Bundler.require(*Rails.groups) + +module Tasklist + class Application < Rails::Application + # Settings in config/environments/* take precedence over those specified here. + # Application configuration should go into files in config/initializers + # -- all .rb files in that directory are automatically loaded. + + # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. + # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. + # config.time_zone = 'Central Time (US & Canada)' + + # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. + # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] + # config.i18n.default_locale = :de + + # Do not swallow errors in after_commit/after_rollback callbacks. + config.active_record.raise_in_transactional_callbacks = true + end +end diff --git a/tasklist/config/boot.rb b/tasklist/config/boot.rb new file mode 100644 index 000000000..6b750f00b --- /dev/null +++ b/tasklist/config/boot.rb @@ -0,0 +1,3 @@ +ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) + +require 'bundler/setup' # Set up gems listed in the Gemfile. diff --git a/tasklist/config/database.yml b/tasklist/config/database.yml new file mode 100644 index 000000000..1c1a37ca8 --- /dev/null +++ b/tasklist/config/database.yml @@ -0,0 +1,25 @@ +# SQLite version 3.x +# gem install sqlite3 +# +# Ensure the SQLite 3 gem is defined in your Gemfile +# gem 'sqlite3' +# +default: &default + adapter: sqlite3 + pool: 5 + timeout: 5000 + +development: + <<: *default + database: db/development.sqlite3 + +# Warning: The database defined as "test" will be erased and +# re-generated from your development database when you run "rake". +# Do not set this db to the same as development or production. +test: + <<: *default + database: db/test.sqlite3 + +production: + <<: *default + database: db/production.sqlite3 diff --git a/tasklist/config/environment.rb b/tasklist/config/environment.rb new file mode 100644 index 000000000..ee8d90dc6 --- /dev/null +++ b/tasklist/config/environment.rb @@ -0,0 +1,5 @@ +# Load the Rails application. +require File.expand_path('../application', __FILE__) + +# Initialize the Rails application. +Rails.application.initialize! diff --git a/tasklist/config/environments/development.rb b/tasklist/config/environments/development.rb new file mode 100644 index 000000000..b55e2144b --- /dev/null +++ b/tasklist/config/environments/development.rb @@ -0,0 +1,41 @@ +Rails.application.configure do + # Settings specified here will take precedence over those in config/application.rb. + + # In the development environment your application's code is reloaded on + # every request. This slows down response time but is perfect for development + # since you don't have to restart the web server when you make code changes. + config.cache_classes = false + + # Do not eager load code on boot. + config.eager_load = false + + # Show full error reports and disable caching. + config.consider_all_requests_local = true + config.action_controller.perform_caching = false + + # Don't care if the mailer can't send. + config.action_mailer.raise_delivery_errors = false + + # Print deprecation notices to the Rails logger. + config.active_support.deprecation = :log + + # Raise an error on page load if there are pending migrations. + config.active_record.migration_error = :page_load + + # Debug mode disables concatenation and preprocessing of assets. + # This option may cause significant delays in view rendering with a large + # number of complex assets. + config.assets.debug = true + + # Asset digests allow you to set far-future HTTP expiration dates on all assets, + # yet still be able to expire them through the digest params. + config.assets.digest = true + + # Adds additional error checking when serving assets at runtime. + # Checks for improperly declared sprockets dependencies. + # Raises helpful error messages. + config.assets.raise_runtime_errors = true + + # Raises error for missing translations + # config.action_view.raise_on_missing_translations = true +end diff --git a/tasklist/config/environments/production.rb b/tasklist/config/environments/production.rb new file mode 100644 index 000000000..5c1b32e48 --- /dev/null +++ b/tasklist/config/environments/production.rb @@ -0,0 +1,79 @@ +Rails.application.configure do + # Settings specified here will take precedence over those in config/application.rb. + + # Code is not reloaded between requests. + config.cache_classes = true + + # Eager load code on boot. This eager loads most of Rails and + # your application in memory, allowing both threaded web servers + # and those relying on copy on write to perform better. + # Rake tasks automatically ignore this option for performance. + config.eager_load = true + + # Full error reports are disabled and caching is turned on. + config.consider_all_requests_local = false + config.action_controller.perform_caching = true + + # Enable Rack::Cache to put a simple HTTP cache in front of your application + # Add `rack-cache` to your Gemfile before enabling this. + # For large-scale production use, consider using a caching reverse proxy like + # NGINX, varnish or squid. + # config.action_dispatch.rack_cache = true + + # Disable serving static files from the `/public` folder by default since + # Apache or NGINX already handles this. + config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present? + + # Compress JavaScripts and CSS. + config.assets.js_compressor = :uglifier + # config.assets.css_compressor = :sass + + # Do not fallback to assets pipeline if a precompiled asset is missed. + config.assets.compile = false + + # Asset digests allow you to set far-future HTTP expiration dates on all assets, + # yet still be able to expire them through the digest params. + config.assets.digest = true + + # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb + + # Specifies the header that your server uses for sending files. + # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache + # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX + + # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. + # config.force_ssl = true + + # Use the lowest log level to ensure availability of diagnostic information + # when problems arise. + config.log_level = :debug + + # Prepend all log lines with the following tags. + # config.log_tags = [ :subdomain, :uuid ] + + # Use a different logger for distributed setups. + # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new) + + # Use a different cache store in production. + # config.cache_store = :mem_cache_store + + # Enable serving of images, stylesheets, and JavaScripts from an asset server. + # config.action_controller.asset_host = 'http://assets.example.com' + + # Ignore bad email addresses and do not raise email delivery errors. + # Set this to true and configure the email server for immediate delivery to raise delivery errors. + # config.action_mailer.raise_delivery_errors = false + + # Enable locale fallbacks for I18n (makes lookups for any locale fall back to + # the I18n.default_locale when a translation cannot be found). + config.i18n.fallbacks = true + + # Send deprecation notices to registered listeners. + config.active_support.deprecation = :notify + + # Use default logging formatter so that PID and timestamp are not suppressed. + config.log_formatter = ::Logger::Formatter.new + + # Do not dump schema after migrations. + config.active_record.dump_schema_after_migration = false +end diff --git a/tasklist/config/environments/test.rb b/tasklist/config/environments/test.rb new file mode 100644 index 000000000..1c19f08b2 --- /dev/null +++ b/tasklist/config/environments/test.rb @@ -0,0 +1,42 @@ +Rails.application.configure do + # Settings specified here will take precedence over those in config/application.rb. + + # The test environment is used exclusively to run your application's + # test suite. You never need to work with it otherwise. Remember that + # your test database is "scratch space" for the test suite and is wiped + # and recreated between test runs. Don't rely on the data there! + config.cache_classes = true + + # Do not eager load code on boot. This avoids loading your whole application + # just for the purpose of running a single test. If you are using a tool that + # preloads Rails for running tests, you may have to set it to true. + config.eager_load = false + + # Configure static file server for tests with Cache-Control for performance. + config.serve_static_files = true + config.static_cache_control = 'public, max-age=3600' + + # Show full error reports and disable caching. + config.consider_all_requests_local = true + config.action_controller.perform_caching = false + + # Raise exceptions instead of rendering exception templates. + config.action_dispatch.show_exceptions = false + + # Disable request forgery protection in test environment. + config.action_controller.allow_forgery_protection = false + + # Tell Action Mailer not to deliver emails to the real world. + # The :test delivery method accumulates sent emails in the + # ActionMailer::Base.deliveries array. + config.action_mailer.delivery_method = :test + + # Randomize the order test cases are executed. + config.active_support.test_order = :random + + # Print deprecation notices to the stderr. + config.active_support.deprecation = :stderr + + # Raises error for missing translations + # config.action_view.raise_on_missing_translations = true +end diff --git a/tasklist/config/initializers/assets.rb b/tasklist/config/initializers/assets.rb new file mode 100644 index 000000000..01ef3e663 --- /dev/null +++ b/tasklist/config/initializers/assets.rb @@ -0,0 +1,11 @@ +# Be sure to restart your server when you modify this file. + +# Version of your assets, change this if you want to expire all your assets. +Rails.application.config.assets.version = '1.0' + +# Add additional assets to the asset load path +# Rails.application.config.assets.paths << Emoji.images_path + +# Precompile additional assets. +# application.js, application.css, and all non-JS/CSS in app/assets folder are already added. +# Rails.application.config.assets.precompile += %w( search.js ) diff --git a/tasklist/config/initializers/backtrace_silencers.rb b/tasklist/config/initializers/backtrace_silencers.rb new file mode 100644 index 000000000..59385cdf3 --- /dev/null +++ b/tasklist/config/initializers/backtrace_silencers.rb @@ -0,0 +1,7 @@ +# Be sure to restart your server when you modify this file. + +# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces. +# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ } + +# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code. +# Rails.backtrace_cleaner.remove_silencers! diff --git a/tasklist/config/initializers/cookies_serializer.rb b/tasklist/config/initializers/cookies_serializer.rb new file mode 100644 index 000000000..7f70458de --- /dev/null +++ b/tasklist/config/initializers/cookies_serializer.rb @@ -0,0 +1,3 @@ +# Be sure to restart your server when you modify this file. + +Rails.application.config.action_dispatch.cookies_serializer = :json diff --git a/tasklist/config/initializers/filter_parameter_logging.rb b/tasklist/config/initializers/filter_parameter_logging.rb new file mode 100644 index 000000000..4a994e1e7 --- /dev/null +++ b/tasklist/config/initializers/filter_parameter_logging.rb @@ -0,0 +1,4 @@ +# Be sure to restart your server when you modify this file. + +# Configure sensitive parameters which will be filtered from the log file. +Rails.application.config.filter_parameters += [:password] diff --git a/tasklist/config/initializers/inflections.rb b/tasklist/config/initializers/inflections.rb new file mode 100644 index 000000000..ac033bf9d --- /dev/null +++ b/tasklist/config/initializers/inflections.rb @@ -0,0 +1,16 @@ +# Be sure to restart your server when you modify this file. + +# Add new inflection rules using the following format. Inflections +# are locale specific, and you may define rules for as many different +# locales as you wish. All of these examples are active by default: +# ActiveSupport::Inflector.inflections(:en) do |inflect| +# inflect.plural /^(ox)$/i, '\1en' +# inflect.singular /^(ox)en/i, '\1' +# inflect.irregular 'person', 'people' +# inflect.uncountable %w( fish sheep ) +# end + +# These inflection rules are supported but not enabled by default: +# ActiveSupport::Inflector.inflections(:en) do |inflect| +# inflect.acronym 'RESTful' +# end diff --git a/tasklist/config/initializers/mime_types.rb b/tasklist/config/initializers/mime_types.rb new file mode 100644 index 000000000..dc1899682 --- /dev/null +++ b/tasklist/config/initializers/mime_types.rb @@ -0,0 +1,4 @@ +# Be sure to restart your server when you modify this file. + +# Add new mime types for use in respond_to blocks: +# Mime::Type.register "text/richtext", :rtf diff --git a/tasklist/config/initializers/session_store.rb b/tasklist/config/initializers/session_store.rb new file mode 100644 index 000000000..b1a16e835 --- /dev/null +++ b/tasklist/config/initializers/session_store.rb @@ -0,0 +1,3 @@ +# Be sure to restart your server when you modify this file. + +Rails.application.config.session_store :cookie_store, key: '_tasklist_session' diff --git a/tasklist/config/initializers/wrap_parameters.rb b/tasklist/config/initializers/wrap_parameters.rb new file mode 100644 index 000000000..33725e95f --- /dev/null +++ b/tasklist/config/initializers/wrap_parameters.rb @@ -0,0 +1,14 @@ +# Be sure to restart your server when you modify this file. + +# This file contains settings for ActionController::ParamsWrapper which +# is enabled by default. + +# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array. +ActiveSupport.on_load(:action_controller) do + wrap_parameters format: [:json] if respond_to?(:wrap_parameters) +end + +# To enable root element in JSON for ActiveRecord objects. +# ActiveSupport.on_load(:active_record) do +# self.include_root_in_json = true +# end diff --git a/tasklist/config/locales/en.yml b/tasklist/config/locales/en.yml new file mode 100644 index 000000000..065395716 --- /dev/null +++ b/tasklist/config/locales/en.yml @@ -0,0 +1,23 @@ +# Files in the config/locales directory are used for internationalization +# and are automatically loaded by Rails. If you want to use locales other +# than English, add the necessary files in this directory. +# +# To use the locales, use `I18n.t`: +# +# I18n.t 'hello' +# +# In views, this is aliased to just `t`: +# +# <%= t('hello') %> +# +# To use a different locale, set it with `I18n.locale`: +# +# I18n.locale = :es +# +# This would use the information in config/locales/es.yml. +# +# To learn more, please read the Rails Internationalization guide +# available at http://guides.rubyonrails.org/i18n.html. + +en: + hello: "Hello world" diff --git a/tasklist/config/routes.rb b/tasklist/config/routes.rb new file mode 100644 index 000000000..97d06b01e --- /dev/null +++ b/tasklist/config/routes.rb @@ -0,0 +1,61 @@ +Rails.application.routes.draw do + # The priority is based upon order of creation: first created -> highest priority. + # See how all your routes lay out with "rake routes". + + # You can have the root of your site routed with "root" + # root 'welcome#index' + + # Example of regular route: + # get 'products/:id' => 'catalog#view' + + + root 'tasks#index' + get '/:task' => 'tasks#by_task' + + + # Example of named route that can be invoked with purchase_url(id: product.id) + # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase + + # Example resource route (maps HTTP verbs to controller actions automatically): + # resources :products + + # Example resource route with options: + # resources :products do + # member do + # get 'short' + # post 'toggle' + # end + # + # collection do + # get 'sold' + # end + # end + + # Example resource route with sub-resources: + # resources :products do + # resources :comments, :sales + # resource :seller + # end + + # Example resource route with more complex sub-resources: + # resources :products do + # resources :comments + # resources :sales do + # get 'recent', on: :collection + # end + # end + + # Example resource route with concerns: + # concern :toggleable do + # post 'toggle' + # end + # resources :posts, concerns: :toggleable + # resources :photos, concerns: :toggleable + + # Example resource route within a namespace: + # namespace :admin do + # # Directs /admin/products/* to Admin::ProductsController + # # (app/controllers/admin/products_controller.rb) + # resources :products + # end +end diff --git a/tasklist/config/secrets.yml b/tasklist/config/secrets.yml new file mode 100644 index 000000000..d4868778a --- /dev/null +++ b/tasklist/config/secrets.yml @@ -0,0 +1,22 @@ +# Be sure to restart your server when you modify this file. + +# Your secret key is used for verifying the integrity of signed cookies. +# If you change this key, all old signed cookies will become invalid! + +# Make sure the secret is at least 30 characters and all random, +# no regular words or you'll be exposed to dictionary attacks. +# You can use `rake secret` to generate a secure secret key. + +# Make sure the secrets in this file are kept private +# if you're sharing your code publicly. + +development: + secret_key_base: cbc06fb18003d6c794f2279a33eb8324d7c79c7e927b69655f2c85d7a39dc7d122f75a0163f3a2c23342624e1a983406156dc1325bcbef8e260c1dbea273a0c6 + +test: + secret_key_base: deacf1aa3b698596149482e1d45d9423ea636e3fc7055fa00d358138ea62be788ef757ff2589a754c21f55b448710cfe757a8161f3621aaef6f0dc9ab9a8ccef + +# Do not keep production secrets in the repository, +# instead read values from the environment. +production: + secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> diff --git a/tasklist/db/migrate/20160419204342_create_tasks.rb b/tasklist/db/migrate/20160419204342_create_tasks.rb new file mode 100644 index 000000000..1bbd919d3 --- /dev/null +++ b/tasklist/db/migrate/20160419204342_create_tasks.rb @@ -0,0 +1,15 @@ +class CreateTasks < ActiveRecord::Migration + def change + create_table :tasks do |t| + t.string :task + t.string :priority + t.string :status + t.datetime :date_created + t.datetime :due_date + t.string :comments + t.datetime :date_completed + + t.timestamps null: false + end + end +end diff --git a/tasklist/db/schema.rb b/tasklist/db/schema.rb new file mode 100644 index 000000000..d9aa2f5f4 --- /dev/null +++ b/tasklist/db/schema.rb @@ -0,0 +1,28 @@ +# encoding: UTF-8 +# This file is auto-generated from the current state of the database. Instead +# of editing this file, please use the migrations feature of Active Record to +# incrementally modify your database, and then regenerate this schema definition. +# +# Note that this schema.rb definition is the authoritative source for your +# database schema. If you need to create the application database on another +# system, you should be using db:schema:load, not running all the migrations +# from scratch. The latter is a flawed and unsustainable approach (the more migrations +# you'll amass, the slower it'll run and the greater likelihood for issues). +# +# It's strongly recommended that you check this file into your version control system. + +ActiveRecord::Schema.define(version: 20160419204342) do + + create_table "tasks", force: :cascade do |t| + t.string "task" + t.string "priority" + t.string "status" + t.datetime "date_created" + t.datetime "due_date" + t.string "comments" + t.datetime "date_completed" + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + end + +end diff --git a/tasklist/db/seeds.rb b/tasklist/db/seeds.rb new file mode 100644 index 000000000..f91bcac95 --- /dev/null +++ b/tasklist/db/seeds.rb @@ -0,0 +1,28 @@ +# This file should contain all the record creation needed to seed the database with its default values. +# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). +# +# Examples: +# +# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) +# Mayor.create(name: 'Emanuel', city: cities.first) + +def random_time + Time.at(rand * Time.now.to_i) +end + +tasks = [ + { task: "The First Task", comments: "", date_completed: random_time }, + { task: "Go to Brunch", comments: "" }, + { task: "Go to Lunch", comments: "", date_completed: random_time }, + { task: "Go to Second Lunch", comments: "" }, + { task: "Play Video Games", comments: "", date_completed: random_time }, + { task: "High Five Somebody You Don't Know", comments: "", date_completed: random_time }, + { task: "Plant Flowers", comments: "", date_completed: random_time }, + { task: "Call Mom", comments: "" }, + { task: "She worries, you know.", comments: "" }, + { task: "Nap.", comments: "", date_completed: random_time } +] + +tasks.each do |task| + Task.create task +end diff --git a/tasklist/lib/assets/.keep b/tasklist/lib/assets/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/tasklist/lib/tasks/.keep b/tasklist/lib/tasks/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/tasklist/log/.keep b/tasklist/log/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/tasklist/public/404.html b/tasklist/public/404.html new file mode 100644 index 000000000..b612547fc --- /dev/null +++ b/tasklist/public/404.html @@ -0,0 +1,67 @@ + + + + The page you were looking for doesn't exist (404) + + + + + + +
+
+

The page you were looking for doesn't exist.

+

You may have mistyped the address or the page may have moved.

+
+

If you are the application owner check the logs for more information.

+
+ + diff --git a/tasklist/public/422.html b/tasklist/public/422.html new file mode 100644 index 000000000..a21f82b3b --- /dev/null +++ b/tasklist/public/422.html @@ -0,0 +1,67 @@ + + + + The change you wanted was rejected (422) + + + + + + +
+
+

The change you wanted was rejected.

+

Maybe you tried to change something you didn't have access to.

+
+

If you are the application owner check the logs for more information.

+
+ + diff --git a/tasklist/public/500.html b/tasklist/public/500.html new file mode 100644 index 000000000..061abc587 --- /dev/null +++ b/tasklist/public/500.html @@ -0,0 +1,66 @@ + + + + We're sorry, but something went wrong (500) + + + + + + +
+
+

We're sorry, but something went wrong.

+
+

If you are the application owner check the logs for more information.

+
+ + diff --git a/tasklist/public/favicon.ico b/tasklist/public/favicon.ico new file mode 100644 index 000000000..e69de29bb diff --git a/tasklist/public/robots.txt b/tasklist/public/robots.txt new file mode 100644 index 000000000..3c9c7c01f --- /dev/null +++ b/tasklist/public/robots.txt @@ -0,0 +1,5 @@ +# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file +# +# To ban all spiders from the entire site uncomment the next two lines: +# User-agent: * +# Disallow: / diff --git a/tasklist/test/controllers/.keep b/tasklist/test/controllers/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/tasklist/test/controllers/tasks_controller_test.rb b/tasklist/test/controllers/tasks_controller_test.rb new file mode 100644 index 000000000..ab48b116d --- /dev/null +++ b/tasklist/test/controllers/tasks_controller_test.rb @@ -0,0 +1,7 @@ +require 'test_helper' + +class TasksControllerTest < ActionController::TestCase + # test "the truth" do + # assert true + # end +end diff --git a/tasklist/test/fixtures/.keep b/tasklist/test/fixtures/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/tasklist/test/fixtures/tasks.yml b/tasklist/test/fixtures/tasks.yml new file mode 100644 index 000000000..1bdb61c21 --- /dev/null +++ b/tasklist/test/fixtures/tasks.yml @@ -0,0 +1,19 @@ +# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +one: + task: MyString + priority: MyString + status: MyString + date_created: 2016-04-19 13:43:42 + due_date: 2016-04-19 13:43:42 + comments: MyString + date_completed: 2016-04-19 13:43:42 + +two: + task: MyString + priority: MyString + status: MyString + date_created: 2016-04-19 13:43:42 + due_date: 2016-04-19 13:43:42 + comments: MyString + date_completed: 2016-04-19 13:43:42 diff --git a/tasklist/test/helpers/.keep b/tasklist/test/helpers/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/tasklist/test/integration/.keep b/tasklist/test/integration/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/tasklist/test/mailers/.keep b/tasklist/test/mailers/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/tasklist/test/models/.keep b/tasklist/test/models/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/tasklist/test/models/task_test.rb b/tasklist/test/models/task_test.rb new file mode 100644 index 000000000..3ca215970 --- /dev/null +++ b/tasklist/test/models/task_test.rb @@ -0,0 +1,7 @@ +require 'test_helper' + +class TaskTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end diff --git a/tasklist/test/test_helper.rb b/tasklist/test/test_helper.rb new file mode 100644 index 000000000..92e39b2d7 --- /dev/null +++ b/tasklist/test/test_helper.rb @@ -0,0 +1,10 @@ +ENV['RAILS_ENV'] ||= 'test' +require File.expand_path('../../config/environment', __FILE__) +require 'rails/test_help' + +class ActiveSupport::TestCase + # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order. + fixtures :all + + # Add more helper methods to be used by all tests here... +end diff --git a/tasklist/vendor/assets/javascripts/.keep b/tasklist/vendor/assets/javascripts/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/tasklist/vendor/assets/stylesheets/.keep b/tasklist/vendor/assets/stylesheets/.keep new file mode 100644 index 000000000..e69de29bb From 3d564490ed861293a1fd2151fc350d3a58a481b1 Mon Sep 17 00:00:00 2001 From: Adriana Date: Tue, 19 Apr 2016 15:47:20 -0700 Subject: [PATCH 02/42] Seeded data --- seeds.rb | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/seeds.rb b/seeds.rb index de6ef27a7..05de9d04c 100644 --- a/seeds.rb +++ b/seeds.rb @@ -3,16 +3,16 @@ def random_time end tasks = [ - { name: "The First Task", description: "", completed_at: random_time }, - { name: "Go to Brunch", description: "" }, - { name: "Go to Lunch", description: "", completed_at: random_time }, - { name: "Go to Second Lunch", description: "" }, - { name: "Play Video Games", description: "", completed_at: random_time }, - { name: "High Five Somebody You Don't Know", description: "", completed_at: random_time }, - { name: "Plant Flowers", description: "", completed_at: random_time }, - { name: "Call Mom", description: "" }, - { name: "She worries, you know.", description: "" }, - { name: "Nap.", description: "", completed_at: random_time } + { task: "The First Task", comments: "", date_completed: random_time }, + { task: "Go to Brunch", comments: "" }, + { task: "Go to Lunch", comments: "", date_completed: random_time }, + { task: "Go to Second Lunch", comments: "" }, + { task: "Play Video Games", comments: "", date_completed: random_time }, + { task: "High Five Somebody You Don't Know", comments: "", date_completed: random_time }, + { task: "Plant Flowers", comments: "", date_completed: random_time }, + { task: "Call Mom", comments: "" }, + { task: "She worries, you know.", comments: "" }, + { task: "Nap.", comments: "", date_completed: random_time } ] tasks.each do |task| From f84e81bf69559eb7f798aa21bbbfda7c6f0055a3 Mon Sep 17 00:00:00 2001 From: Adriana Date: Tue, 19 Apr 2016 16:27:47 -0700 Subject: [PATCH 03/42] Added in my css page to make the view better. Added in layout view for all pages in application.html.erb. Added in my data in index.html.erb and updated all the names so correct things were displayed --- .../app/assets/stylesheets/application.css | 192 ++++++++++++++++++ tasklist/app/controllers/tasks_controller.rb | 2 +- .../app/views/layouts/application.html.erb | 14 +- tasklist/app/views/tasks/index.html.erb | 75 +------ 4 files changed, 212 insertions(+), 71 deletions(-) diff --git a/tasklist/app/assets/stylesheets/application.css b/tasklist/app/assets/stylesheets/application.css index f9cd5b348..3feef8475 100644 --- a/tasklist/app/assets/stylesheets/application.css +++ b/tasklist/app/assets/stylesheets/application.css @@ -1,3 +1,195 @@ +body { + text-align: center; + font-family: fantasy; + margin: 3rem auto; + width: 80%; + background: linear-gradient(to bottom, rgba(181,189,200,1) 0%,rgba(130,140,149,1) 25%,rgba(40,52,59,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ +} + +strong { + font-size: 1.1 +} + +header { + margin: 1.5rem; + font-size: 1.5rem; +} + +a { + margin: 1.5rem; +} + +h1 { + font-size: 3rem; + font-weight: bold; +} + +.floating { + display: inline-block; + width: 20rem; + height: 22rem; + margin: 1rem; + border: 3px solid black; + padding: .5rem; + float: left; + background-color: whitesmoke; +} + +.card-head { + font-size: 1.3rem; + margin: .3rem; + border-bottom: thick dotted black; +} + +.action-buttons { + margin: .3rem; +} + +.add-floating { + display: inline-block; + width: 35rem; + height: 35rem; + margin: auto 1rem; + border: 3px solid black; + padding: .5rem; + background-color: whitesmoke; +} + +.edit-floating { + display: inline-block; + width: 35rem; + height: 38rem; + margin: auto 1rem; + border: 3px solid black; + padding: .5rem; + background-color: whitesmoke; +} + +.add-priority { + font-size: 2rem; + margin: 1rem 0; +} + +.add-head { + padding: 2rem; + font-size: 1.3rem; + margin: 2rem; + border-bottom: thick dotted black; +} + +.add-center { + margin: 0 auto; + width: 50%; +} + +table, th, td { + border: 1px solid black; + border-collapse: collapse; + text-align: center; + padding: .8rem; + margin: auto; +} + +.tablerow { + display: block; + float: left; +} + +form { + display: inline; + text-align: left; + font-size: 2rem; +} + +fieldset { + display:inline-block; + width: 50%; + font-size: 1rem +} + +div.item { + display: block; + padding: 1.2rem; +} + +.item-task { + display: block; + height: 3rem; + padding: 1rem; + margin: 2rem; + border-bottom: thick dotted black; +} + +.add-task { + font-size: 2rem; + margin: 2rem; +} + +input { + font-size: 1.5rem; + padding: .5rem; +} + +label.radio { + padding: 0 60px; +} + +input.button { + width: auto; + padding: 1rem; + margin: 1rem; + color:white; + border-radius: 3px; +} + +.urgent { + color: red; + display: inline; +} + +.medium { + color: orange; + display: inline; +} + +.low { + color: purple; + display: inline; +} + +td.jeremy { + background-image : url("../images/creepy.png"); + background-size: contain; + background-repeat: no-repeat; + background-position: center; +} + +td.rosa { + color: rgb(212, 70, 81); + text-shadow: 2px 2px 2px yellow; + font-size: 3rem +} + +td.cat { + background-color: tan; +} + +footer { + display: block; + margin: auto; + clear: both; + padding: 4rem; +} + +.completed { + opacity: 0.1; +} + +.completed:hover { + opacity: 0.3; +} + + /* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. diff --git a/tasklist/app/controllers/tasks_controller.rb b/tasklist/app/controllers/tasks_controller.rb index 6601291a9..1a3874336 100644 --- a/tasklist/app/controllers/tasks_controller.rb +++ b/tasklist/app/controllers/tasks_controller.rb @@ -1,6 +1,6 @@ class TasksController < ApplicationController def index #homepage - @tasks = Task.all + @all_tasks = Task.all end def add diff --git a/tasklist/app/views/layouts/application.html.erb b/tasklist/app/views/layouts/application.html.erb index 6fdf83fa8..06b3d8fcd 100644 --- a/tasklist/app/views/layouts/application.html.erb +++ b/tasklist/app/views/layouts/application.html.erb @@ -8,9 +8,21 @@ + + +

Get It Done!

+ +
<%= link_to "Home", root_path %> +
+ +
+ <%= yield %> +
-<%= yield %> +
+ Made by Adriana Cannon and Deirdre Storck 2016 +
diff --git a/tasklist/app/views/tasks/index.html.erb b/tasklist/app/views/tasks/index.html.erb index 0e18c6b6f..885146baa 100644 --- a/tasklist/app/views/tasks/index.html.erb +++ b/tasklist/app/views/tasks/index.html.erb @@ -1,6 +1,3 @@ - - - Add a new task Sort by Priority Sort by Status @@ -15,22 +12,22 @@

<%= task.task %>

- Priority :
<%= task[2] %>
+ Priority :
<%= task.priority %>
- Status : <%= task[3] %>
+ Status : <%= task.status %>
- Date Created : <%= task[4] %>
+ Date Created : <%= task.date_created %>
- Due Date : <%= task[5] %>
+ Due Date : <%= task.due_date %>
- Comments : <%= task[6] %>
+ Comments : <%= task.comments %>
- Date Completed : <%= task[7] %> + Date Completed : <%= task.date_completed %>
@@ -47,63 +44,3 @@ <% end %> <% end %> - - - - - - - - - From 1b3457bc5612a40d4274dc4101aca599f6a9789f Mon Sep 17 00:00:00 2001 From: Adriana Date: Tue, 19 Apr 2016 20:00:12 -0700 Subject: [PATCH 04/42] Got the edit button to direct to the right page --- .../app/assets/stylesheets/application.css | 21 +++++++++ tasklist/app/controllers/tasks_controller.rb | 10 ++++- .../app/views/layouts/application.html.erb | 4 +- tasklist/app/views/tasks/add.html.erb | 29 +++++++++++++ tasklist/app/views/tasks/by_task.html.erb | 42 ++++++++++++++++++ tasklist/app/views/tasks/edit.html.erb | 43 +++++++++++++++++++ tasklist/app/views/tasks/index.html.erb | 19 ++++---- tasklist/config/routes.rb | 6 ++- 8 files changed, 160 insertions(+), 14 deletions(-) create mode 100644 tasklist/app/views/tasks/by_task.html.erb diff --git a/tasklist/app/assets/stylesheets/application.css b/tasklist/app/assets/stylesheets/application.css index 3feef8475..f7c712e52 100644 --- a/tasklist/app/assets/stylesheets/application.css +++ b/tasklist/app/assets/stylesheets/application.css @@ -189,6 +189,27 @@ footer { opacity: 0.3; } +.link a:link {color: black;} +.link a:visited {color: black;} +.link a:hover {color: black;} +.link a:active {color: black;} + +.btn { + padding: 7px 15px 0px 15px; + background: whitesmoke; + color: #FFF; + text-decoration: none; + border-radius: 5px; + color: black; + border: .5px solid; + font-size: 1.1rem; + font-family: fantasy; + margin: 1.5rem .5rem; +} + +.btn:hover { + background-color: #ccc; +} /* * This is a manifest file that'll be compiled into application.css, which will include all the files diff --git a/tasklist/app/controllers/tasks_controller.rb b/tasklist/app/controllers/tasks_controller.rb index 1a3874336..0be057e3e 100644 --- a/tasklist/app/controllers/tasks_controller.rb +++ b/tasklist/app/controllers/tasks_controller.rb @@ -8,7 +8,13 @@ def add end def edit + @find_task = Task.where(id: params[:id]).first + # render :edit + end + + def update + redirect_to action: "index" end def delete @@ -16,7 +22,7 @@ def delete end def by_task - @all_tasks = Task.where(task: params[:task]) - render :index + @task = Task.where(id: params[:id]).first + # render :index end end diff --git a/tasklist/app/views/layouts/application.html.erb b/tasklist/app/views/layouts/application.html.erb index 06b3d8fcd..8b7487dc6 100644 --- a/tasklist/app/views/layouts/application.html.erb +++ b/tasklist/app/views/layouts/application.html.erb @@ -9,7 +9,7 @@ - +

Get It Done!

@@ -21,7 +21,7 @@
- Made by Adriana Cannon and Deirdre Storck 2016 + Made by Adriana Cannon 2016
diff --git a/tasklist/app/views/tasks/add.html.erb b/tasklist/app/views/tasks/add.html.erb index e69de29bb..41c748ce4 100644 --- a/tasklist/app/views/tasks/add.html.erb +++ b/tasklist/app/views/tasks/add.html.erb @@ -0,0 +1,29 @@ +
+
+ +
+ + +
+
+ +
+ + + +
+
+
+ + +
+
+ + +
+ + + + +
+
diff --git a/tasklist/app/views/tasks/by_task.html.erb b/tasklist/app/views/tasks/by_task.html.erb new file mode 100644 index 000000000..2fe0a065a --- /dev/null +++ b/tasklist/app/views/tasks/by_task.html.erb @@ -0,0 +1,42 @@ + + +
+
+
+
+

<%= @task.task %>

+
+
+ Priority :
<%= @task.priority %>
+
+
+ Status : <%= @task.status %>
+
+
+ Date Created : <%= @task.date_created %>
+
+
+ Due Date : <%= @task.due_date %>
+
+
+ Comments : <%= @task.comments %>
+
+
+ Date Completed : <%= @task.date_completed %> +
+
+
+ + +
+
+ + +
+
+
+
+
diff --git a/tasklist/app/views/tasks/edit.html.erb b/tasklist/app/views/tasks/edit.html.erb index e69de29bb..3eb38df27 100644 --- a/tasklist/app/views/tasks/edit.html.erb +++ b/tasklist/app/views/tasks/edit.html.erb @@ -0,0 +1,43 @@ +
+
+
+ <%= hidden_field_tag :authenticity_token, form_authenticity_token %> +
+ + + +
+
+ +
+ + + +
+
+
+ + +
+
+ + +
+
+ + +
+ +
+
+ +
+ + + diff --git a/tasklist/app/views/tasks/index.html.erb b/tasklist/app/views/tasks/index.html.erb index 885146baa..462918b27 100644 --- a/tasklist/app/views/tasks/index.html.erb +++ b/tasklist/app/views/tasks/index.html.erb @@ -9,7 +9,7 @@
-

<%= task.task %>

+
Priority :
<%= task.priority %>
@@ -29,14 +29,17 @@
Date Completed : <%= task.date_completed %>
-
-
- - -
+ + Edit + + + +
- - + +
diff --git a/tasklist/config/routes.rb b/tasklist/config/routes.rb index 97d06b01e..498fca03b 100644 --- a/tasklist/config/routes.rb +++ b/tasklist/config/routes.rb @@ -10,8 +10,10 @@ root 'tasks#index' - get '/:task' => 'tasks#by_task' - + get '/edit/:id' => 'tasks#edit' + get '/by_task/:id' => 'tasks#by_task' + get '/add' => 'tasks#add' + post '/update' => 'tasks#update' # Example of named route that can be invoked with purchase_url(id: product.id) # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase From 4a9927bf1c7f77002f8e1d14ffc4ded5581d442b Mon Sep 17 00:00:00 2001 From: Adriana Date: Tue, 19 Apr 2016 22:03:21 -0700 Subject: [PATCH 05/42] Made all forms update database --- .../app/assets/stylesheets/application.css | 2 +- tasklist/app/controllers/tasks_controller.rb | 34 +++++++++++++++++-- tasklist/app/views/tasks/add.html.erb | 5 ++- tasklist/app/views/tasks/edit.html.erb | 2 +- tasklist/app/views/tasks/index.html.erb | 2 ++ tasklist/config/routes.rb | 2 ++ 6 files changed, 39 insertions(+), 8 deletions(-) diff --git a/tasklist/app/assets/stylesheets/application.css b/tasklist/app/assets/stylesheets/application.css index f7c712e52..f923fa665 100644 --- a/tasklist/app/assets/stylesheets/application.css +++ b/tasklist/app/assets/stylesheets/application.css @@ -58,7 +58,7 @@ h1 { .edit-floating { display: inline-block; width: 35rem; - height: 38rem; + height: 41rem; margin: auto 1rem; border: 3px solid black; padding: .5rem; diff --git a/tasklist/app/controllers/tasks_controller.rb b/tasklist/app/controllers/tasks_controller.rb index 0be057e3e..24e0e7aff 100644 --- a/tasklist/app/controllers/tasks_controller.rb +++ b/tasklist/app/controllers/tasks_controller.rb @@ -1,3 +1,5 @@ +require 'chronic' + class TasksController < ApplicationController def index #homepage @all_tasks = Task.all @@ -7,18 +9,31 @@ def add end + def create + task = Task.create(task: params[:task], priority: params[:priority], status: params[:status], due_date: params[:due_date], comments: params[:comments], date_completed: params[:date_completed]) + + redirect_to action: "index" + end + def edit @find_task = Task.where(id: params[:id]).first - # render :edit + # if @find_task.due_date != nil + # @find_task.due_date = "#{Chronic.parse((@find_task.due_date).to_s).strftime("%m/%d/%Y at %I:%M%p")}" + # end end def update - + task = Task.find(params[:id]) + task.update(task: params[:task], priority: params[:priority], status: params[:status], due_date: params[:due_date], comments: params[:comments], date_completed: params[:date_completed]) + task.save + # @all_tasks = Queries.new.display_tasks redirect_to action: "index" end def delete - + task = Task.find(params[:id]).destroy + + redirect_to action: "index" end def by_task @@ -26,3 +41,16 @@ def by_task # render :index end end + +# post "/delete" do +# @delete = Queries.new.delete_task(params[:task_id].to_i) +# redirect '/' +# end +# +# get "/:field/:direction" do +# @all_tasks = Queries.new.sort(params[:field], params[:direction]) +# erb :index +# end +# +# run! +# end diff --git a/tasklist/app/views/tasks/add.html.erb b/tasklist/app/views/tasks/add.html.erb index 41c748ce4..697b8840e 100644 --- a/tasklist/app/views/tasks/add.html.erb +++ b/tasklist/app/views/tasks/add.html.erb @@ -1,6 +1,7 @@
-
+ + <%= hidden_field_tag :authenticity_token, form_authenticity_token %>
@@ -21,9 +22,7 @@
- -
diff --git a/tasklist/app/views/tasks/edit.html.erb b/tasklist/app/views/tasks/edit.html.erb index 3eb38df27..9db82c4ba 100644 --- a/tasklist/app/views/tasks/edit.html.erb +++ b/tasklist/app/views/tasks/edit.html.erb @@ -3,7 +3,7 @@
<%= hidden_field_tag :authenticity_token, form_authenticity_token %>
- +
diff --git a/tasklist/app/views/tasks/index.html.erb b/tasklist/app/views/tasks/index.html.erb index 462918b27..1519eec47 100644 --- a/tasklist/app/views/tasks/index.html.erb +++ b/tasklist/app/views/tasks/index.html.erb @@ -38,6 +38,8 @@ + <%= hidden_field_tag :authenticity_token, form_authenticity_token %> +
diff --git a/tasklist/config/routes.rb b/tasklist/config/routes.rb index 498fca03b..fc68804ee 100644 --- a/tasklist/config/routes.rb +++ b/tasklist/config/routes.rb @@ -14,6 +14,8 @@ get '/by_task/:id' => 'tasks#by_task' get '/add' => 'tasks#add' post '/update' => 'tasks#update' + post '/create' => 'tasks#create' + post '/delete' => 'tasks#delete' # Example of named route that can be invoked with purchase_url(id: product.id) # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase From 03e6083e2b8fd017290ea58ea588fbc20e85f035 Mon Sep 17 00:00:00 2001 From: Adriana Date: Tue, 19 Apr 2016 22:06:16 -0700 Subject: [PATCH 06/42] deleted a file that was unneeded --- tasklist/app/views/tasks/delete.html.erb | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 tasklist/app/views/tasks/delete.html.erb diff --git a/tasklist/app/views/tasks/delete.html.erb b/tasklist/app/views/tasks/delete.html.erb deleted file mode 100644 index e69de29bb..000000000 From 5f4d245546edea192963a8f2d90b619940ee3881 Mon Sep 17 00:00:00 2001 From: Adriana Date: Wed, 20 Apr 2016 22:22:25 -0700 Subject: [PATCH 07/42] Edited page to look like what I wanted. Got forms to work with edit,delete,add but now to start the railsy way of doing it --- tasklist/app/assets/images/check.png | Bin 0 -> 5968 bytes tasklist/app/assets/images/checkmark.png | Bin 0 -> 421 bytes .../app/assets/stylesheets/application.css | 33 +++++++++++++++-- .../app/views/layouts/application.html.erb | 2 +- tasklist/app/views/tasks/add.html.erb | 4 +-- tasklist/app/views/tasks/by_task.html.erb | 34 +++++++++++------- tasklist/app/views/tasks/edit.html.erb | 4 +-- tasklist/app/views/tasks/index.html.erb | 3 +- 8 files changed, 60 insertions(+), 20 deletions(-) create mode 100644 tasklist/app/assets/images/check.png create mode 100644 tasklist/app/assets/images/checkmark.png diff --git a/tasklist/app/assets/images/check.png b/tasklist/app/assets/images/check.png new file mode 100644 index 0000000000000000000000000000000000000000..e483f12f0707b79f6d2d549496925219905a81d4 GIT binary patch literal 5968 zcmV-W7q94vP)lq0qobgppj%s8cXxLY5fMB*JhryBnVFeIMMZ~)hht-72nYxOb$1#702X*jL_t(| zoZVgNVzN3A1r*r?YFmwHU8;8b>~i1#=`LG4Q|ZE=Ao$d+vjhCaTc~MKv`6!b<;LeeeP`>r#HrOdvKB zZKB$0dc`l-9|oYzDY(W=Tm-Oi8{Kd^NFThmi3$KO=!1b@TKrHs{`TAlF;`9J-Kx}V zi=Gt!aqCIO|Ikd-u5E4c|0Ay2MQYMJp;z-)mCg0z#r z!AxAzlj@??ucl{LtyeRF747Q+{EzlQ4&cCMq9c1FGoh-%zrsv7N;47EzmfQ~TmAVz z=&CvQ51aSL*PYAC@&L4gqk08T~3v zZF@Ab^ACxSYaeXRmBkM@fPdMHo>w}TJ%88~VE#$JBED#<=A?L>%LDxT&BQ9}0vwIf zXN8*A1GH#EZ!SE){!c*1>@c!;*+zusNU5wp!3LQb2hg^Yl>tDLCh8YTd+Xh5d*0p` zpY8d4UtesYi?dqxemAaOleCHMK6rpOIbKwQN`T|}{pa&nvWS!Blkpc>2K@&SN&flq zz#818ga?@aT2H_{EeKH6L}yR?G|2~SvAF#Ai2Va{A(JJ`as-t2!TCs5Vm$W&H7koB z8UtKE+-1eP)K=OEAX!_GnOI8!<_IBxwZ%8=gR|pDY8xqSB%AJ}MVA1jZ6@!CYXD%$ z)o3ifRt*N$?)X7Wl{S%0wic9|Sbs?Yj>sDT&@U+`)Z%LawASy5yp+BG#-AWSXPL?$ zmmK5(C#BVKJ$-;v_mHLLN}I@L?-tYtLkJ*QdUAl&Tr=OWJ{X>U;tP~EkxhT3MHc{r zJpjAb_J2J};jF zyfz+Sa2S4&A)__aL|-6)b~4inJSYK1v*Byd&UO$_<^VNO`(xV=z=`uUxE-|PEz}3k zU=7AEMgZaIlJ%Gk5AYQ-6Wb5yaoKl2HR!l2+!rNjmc)zv6UXH*$wl0`kc#}XDME}~ z(IvnY*hGt=R|6o&Ym-iR{}31;Nj{cOht+PLe|F_h^aA{k=gMnv2Kl17od|StM3mQt z&FDXc*j@V?)1P~XuG^sOxO|RPHw~IB@Fp~(FrmRmUKViGW-&C^CV$pi;aeulEeGg; z^Ffk5&hwWwVDe=LHc^}Gv;eZaHhE0u0rYs^=EEjm%CH&$aIw-0z?UK}3eXwJ0g`<5 zyEgfvNPwRHzyJ?M83qiX^^(Z}l9?r~!QPTDW!w+|n7in`0d&8J9N-QB*jp1V+zbF< zK4Iz&pfy`aOUZy5?2jiiUZxPh^eqU~W}+#&;4A-ZD3X-wk4&c-xl6PuQn4N0+5_s6Mz-3jjr<(?p!63Qpm^~xDUENAi$!7 znB-||iw^+|o>ECEi+c&cUU@Rl@&UZ~8J}T*lKBJ2YZLAa_Czd&?62;F3OXeQ@YSdW znG~Wd=)WFGO38sm9HMmJYfXSm7Kq+yrb7$!n3O)U9GVIEiZx~>DjK+Ne46Jh^ zDJ6f6SMg*N%L*P~fMn@R`UPk`NoHrs)*sMSvpyFvz|m=X0YH}5#@+cYah%9JWMzA$ zQ@+3eb2|}T0FdRi@pt}6oYFgwmF<<%e28Iy@isIt6SQcS*T&zO8w(+jM1H8!{kv+` z83CBQ1Q*m`Zn+G@|8%DNQO7j*2_#KKqhMI9!@!CA#&Wabn0vwe-=`ek8 zg#b*C7Xf5ah+^ZOtnUPXcKToqwDM&Jdop&qcYvOxvp@%YHB;wK09Ya%#8sPR(z$l| zi+r6RfEu(`_)e=r$N(%5UgxR-p3IKG0By2^h6SIyK+tnUzj z*~1kz=$5wLqg-A7&H^C^a8!<^J(~$f9?+`+zF*M?tKC}~i!Y47^;p^kND=nANI6=j zFu-(wfthH{HN$HY^HQff0bpehdtLeB?-76{6F~~FRMR`4eUPdN01U?KI{{#cuvb?t ze8T{a<`_Wh`CVsm00hwSsXgofED-jYe97l82*4`x3x(P0BqJ`3xJ!Amp2m^lLxMq>^dx8K=UQmFm4?Eq^l^P}4;Drx*cPt+@beaJnpFNEJdPKF#pj#9CS3 ziRD)ads(FX8N(|YZ1Ts!09sXMqeO`1X}i2Oi4SzT6U#3V_R?A~ zVtHC02j~QV#TNmd1c3QPvY$%;E-`?kgy~lTz;=ilQH$@YlVJ5XSyltE_yWL?5{p<_ zlD$~mo+9BF3b0&!2=~Dg53sQK$|mZ{Yp`tGQj7l-3a(mo2G(Pg)!32s#gr=pa35eb zxV8xgu(9|EK%Upe_&}W*aL3|%Tn$d0nj9vxZRxoKF#1U`fCY6M3;g~F0I9{7HPO29 z@VqwG$-^u@Gn<&hWcT>lX=?k30<;%%6kwB)?#8Dd>l%dmAkS;#+;qg^bJHc5?P{lF zTL;yT84hrT0u1s&iU(NPLo7bc?A{{grC^KC&j$}!JYuma_wjhg0hSBS5rAW7NqB%I zLLEAf9H2V|Exs_}we~W5L0@_Ll~>QB0^k!4(DB11;QBlxctqZW@1G#|3mqpdAlPz64)EF*&kV*H78qAdr z%jg;dFh>}ub3{-L=5-HQd}+{WCR=%;xvH(qFsbr`;ZhQx-UN`DXaKqZz@iku;sa5& zdy&?U<7xpGfi-0UH0(|c>zk>?M+TWX%Po)Q$SuCb0c%8d#jJH}T?Altew(C&=(3kSsn(~h__#=uCqEo)5#x+<>m^49MQ1Zo_e~Hc`c2TT# z)ufTs7N2=aj!?G-W#KA_*M=oug1P8CVgN^LZJtbJ@!6;37T*vcyYhvx_%v?t;Ni)a z*+2S&OtH;?HczHw54#p$nIrPLxH+W(UYmj^v&FJz>_xINU^<185D&HZNRFsJm5i3c zy6Gsd4Nkti$d-f2E*1w9Dpzjtg{Rap?~a+^YmhsY%z)R1BtX?0q0}|_)V^{Jt{QCd zks7RdZ5{>4^(&ayrbvK3!%>a)BA+ms0Q5nNkEJmuoh-LxstohmR0&XI{UE(a-#mcU zDg`(lj{%FXk*B2q^?7Z|9Q_y%{MscG!33c11c1fY2Pl>jfxI^LR`7Eh+8DD2n9TzX zSFJm%11!EiK*>}Y;I-+T`4Y|X(I%UDCQY=Em0J9b7@t-((XNYt^V$^0G0Y?@`ItHboz#rJUh~gz=|q3{Yf4s8PvM{B28nG6? z!)pWIt(^ANp)^Al->3#lS?7x+bgkFI%L{M^?I7ZqDK(eK2HrZTv(_YVjX>0I2V(bpj8Q zrOgARyf$Pnd4|^}D2?*kG(v$F)F47>mh#%Z74Mcim5iry3A?x0boUmutJZT9E#lK( z5?$IM)oNc z0NUBgS2j_W*T(T=J|!C)We4|ifQsZxRkYX#OWC~`fVZ=nDUTG*?%u-lWLDx@>k&DE zN)Oiu^Uu89tFBSXPAw|S6%F#*xLTQ~HV-hjK_`{c*ELaq()^SP0O?_5NFQW*ZIYR! zg!W};pEB8@Pty%DF~cxQKg)k1!9V$_WNkZfkK(jCHyB~xuA0W~Xs?+Fu$ojOO_b-g zNt8ZhEWoOJKe))iF+?8(R#w?bsP%4PfUb4=u=yIyKk?4uWe0NA=;OR+*@ni&pojE9 zRSj09+!1jEqaFMPt{Po^c97=jlC#dC>pVcNoxEm34HkpVQ-1(8ny5RICnCujIQN5r zRPoxtQ^`&(gR5JWi$h<1P;DkGZ%3qyInsAaBTrlN+MsY%;2-6D(Z$)D3}hyFS$B6Q zU#*g@B6W_4{GkO7_wX)>^$nT#jn?!~n@#f6&MOZ832&nDU)Er?k&JP zM6y(+9?FuRd%l!@UA5hF29n3(Ed)@P_SM|ETF7d!dXL%iQ2604JxIMd5ve^To#sX; zJt3G%%^idNNhfKZXFY^Hq;2P)ZTD$v#G#m&5(6{H#_hdNEU7U?TV1 zm(ATrj!)iricdNR00K=E+m$O=E6$ZGk0mQVN%LFh0uf1yL%%V?f2N(rap&24#Y(AIz0-iE&b(2h@d6Kzc}e<~SZL8Cu#m;V)jTg^Vm z?cM^r>ER5rO1}YcRIZBFOJi2Mx43u{Eq6`WF8&^X<*H~it_1T9sC#_0xhcROMoo=~ zB?YMPVqfH^cl`pu0IflZ?_Pe>m@2=5zRgYh;4w68qBXBgJr9`#=U8s~Z#s%@6lw|p zON;MK_2`r{BJv+^3XoK@QWH84%WG4S99?}01}cdM#qkjpMU?ET}*&MCDwSp6W~6OXCNyiIwLk}= z60oO|nb9e!EDhO3mxK+cpzH)z+C)u`*Y-O+8NBGrnkc{X-1Pv>k}pQvfopq|h??x3 zx8}*1DSeTe@=|WVlewT)E*dI~OX)ZHGJGGbd2Pe=!9fn2HB?i6D%tILGJ`i!_EfUl zQJPz&;YG?OO%y6Rx4bB?ZE&89Ngvdi(Ti%zd2Ki2$!IK6zRpbO9QkxHKnytZF-)!?G9GS}6e&DIzb z8it$Dm8En?pen3WXg?KXsV7fG=;>V^EbB{Tty(q$WyQydYH~$acScdo$Y>&E^df9n zdG$F}8nU@aT?&;ATG>F5RTu4R7i~qnn$@>}?iE!p{%$XV_M*Nsnvv9!4H{Wx y(HE)dwLd!-uICCDoQR36OvE*KoQbTUru#1?-)EuRw@RM?0000P000>X1^@s6#OZ}&0004ONkl~<5QfJSRuoZ0P`omI024zoQA|us6yIS54NNxihztx(39Z)n(C@%q9|QIbjGIAt~-*gDd3l_OM+^&gAMQ^ zFFi`u@fZc~7Qq)-c3p@Z{b_J#WLOqyeBFssqMWN;2f-ouR%-kzYZz0ObxdR}X&zX= zIdHDjnQY4@dCRjsY3Hh<4Xl6<%SI)zU}@PxQj2Oa0d6cJQ+^vOW6jsanPZaKU1L5j zzAohq*hx!1uW-)Iu^~D7&p}rk9kJPX07IevJbJ(-SPc9N6%B(-Eie87cM+tSZR|j; P00000NkvXXu0mjfr;Vw* literal 0 HcmV?d00001 diff --git a/tasklist/app/assets/stylesheets/application.css b/tasklist/app/assets/stylesheets/application.css index f923fa665..f6433467a 100644 --- a/tasklist/app/assets/stylesheets/application.css +++ b/tasklist/app/assets/stylesheets/application.css @@ -3,7 +3,9 @@ body { font-family: fantasy; margin: 3rem auto; width: 80%; - background: linear-gradient(to bottom, rgba(181,189,200,1) 0%,rgba(130,140,149,1) 25%,rgba(40,52,59,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ + background: linear-gradient(to bottom, rgba(181,189,200,1) + 0%,rgba(130,140,149,1) 25%,rgba(40,52,59,1) 100%); + /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ } strong { @@ -27,7 +29,7 @@ h1 { .floating { display: inline-block; width: 20rem; - height: 22rem; + height: 24rem; margin: 1rem; border: 3px solid black; padding: .5rem; @@ -37,10 +39,16 @@ h1 { .card-head { font-size: 1.3rem; + height: 4rem; margin: .3rem; + margin-bottom: .7rem; border-bottom: thick dotted black; } +.pad-text { + margin: 1rem; +} + .action-buttons { margin: .3rem; } @@ -211,6 +219,27 @@ footer { background-color: #ccc; } +.big-card { + display: inline-block; + width: 35rem; + height: 35rem; + margin-top: 1rem; + margin-left: auto; + margin-right: auto; + border: 3px solid black; + padding: .7rem; + background-color: whitesmoke; + font-size: 1.7rem; +} + +strong h3 { + font-size: 2rem; +} + +.checkmark { + float: right; +} + /* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. diff --git a/tasklist/app/views/layouts/application.html.erb b/tasklist/app/views/layouts/application.html.erb index 8b7487dc6..f82aebbd3 100644 --- a/tasklist/app/views/layouts/application.html.erb +++ b/tasklist/app/views/layouts/application.html.erb @@ -2,7 +2,7 @@ Tasklist - <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> + <%= stylesheet_link_tag 'application', "https://fonts.googleapis.com/css?family=Tangerine", media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> diff --git a/tasklist/app/views/tasks/add.html.erb b/tasklist/app/views/tasks/add.html.erb index 697b8840e..ff53543a3 100644 --- a/tasklist/app/views/tasks/add.html.erb +++ b/tasklist/app/views/tasks/add.html.erb @@ -4,7 +4,7 @@ <%= hidden_field_tag :authenticity_token, form_authenticity_token %>
- +
@@ -20,7 +20,7 @@
- +
diff --git a/tasklist/app/views/tasks/by_task.html.erb b/tasklist/app/views/tasks/by_task.html.erb index 2fe0a065a..6c9e86b67 100644 --- a/tasklist/app/views/tasks/by_task.html.erb +++ b/tasklist/app/views/tasks/by_task.html.erb @@ -5,37 +5,47 @@
-
+

<%= @task.task %>

-
+
Priority :
<%= @task.priority %>
-
+
Status : <%= @task.status %>
-
- Date Created : <%= @task.date_created %>
+
+ Date Created : <%= @task.created_at %>
-
+
Due Date : <%= @task.due_date %>
-
+
Comments : <%= @task.comments %>
-
+
Date Completed : <%= @task.date_completed %>
-
- + + Edit + + -
+
- + <%= hidden_field_tag :authenticity_token, form_authenticity_token %> + +
+ +
diff --git a/tasklist/app/views/tasks/edit.html.erb b/tasklist/app/views/tasks/edit.html.erb index 9db82c4ba..d8d5eb06e 100644 --- a/tasklist/app/views/tasks/edit.html.erb +++ b/tasklist/app/views/tasks/edit.html.erb @@ -5,7 +5,7 @@
- +
@@ -29,7 +29,7 @@
- +
diff --git a/tasklist/app/views/tasks/index.html.erb b/tasklist/app/views/tasks/index.html.erb index 1519eec47..1682c8454 100644 --- a/tasklist/app/views/tasks/index.html.erb +++ b/tasklist/app/views/tasks/index.html.erb @@ -8,6 +8,7 @@ <% @all_tasks.each do |task| %>
+
@@ -18,7 +19,7 @@ Status : <%= task.status %>
- Date Created : <%= task.date_created %>
+ Date Created : <%= task.created_at %>
Due Date : <%= task.due_date %>
From 2c399a479b6ce367dd292225759ae33e35be3e12 Mon Sep 17 00:00:00 2001 From: Adriana Date: Thu, 21 Apr 2016 11:21:53 -0700 Subject: [PATCH 08/42] Working on rails forms for add --- tasklist/Gemfile | 12 ++-- tasklist/Gemfile.lock | 6 ++ tasklist/app/controllers/tasks_controller.rb | 4 +- tasklist/app/views/tasks/add.html.erb | 66 +++++++++++++------- 4 files changed, 57 insertions(+), 31 deletions(-) diff --git a/tasklist/Gemfile b/tasklist/Gemfile index b75143f2e..1f2aea6a4 100644 --- a/tasklist/Gemfile +++ b/tasklist/Gemfile @@ -38,13 +38,15 @@ group :development, :test do end group :development do + gem "better_errors" + gem "binding_of_caller" # Access an IRB console on exception pages or by using <%= console %> in views gem 'web-console', '~> 2.0' +end - # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring - gem 'spring' +# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring +gem 'spring' - gem 'pry' +gem 'pry' - gem 'chronic' -end +gem 'chronic' diff --git a/tasklist/Gemfile.lock b/tasklist/Gemfile.lock index 0e86eefa7..c2464c77b 100644 --- a/tasklist/Gemfile.lock +++ b/tasklist/Gemfile.lock @@ -37,6 +37,10 @@ GEM thread_safe (~> 0.3, >= 0.3.4) tzinfo (~> 1.1) arel (6.0.3) + better_errors (2.1.1) + coderay (>= 1.0.0) + erubis (>= 2.6.6) + rack (>= 0.9.0) binding_of_caller (0.7.2) debug_inspector (>= 0.0.1) builder (3.2.2) @@ -151,6 +155,8 @@ PLATFORMS ruby DEPENDENCIES + better_errors + binding_of_caller byebug chronic coffee-rails (~> 4.1.0) diff --git a/tasklist/app/controllers/tasks_controller.rb b/tasklist/app/controllers/tasks_controller.rb index 24e0e7aff..3db726bcb 100644 --- a/tasklist/app/controllers/tasks_controller.rb +++ b/tasklist/app/controllers/tasks_controller.rb @@ -6,7 +6,7 @@ def index #homepage end def add - + @task = Task.new end def create @@ -32,7 +32,7 @@ def update def delete task = Task.find(params[:id]).destroy - + redirect_to action: "index" end diff --git a/tasklist/app/views/tasks/add.html.erb b/tasklist/app/views/tasks/add.html.erb index ff53543a3..786a66e8c 100644 --- a/tasklist/app/views/tasks/add.html.erb +++ b/tasklist/app/views/tasks/add.html.erb @@ -1,28 +1,46 @@
-
- <%= hidden_field_tag :authenticity_token, form_authenticity_token %> -
- - -
-
- -
- - - -
-
-
- - -
-
- - -
- -
+ <%= form_for @task do |f| %> + <%= f.label :task %> + <%= f.text_field :task %> + + <%= f.label :priority %> + <%= f.radio_button :priority, 'urgent' %> + <%= f.radio_button :priority, 'medium' %> + <%= f.radio_button :priority, 'low' %> + + <%= f.label :due_date %> + <%= f.text_field :due_date %> + + <%= f.label :comments %> + <%= f.text_field :comments%> + + <%=f.submit %> + <% end %>
+ + From ccd111766169f89a79faaccd9906d831a6a748ea Mon Sep 17 00:00:00 2001 From: Adriana Date: Thu, 21 Apr 2016 11:23:56 -0700 Subject: [PATCH 09/42] added paths for add --- tasklist/app/controllers/tasks_controller.rb | 2 ++ tasklist/config/routes.rb | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/tasklist/app/controllers/tasks_controller.rb b/tasklist/app/controllers/tasks_controller.rb index 3db726bcb..ee7025352 100644 --- a/tasklist/app/controllers/tasks_controller.rb +++ b/tasklist/app/controllers/tasks_controller.rb @@ -7,6 +7,8 @@ def index #homepage def add @task = Task.new + + render :add end def create diff --git a/tasklist/config/routes.rb b/tasklist/config/routes.rb index fc68804ee..aaea3e84b 100644 --- a/tasklist/config/routes.rb +++ b/tasklist/config/routes.rb @@ -10,11 +10,15 @@ root 'tasks#index' + get '/edit/:id' => 'tasks#edit' + post '/update' => 'tasks#update' + get '/by_task/:id' => 'tasks#by_task' + get '/add' => 'tasks#add' - post '/update' => 'tasks#update' - post '/create' => 'tasks#create' + post '/create' => 'tasks#create', as :tasks + post '/delete' => 'tasks#delete' # Example of named route that can be invoked with purchase_url(id: product.id) From 12153e25c63eb01f924ff3179ee615f8ee941410 Mon Sep 17 00:00:00 2001 From: Adriana Date: Thu, 21 Apr 2016 11:32:11 -0700 Subject: [PATCH 10/42] Added all function for my task_controller --- tasklist/app/controllers/tasks_controller.rb | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tasklist/app/controllers/tasks_controller.rb b/tasklist/app/controllers/tasks_controller.rb index ee7025352..06b3fbe9e 100644 --- a/tasklist/app/controllers/tasks_controller.rb +++ b/tasklist/app/controllers/tasks_controller.rb @@ -8,13 +8,17 @@ def index #homepage def add @task = Task.new - render :add + render "add" end def create - task = Task.create(task: params[:task], priority: params[:priority], status: params[:status], due_date: params[:due_date], comments: params[:comments], date_completed: params[:date_completed]) + @task = Task.new(task: params[:task], priority: params[:priority], status: params[:status], due_date: params[:due_date], comments: params[:comments], date_completed: params[:date_completed]) - redirect_to action: "index" + if @task.save + redirect_to root_path + else + redirect_to action: "index" + end end def edit From 83212ea613de0f042a8b086deaaaedf5ee2510fd Mon Sep 17 00:00:00 2001 From: Adriana Date: Thu, 21 Apr 2016 11:33:14 -0700 Subject: [PATCH 11/42] updated index.html.erb page --- tasklist/app/views/tasks/index.html.erb | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/tasklist/app/views/tasks/index.html.erb b/tasklist/app/views/tasks/index.html.erb index 1682c8454..a8c5e5561 100644 --- a/tasklist/app/views/tasks/index.html.erb +++ b/tasklist/app/views/tasks/index.html.erb @@ -32,18 +32,16 @@
Edit - - -
- <%= hidden_field_tag :authenticity_token, form_authenticity_token %> - - -
+ <%= form_tag('/delete/'+task.id.to_s, method: "delete") do %> + <%= submit_tag "Delete", class: "btn" %> + <% end %> +
From 6b765f290d82270a26cf2066faf47af704633465 Mon Sep 17 00:00:00 2001 From: Adriana Date: Thu, 21 Apr 2016 11:34:26 -0700 Subject: [PATCH 12/42] updated add.html.erb page --- tasklist/app/views/tasks/add.html.erb | 30 ++++++++++++++------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/tasklist/app/views/tasks/add.html.erb b/tasklist/app/views/tasks/add.html.erb index 786a66e8c..6780e5b39 100644 --- a/tasklist/app/views/tasks/add.html.erb +++ b/tasklist/app/views/tasks/add.html.erb @@ -1,5 +1,6 @@
+ <%= form_for @task do |f| %> <%= f.label :task %> <%= f.text_field :task %> @@ -17,21 +18,19 @@ <%=f.submit %> <% end %> -
-
- + + +
From 14f9b8265a5ec4b30f7489721c8b68343d2d9abc Mon Sep 17 00:00:00 2001 From: Adriana Date: Thu, 21 Apr 2016 11:50:26 -0700 Subject: [PATCH 13/42] Added a delete function that asks if you are sure --- tasklist/app/views/tasks/index.html.erb | 4 ++-- tasklist/config/routes.rb | 7 +++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/tasklist/app/views/tasks/index.html.erb b/tasklist/app/views/tasks/index.html.erb index a8c5e5561..51da8464e 100644 --- a/tasklist/app/views/tasks/index.html.erb +++ b/tasklist/app/views/tasks/index.html.erb @@ -38,8 +38,8 @@ - <%= form_tag('/delete/'+task.id.to_s, method: "delete") do %> - <%= submit_tag "Delete", class: "btn" %> + <%= form_tag('/delete/'+task.id.to_s, method: "delete", data: {confirm: "Are you sure?"}) do %> + <%= submit_tag "Delete", class: "btn" %> <% end %> diff --git a/tasklist/config/routes.rb b/tasklist/config/routes.rb index aaea3e84b..17744eb46 100644 --- a/tasklist/config/routes.rb +++ b/tasklist/config/routes.rb @@ -10,16 +10,15 @@ root 'tasks#index' - get '/edit/:id' => 'tasks#edit' - post '/update' => 'tasks#update' get '/by_task/:id' => 'tasks#by_task' get '/add' => 'tasks#add' - post '/create' => 'tasks#create', as :tasks + post '/create' => 'tasks#create', as: 'tasks' - post '/delete' => 'tasks#delete' + post '/update' => 'tasks#update' + delete '/delete/:id' => 'tasks#delete' # Example of named route that can be invoked with purchase_url(id: product.id) # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase From 2cff07ed96f8ab2d941a029380410840aa64100d Mon Sep 17 00:00:00 2001 From: Adriana Date: Thu, 21 Apr 2016 12:06:25 -0700 Subject: [PATCH 14/42] Started formatting add.html for adding a task --- tasklist/app/views/tasks/add.html.erb | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/tasklist/app/views/tasks/add.html.erb b/tasklist/app/views/tasks/add.html.erb index 6780e5b39..e22c4dcbc 100644 --- a/tasklist/app/views/tasks/add.html.erb +++ b/tasklist/app/views/tasks/add.html.erb @@ -1,23 +1,30 @@
- <%= form_for @task do |f| %> + <%= form_for @task, :html => {:class => "item-task"} do |f| %> <%= f.label :task %> - <%= f.text_field :task %> + <%= f.text_field :task %>
- <%= f.label :priority %> + <%= f.label :priority, :class => 'add-task' %> <%= f.radio_button :priority, 'urgent' %> + <%= label :priority, 'urgent' %> <%= f.radio_button :priority, 'medium' %> + <%= label :priority, 'medium' %> <%= f.radio_button :priority, 'low' %> + <%= label :priority, 'low' %>
<%= f.label :due_date %> - <%= f.text_field :due_date %> + <%= f.text_field :due_date %>
<%= f.label :comments %> - <%= f.text_field :comments%> + <%= f.text_field :comments%>
- <%=f.submit %> + <%=f.submit 'Add Task', :class => 'btn'%> <% end %> +
+
+ + - - - From 7f6b3078dfb9ac8cdddc2acec317267bd93bf9f9 Mon Sep 17 00:00:00 2001 From: Adriana Date: Thu, 21 Apr 2016 12:54:22 -0700 Subject: [PATCH 15/42] worked on a button_to tag for delete. --- tasklist/app/assets/stylesheets/application.css | 4 ++++ tasklist/app/views/tasks/add.html.erb | 6 +++--- tasklist/app/views/tasks/index.html.erb | 4 +++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/tasklist/app/assets/stylesheets/application.css b/tasklist/app/assets/stylesheets/application.css index f6433467a..bac63c7b1 100644 --- a/tasklist/app/assets/stylesheets/application.css +++ b/tasklist/app/assets/stylesheets/application.css @@ -240,6 +240,10 @@ strong h3 { float: right; } +.radio { + font-size: 1rem; +} + /* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. diff --git a/tasklist/app/views/tasks/add.html.erb b/tasklist/app/views/tasks/add.html.erb index e22c4dcbc..43bcaa302 100644 --- a/tasklist/app/views/tasks/add.html.erb +++ b/tasklist/app/views/tasks/add.html.erb @@ -7,11 +7,11 @@ <%= f.label :priority, :class => 'add-task' %> <%= f.radio_button :priority, 'urgent' %> - <%= label :priority, 'urgent' %> + <%= label :priority, 'urgent', :class => 'radio' %> <%= f.radio_button :priority, 'medium' %> - <%= label :priority, 'medium' %> + <%= label :priority, 'medium', :class => 'radio' %> <%= f.radio_button :priority, 'low' %> - <%= label :priority, 'low' %>
+ <%= label :priority, 'low', :class => 'radio' %>
<%= f.label :due_date %> <%= f.text_field :due_date %>
diff --git a/tasklist/app/views/tasks/index.html.erb b/tasklist/app/views/tasks/index.html.erb index 51da8464e..f6e45edd0 100644 --- a/tasklist/app/views/tasks/index.html.erb +++ b/tasklist/app/views/tasks/index.html.erb @@ -31,7 +31,9 @@ Date Completed : <%= task.date_completed %> - Edit + <%= button_to "Edit", "/edit/#{task.id}", :class => "btn", :method => :get %> + + From bfe0d24088a5d5f87ddacbd962b7587b6b71f098 Mon Sep 17 00:00:00 2001 From: Adriana Date: Thu, 21 Apr 2016 12:56:31 -0700 Subject: [PATCH 16/42] made edit a RESTful route --- tasklist/app/views/tasks/index.html.erb | 2 +- tasklist/config/routes.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasklist/app/views/tasks/index.html.erb b/tasklist/app/views/tasks/index.html.erb index f6e45edd0..83fe489ad 100644 --- a/tasklist/app/views/tasks/index.html.erb +++ b/tasklist/app/views/tasks/index.html.erb @@ -31,7 +31,7 @@ Date Completed : <%= task.date_completed %> - <%= button_to "Edit", "/edit/#{task.id}", :class => "btn", :method => :get %> + <%= button_to "Edit", "/task/#{task.id}/edit", :class => "btn", :method => :get %>
- +
Priority :
<%= task.priority %>
@@ -40,7 +40,7 @@ - <%= form_tag('/delete/'+task.id.to_s, method: "delete", data: {confirm: "Are you sure?"}) do %> + <%= form_tag(task_path(task.id), method: "delete", data: {confirm: "Are you sure?"}) do %> <%= submit_tag "Delete", class: "btn" %> <% end %> diff --git a/tasklist/app/views/tasks/by_task.html.erb b/tasklist/app/views/tasks/show.html.erb similarity index 100% rename from tasklist/app/views/tasks/by_task.html.erb rename to tasklist/app/views/tasks/show.html.erb diff --git a/tasklist/config/routes.rb b/tasklist/config/routes.rb index 856adc06f..e58e3429a 100644 --- a/tasklist/config/routes.rb +++ b/tasklist/config/routes.rb @@ -12,13 +12,13 @@ root 'tasks#index' get '/task/:id/edit' => 'tasks#edit' - get '/by_task/:id' => 'tasks#by_task' + get '/task/:id' => 'tasks#show', as: 'task' get '/add' => 'tasks#add' post '/create' => 'tasks#create', as: 'tasks' post '/update' => 'tasks#update' - delete '/delete/:id' => 'tasks#delete' + delete '/task/:id' => 'tasks#destroy' # Example of named route that can be invoked with purchase_url(id: product.id) # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase From fe65bcba3221af96994c19847f8523eff0a7a82e Mon Sep 17 00:00:00 2001 From: Adriana Date: Thu, 21 Apr 2016 22:06:04 -0700 Subject: [PATCH 18/42] Added a checkbox function. formatted so the words were displayed correctly. updated the controller to add in date completed time. made a radio button instead of a select box which destroyed all the things --- .../app/assets/stylesheets/application.css | 30 ++++- tasklist/app/controllers/tasks_controller.rb | 26 ++++- tasklist/app/views/tasks/add.html.erb | 11 +- tasklist/app/views/tasks/edit.html.erb | 105 ++++++++++++------ tasklist/app/views/tasks/index.html.erb | 15 ++- tasklist/config/routes.rb | 15 ++- 6 files changed, 141 insertions(+), 61 deletions(-) diff --git a/tasklist/app/assets/stylesheets/application.css b/tasklist/app/assets/stylesheets/application.css index bac63c7b1..dadc1b1ee 100644 --- a/tasklist/app/assets/stylesheets/application.css +++ b/tasklist/app/assets/stylesheets/application.css @@ -130,7 +130,8 @@ div.item { .add-task { font-size: 2rem; - margin: 2rem; + /*margin: 2rem;*/ + padding-right: 2rem; } input { @@ -138,9 +139,9 @@ input { padding: .5rem; } -label.radio { +/*label.radio { padding: 0 60px; -} +}*/ input.button { width: auto; @@ -212,13 +213,30 @@ footer { border: .5px solid; font-size: 1.1rem; font-family: fantasy; - margin: 1.5rem .5rem; + margin: 0.5rem .5rem; } .btn:hover { background-color: #ccc; } +.add-btn { + padding: 7px 15px 0px 15px; + background: whitesmoke; + color: #FFF; + text-decoration: none; + border-radius: 5px; + color: black; + border: .5px solid; + font-size: 1.1rem; + font-family: fantasy; + margin: 0.5rem 10.5rem; +} + +.add-btn:hover { + background-color: #ccc; +} + .big-card { display: inline-block; width: 35rem; @@ -244,6 +262,10 @@ strong h3 { font-size: 1rem; } +form.item-task input[type=text] { + width: 16rem; +} + /* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. diff --git a/tasklist/app/controllers/tasks_controller.rb b/tasklist/app/controllers/tasks_controller.rb index bc3725f16..3ea2fd3ca 100644 --- a/tasklist/app/controllers/tasks_controller.rb +++ b/tasklist/app/controllers/tasks_controller.rb @@ -12,26 +12,32 @@ def add end def create - @task = Task.new(task: params[:task], priority: params[:priority], status: params[:status], due_date: params[:due_date], comments: params[:comments], date_completed: params[:date_completed]) + @task = Task.new(tasks_create_params[:task]) if @task.save redirect_to root_path else - redirect_to action: "index" + redirect_to action: "add" end end def edit - @find_task = Task.where(id: params[:id]).first + # @find_task = Task.where(id: params[:id]).first + @find_task = Task.find(params[:id]) # if @find_task.due_date != nil # @find_task.due_date = "#{Chronic.parse((@find_task.due_date).to_s).strftime("%m/%d/%Y at %I:%M%p")}" # end end def update - task = Task.find(params[:id]) - task.update(task: params[:task], priority: params[:priority], status: params[:status], due_date: params[:due_date], comments: params[:comments], date_completed: params[:date_completed]) - task.save + @task = Task.find(params[:id]) + @task.update(tasks_update_params[:task]) + if params[:task][:status] == "Completed" + @task.date_completed = Time.now + else + @task.date_completed = "" + end + @task.save # @all_tasks = Queries.new.display_tasks redirect_to action: "index" end @@ -46,6 +52,14 @@ def show @task = Task.find(params[:id]) # render :show end + + def tasks_create_params + params.permit(task: [:task, :priority, :due_date, :comments]) + end + + def tasks_update_params + params.permit(task: [:task, :priority, :status, :due_date, :comments]) + end end # post "/delete" do diff --git a/tasklist/app/views/tasks/add.html.erb b/tasklist/app/views/tasks/add.html.erb index 43bcaa302..94523d99e 100644 --- a/tasklist/app/views/tasks/add.html.erb +++ b/tasklist/app/views/tasks/add.html.erb @@ -3,7 +3,7 @@ <%= form_for @task, :html => {:class => "item-task"} do |f| %> <%= f.label :task %> - <%= f.text_field :task %>
+ <%= f.text_field :task, :maxlength => 16 %>

<%= f.label :priority, :class => 'add-task' %> <%= f.radio_button :priority, 'urgent' %> @@ -11,16 +11,17 @@ <%= f.radio_button :priority, 'medium' %> <%= label :priority, 'medium', :class => 'radio' %> <%= f.radio_button :priority, 'low' %> - <%= label :priority, 'low', :class => 'radio' %>
+ <%= label :priority, 'low', :class => 'radio' %>

<%= f.label :due_date %> - <%= f.text_field :due_date %>
+ <%= f.text_field :due_date %>

<%= f.label :comments %> - <%= f.text_field :comments%>
+ <%= f.text_field :comments, :maxlength => 105 %>

- <%=f.submit 'Add Task', :class => 'btn'%> + <%=f.submit 'Add Task', :class => 'add-btn'%> <% end %> +
diff --git a/tasklist/app/views/tasks/edit.html.erb b/tasklist/app/views/tasks/edit.html.erb index d8d5eb06e..bb84ffc27 100644 --- a/tasklist/app/views/tasks/edit.html.erb +++ b/tasklist/app/views/tasks/edit.html.erb @@ -1,43 +1,80 @@
-
- <%= hidden_field_tag :authenticity_token, form_authenticity_token %> -
- - - -
-
- -
- - - -
-
-
- - -
-
- - -
-
- - -
- -
+ + <%= form_for @find_task, :html => {:class => "item-task"} do |f| %> + <%= f.label :task %> + <%= f.text_field :task, :maxlength => 16 %>

+ + <%= f.label :priority, :class => 'add-task' %> + <%= f.radio_button :priority, 'urgent' %> + <%= label :priority, 'urgent', :class => 'radio' %> + <%= f.radio_button :priority, 'medium' %> + <%= label :priority, 'medium', :class => 'radio' %> + <%= f.radio_button :priority, 'low' %> + <%= label :priority, 'low', :class => 'radio' %>

+ + <%= f.label :status, :class => 'add-task' %> + <%= f.radio_button :status, 'Not Started' %> + <%= label :status, 'Not Started', :class => 'radio' %> + <%= f.radio_button :status, 'In Progress' %> + <%= label :status, 'In Progress', :class => 'radio' %>
+ <%= f.radio_button :status, 'Completed' %> + <%= label :status, 'Completed', :class => 'radio' %>
+ + + + + <%= f.label :due_date %> + <%= f.text_field :due_date %>

+ + <%= f.label :comments %> + <%= f.text_field :comments, :maxlength => 105 %>

+ + <%= f.submit 'Edit Task', :class => 'add-btn' %> + + <% end %> +
-
+ + + diff --git a/tasklist/app/views/tasks/index.html.erb b/tasklist/app/views/tasks/index.html.erb index 1cc133ecd..6161d6fbb 100644 --- a/tasklist/app/views/tasks/index.html.erb +++ b/tasklist/app/views/tasks/index.html.erb @@ -1,4 +1,6 @@ -Add a new task +<%= link_to "Add a New Task", task_path("add") %> + + Sort by Priority Sort by Status Sort by Due Date @@ -8,7 +10,12 @@ <% @all_tasks.each do |task| %>
- + + <%= form_tag(task_path(task.id), method: "patch") do %> + <%= image_submit_tag "checkmark.png", alt: "Checkbox to mark task completed", class: "checkmark" %> + <%= hidden_field(:task, :status, :value => "Completed") %> + <% end %> +
@@ -31,7 +38,7 @@ Date Completed : <%= task.date_completed %>
- <%= button_to "Edit", "/task/#{task.id}/edit", :class => "btn", :method => :get %> + <%= button_to "Edit", task_path(task.id)+"/edit", :class => "btn", :method => :get %> <%= form_tag(task_path(task.id), method: "delete", data: {confirm: "Are you sure?"}) do %> - <%= submit_tag "Delete", class: "btn" %> + <%= submit_tag "Delete", class: "btn" %> <% end %>
diff --git a/tasklist/config/routes.rb b/tasklist/config/routes.rb index e58e3429a..c1fd9061c 100644 --- a/tasklist/config/routes.rb +++ b/tasklist/config/routes.rb @@ -10,15 +10,14 @@ root 'tasks#index' - get '/task/:id/edit' => 'tasks#edit' + post '/tasks' => 'tasks#create', as: 'tasks' + get '/tasks/add' => 'tasks#add' - get '/task/:id' => 'tasks#show', as: 'task' - - get '/add' => 'tasks#add' - post '/create' => 'tasks#create', as: 'tasks' - - post '/update' => 'tasks#update' - delete '/task/:id' => 'tasks#destroy' + get '/tasks/:id/edit' => 'tasks#edit' + get '/tasks/:id' => 'tasks#show', as: 'task' + patch '/tasks/:id' => 'tasks#update' + put '/tasks/:id' => 'tasks#update' + delete '/tasks/:id' => 'tasks#destroy' # Example of named route that can be invoked with purchase_url(id: product.id) # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase From 3704c35c2b609e88f10105df79a7e693fd5d0b84 Mon Sep 17 00:00:00 2001 From: Adriana Date: Fri, 22 Apr 2016 14:33:44 -0700 Subject: [PATCH 19/42] Worked on getting completed button to disappear once it was clicked. Made status always default to Not Started by doing a migration --- .../app/assets/stylesheets/application.css | 16 +++++++++++++++- tasklist/app/controllers/tasks_controller.rb | 5 +++++ tasklist/app/views/tasks/add.html.erb | 2 +- tasklist/app/views/tasks/edit.html.erb | 4 ++-- tasklist/app/views/tasks/index.html.erb | 7 +++++-- tasklist/app/views/tasks/show.html.erb | 11 ++++------- tasklist/config/routes.rb | 18 +++++++++++------- ..._change_tasks_status_default_not_started.rb | 8 ++++++++ tasklist/db/schema.rb | 8 ++++---- 9 files changed, 55 insertions(+), 24 deletions(-) create mode 100644 tasklist/db/migrate/20160422211122_change_tasks_status_default_not_started.rb diff --git a/tasklist/app/assets/stylesheets/application.css b/tasklist/app/assets/stylesheets/application.css index dadc1b1ee..53088efc7 100644 --- a/tasklist/app/assets/stylesheets/application.css +++ b/tasklist/app/assets/stylesheets/application.css @@ -240,7 +240,7 @@ footer { .big-card { display: inline-block; width: 35rem; - height: 35rem; + height: 38rem; margin-top: 1rem; margin-left: auto; margin-right: auto; @@ -266,6 +266,20 @@ form.item-task input[type=text] { width: 16rem; } +.checkmark { + width: 1rem; + height: 1rem; +} + +.invisible { + display: none; + /*width: 0rem; + height: 0rem;*/ + float: right; +} + + + /* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. diff --git a/tasklist/app/controllers/tasks_controller.rb b/tasklist/app/controllers/tasks_controller.rb index 3ea2fd3ca..15b3f194c 100644 --- a/tasklist/app/controllers/tasks_controller.rb +++ b/tasklist/app/controllers/tasks_controller.rb @@ -13,6 +13,9 @@ def add def create @task = Task.new(tasks_create_params[:task]) + # defaults = {:status => "Not Started"} + # params = defaults.merge(params) + # @task = params[:status] if @task.save redirect_to root_path @@ -53,6 +56,8 @@ def show # render :show end + private + def tasks_create_params params.permit(task: [:task, :priority, :due_date, :comments]) end diff --git a/tasklist/app/views/tasks/add.html.erb b/tasklist/app/views/tasks/add.html.erb index 94523d99e..5543d1a4e 100644 --- a/tasklist/app/views/tasks/add.html.erb +++ b/tasklist/app/views/tasks/add.html.erb @@ -3,7 +3,7 @@ <%= form_for @task, :html => {:class => "item-task"} do |f| %> <%= f.label :task %> - <%= f.text_field :task, :maxlength => 16 %>

+ <%= f.text_field :task, :maxlength => 15 %>

<%= f.label :priority, :class => 'add-task' %> <%= f.radio_button :priority, 'urgent' %> diff --git a/tasklist/app/views/tasks/edit.html.erb b/tasklist/app/views/tasks/edit.html.erb index bb84ffc27..f45045c81 100644 --- a/tasklist/app/views/tasks/edit.html.erb +++ b/tasklist/app/views/tasks/edit.html.erb @@ -3,7 +3,7 @@ <%= form_for @find_task, :html => {:class => "item-task"} do |f| %> <%= f.label :task %> - <%= f.text_field :task, :maxlength => 16 %>

+ <%= f.text_field :task, :maxlength => 15 %>

<%= f.label :priority, :class => 'add-task' %> <%= f.radio_button :priority, 'urgent' %> @@ -17,7 +17,7 @@ <%= f.radio_button :status, 'Not Started' %> <%= label :status, 'Not Started', :class => 'radio' %> <%= f.radio_button :status, 'In Progress' %> - <%= label :status, 'In Progress', :class => 'radio' %>
+ <%= label :status, 'In Progress', :class => 'radio' %>
                  <%= f.radio_button :status, 'Completed' %> <%= label :status, 'Completed', :class => 'radio' %>
diff --git a/tasklist/app/views/tasks/index.html.erb b/tasklist/app/views/tasks/index.html.erb index 6161d6fbb..67800370a 100644 --- a/tasklist/app/views/tasks/index.html.erb +++ b/tasklist/app/views/tasks/index.html.erb @@ -10,11 +10,14 @@ <% @all_tasks.each do |task| %>
- + <%= form_tag(task_path(task.id), method: "patch") do %> - <%= image_submit_tag "checkmark.png", alt: "Checkbox to mark task completed", class: "checkmark" %> + <%= image_submit_tag "checkmark.png", alt: "Checkbox to mark task completed", class: (task.status != "Completed" ? "checkmark" : "invisible") %> <%= hidden_field(:task, :status, :value => "Completed") %> <% end %> + <% if task.status == "Completed" %> + <% %> + <% end %>
diff --git a/tasklist/app/views/tasks/show.html.erb b/tasklist/app/views/tasks/show.html.erb index 6c9e86b67..4e28c41e9 100644 --- a/tasklist/app/views/tasks/show.html.erb +++ b/tasklist/app/views/tasks/show.html.erb @@ -29,18 +29,15 @@
- Edit + <%= button_to "Edit", task_path(@task.id)+"/edit", :class => "btn", :method => :get %> -
- <%= hidden_field_tag :authenticity_token, form_authenticity_token %> - - - -
+ <%= form_tag(task_path(@task.id), method: "delete", data: {confirm: "Are you sure?"}) do %> + <%= submit_tag "Delete", class: "btn" %> + <% end %> - <%= f.label :due_date %> <%= f.text_field :due_date %>

@@ -32,7 +31,6 @@ <%= f.text_field :comments, :maxlength => 105 %>

<%= f.submit 'Edit Task', :class => 'add-btn' %> - <% end %> diff --git a/tasklist/app/views/tasks/index.html.erb b/tasklist/app/views/tasks/index.html.erb index 67800370a..c93b647a3 100644 --- a/tasklist/app/views/tasks/index.html.erb +++ b/tasklist/app/views/tasks/index.html.erb @@ -1,4 +1,4 @@ -<%= link_to "Add a New Task", task_path("add") %> +<%= link_to "Add a New Task", task_path("new") %> Sort by Priority diff --git a/tasklist/app/views/tasks/add.html.erb b/tasklist/app/views/tasks/new.html.erb similarity index 100% rename from tasklist/app/views/tasks/add.html.erb rename to tasklist/app/views/tasks/new.html.erb diff --git a/tasklist/config/routes.rb b/tasklist/config/routes.rb index f38b9725d..04f6a8e3d 100644 --- a/tasklist/config/routes.rb +++ b/tasklist/config/routes.rb @@ -13,7 +13,7 @@ get '/tasks' => 'tasks#index', as: 'tasks' post '/tasks' => 'tasks#create' - get '/tasks/add' => 'tasks#add' + get '/tasks/new' => 'tasks#new' get '/tasks/:id' => 'tasks#show', as: 'task' From cafa2e51ccf07fa576c3e0b34873c6371fb60530 Mon Sep 17 00:00:00 2001 From: Adriana Date: Fri, 22 Apr 2016 15:53:17 -0700 Subject: [PATCH 21/42] Worked on partials to DRY up code --- .../app/assets/stylesheets/application.css | 17 ----------------- .../app/views/tasks/_form_builder.html.erb | 16 ++++++++++++++++ tasklist/app/views/tasks/edit.html.erb | 19 +------------------ tasklist/app/views/tasks/new.html.erb | 16 +--------------- 4 files changed, 18 insertions(+), 50 deletions(-) create mode 100644 tasklist/app/views/tasks/_form_builder.html.erb diff --git a/tasklist/app/assets/stylesheets/application.css b/tasklist/app/assets/stylesheets/application.css index 53088efc7..76563191f 100644 --- a/tasklist/app/assets/stylesheets/application.css +++ b/tasklist/app/assets/stylesheets/application.css @@ -166,23 +166,6 @@ input.button { display: inline; } -td.jeremy { - background-image : url("../images/creepy.png"); - background-size: contain; - background-repeat: no-repeat; - background-position: center; -} - -td.rosa { - color: rgb(212, 70, 81); - text-shadow: 2px 2px 2px yellow; - font-size: 3rem -} - -td.cat { - background-color: tan; -} - footer { display: block; margin: auto; diff --git a/tasklist/app/views/tasks/_form_builder.html.erb b/tasklist/app/views/tasks/_form_builder.html.erb new file mode 100644 index 000000000..a7a6ff81d --- /dev/null +++ b/tasklist/app/views/tasks/_form_builder.html.erb @@ -0,0 +1,16 @@ + <%= f.label :task %> + <%= f.text_field :task, :maxlength => 15 %>

+ + <%= f.label :priority, :class => 'add-task' %> + <%= f.radio_button :priority, 'urgent' %> + <%= label :priority, 'urgent', :class => 'radio' %> + <%= f.radio_button :priority, 'medium' %> + <%= label :priority, 'medium', :class => 'radio' %> + <%= f.radio_button :priority, 'low' %> + <%= label :priority, 'low', :class => 'radio' %>

+ + <%= f.label :due_date %> + <%= f.text_field :due_date %>

+ + <%= f.label :comments %> + <%= f.text_field :comments, :maxlength => 105 %>

diff --git a/tasklist/app/views/tasks/edit.html.erb b/tasklist/app/views/tasks/edit.html.erb index 73ca4c1d6..acc15e20f 100644 --- a/tasklist/app/views/tasks/edit.html.erb +++ b/tasklist/app/views/tasks/edit.html.erb @@ -2,16 +2,8 @@
<%= form_for @find_task, :html => {:class => "item-task"} do |f| %> - <%= f.label :task %> - <%= f.text_field :task, :maxlength => 15 %>

- <%= f.label :priority, :class => 'add-task' %> - <%= f.radio_button :priority, 'urgent' %> - <%= label :priority, 'urgent', :class => 'radio' %> - <%= f.radio_button :priority, 'medium' %> - <%= label :priority, 'medium', :class => 'radio' %> - <%= f.radio_button :priority, 'low' %> - <%= label :priority, 'low', :class => 'radio' %>

+ <%= render partial: "tasks/form_builder", locals: {f: f} %> <%= f.label :status, :class => 'add-task' %> <%= f.radio_button :status, 'Not Started' %> @@ -21,15 +13,6 @@ <%= f.radio_button :status, 'Completed' %> <%= label :status, 'Completed', :class => 'radio' %>
- - - <%= f.label :due_date %> - <%= f.text_field :due_date %>

- - <%= f.label :comments %> - <%= f.text_field :comments, :maxlength => 105 %>

- <%= f.submit 'Edit Task', :class => 'add-btn' %> <% end %> diff --git a/tasklist/app/views/tasks/new.html.erb b/tasklist/app/views/tasks/new.html.erb index 5543d1a4e..f6da12ac0 100644 --- a/tasklist/app/views/tasks/new.html.erb +++ b/tasklist/app/views/tasks/new.html.erb @@ -2,22 +2,8 @@
<%= form_for @task, :html => {:class => "item-task"} do |f| %> - <%= f.label :task %> - <%= f.text_field :task, :maxlength => 15 %>

- <%= f.label :priority, :class => 'add-task' %> - <%= f.radio_button :priority, 'urgent' %> - <%= label :priority, 'urgent', :class => 'radio' %> - <%= f.radio_button :priority, 'medium' %> - <%= label :priority, 'medium', :class => 'radio' %> - <%= f.radio_button :priority, 'low' %> - <%= label :priority, 'low', :class => 'radio' %>

- - <%= f.label :due_date %> - <%= f.text_field :due_date %>

- - <%= f.label :comments %> - <%= f.text_field :comments, :maxlength => 105 %>

+ <%= render partial: "tasks/form_builder", locals: {f: f} %> <%=f.submit 'Add Task', :class => 'add-btn'%> <% end %> From f535966eeac36329cfdf680bb47740920e93074f Mon Sep 17 00:00:00 2001 From: Adriana Date: Fri, 22 Apr 2016 17:22:09 -0700 Subject: [PATCH 22/42] DRYed up more code --- .../app/assets/stylesheets/application.css | 4 +- .../app/views/tasks/_form_builder.html.erb | 10 +++++ tasklist/app/views/tasks/_tasks.html.erb | 27 ++++++++++++ tasklist/app/views/tasks/edit.html.erb | 12 +---- tasklist/app/views/tasks/index.html.erb | 44 +++++-------------- tasklist/app/views/tasks/new.html.erb | 4 +- tasklist/app/views/tasks/show.html.erb | 43 +++--------------- 7 files changed, 58 insertions(+), 86 deletions(-) create mode 100644 tasklist/app/views/tasks/_tasks.html.erb diff --git a/tasklist/app/assets/stylesheets/application.css b/tasklist/app/assets/stylesheets/application.css index 76563191f..158bbc3ad 100644 --- a/tasklist/app/assets/stylesheets/application.css +++ b/tasklist/app/assets/stylesheets/application.css @@ -29,7 +29,7 @@ h1 { .floating { display: inline-block; width: 20rem; - height: 24rem; + height: 30rem; margin: 1rem; border: 3px solid black; padding: .5rem; @@ -65,7 +65,7 @@ h1 { .edit-floating { display: inline-block; - width: 35rem; + width: 37rem; height: 41rem; margin: auto 1rem; border: 3px solid black; diff --git a/tasklist/app/views/tasks/_form_builder.html.erb b/tasklist/app/views/tasks/_form_builder.html.erb index a7a6ff81d..bfce11ec3 100644 --- a/tasklist/app/views/tasks/_form_builder.html.erb +++ b/tasklist/app/views/tasks/_form_builder.html.erb @@ -9,6 +9,16 @@ <%= f.radio_button :priority, 'low' %> <%= label :priority, 'low', :class => 'radio' %>

+ <% if show_status == true %> + <%= f.label :status, :class => 'add-task' %> + <%= f.radio_button :status, 'Not Started' %> + <%= label :status, 'Not Started', :class => 'radio' %> + <%= f.radio_button :status, 'In Progress' %> + <%= label :status, 'In Progress', :class => 'radio' %> + <%= f.radio_button :status, 'Completed' %> + <%= label :status, 'Completed', :class => 'radio' %>

+ <% end %> + <%= f.label :due_date %> <%= f.text_field :due_date %>

diff --git a/tasklist/app/views/tasks/_tasks.html.erb b/tasklist/app/views/tasks/_tasks.html.erb new file mode 100644 index 000000000..49ff32b40 --- /dev/null +++ b/tasklist/app/views/tasks/_tasks.html.erb @@ -0,0 +1,27 @@ +
+ +
+
+ Priority :
<%= task.priority %>
+
+
+ Status : <%= task.status %>
+
+
+ Date Created : <%= task.created_at %>
+
+
+ Due Date : <%= task.due_date %>
+
+
+ Comments : <%= task.comments %>
+
+
+ Date Completed : <%= task.date_completed %> +
+ +<%= button_to "Edit", task_path(task.id)+"/edit", :class => "btn", :method => :get %> + +<%= form_tag(task_path(task.id), method: "delete", data: {confirm: "Are you sure?"}) do %> + <%= submit_tag "Delete", class: "btn" %> +<% end %> diff --git a/tasklist/app/views/tasks/edit.html.erb b/tasklist/app/views/tasks/edit.html.erb index acc15e20f..9c223b859 100644 --- a/tasklist/app/views/tasks/edit.html.erb +++ b/tasklist/app/views/tasks/edit.html.erb @@ -3,15 +3,7 @@ <%= form_for @find_task, :html => {:class => "item-task"} do |f| %> - <%= render partial: "tasks/form_builder", locals: {f: f} %> - - <%= f.label :status, :class => 'add-task' %> - <%= f.radio_button :status, 'Not Started' %> - <%= label :status, 'Not Started', :class => 'radio' %> - <%= f.radio_button :status, 'In Progress' %> - <%= label :status, 'In Progress', :class => 'radio' %>
                  - <%= f.radio_button :status, 'Completed' %> - <%= label :status, 'Completed', :class => 'radio' %>
+ <%= render partial: "tasks/form_builder", locals: {f: f, show_status: true} %> <%= f.submit 'Edit Task', :class => 'add-btn' %> <% end %> @@ -19,12 +11,10 @@
- - - - - - - <%= form_tag(task_path(task.id), method: "delete", data: {confirm: "Are you sure?"}) do %> - <%= submit_tag "Delete", class: "btn" %> - <% end %> + <%= render partial: "tasks/tasks", locals: {task: task} %>
@@ -60,3 +29,10 @@ <% end %> <% end %> + + + + + diff --git a/tasklist/app/views/tasks/new.html.erb b/tasklist/app/views/tasks/new.html.erb index f6da12ac0..b1cd77f23 100644 --- a/tasklist/app/views/tasks/new.html.erb +++ b/tasklist/app/views/tasks/new.html.erb @@ -3,7 +3,7 @@ <%= form_for @task, :html => {:class => "item-task"} do |f| %> - <%= render partial: "tasks/form_builder", locals: {f: f} %> + <%= render partial: "tasks/form_builder", locals: {f: f, show_status: false} %> <%=f.submit 'Add Task', :class => 'add-btn'%> <% end %> @@ -11,8 +11,6 @@ - - - - - <%= form_tag(task_path(@task.id), method: "delete", data: {confirm: "Are you sure?"}) do %> - <%= submit_tag "Delete", class: "btn" %> - <% end %> - - - + + + From e9894567e768f3203305c72b85a26515a2372cc2 Mon Sep 17 00:00:00 2001 From: Adriana Date: Sat, 23 Apr 2016 11:47:38 -0700 Subject: [PATCH 23/42] Added styling so all is looking the way I wanted to. Also add an if statement so that when a date is completed, it puts it to the very bottom of the list. --- tasklist/app/assets/stylesheets/application.css | 10 +++++----- tasklist/app/views/tasks/index.html.erb | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tasklist/app/assets/stylesheets/application.css b/tasklist/app/assets/stylesheets/application.css index 158bbc3ad..90d692308 100644 --- a/tasklist/app/assets/stylesheets/application.css +++ b/tasklist/app/assets/stylesheets/application.css @@ -2,7 +2,7 @@ body { text-align: center; font-family: fantasy; margin: 3rem auto; - width: 80%; + width: 85%; background: linear-gradient(to bottom, rgba(181,189,200,1) 0%,rgba(130,140,149,1) 25%,rgba(40,52,59,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ @@ -28,8 +28,8 @@ h1 { .floating { display: inline-block; - width: 20rem; - height: 30rem; + width: 21rem; + height: 27rem; margin: 1rem; border: 3px solid black; padding: .5rem; @@ -46,7 +46,7 @@ h1 { } .pad-text { - margin: 1rem; + margin: .5rem; } .action-buttons { @@ -223,7 +223,7 @@ footer { .big-card { display: inline-block; width: 35rem; - height: 38rem; + height: 34rem; margin-top: 1rem; margin-left: auto; margin-right: auto; diff --git a/tasklist/app/views/tasks/index.html.erb b/tasklist/app/views/tasks/index.html.erb index 096894c13..f24c98948 100644 --- a/tasklist/app/views/tasks/index.html.erb +++ b/tasklist/app/views/tasks/index.html.erb @@ -8,7 +8,7 @@
<% if @all_tasks %> - <% @all_tasks = @all_tasks.all.order(:status) %> + <% @all_tasks = @all_tasks.all.order(:date_completed) %> <% @all_tasks.each do |task| %>
From 51607b52b3b4903b5d6dd652255d486ea37b7776 Mon Sep 17 00:00:00 2001 From: Adriana Date: Sat, 23 Apr 2016 16:39:22 -0700 Subject: [PATCH 24/42] Migrated a new table, deleted date created column, added a person_id to tasks. Added associations. In partials, added a belongs to field. Restarted database and reseeded data --- tasklist/app/models/person.rb | 3 ++ tasklist/app/models/task.rb | 1 + tasklist/app/views/tasks/_tasks.html.erb | 3 ++ .../migrate/20160423213311_create_people.rb | 10 ++++++ ...ate_association_between_person_and_task.rb | 7 +++++ ...60423214727_require_person_to_have_name.rb | 7 +++++ tasklist/db/schema.rb | 13 ++++++-- tasklist/db/seeds.rb | 31 +++++++++++++------ tasklist/test/fixtures/people.yml | 11 +++++++ tasklist/test/models/person_test.rb | 7 +++++ 10 files changed, 80 insertions(+), 13 deletions(-) create mode 100644 tasklist/app/models/person.rb create mode 100644 tasklist/db/migrate/20160423213311_create_people.rb create mode 100644 tasklist/db/migrate/20160423213326_create_association_between_person_and_task.rb create mode 100644 tasklist/db/migrate/20160423214727_require_person_to_have_name.rb create mode 100644 tasklist/test/fixtures/people.yml create mode 100644 tasklist/test/models/person_test.rb diff --git a/tasklist/app/models/person.rb b/tasklist/app/models/person.rb new file mode 100644 index 000000000..4ed22ba8b --- /dev/null +++ b/tasklist/app/models/person.rb @@ -0,0 +1,3 @@ +class Person < ActiveRecord::Base + has_many :tasks +end diff --git a/tasklist/app/models/task.rb b/tasklist/app/models/task.rb index 935f76e12..c3c534741 100644 --- a/tasklist/app/models/task.rb +++ b/tasklist/app/models/task.rb @@ -1,2 +1,3 @@ class Task < ActiveRecord::Base + belongs_to :person end diff --git a/tasklist/app/views/tasks/_tasks.html.erb b/tasklist/app/views/tasks/_tasks.html.erb index 49ff32b40..99eeab3ac 100644 --- a/tasklist/app/views/tasks/_tasks.html.erb +++ b/tasklist/app/views/tasks/_tasks.html.erb @@ -1,6 +1,9 @@
+
+ Belongs To : <%= task.person.name %> +
Priority :
<%= task.priority %>
diff --git a/tasklist/db/migrate/20160423213311_create_people.rb b/tasklist/db/migrate/20160423213311_create_people.rb new file mode 100644 index 000000000..02260b89b --- /dev/null +++ b/tasklist/db/migrate/20160423213311_create_people.rb @@ -0,0 +1,10 @@ +class CreatePeople < ActiveRecord::Migration + def change + create_table :people do |t| + t.string :name + t.string :email + + t.timestamps null: false + end + end +end diff --git a/tasklist/db/migrate/20160423213326_create_association_between_person_and_task.rb b/tasklist/db/migrate/20160423213326_create_association_between_person_and_task.rb new file mode 100644 index 000000000..d3fd29add --- /dev/null +++ b/tasklist/db/migrate/20160423213326_create_association_between_person_and_task.rb @@ -0,0 +1,7 @@ +class CreateAssociationBetweenPersonAndTask < ActiveRecord::Migration + def change + add_column :tasks, :person_id, :integer + remove_column :tasks, :date_created, :datetime + change_column :tasks, :task, :string, :null => false + end +end diff --git a/tasklist/db/migrate/20160423214727_require_person_to_have_name.rb b/tasklist/db/migrate/20160423214727_require_person_to_have_name.rb new file mode 100644 index 000000000..49d5e0fe1 --- /dev/null +++ b/tasklist/db/migrate/20160423214727_require_person_to_have_name.rb @@ -0,0 +1,7 @@ +class RequirePersonToHaveName < ActiveRecord::Migration + def change + change_column :people, :name, :string, :null => false + end +end + +# change_column :my_table, :my_column, :integer, :default => 0, :null => false diff --git a/tasklist/db/schema.rb b/tasklist/db/schema.rb index 283b07f62..9c221a93e 100644 --- a/tasklist/db/schema.rb +++ b/tasklist/db/schema.rb @@ -11,18 +11,25 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20160422211122) do +ActiveRecord::Schema.define(version: 20160423214727) do + + create_table "people", force: :cascade do |t| + t.string "name", null: false + t.string "email" + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + end create_table "tasks", force: :cascade do |t| - t.string "task" + t.string "task", null: false t.string "priority" t.string "status", default: "Not Started", null: false - t.datetime "date_created" t.datetime "due_date" t.string "comments" t.datetime "date_completed" t.datetime "created_at", null: false t.datetime "updated_at", null: false + t.integer "person_id" end end diff --git a/tasklist/db/seeds.rb b/tasklist/db/seeds.rb index f91bcac95..38d13920c 100644 --- a/tasklist/db/seeds.rb +++ b/tasklist/db/seeds.rb @@ -6,21 +6,32 @@ # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) # Mayor.create(name: 'Emanuel', city: cities.first) -def random_time - Time.at(rand * Time.now.to_i) +# def random_time +# Time.at(rand * Time.now.to_i) +# end + +people = [ + { name: "Adriana", email: "adriana@cannon.ws" }, + { name: "Chris", email: "chris@cannon.ws" }, + { name: "Jack", email: "jackcannon@puppies.supplies" }, + { name: "Misha", email: "mishapisha@puppies.supplies" } +] + +people.each do |person| + Person.create person end tasks = [ - { task: "The First Task", comments: "", date_completed: random_time }, + { task: "The First Task", comments: "" }, { task: "Go to Brunch", comments: "" }, - { task: "Go to Lunch", comments: "", date_completed: random_time }, - { task: "Go to Second Lunch", comments: "" }, - { task: "Play Video Games", comments: "", date_completed: random_time }, - { task: "High Five Somebody You Don't Know", comments: "", date_completed: random_time }, - { task: "Plant Flowers", comments: "", date_completed: random_time }, + { task: "Go to Lunch", comments: "" }, + { task: "Go to 2nd Lunch", comments: "" }, + { task: "Play Games", comments: "" }, + { task: "High 5 Somebody", comments: "" }, + { task: "Plant Flowers", comments: "" }, { task: "Call Mom", comments: "" }, - { task: "She worries, you know.", comments: "" }, - { task: "Nap.", comments: "", date_completed: random_time } + { task: "She worries.", comments: "" }, + { task: "Nap", comments: "" } ] tasks.each do |task| diff --git a/tasklist/test/fixtures/people.yml b/tasklist/test/fixtures/people.yml new file mode 100644 index 000000000..937a0c002 --- /dev/null +++ b/tasklist/test/fixtures/people.yml @@ -0,0 +1,11 @@ +# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +# This model initially had no columns defined. If you add columns to the +# model remove the '{}' from the fixture names and add the columns immediately +# below each fixture, per the syntax in the comments below +# +one: {} +# column: value +# +two: {} +# column: value diff --git a/tasklist/test/models/person_test.rb b/tasklist/test/models/person_test.rb new file mode 100644 index 000000000..ad04ed813 --- /dev/null +++ b/tasklist/test/models/person_test.rb @@ -0,0 +1,7 @@ +require 'test_helper' + +class PersonTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end From a3c562da1001290920b6a643debdf3ea1fec5c87 Mon Sep 17 00:00:00 2001 From: Adriana Date: Sat, 23 Apr 2016 23:02:19 -0700 Subject: [PATCH 25/42] Made update and create methods hook up to a person --- tasklist/app/assets/stylesheets/application.css | 4 ++-- tasklist/app/controllers/tasks_controller.rb | 12 ++++++++++-- tasklist/app/views/tasks/_form_builder.html.erb | 3 +++ tasklist/app/views/tasks/edit.html.erb | 2 +- tasklist/app/views/tasks/index.html.erb | 1 - tasklist/app/views/tasks/new.html.erb | 2 +- 6 files changed, 17 insertions(+), 7 deletions(-) diff --git a/tasklist/app/assets/stylesheets/application.css b/tasklist/app/assets/stylesheets/application.css index 90d692308..23407967b 100644 --- a/tasklist/app/assets/stylesheets/application.css +++ b/tasklist/app/assets/stylesheets/application.css @@ -56,7 +56,7 @@ h1 { .add-floating { display: inline-block; width: 35rem; - height: 35rem; + height: 38rem; margin: auto 1rem; border: 3px solid black; padding: .5rem; @@ -66,7 +66,7 @@ h1 { .edit-floating { display: inline-block; width: 37rem; - height: 41rem; + height: 45rem; margin: auto 1rem; border: 3px solid black; padding: .5rem; diff --git a/tasklist/app/controllers/tasks_controller.rb b/tasklist/app/controllers/tasks_controller.rb index 39d1ac72c..8bf12e28c 100644 --- a/tasklist/app/controllers/tasks_controller.rb +++ b/tasklist/app/controllers/tasks_controller.rb @@ -2,11 +2,12 @@ class TasksController < ApplicationController def index #homepage - @all_tasks = Task.all + @all_tasks = Task.all.order(:date_completed) end def new @task = Task.new + @people = Person.all render "new" end @@ -16,6 +17,8 @@ def create # defaults = {:status => "Not Started"} # params = defaults.merge(params) # @task = params[:status] + person = Person.find(params[:people]) + person.tasks << @task if @task.save redirect_to root_path @@ -25,8 +28,9 @@ def create end def edit - # @find_task = Task.where(id: params[:id]).first @find_task = Task.find(params[:id]) + @people = Person.all + # @find_task = Task.where(id: params[:id]).first # if @find_task.due_date != nil # @find_task.due_date = "#{Chronic.parse((@find_task.due_date).to_s).strftime("%m/%d/%Y at %I:%M%p")}" # end @@ -35,12 +39,16 @@ def edit def update @task = Task.find(params[:id]) @task.update(tasks_update_params[:task]) + if params[:task][:status] == "Completed" @task.date_completed = Time.now else @task.date_completed = "" end @task.save + + person = Person.find(params[:people]) + person.tasks << @task # @all_tasks = Queries.new.display_tasks redirect_to action: "index" end diff --git a/tasklist/app/views/tasks/_form_builder.html.erb b/tasklist/app/views/tasks/_form_builder.html.erb index bfce11ec3..8221d2659 100644 --- a/tasklist/app/views/tasks/_form_builder.html.erb +++ b/tasklist/app/views/tasks/_form_builder.html.erb @@ -1,6 +1,9 @@ <%= f.label :task %> <%= f.text_field :task, :maxlength => 15 %>

+ <%= label_tag "person", nil, :class => "add-task" %> + <%= select_tag "people", options_from_collection_for_select(people, "id", "name", "1"), :class => "radio" %>

+ <%= f.label :priority, :class => 'add-task' %> <%= f.radio_button :priority, 'urgent' %> <%= label :priority, 'urgent', :class => 'radio' %> diff --git a/tasklist/app/views/tasks/edit.html.erb b/tasklist/app/views/tasks/edit.html.erb index 9c223b859..7c84a65a3 100644 --- a/tasklist/app/views/tasks/edit.html.erb +++ b/tasklist/app/views/tasks/edit.html.erb @@ -3,7 +3,7 @@ <%= form_for @find_task, :html => {:class => "item-task"} do |f| %> - <%= render partial: "tasks/form_builder", locals: {f: f, show_status: true} %> + <%= render partial: "tasks/form_builder", locals: {f: f, show_status: true, people: @people} %> <%= f.submit 'Edit Task', :class => 'add-btn' %> <% end %> diff --git a/tasklist/app/views/tasks/index.html.erb b/tasklist/app/views/tasks/index.html.erb index f24c98948..dc1f4507b 100644 --- a/tasklist/app/views/tasks/index.html.erb +++ b/tasklist/app/views/tasks/index.html.erb @@ -8,7 +8,6 @@
<% if @all_tasks %> - <% @all_tasks = @all_tasks.all.order(:date_completed) %> <% @all_tasks.each do |task| %>
diff --git a/tasklist/app/views/tasks/new.html.erb b/tasklist/app/views/tasks/new.html.erb index b1cd77f23..4f25c6b9e 100644 --- a/tasklist/app/views/tasks/new.html.erb +++ b/tasklist/app/views/tasks/new.html.erb @@ -3,7 +3,7 @@ <%= form_for @task, :html => {:class => "item-task"} do |f| %> - <%= render partial: "tasks/form_builder", locals: {f: f, show_status: false} %> + <%= render partial: "tasks/form_builder", locals: {f: f, show_status: false, people: @people} %> <%=f.submit 'Add Task', :class => 'add-btn'%> <% end %> From a0d097302d9bb3e411a066cfb6aad97a56b9d3fd Mon Sep 17 00:00:00 2001 From: Adriana Date: Sun, 24 Apr 2016 14:53:16 -0700 Subject: [PATCH 26/42] Added new controllers and new methods for them. Added a person index as well as showing extra data for each person. --- tasklist/app/assets/javascripts/people.coffee | 3 ++ .../app/assets/stylesheets/application.css | 34 +++++++++++++++++++ tasklist/app/assets/stylesheets/people.scss | 3 ++ tasklist/app/controllers/people_controller.rb | 14 ++++++++ tasklist/app/helpers/people_helper.rb | 2 ++ tasklist/app/views/people/by_task.html.erb | 31 +++++++++++++++++ tasklist/app/views/people/index.html.erb | 16 +++++++++ tasklist/app/views/people/show.html.erb | 22 ++++++++++++ tasklist/app/views/tasks/index.html.erb | 5 +-- tasklist/config/routes.rb | 22 +++++++----- tasklist/index.html.erb | 0 .../controllers/people_controller_test.rb | 7 ++++ 12 files changed, 149 insertions(+), 10 deletions(-) create mode 100644 tasklist/app/assets/javascripts/people.coffee create mode 100644 tasklist/app/assets/stylesheets/people.scss create mode 100644 tasklist/app/controllers/people_controller.rb create mode 100644 tasklist/app/helpers/people_helper.rb create mode 100644 tasklist/app/views/people/by_task.html.erb create mode 100644 tasklist/app/views/people/index.html.erb create mode 100644 tasklist/app/views/people/show.html.erb create mode 100644 tasklist/index.html.erb create mode 100644 tasklist/test/controllers/people_controller_test.rb diff --git a/tasklist/app/assets/javascripts/people.coffee b/tasklist/app/assets/javascripts/people.coffee new file mode 100644 index 000000000..24f83d18b --- /dev/null +++ b/tasklist/app/assets/javascripts/people.coffee @@ -0,0 +1,3 @@ +# Place all the behaviors and hooks related to the matching controller here. +# All this logic will automatically be available in application.js. +# You can use CoffeeScript in this file: http://coffeescript.org/ diff --git a/tasklist/app/assets/stylesheets/application.css b/tasklist/app/assets/stylesheets/application.css index 23407967b..ec093d31d 100644 --- a/tasklist/app/assets/stylesheets/application.css +++ b/tasklist/app/assets/stylesheets/application.css @@ -261,6 +261,40 @@ form.item-task input[type=text] { float: right; } +.people-floating { + display: inline-block; + width: 13rem; + /*height: 4rem;*/ + margin: 1rem; + border: 3px solid black; + padding: 1.5rem; + float: left; + background-color: whitesmoke; + font-size: 3rem; +} + +.person-pad-text { + margin: 1rem; + padding: 1rem; +} + +.person-big-card { + display: inline-block; + width: 35rem; + height: 35rem; + margin-top: 1rem; + margin-left: auto; + margin-right: auto; + border: 3px solid black; + padding: .7rem; + background-color: whitesmoke; + font-size: 1.7rem; +} + +.people-index { + font-size: 1rem; +} + /* diff --git a/tasklist/app/assets/stylesheets/people.scss b/tasklist/app/assets/stylesheets/people.scss new file mode 100644 index 000000000..521746256 --- /dev/null +++ b/tasklist/app/assets/stylesheets/people.scss @@ -0,0 +1,3 @@ +// Place all the styles related to the People controller here. +// They will automatically be included in application.css. +// You can use Sass (SCSS) here: http://sass-lang.com/ diff --git a/tasklist/app/controllers/people_controller.rb b/tasklist/app/controllers/people_controller.rb new file mode 100644 index 000000000..1a476d93a --- /dev/null +++ b/tasklist/app/controllers/people_controller.rb @@ -0,0 +1,14 @@ +class PeopleController < ApplicationController + def index + @all_people = Person.all + end + + def show + @person = Person.find(params[:id]) + end + + def by_task + @person = Person.find(params[:id]) + @tasks = Person.find(params[:id]).tasks + end +end diff --git a/tasklist/app/helpers/people_helper.rb b/tasklist/app/helpers/people_helper.rb new file mode 100644 index 000000000..b682fbf12 --- /dev/null +++ b/tasklist/app/helpers/people_helper.rb @@ -0,0 +1,2 @@ +module PeopleHelper +end diff --git a/tasklist/app/views/people/by_task.html.erb b/tasklist/app/views/people/by_task.html.erb new file mode 100644 index 000000000..15909d763 --- /dev/null +++ b/tasklist/app/views/people/by_task.html.erb @@ -0,0 +1,31 @@ + +<% if @tasks %> + <% @tasks.each do |task| %> +
+
+

<%= task.task %>

+
+
+ Belongs To : <%= @person.name %> +
+
+ Priority :
<%= task.priority %>
+
+
+ Status : <%= task.status %>
+
+
+ Date Created : <%= task.created_at %>
+
+
+ Due Date : <%= task.due_date %>
+
+
+ Comments : <%= task.comments %>
+
+
+ Date Completed : <%= task.date_completed %> +
+ <% end %> +
+<% end %> diff --git a/tasklist/app/views/people/index.html.erb b/tasklist/app/views/people/index.html.erb new file mode 100644 index 000000000..5145e04c2 --- /dev/null +++ b/tasklist/app/views/people/index.html.erb @@ -0,0 +1,16 @@ +
+ <% if @all_people %> + <% @all_people.each do |person| %> +
+
+ +
+ Uncompleted Tasks : <%= Task.where(person_id: person.id, status: "Not Started").count %> +
+
+
+ <% end %> + <% end %> +
+ +<%# person.name %> diff --git a/tasklist/app/views/people/show.html.erb b/tasklist/app/views/people/show.html.erb new file mode 100644 index 000000000..2c54f2db4 --- /dev/null +++ b/tasklist/app/views/people/show.html.erb @@ -0,0 +1,22 @@ +
+
+
+
+ +
+
+ Uncompleted Tasks : <%= Task.where(person_id: @person.id, status: "Not Started").count %> +
+
+ In Progress Tasks : <%= Task.where(person_id: @person.id, status: "In Progress").count %> +
+
+ Completed Tasks : <%= Task.where(person_id: @person.id, status: "Completed").count %> +
+
+ Email : <%= Person.find(@person.id).email %> +
+ <%= button_to "View All", person_path(@person.id)+"/tasks", :class => "btn", :method => :get %> +
+
+
diff --git a/tasklist/app/views/tasks/index.html.erb b/tasklist/app/views/tasks/index.html.erb index dc1f4507b..c30d86b8b 100644 --- a/tasklist/app/views/tasks/index.html.erb +++ b/tasklist/app/views/tasks/index.html.erb @@ -1,9 +1,10 @@ <%= link_to "Add a New Task", task_path("new") %> +<%= link_to "People", people_path %> -Sort by Priority +
diff --git a/tasklist/config/routes.rb b/tasklist/config/routes.rb index 04f6a8e3d..9def56576 100644 --- a/tasklist/config/routes.rb +++ b/tasklist/config/routes.rb @@ -10,18 +10,24 @@ root 'tasks#index' - get '/tasks' => 'tasks#index', as: 'tasks' + get '/tasks' => 'tasks#index', as: 'tasks' - post '/tasks' => 'tasks#create' - get '/tasks/new' => 'tasks#new' + post '/tasks' => 'tasks#create' + get '/tasks/new' => 'tasks#new' - get '/tasks/:id' => 'tasks#show', as: 'task' + get '/tasks/:id' => 'tasks#show', as: 'task' - get '/tasks/:id/edit' => 'tasks#edit' - patch '/tasks/:id' => 'tasks#update' - put '/tasks/:id' => 'tasks#update' + get '/tasks/:id/edit' => 'tasks#edit' + patch '/tasks/:id' => 'tasks#update' + put '/tasks/:id' => 'tasks#update' - delete '/tasks/:id' => 'tasks#destroy' + delete '/tasks/:id' => 'tasks#destroy' + + get '/people' => 'people#index', as: 'people' + + get '/people/:id' => 'people#show', as: 'person' + + get '/people/:id/tasks' => 'people#by_task' # Example of named route that can be invoked with purchase_url(id: product.id) # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase diff --git a/tasklist/index.html.erb b/tasklist/index.html.erb new file mode 100644 index 000000000..e69de29bb diff --git a/tasklist/test/controllers/people_controller_test.rb b/tasklist/test/controllers/people_controller_test.rb new file mode 100644 index 000000000..e75205679 --- /dev/null +++ b/tasklist/test/controllers/people_controller_test.rb @@ -0,0 +1,7 @@ +require 'test_helper' + +class PeopleControllerTest < ActionController::TestCase + # test "the truth" do + # assert true + # end +end From 2f647a1ce6b5b9d76c11b5d269db753dfdfec05f Mon Sep 17 00:00:00 2001 From: Adriana Date: Sun, 24 Apr 2016 19:36:12 -0700 Subject: [PATCH 27/42] Added better views for date time. Made sure that person selected chose correct person at the time. formatted --- tasklist/app/controllers/people_controller.rb | 2 +- tasklist/app/controllers/tasks_controller.rb | 1 + tasklist/app/views/people/by_task.html.erb | 27 ++++++++++++------- tasklist/app/views/people/index.html.erb | 2 +- .../app/views/tasks/_form_builder.html.erb | 2 +- tasklist/app/views/tasks/_tasks.html.erb | 6 ++--- 6 files changed, 24 insertions(+), 16 deletions(-) diff --git a/tasklist/app/controllers/people_controller.rb b/tasklist/app/controllers/people_controller.rb index 1a476d93a..1fbabe2dd 100644 --- a/tasklist/app/controllers/people_controller.rb +++ b/tasklist/app/controllers/people_controller.rb @@ -9,6 +9,6 @@ def show def by_task @person = Person.find(params[:id]) - @tasks = Person.find(params[:id]).tasks + @tasks = Person.find(params[:id]).tasks.order(:date_completed) end end diff --git a/tasklist/app/controllers/tasks_controller.rb b/tasklist/app/controllers/tasks_controller.rb index 8bf12e28c..63546b44e 100644 --- a/tasklist/app/controllers/tasks_controller.rb +++ b/tasklist/app/controllers/tasks_controller.rb @@ -14,6 +14,7 @@ def new def create @task = Task.new(tasks_create_params[:task]) + # @task.due_date = Chronic.parse(params[:due_date]) # defaults = {:status => "Not Started"} # params = defaults.merge(params) # @task = params[:status] diff --git a/tasklist/app/views/people/by_task.html.erb b/tasklist/app/views/people/by_task.html.erb index 15909d763..44eaffc33 100644 --- a/tasklist/app/views/people/by_task.html.erb +++ b/tasklist/app/views/people/by_task.html.erb @@ -1,11 +1,12 @@ - -<% if @tasks %> - <% @tasks.each do |task| %> -
+

<%= @person.name %>'s Tasks

+
+ <% if @tasks %> + <% @tasks.each do |task| %> +

<%= task.task %>

-
+
Belongs To : <%= @person.name %>
@@ -15,7 +16,7 @@ Status : <%= task.status %>
- Date Created : <%= task.created_at %>
+ Date Created : <%= task.created_at.strftime("%m-%e-%y %H:%M") %>
Due Date : <%= task.due_date %>
@@ -24,8 +25,14 @@ Comments : <%= task.comments %>
- Date Completed : <%= task.date_completed %> + Date Completed : <%= task.date_completed == nil ? "" : task.date_completed.strftime("%m-%e-%y %H:%M") %>
- <% end %> -
-<% end %> + <%= button_to "Edit", task_path(task.id)+"/edit", :class => "btn", :method => :get %> + + <%= form_tag(task_path(task.id), method: "delete", data: {confirm: "Are you sure?"}) do %> + <%= submit_tag "Delete", class: "btn" %> + <% end %> +
+ <% end %> + <% end %> +
diff --git a/tasklist/app/views/people/index.html.erb b/tasklist/app/views/people/index.html.erb index 5145e04c2..b5871c2bc 100644 --- a/tasklist/app/views/people/index.html.erb +++ b/tasklist/app/views/people/index.html.erb @@ -5,7 +5,7 @@
- Uncompleted Tasks : <%= Task.where(person_id: person.id, status: "Not Started").count %> + Uncompleted Tasks : <%= Task.where("person_id = ? AND (status = ? OR status = ?)", person.id, "Not Started", "In Progress").count %>
diff --git a/tasklist/app/views/tasks/_form_builder.html.erb b/tasklist/app/views/tasks/_form_builder.html.erb index 8221d2659..39607110e 100644 --- a/tasklist/app/views/tasks/_form_builder.html.erb +++ b/tasklist/app/views/tasks/_form_builder.html.erb @@ -2,7 +2,7 @@ <%= f.text_field :task, :maxlength => 15 %>

<%= label_tag "person", nil, :class => "add-task" %> - <%= select_tag "people", options_from_collection_for_select(people, "id", "name", "1"), :class => "radio" %>

+ <%= select_tag "people", options_from_collection_for_select(people, "id", "name", @find_task.person.id), :class => "radio" %>

<%= f.label :priority, :class => 'add-task' %> <%= f.radio_button :priority, 'urgent' %> diff --git a/tasklist/app/views/tasks/_tasks.html.erb b/tasklist/app/views/tasks/_tasks.html.erb index 99eeab3ac..8a2324fad 100644 --- a/tasklist/app/views/tasks/_tasks.html.erb +++ b/tasklist/app/views/tasks/_tasks.html.erb @@ -11,16 +11,16 @@ Status : <%= task.status %>
- Date Created : <%= task.created_at %>
+ Date Created : <%= task.created_at.strftime("%m-%e-%y %H:%M") %>
- Due Date : <%= task.due_date %>
+ Due Date : <%= task.due_date == nil ? "" : task.due_date.strftime("%m-%e-%y %H:%M") %>
Comments : <%= task.comments %>
- Date Completed : <%= task.date_completed %> + Date Completed : <%= task.date_completed == nil ? "" : task.date_completed.strftime("%m-%e-%y %H:%M") %>
<%= button_to "Edit", task_path(task.id)+"/edit", :class => "btn", :method => :get %> From 2df99462f27cc85a1e447c43ba19101b32fe02cd Mon Sep 17 00:00:00 2001 From: Adriana Date: Sun, 24 Apr 2016 19:50:22 -0700 Subject: [PATCH 28/42] Made the time look better as well as can add a time in due date --- tasklist/app/controllers/tasks_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasklist/app/controllers/tasks_controller.rb b/tasklist/app/controllers/tasks_controller.rb index 63546b44e..fa8eab6d6 100644 --- a/tasklist/app/controllers/tasks_controller.rb +++ b/tasklist/app/controllers/tasks_controller.rb @@ -14,6 +14,7 @@ def new def create @task = Task.new(tasks_create_params[:task]) + @task.due_date = Time.parse(params[:due_date]) # @task.due_date = Chronic.parse(params[:due_date]) # defaults = {:status => "Not Started"} # params = defaults.merge(params) @@ -39,6 +40,7 @@ def edit def update @task = Task.find(params[:id]) + @task.due_date == nil ? "" : @task.due_date = Time.parse(params[:due_date]) @task.update(tasks_update_params[:task]) if params[:task][:status] == "Completed" From 9917e33e8c23dc2a9b4098b088c4bb9b015db25c Mon Sep 17 00:00:00 2001 From: Adriana Date: Mon, 25 Apr 2016 15:27:17 -0700 Subject: [PATCH 29/42] Added an add person function in edit --- tasklist/app/controllers/tasks_controller.rb | 9 +++++---- tasklist/app/views/tasks/_form_builder.html.erb | 6 ++++-- tasklist/app/views/tasks/edit.html.erb | 2 +- tasklist/app/views/tasks/new.html.erb | 2 +- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/tasklist/app/controllers/tasks_controller.rb b/tasklist/app/controllers/tasks_controller.rb index fa8eab6d6..aeb60b286 100644 --- a/tasklist/app/controllers/tasks_controller.rb +++ b/tasklist/app/controllers/tasks_controller.rb @@ -7,14 +7,15 @@ def index #homepage def new @task = Task.new - @people = Person.all + # @people = Person.all + # @find_task = Task.find(params[:id]) render "new" end def create @task = Task.new(tasks_create_params[:task]) - @task.due_date = Time.parse(params[:due_date]) + # @task.due_date == nil ? "" : @task.due_date = Time.parse(params[:due_date]) # @task.due_date = Chronic.parse(params[:due_date]) # defaults = {:status => "Not Started"} # params = defaults.merge(params) @@ -34,13 +35,13 @@ def edit @people = Person.all # @find_task = Task.where(id: params[:id]).first # if @find_task.due_date != nil - # @find_task.due_date = "#{Chronic.parse((@find_task.due_date).to_s).strftime("%m/%d/%Y at %I:%M%p")}" + # @find_task.due_date = "#{Chronic.parse((@find_task.due_date).to_s).strftime("%m/%d/%Y at %I:%M%p")}" # end end def update @task = Task.find(params[:id]) - @task.due_date == nil ? "" : @task.due_date = Time.parse(params[:due_date]) + # @task.due_date == nil ? "" : @task.due_date = Time.parse(params[:due_date]) @task.update(tasks_update_params[:task]) if params[:task][:status] == "Completed" diff --git a/tasklist/app/views/tasks/_form_builder.html.erb b/tasklist/app/views/tasks/_form_builder.html.erb index 39607110e..9f04f4dcb 100644 --- a/tasklist/app/views/tasks/_form_builder.html.erb +++ b/tasklist/app/views/tasks/_form_builder.html.erb @@ -1,8 +1,10 @@ <%= f.label :task %> <%= f.text_field :task, :maxlength => 15 %>

- <%= label_tag "person", nil, :class => "add-task" %> - <%= select_tag "people", options_from_collection_for_select(people, "id", "name", @find_task.person.id), :class => "radio" %>

+ <% if show_person == true %> + <%= label_tag "person", nil, :class => "add-task" %> + <%= select_tag "people", options_from_collection_for_select(people, "id", "name", @find_task.person.id), :class => "radio" %>

+ <% end %> <%= f.label :priority, :class => 'add-task' %> <%= f.radio_button :priority, 'urgent' %> diff --git a/tasklist/app/views/tasks/edit.html.erb b/tasklist/app/views/tasks/edit.html.erb index 7c84a65a3..a504a553e 100644 --- a/tasklist/app/views/tasks/edit.html.erb +++ b/tasklist/app/views/tasks/edit.html.erb @@ -3,7 +3,7 @@ <%= form_for @find_task, :html => {:class => "item-task"} do |f| %> - <%= render partial: "tasks/form_builder", locals: {f: f, show_status: true, people: @people} %> + <%= render partial: "tasks/form_builder", locals: {f: f, show_status: true, people: @people, show_person: true} %> <%= f.submit 'Edit Task', :class => 'add-btn' %> <% end %> diff --git a/tasklist/app/views/tasks/new.html.erb b/tasklist/app/views/tasks/new.html.erb index 4f25c6b9e..ae38e8845 100644 --- a/tasklist/app/views/tasks/new.html.erb +++ b/tasklist/app/views/tasks/new.html.erb @@ -3,7 +3,7 @@ <%= form_for @task, :html => {:class => "item-task"} do |f| %> - <%= render partial: "tasks/form_builder", locals: {f: f, show_status: false, people: @people} %> + <%= render partial: "tasks/form_builder", locals: {f: f, people: @people, show_person: false, show_status: false} %> <%=f.submit 'Add Task', :class => 'add-btn'%> <% end %> From c85e74aeb8533d666cdc15368f9536c2363cc02f Mon Sep 17 00:00:00 2001 From: Adriana Date: Mon, 25 Apr 2016 16:01:53 -0700 Subject: [PATCH 30/42] Added add function to work with adding a new person --- tasklist/app/controllers/tasks_controller.rb | 14 +++++------ .../app/views/tasks/_form_builder.html.erb | 6 ++--- tasklist/app/views/tasks/edit.html.erb | 24 +++++++++---------- tasklist/app/views/tasks/new.html.erb | 2 +- 4 files changed, 23 insertions(+), 23 deletions(-) diff --git a/tasklist/app/controllers/tasks_controller.rb b/tasklist/app/controllers/tasks_controller.rb index aeb60b286..18f15b1cb 100644 --- a/tasklist/app/controllers/tasks_controller.rb +++ b/tasklist/app/controllers/tasks_controller.rb @@ -7,8 +7,8 @@ def index #homepage def new @task = Task.new - # @people = Person.all - # @find_task = Task.find(params[:id]) + @people = Person.all + # @task = Task.find(params[:id]) render "new" end @@ -31,11 +31,11 @@ def create end def edit - @find_task = Task.find(params[:id]) + @task = Task.find(params[:id]) @people = Person.all - # @find_task = Task.where(id: params[:id]).first - # if @find_task.due_date != nil - # @find_task.due_date = "#{Chronic.parse((@find_task.due_date).to_s).strftime("%m/%d/%Y at %I:%M%p")}" + # @task = Task.where(id: params[:id]).first + # if @task.due_date != nil + # @task.due_date = "#{Chronic.parse((@task.due_date).to_s).strftime("%m/%d/%Y at %I:%M%p")}" # end end @@ -71,7 +71,7 @@ def show private def tasks_create_params - params.permit(task: [:task, :priority, :due_date, :comments]) + params.permit(task: [:task, :priority, :due_date, :comments, :person_id]) end def tasks_update_params diff --git a/tasklist/app/views/tasks/_form_builder.html.erb b/tasklist/app/views/tasks/_form_builder.html.erb index 9f04f4dcb..42afc203a 100644 --- a/tasklist/app/views/tasks/_form_builder.html.erb +++ b/tasklist/app/views/tasks/_form_builder.html.erb @@ -1,10 +1,10 @@ <%= f.label :task %> <%= f.text_field :task, :maxlength => 15 %>

- <% if show_person == true %> + <%= label_tag "person", nil, :class => "add-task" %> - <%= select_tag "people", options_from_collection_for_select(people, "id", "name", @find_task.person.id), :class => "radio" %>

- <% end %> + <%= select_tag "people", options_from_collection_for_select(people, "id", "name", @task.person.nil? ? nil : @task.person.id), :class => "radio" %>

+ <%= f.label :priority, :class => 'add-task' %> <%= f.radio_button :priority, 'urgent' %> diff --git a/tasklist/app/views/tasks/edit.html.erb b/tasklist/app/views/tasks/edit.html.erb index a504a553e..cf4357a16 100644 --- a/tasklist/app/views/tasks/edit.html.erb +++ b/tasklist/app/views/tasks/edit.html.erb @@ -1,9 +1,9 @@
- <%= form_for @find_task, :html => {:class => "item-task"} do |f| %> + <%= form_for @task, :html => {:class => "item-task"} do |f| %> - <%= render partial: "tasks/form_builder", locals: {f: f, show_status: true, people: @people, show_person: true} %> + <%= render partial: "tasks/form_builder", locals: {f: f, show_status: true, people: @people} %> <%= f.submit 'Edit Task', :class => 'add-btn' %> <% end %> @@ -18,33 +18,33 @@ + ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:48: unknown regexp options - ct +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:49: syntax error, unexpected '<' +
+ ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:50: unknown regexp options - ct +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:53: unterminated regexp meets end of file +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:53: syntax error, unexpected end-of-input, expecting ')'): + app/views/tasks/index.html.erb:42: unknown regexp options - dlt + app/views/tasks/index.html.erb:42: syntax error, unexpected tSTRING_BEG, expecting ')' + app/views/tasks/index.html.erb:42: syntax error, unexpected tIDENTIFIER, expecting ')' + app/views/tasks/index.html.erb:45: syntax error, unexpected tIDENTIFIER, expecting ')' + app/views/tasks/index.html.erb:45: syntax error, unexpected tIDENTIFIER, expecting ')' + app/views/tasks/index.html.erb:45: syntax error, unexpected tCONSTANT, expecting ')' + app/views/tasks/index.html.erb:45: syntax error, unexpected keyword_return, expecting ')' + app/views/tasks/index.html.erb:45: syntax error, unexpected $undefined, expecting ')' + app/views/tasks/index.html.erb:47: syntax error, unexpected '<' + app/views/tasks/index.html.erb:48: unknown regexp options - ct + app/views/tasks/index.html.erb:49: syntax error, unexpected '<' + app/views/tasks/index.html.erb:50: unknown regexp options - ct + app/views/tasks/index.html.erb:53: unterminated regexp meets end of file + app/views/tasks/index.html.erb:53: syntax error, unexpected end-of-input, expecting ')' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (46.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (41.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (85.0ms) + + +Started GET "/" for ::1 at 2016-04-20 22:46:32 -0700 +Processing by TasksController#index as HTML + Rendered tasks/index.html.erb within layouts/application (1.0ms) +Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms) + +SyntaxError (/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:42: unknown regexp options - dlt +unmatched close parenthesis: /delete, method: "delete") );@output_buffer.safe_append=' + + ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:48: unknown regexp options - ct +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:49: syntax error, unexpected '<' + + ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:50: unknown regexp options - ct +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:53: unterminated regexp meets end of file +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:53: syntax error, unexpected end-of-input, expecting ')'): + app/views/tasks/index.html.erb:42: unknown regexp options - dlt + app/views/tasks/index.html.erb:42: syntax error, unexpected tSTRING_BEG, expecting ')' + app/views/tasks/index.html.erb:42: syntax error, unexpected tIDENTIFIER, expecting ')' + app/views/tasks/index.html.erb:45: syntax error, unexpected tIDENTIFIER, expecting ')' + app/views/tasks/index.html.erb:45: syntax error, unexpected tIDENTIFIER, expecting ')' + app/views/tasks/index.html.erb:45: syntax error, unexpected tCONSTANT, expecting ')' + app/views/tasks/index.html.erb:45: syntax error, unexpected keyword_return, expecting ')' + app/views/tasks/index.html.erb:45: syntax error, unexpected $undefined, expecting ')' + app/views/tasks/index.html.erb:47: syntax error, unexpected '<' + app/views/tasks/index.html.erb:48: unknown regexp options - ct + app/views/tasks/index.html.erb:49: syntax error, unexpected '<' + app/views/tasks/index.html.erb:50: unknown regexp options - ct + app/views/tasks/index.html.erb:53: unterminated regexp meets end of file + app/views/tasks/index.html.erb:53: syntax error, unexpected end-of-input, expecting ')' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (15.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (60.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (34.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (75.7ms) + + +Started GET "/" for ::1 at 2016-04-20 22:46:46 -0700 +Processing by TasksController#index as HTML + Rendered tasks/index.html.erb within layouts/application (1.1ms) +Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms) + +SyntaxError (/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:45: syntax error, unexpected '<' + :0x007fbacd14fe30> +Did you mean? delete_url): + 38: + 39: + 40: + 41: <%= form_tag(delete, method: "delete") %> + 42: + 43:
+ 44: + app/views/tasks/index.html.erb:41:in `block in _app_views_tasks_index_html_erb__3127454483339093753_70220140655660' + app/views/tasks/index.html.erb:8:in `_app_views_tasks_index_html_erb__3127454483339093753_70220140655660' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (42.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (34.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (76.2ms) + + +Started GET "/" for ::1 at 2016-04-20 22:47:36 -0700 +Processing by TasksController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (40.3ms) +Completed 500 Internal Server Error in 43ms (ActiveRecord: 0.2ms) + +ActionView::Template::Error (undefined local variable or method `delete' for #<#:0x007fbaca51b0a8> +Did you mean? delete_url): + 38: + 39: + 40: + 41: <%= form_tag(delete, method: "delete") %> + 42: + 39: + 40: + 41: <%= form_tag(delete, method: "delete") %> + 42: + 39: + 40: + 41: <%= form_tag(delete, method: "delete") %> + 42: + 39: + 40: + 41: <%= form_tag(delete, method: "delete") %> + 42: + 43: + 44: + app/views/tasks/index.html.erb:41:in `block in _app_views_tasks_index_html_erb__3127454483339093753_70220161965400' + app/views/tasks/index.html.erb:8:in `_app_views_tasks_index_html_erb__3127454483339093753_70220161965400' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (47.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (34.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (76.4ms) + + +Started GET "/" for ::1 at 2016-04-20 22:51:25 -0700 +Processing by TasksController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (37.1ms) +Completed 500 Internal Server Error in 42ms (ActiveRecord: 0.5ms) + +ActionView::Template::Error (undefined local variable or method `delete' for #<#:0x007fbac641f220>): + 38: + 39: + 40: + 41: <%= form_tag(delete, method: "delete") %> + 42: + 43: + 44: + app/views/tasks/index.html.erb:41:in `block in _app_views_tasks_index_html_erb__3127454483339093753_70220161965400' + app/views/tasks/index.html.erb:8:in `_app_views_tasks_index_html_erb__3127454483339093753_70220161965400' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (49.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (39.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (83.9ms) + + +Started GET "/" for ::1 at 2016-04-20 22:54:05 -0700 +Processing by TasksController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (14.2ms) +Completed 200 OK in 26ms (Views: 24.1ms | ActiveRecord: 0.5ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-20 22:54:05 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-20 22:54:05 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-20 22:54:05 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-20 22:54:05 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-20 22:54:05 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-20 22:54:05 -0700 + + +Started GET "/" for ::1 at 2016-04-20 22:54:57 -0700 +Processing by TasksController#index as HTML + Rendered tasks/index.html.erb within layouts/application (1.0ms) +Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms) + +SyntaxError (/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:51: syntax error, unexpected keyword_ensure, expecting end-of-input): + app/views/tasks/index.html.erb:51: syntax error, unexpected keyword_ensure, expecting end-of-input + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (13.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (54.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (38.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (83.5ms) + + +Started GET "/" for ::1 at 2016-04-20 22:55:00 -0700 +Processing by TasksController#index as HTML + Rendered tasks/index.html.erb within layouts/application (0.9ms) +Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms) + +SyntaxError (/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:51: syntax error, unexpected keyword_ensure, expecting end-of-input): + app/views/tasks/index.html.erb:51: syntax error, unexpected keyword_ensure, expecting end-of-input + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (44.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (39.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (82.0ms) + + +Started GET "/" for ::1 at 2016-04-20 22:58:09 -0700 +Processing by TasksController#index as HTML + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (8.9ms) +Completed 200 OK in 20ms (Views: 19.0ms | ActiveRecord: 0.1ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-20 22:58:09 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-20 22:58:09 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-20 22:58:09 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-20 22:58:09 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-20 22:58:09 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-20 22:58:09 -0700 + + +Started DELETE "/delete" for ::1 at 2016-04-20 22:58:14 -0700 + +ActionController::RoutingError (No route matches [DELETE] "/delete"): + actionpack (4.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call' + web-console (2.3.0) lib/web_console/middleware.rb:18:in `catch' + web-console (2.3.0) lib/web_console/middleware.rb:18:in `call' + actionpack (4.2.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.6) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.6) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.6) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.6) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.6) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.6) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.6) lib/rails/engine.rb:518:in `call' + railties (4.2.6) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + /Users/dri19tcc/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' + /Users/dri19tcc/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' + /Users/dri19tcc/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (58.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (34.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (81.4ms) + + +Started DELETE "/delete" for ::1 at 2016-04-20 22:58:23 -0700 + +ActionController::RoutingError (No route matches [DELETE] "/delete"): + actionpack (4.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call' + web-console (2.3.0) lib/web_console/middleware.rb:18:in `catch' + web-console (2.3.0) lib/web_console/middleware.rb:18:in `call' + actionpack (4.2.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.6) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.6) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.6) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.6) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.6) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.6) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.6) lib/rails/engine.rb:518:in `call' + railties (4.2.6) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + /Users/dri19tcc/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' + /Users/dri19tcc/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' + /Users/dri19tcc/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (61.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (36.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (82.5ms) + + +Started DELETE "/delete" for ::1 at 2016-04-20 22:59:06 -0700 + +ActionController::RoutingError (No route matches [DELETE] "/delete"): + actionpack (4.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call' + web-console (2.3.0) lib/web_console/middleware.rb:18:in `catch' + web-console (2.3.0) lib/web_console/middleware.rb:18:in `call' + actionpack (4.2.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.6) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.6) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.6) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.6) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.6) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.6) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.6) lib/rails/engine.rb:518:in `call' + railties (4.2.6) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + /Users/dri19tcc/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' + /Users/dri19tcc/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' + /Users/dri19tcc/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_table.html.erb (0.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (52.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (35.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (80.3ms) + + +Started DELETE "/delete" for ::1 at 2016-04-20 22:59:18 -0700 + +ActionController::RoutingError (No route matches [DELETE] "/delete"): + actionpack (4.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call' + web-console (2.3.0) lib/web_console/middleware.rb:18:in `catch' + web-console (2.3.0) lib/web_console/middleware.rb:18:in `call' + actionpack (4.2.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.6) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.6) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.6) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.6) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.6) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.6) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.6) lib/rails/engine.rb:518:in `call' + railties (4.2.6) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + /Users/dri19tcc/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' + /Users/dri19tcc/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' + /Users/dri19tcc/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (54.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (36.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (85.2ms) + + +Started GET "/" for ::1 at 2016-04-20 22:59:53 -0700 +Processing by TasksController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (10.4ms) +Completed 200 OK in 23ms (Views: 21.0ms | ActiveRecord: 0.5ms) + + +Started DELETE "/delete" for ::1 at 2016-04-20 22:59:57 -0700 +Processing by TasksController#delete as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"2gpPjq7fMJfaFNG9F84pkpSlb5YXd7yn7yAGckKlWUgBCPuHfYpMejPk236mbjPSK9DKNn+rs/x4VRBWw0oqxw==", "commit"=>"Delete"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", nil]] +Completed 404 Not Found in 2ms (ActiveRecord: 0.1ms) + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=): + app/controllers/tasks_controller.rb:34:in `delete' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (2.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (40.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (34.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (85.4ms) + + +Started GET "/" for ::1 at 2016-04-20 23:05:16 -0700 +Processing by TasksController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (11.0ms) +Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.7ms) + +ActionView::Template::Error (no implicit conversion of Fixnum into String): + 38: + 39: + 40: + 41: <%= form_tag('/delete/'+task.id, method: "delete") do %> + 42: <%= submit_tag "Delete", class: "btn" %> + 43: <% end %> + 44: + app/views/tasks/index.html.erb:41:in `+' + app/views/tasks/index.html.erb:41:in `block in _app_views_tasks_index_html_erb__3127454483339093753_70220118021960' + app/views/tasks/index.html.erb:8:in `_app_views_tasks_index_html_erb__3127454483339093753_70220118021960' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (43.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (37.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (82.7ms) + + +Started GET "/" for ::1 at 2016-04-20 23:05:38 -0700 +Processing by TasksController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (12.3ms) +Completed 200 OK in 24ms (Views: 23.6ms | ActiveRecord: 0.1ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-20 23:05:38 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-20 23:05:38 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-20 23:05:38 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-20 23:05:38 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-20 23:05:38 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-20 23:05:38 -0700 + + +Started DELETE "/delete/17" for ::1 at 2016-04-20 23:05:45 -0700 +Processing by TasksController#delete as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"SZ8kAJ+B+iDQuDp96oNsqkoiAdse+BM7+ESnR+oxifWSnZAJTNSGzTlIML5bI3bq9Veke3YkHGBvMbFja976eg==", "commit"=>"Delete", "id"=>"17"} +Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms) + +ArgumentError (wrong number of arguments (given 0, expected 1)): + app/controllers/tasks_controller.rb:33:in `delete' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (41.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (35.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (77.6ms) + + +Started DELETE "/delete/17" for ::1 at 2016-04-20 23:06:09 -0700 +Processing by TasksController#delete as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"SZ8kAJ+B+iDQuDp96oNsqkoiAdse+BM7+ESnR+oxifWSnZAJTNSGzTlIML5bI3bq9Veke3YkHGBvMbFja976eg==", "commit"=>"Delete", "id"=>"17"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 17]] +  (0.0ms) begin transaction + SQL (0.4ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 17]] +  (2.1ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 10ms (ActiveRecord: 3.0ms) + + +Started GET "/" for ::1 at 2016-04-20 23:06:09 -0700 +Processing by TasksController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (8.5ms) +Completed 200 OK in 22ms (Views: 21.4ms | ActiveRecord: 0.2ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-20 23:06:09 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-20 23:06:09 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-20 23:06:09 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-20 23:06:09 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-20 23:06:09 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-20 23:06:09 -0700 + + +Started GET "/" for ::1 at 2016-04-20 23:07:44 -0700 +Processing by TasksController#index as HTML + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (26.6ms) +Completed 500 Internal Server Error in 30ms (ActiveRecord: 0.1ms) + +ActionView::Template::Error (undefined method `task_path' for #<#:0x007fbacd8e3958> +Did you mean? asset_path): + 42: <%= submit_tag "Delete", class: "btn" %> + 43: <% end %> --> + 44: + 45: <%= form_for(task, method: "delete") do |f| %> + 46: <%= f.submit "Delete", class: "btn" %> + 47: <% end %> + 48: + app/views/tasks/index.html.erb:45:in `block in _app_views_tasks_index_html_erb__3127454483339093753_70220144644800' + app/views/tasks/index.html.erb:8:in `_app_views_tasks_index_html_erb__3127454483339093753_70220144644800' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (46.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (38.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (80.6ms) + + +Started GET "/" for ::1 at 2016-04-20 23:08:06 -0700 +Processing by TasksController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (24.6ms) +Completed 500 Internal Server Error in 28ms (ActiveRecord: 0.2ms) + +ActionView::Template::Error (undefined method `task_path' for #<#:0x007fbacd1cf270> +Did you mean? asset_path): + 42: <%= submit_tag "Delete", class: "btn" %> + 43: <% end %> --> + 44: + 45: <%= form_for(task, method: "delete") do |f| %> + 46: <%= f.submit %> + 47: <% end %> + 48: + app/views/tasks/index.html.erb:45:in `block in _app_views_tasks_index_html_erb__3127454483339093753_70220140933000' + app/views/tasks/index.html.erb:8:in `_app_views_tasks_index_html_erb__3127454483339093753_70220140933000' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (49.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (35.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (81.9ms) + + +Started GET "/" for ::1 at 2016-04-20 23:16:10 -0700 +Processing by TasksController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (15.3ms) +Completed 200 OK in 27ms (Views: 26.5ms | ActiveRecord: 0.2ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-20 23:16:10 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-20 23:16:10 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-20 23:16:10 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-20 23:16:10 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-20 23:16:10 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-20 23:16:10 -0700 + + +Started GET "/add" for ::1 at 2016-04-20 23:16:12 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.7ms) +Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 1:
+ 2:
+ 3: + 4: <%= form_for @product do |f| %> + 5: <%= f.label :task %> + 6: <%= f.text_field :priority %> + 7: <%= f.text_field :status %> + app/views/tasks/add.html.erb:4:in `_app_views_tasks_add_html_erb__4464729344575053224_70220145041020' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (43.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (34.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (78.1ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:16:13 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (3.1ms) +Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 1:
+ 2:
+ 3: + 4: <%= form_for @product do |f| %> + 5: <%= f.label :task %> + 6: <%= f.text_field :priority %> + 7: <%= f.text_field :status %> + app/views/tasks/add.html.erb:4:in `_app_views_tasks_add_html_erb__4464729344575053224_70220146791120' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (46.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (36.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (83.9ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:16:39 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.1ms) +Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (wrong number of arguments (given 0, expected 1..2)): + 1:
+ 2:
+ 3: + 4: <%= form_for do |f| %> + 5: <%= f.label :task %> + 6: <%= f.text_field :priority %> + 7: <%= f.text_field :status %> + app/views/tasks/add.html.erb:4:in `_app_views_tasks_add_html_erb__4464729344575053224_70220145183800' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (46.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (37.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (83.9ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:17:08 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (5.1ms) +Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (undefined method `id' for nil:NilClass): + 1:
+ 2:
+ 3: + 4: <%= form_for @all_task.id do |f| %> + 5: <%= f.label :task %> + 6: <%= f.text_field :priority %> + 7: <%= f.text_field :status %> + app/views/tasks/add.html.erb:4:in `_app_views_tasks_add_html_erb__4464729344575053224_70220148150100' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (43.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (34.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (75.4ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:17:23 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (22.7ms) +Completed 500 Internal Server Error in 26ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (undefined local variable or method `task' for #<#:0x007fbacc6d30b0>): + 1:
+ 2:
+ 3: + 4: <%= form_for task.id do |f| %> + 5: <%= f.label :task %> + 6: <%= f.text_field :priority %> + 7: <%= f.text_field :status %> + app/views/tasks/add.html.erb:4:in `_app_views_tasks_add_html_erb__4464729344575053224_70220135172960' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (49.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (34.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (80.7ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:17:53 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (3.6ms) +Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (undefined method `find' for nil:NilClass): + 1:
+ 2:
+ 3: + 4: <%= form_for @all_task.find(:id) do |f| %> + 5: <%= f.label :task %> + 6: <%= f.text_field :priority %> + 7: <%= f.text_field :status %> + app/views/tasks/add.html.erb:4:in `_app_views_tasks_add_html_erb__4464729344575053224_70220147033520' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (42.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (35.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (79.9ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:18:46 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.7ms) +Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (undefined method `id' for nil:NilClass): + 5: <%= params %> + 6: + 7: + 8: <%= form_for @all_task.id do |f| %> + 9: <%= f.label :task %> + 10: <%= f.text_field :priority %> + 11: <%= f.text_field :status %> + app/views/tasks/add.html.erb:8:in `_app_views_tasks_add_html_erb__4464729344575053224_70220161484020' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (42.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (38.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (79.4ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:19:23 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.7ms) +Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (undefined method `id' for nil:NilClass): + 5: <%= params %> + 6: --> + 7: + 8: + 7: + 8: + 7: + 8: <%= form_for @task.id do |f| %> + 9: <%= f.label :task %> + 10: <%= f.text_field :priority %> + 11: <%= f.text_field :status %> + app/views/tasks/add.html.erb:8:in `_app_views_tasks_add_html_erb__4464729344575053224_70220141485920' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (43.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (34.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (77.2ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:22:02 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.6ms) +Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 5: <%= params %> + 6: --> + 7: + 8: <%= form_for @task do |f| %> + 9: <%= f.label :task %> + 10: <%= f.text_field :priority %> + 11: <%= f.text_field :status %> + app/views/tasks/add.html.erb:8:in `_app_views_tasks_add_html_erb__4464729344575053224_70220118378140' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (52.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (34.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (75.3ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:23:45 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.6ms) +Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 5: <%= params %> + 6: --> + 7: + 8: <%= form_for @task do |f| %> + 9: <%= f.label :task %> + 10: <%= f.text_field :priority %> + 11: <%= f.text_field :status %> + app/views/tasks/add.html.erb:8:in `_app_views_tasks_add_html_erb__4464729344575053224_70220118378140' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (42.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (35.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (79.2ms) + + +Started GET "/" for ::1 at 2016-04-20 23:23:50 -0700 +Processing by TasksController#index as HTML + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (12.4ms) +Completed 200 OK in 24ms (Views: 22.0ms | ActiveRecord: 0.6ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:23:51 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.6ms) +Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 5: <%= params %> + 6: --> + 7: + 8: <%= form_for @task do |f| %> + 9: <%= f.label :task %> + 10: <%= f.text_field :priority %> + 11: <%= f.text_field :status %> + app/views/tasks/add.html.erb:8:in `_app_views_tasks_add_html_erb__4464729344575053224_70220140412280' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (42.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (34.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (75.4ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:23:52 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (1.7ms) +Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 5: <%= params %> + 6: --> + 7: + 8: <%= form_for @task do |f| %> + 9: <%= f.label :task %> + 10: <%= f.text_field :priority %> + 11: <%= f.text_field :status %> + app/views/tasks/add.html.erb:8:in `_app_views_tasks_add_html_erb__4464729344575053224_70220118378140' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (47.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (35.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (78.5ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:24:13 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.3ms) +Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 1:
+ 2:
+ 3: + 4: <%= form_for @task do |f| %> + 5: <%= f.label :task %> + 6: <%= f.text_field :priority %> + 7: <%= f.text_field :status %> + app/views/tasks/add.html.erb:4:in `_app_views_tasks_add_html_erb__4464729344575053224_70220132811220' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (42.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (39.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (82.6ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:24:56 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.3ms) +Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 1:
+ 2:
+ 3: + 4: <%= form_for @task do |f| %> + 5: <%= f.text_field :task %> + 6: <%= f.text_field :priority %> + 7: <%= f.text_field :status %> + app/views/tasks/add.html.erb:4:in `_app_views_tasks_add_html_erb__4464729344575053224_70220141321120' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (47.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (34.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (81.2ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:25:18 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.1ms) +Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 5: <%= params %> + 6: + 7: + 8: <%= form_for @task do |f| %> + 9: <%= f.label :task %> + 10: <%= f.text_field :priority %> + 11: <%= f.text_field :status %> + app/views/tasks/add.html.erb:8:in `_app_views_tasks_add_html_erb__4464729344575053224_70220072027960' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (44.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (37.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (79.9ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:25:58 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.1ms) +Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 1:
+ 2:
+ 3: + 4: <%= form_for @task do |f| %> + 5: <%= f.label :task %> + 6: <%= f.text_field :priority %> + 7: <%= f.text_field :status %> + app/views/tasks/add.html.erb:4:in `_app_views_tasks_add_html_erb__4464729344575053224_70220135229320' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (46.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (34.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (76.9ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:27:59 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.7ms) +Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 1:
+ 2:
+ 3: + 4: <%= form_for @task, {action: "create"} do |f| %> + 5: <%= f.label :task %> + 6: <%= f.text_field :priority %> + 7: <%= f.text_field :status %> + app/views/tasks/add.html.erb:4:in `_app_views_tasks_add_html_erb__4464729344575053224_70220146034720' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (44.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (35.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (79.2ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:28:01 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (1.7ms) +Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 1:
+ 2:
+ 3: + 4: <%= form_for @task, {action: "create"} do |f| %> + 5: <%= f.label :task %> + 6: <%= f.text_field :priority %> + 7: <%= f.text_field :status %> + app/views/tasks/add.html.erb:4:in `_app_views_tasks_add_html_erb__4464729344575053224_70220146034720' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (49.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (38.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (80.6ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:28:48 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (15.4ms) +Completed 500 Internal Server Error in 24ms (ActiveRecord: 0.4ms) + +ActionView::Template::Error (undefined method `tasks_path' for #<#:0x007fbaca7581e0> +Did you mean? asset_path): + 1:
+ 2:
+ 3: + 4: <%= form_for @task, {action: "create"} do |f| %> + 5: <%= f.label :task %> + 6: <%= f.text_field :priority %> + 7: <%= f.text_field :status %> + app/views/tasks/add.html.erb:4:in `_app_views_tasks_add_html_erb__4464729344575053224_70220146034720' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (43.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (42.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (84.6ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:29:53 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (15.9ms) +Completed 500 Internal Server Error in 25ms (ActiveRecord: 0.4ms) + +ActionView::Template::Error (undefined method `tasks_path' for #<#:0x007fbacf83b1c0> +Did you mean? asset_path): + 1:
+ 2:
+ 3: + 4: <%= form_for @task, {action: "create"} do |f| %> + 5: <%= f.label :task %> + 6: <%= f.text_field :priority %> + 7: <%= f.text_field :status %> + app/views/tasks/add.html.erb:4:in `_app_views_tasks_add_html_erb__4464729344575053224_70220146034720' + app/controllers/tasks_controller.rb:11:in `add' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (43.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (39.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (82.2ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:29:55 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (15.1ms) +Completed 500 Internal Server Error in 19ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (undefined method `tasks_path' for #<#:0x007fbac6254d50> +Did you mean? asset_path): + 1:
+ 2:
+ 3: + 4: <%= form_for @task, {action: "create"} do |f| %> + 5: <%= f.label :task %> + 6: <%= f.text_field :priority %> + 7: <%= f.text_field :status %> + app/views/tasks/add.html.erb:4:in `_app_views_tasks_add_html_erb__4464729344575053224_70220146034720' + app/controllers/tasks_controller.rb:11:in `add' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (43.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (34.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (78.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 7ms (ActiveRecord: 0.4ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 2ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:48 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:49 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:49 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:49 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:49 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:49 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:49 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:49 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:49 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:49 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:49 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:49 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:49 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:49 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:49 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:49 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:49 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:49 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:49 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:49 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:49 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:30:49 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:04 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 7ms (ActiveRecord: 0.4ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:04 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:04 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:04 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:04 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:04 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:04 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:04 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:04 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:05 -0700 +Processing by TasksController#add as HTML +Redirected to http://localhost:3000/add +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:31:28 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (18.7ms) +Completed 500 Internal Server Error in 29ms (ActiveRecord: 0.4ms) + +ActionView::Template::Error (undefined method `tasks_path' for #<#:0x007fbac63ec780> +Did you mean? asset_path): + 1:
+ 2:
+ 3: + 4: <%= form_for @task, {action: "create"} do |f| %> + 5: <%= f.label :task %> + 6: <%= f.text_field :priority %> + 7: <%= f.text_field :status %> + app/views/tasks/add.html.erb:4:in `_app_views_tasks_add_html_erb__4464729344575053224_70220146034720' + app/controllers/tasks_controller.rb:11:in `add' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (43.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (36.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (80.7ms) + + +Started GET "/add" for ::1 at 2016-04-20 23:34:55 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (0.5ms) +Completed 200 OK in 15ms (Views: 14.1ms | ActiveRecord: 0.0ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-20 23:34:55 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-20 23:34:55 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-20 23:34:55 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-20 23:34:55 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-20 23:34:55 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-20 23:34:56 -0700 + + +Started GET "/" for ::1 at 2016-04-20 23:34:58 -0700 +Processing by TasksController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (11.9ms) +Completed 200 OK in 24ms (Views: 22.4ms | ActiveRecord: 0.5ms) + + +Started GET "/by_task/1" for ::1 at 2016-04-20 23:34:59 -0700 +Processing by TasksController#by_task as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? ORDER BY "tasks"."id" ASC LIMIT 1 [["id", 1]] + Rendered tasks/by_task.html.erb within layouts/application (0.3ms) +Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.2ms) + + +Started GET "/" for ::1 at 2016-04-21 08:55:22 -0700 +Processing by TasksController#index as HTML + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (34.0ms) +Completed 200 OK in 68ms (Views: 60.4ms | ActiveRecord: 1.4ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-21 08:55:22 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 08:55:22 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 08:55:22 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 08:55:22 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 08:55:22 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 08:55:22 -0700 + + +Started GET "/add" for ::1 at 2016-04-21 08:55:23 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (36.5ms) +Completed 500 Internal Server Error in 41ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (undefined method `tasks_path' for #<#:0x007fbad0084728> +Did you mean? asset_path): + 1:
+ 2:
+ 3: + 4: <%= form_for @task do |f| %> + 5: <%= f.label :task %> + 6: <%= f.text_field :task %> + 7: + app/views/tasks/add.html.erb:4:in `_app_views_tasks_add_html_erb__4464729344575053224_70220165410800' + app/controllers/tasks_controller.rb:11:in `add' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (48.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (40.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (88.4ms) + + +Started GET "/add" for ::1 at 2016-04-21 08:55:24 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (18.3ms) +Completed 500 Internal Server Error in 22ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (undefined method `tasks_path' for #<#:0x007fbac638d000> +Did you mean? asset_path): + 1:
+ 2:
+ 3: + 4: <%= form_for @task do |f| %> + 5: <%= f.label :task %> + 6: <%= f.text_field :task %> + 7: + app/views/tasks/add.html.erb:4:in `_app_views_tasks_add_html_erb__4464729344575053224_70220083109300' + app/controllers/tasks_controller.rb:11:in `add' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (44.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (35.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (78.2ms) + + +Started GET "/add" for ::1 at 2016-04-21 09:01:05 -0700 + +SyntaxError (/Users/dri19tcc/c5/projects/TaskListRails/tasklist/config/routes.rb:18: syntax error, unexpected tIDENTIFIER, expecting keyword_end + post '/create' => 'tasks#create' as: 'tasks' + ^): + config/routes.rb:18: syntax error, unexpected tIDENTIFIER, expecting keyword_end + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (2.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (44.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (35.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (77.6ms) + + +Started GET "/add" for ::1 at 2016-04-21 09:02:26 -0700 + +ActionController::RoutingError (No route matches [GET] "/add"): + actionpack (4.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call' + web-console (2.3.0) lib/web_console/middleware.rb:18:in `catch' + web-console (2.3.0) lib/web_console/middleware.rb:18:in `call' + actionpack (4.2.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.6) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.6) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.6) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.6) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.6) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.6) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.6) lib/rails/engine.rb:518:in `call' + railties (4.2.6) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + /Users/dri19tcc/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' + /Users/dri19tcc/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' + /Users/dri19tcc/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (44.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (37.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (82.6ms) + + +Started GET "/add" for ::1 at 2016-04-21 09:02:58 -0700 + +SyntaxError (/Users/dri19tcc/c5/projects/TaskListRails/tasklist/config/routes.rb:18: syntax error, unexpected tIDENTIFIER, expecting keyword_end + post '/create' => 'tasks#create' as: 'tasks' + ^): + config/routes.rb:18: syntax error, unexpected tIDENTIFIER, expecting keyword_end + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (41.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (34.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (79.8ms) + + +Started GET "/" for ::1 at 2016-04-21 09:55:12 -0700 + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by TasksController#index as HTML + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (200.6ms) +Completed 200 OK in 266ms (Views: 251.5ms | ActiveRecord: 0.9ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-21 09:55:13 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 09:55:13 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 09:55:13 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 09:55:13 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 09:55:13 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 09:55:13 -0700 + + +Started GET "/add" for ::1 at 2016-04-21 09:55:23 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (0.6ms) +Completed 200 OK in 15ms (Views: 14.4ms | ActiveRecord: 0.0ms) + + +Started POST "/create" for ::1 at 2016-04-21 09:55:37 -0700 +Processing by TasksController#create as HTML + Parameters: {"authenticity_token"=>"k4d9C5Cx2u95H2XsYxDg5wcFzf4WowR2DzU8TzudJ1pIhckCQ+SmApDvby/SsPqnuHBoXn5/Cy2YQCprunJU1Q==", "task"=>"check to see", "priority"=>"medium", "due_date"=>"", "comments"=>"I hope this works"} +  (0.1ms) begin transaction + SQL (0.7ms) INSERT INTO "tasks" ("task", "priority", "comments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["task", "check to see"], ["priority", "medium"], ["comments", "I hope this works"], ["created_at", "2016-04-21 16:55:37.163186"], ["updated_at", "2016-04-21 16:55:37.163186"]] +  (0.4ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 19ms (ActiveRecord: 1.2ms) + + +Started GET "/" for ::1 at 2016-04-21 09:55:37 -0700 +Processing by TasksController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (15.0ms) +Completed 200 OK in 42ms (Views: 40.3ms | ActiveRecord: 0.3ms) + + +Started GET "/edit/21" for ::1 at 2016-04-21 09:55:40 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"21"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? ORDER BY "tasks"."id" ASC LIMIT 1 [["id", 21]] + Rendered tasks/edit.html.erb within layouts/application (1.5ms) +Completed 200 OK in 34ms (Views: 23.4ms | ActiveRecord: 0.2ms) + + +Started POST "/update" for ::1 at 2016-04-21 09:55:47 -0700 +Processing by TasksController#update as HTML + Parameters: {"authenticity_token"=>"n8U224GgRHZ+JvYdkOQx/VbImCyxyznRQuvg4IYXmSVEx4LSUvU4m5fW/N4hRCu96b09jNkXNorVnvbEB/jqqg==", "id"=>"21", "task"=>"check to see", "priority"=>"low", "status"=>"In Progress", "due_date"=>"", "comments"=>"I hope this works"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 21]] +  (0.0ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "priority" = ?, "status" = ?, "updated_at" = ? WHERE "tasks"."id" = ? [["priority", "low"], ["status", "In Progress"], ["updated_at", "2016-04-21 16:55:47.615918"], ["id", 21]] +  (0.4ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 6ms (ActiveRecord: 1.0ms) + + +Started GET "/" for ::1 at 2016-04-21 09:55:47 -0700 +Processing by TasksController#index as HTML + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (7.6ms) +Completed 200 OK in 19ms (Views: 18.6ms | ActiveRecord: 0.1ms) + + +Started GET "/" for ::1 at 2016-04-21 10:00:26 -0700 + +SyntaxError (/Users/dri19tcc/c5/projects/TaskListRails/tasklist/config/routes.rb:18: syntax error, unexpected tIDENTIFIER, expecting keyword_end + post '/create' => 'tasks#create' as: 'tasks' + ^): + config/routes.rb:18: syntax error, unexpected tIDENTIFIER, expecting keyword_end + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (2.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (43.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (42.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (91.0ms) + + +Started GET "/" for ::1 at 2016-04-21 10:00:48 -0700 + +SyntaxError (/Users/dri19tcc/c5/projects/TaskListRails/tasklist/config/routes.rb:18: syntax error, unexpected tIDENTIFIER, expecting keyword_end + post '/create' => 'tasks#create' as: 'tasks' + ^): + config/routes.rb:18: syntax error, unexpected tIDENTIFIER, expecting keyword_end + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (2.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (44.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (34.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (76.8ms) + + +Started GET "/" for ::1 at 2016-04-21 10:01:13 -0700 +Processing by TasksController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (13.4ms) +Completed 200 OK in 28ms (Views: 26.1ms | ActiveRecord: 0.4ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-21 10:01:13 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 10:01:13 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 10:01:13 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 10:01:13 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 10:01:13 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 10:01:13 -0700 + + +Started GET "/" for ::1 at 2016-04-21 11:07:44 -0700 + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by TasksController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (182.1ms) +Completed 200 OK in 229ms (Views: 221.1ms | ActiveRecord: 0.4ms) + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 11:07:45 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 11:07:45 -0700 + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-21 11:07:45 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 11:07:45 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 11:07:45 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 11:07:45 -0700 + + +Started GET "/add" for ::1 at 2016-04-21 11:07:47 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (24.4ms) +Completed 200 OK in 53ms (Views: 52.5ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2016-04-21 11:08:29 -0700 +Processing by TasksController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (20.6ms) +Completed 200 OK in 44ms (Views: 42.9ms | ActiveRecord: 0.2ms) + + +Started GET "/" for ::1 at 2016-04-21 11:20:34 -0700 +Processing by TasksController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (12.8ms) +Completed 200 OK in 26ms (Views: 24.0ms | ActiveRecord: 0.5ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-21 11:20:34 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 11:20:34 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 11:20:34 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 11:20:34 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 11:20:34 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 11:20:34 -0700 + + +Started GET "/add" for ::1 at 2016-04-21 11:20:38 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (3.8ms) +Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 1:
+ 2:
+ 3: <%= form_for @task do |f| %> + 4: <%= f.label :task %> + 5: <%= f.text_field :task %> + 6: + app/views/tasks/add.html.erb:3:in `_app_views_tasks_add_html_erb__2214855160219442003_70177026756400' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (49.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (43.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (93.3ms) + + +Started GET "/add" for ::1 at 2016-04-21 11:20:38 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.2ms) +Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 1:
+ 2:
+ 3: <%= form_for @task do |f| %> + 4: <%= f.label :task %> + 5: <%= f.text_field :task %> + 6: + app/views/tasks/add.html.erb:3:in `_app_views_tasks_add_html_erb__2214855160219442003_70177019381540' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (46.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (44.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (93.6ms) + + +Started GET "/add" for ::1 at 2016-04-21 11:21:04 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (14.3ms) +Completed 500 Internal Server Error in 24ms (ActiveRecord: 0.4ms) + +ActionView::Template::Error (undefined method `tasks_path' for #<#:0x007fa6b8911390> +Did you mean? asset_path): + 1:
+ 2:
+ 3: <%= form_for @task do |f| %> + 4: <%= f.label :task %> + 5: <%= f.text_field :task %> + 6: + app/views/tasks/add.html.erb:3:in `_app_views_tasks_add_html_erb__2214855160219442003_70177019381540' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (51.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (40.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (83.3ms) + + +Started GET "/add" for ::1 at 2016-04-21 11:23:26 -0700 + +SyntaxError (/Users/dri19tcc/c5/projects/TaskListRails/tasklist/config/routes.rb:20: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' + post '/create' => 'tasks#create', as :tasks + ^): + config/routes.rb:20: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (2.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (46.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (36.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (84.3ms) + + +Started GET "/add" for ::1 at 2016-04-21 11:35:14 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.7ms) +Completed 200 OK in 23ms (Views: 16.2ms | ActiveRecord: 0.5ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-21 11:35:14 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 11:35:14 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 11:35:14 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 11:35:14 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 11:35:14 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 11:35:14 -0700 + + +Started GET "/" for ::1 at 2016-04-21 11:35:17 -0700 +Processing by TasksController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (9.8ms) +Completed 200 OK in 21ms (Views: 20.2ms | ActiveRecord: 0.2ms) + + +Started GET "/add" for ::1 at 2016-04-21 11:35:19 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.2ms) +Completed 200 OK in 25ms (Views: 24.2ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2016-04-21 11:37:50 -0700 +Processing by TasksController#index as HTML + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (11.1ms) +Completed 200 OK in 24ms (Views: 23.6ms | ActiveRecord: 0.4ms) + + +Started DELETE "/delete/21" for ::1 at 2016-04-21 11:37:54 -0700 +Processing by TasksController#delete as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"JRKMXoG4ziR/sW82GOFD/u9E3JcEnS9eqjBiGCHHOFX+EDhXUu2yyZZBZfWpQVm+UDF5N2xBIAU9RXQ8oChL2g==", "commit"=>"Delete", "id"=>"21"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 21]] +  (0.1ms) begin transaction + SQL (1.0ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 21]] +  (0.4ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 12ms (ActiveRecord: 1.7ms) + + +Started GET "/" for ::1 at 2016-04-21 11:37:54 -0700 +Processing by TasksController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (10.0ms) +Completed 200 OK in 21ms (Views: 20.5ms | ActiveRecord: 0.2ms) + + +Started GET "/" for ::1 at 2016-04-21 11:38:46 -0700 +Processing by TasksController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (9.8ms) +Completed 200 OK in 23ms (Views: 22.5ms | ActiveRecord: 0.3ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-21 11:38:46 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 11:38:46 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 11:38:46 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 11:38:46 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 11:38:46 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 11:38:46 -0700 + + +Started GET "/" for ::1 at 2016-04-21 11:39:41 -0700 +Processing by TasksController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (8.8ms) +Completed 200 OK in 22ms (Views: 21.1ms | ActiveRecord: 0.2ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-21 11:39:41 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 11:39:41 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 11:39:41 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 11:39:41 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 11:39:41 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 11:39:41 -0700 + + +Started GET "/add" for ::1 at 2016-04-21 11:40:36 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.2ms) +Completed 200 OK in 14ms (Views: 13.9ms | ActiveRecord: 0.0ms) + + +Started POST "/create" for ::1 at 2016-04-21 11:40:42 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"j1igaWSt71oOoyoPut6OhhU69T46VGTwcTc5lVE7Nh1UWhRgt/iTt+dTIMwLfpTGqk9QnlKIa6vmQi+x0NRFkg==", "task"=>{"task"=>"test", "priority"=>"urgent", "due_date"=>"", "comments"=>""}, "commit"=>"Create Task"} +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "tasks" ("task", "created_at", "updated_at") VALUES (?, ?, ?) [["task", "{\"task\"=>\"test\", \"priority\"=>\"urgent\", \"due_date\"=>\"\", \"comments\"=>\"\"}"], ["created_at", "2016-04-21 18:40:42.105330"], ["updated_at", "2016-04-21 18:40:42.105330"]] +  (0.3ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 3ms (ActiveRecord: 0.8ms) + + +Started GET "/" for ::1 at 2016-04-21 11:40:42 -0700 +Processing by TasksController#index as HTML + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (15.7ms) +Completed 200 OK in 27ms (Views: 26.1ms | ActiveRecord: 0.1ms) + + +Started GET "/edit/2" for ::1 at 2016-04-21 11:41:45 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"2"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? ORDER BY "tasks"."id" ASC LIMIT 1 [["id", 2]] + Rendered tasks/edit.html.erb within layouts/application (0.9ms) +Completed 200 OK in 16ms (Views: 14.8ms | ActiveRecord: 0.1ms) + + +Started POST "/update" for ::1 at 2016-04-21 11:41:50 -0700 +Processing by TasksController#update as HTML + Parameters: {"authenticity_token"=>"J3lzBaLC4U21XHspnP08Zvl6VWiGziCarUdc8O5aver8e8cMcZedoFysceotXSYmRg/wyO4SL8E6MkrUb7XOZQ==", "id"=>"2", "task"=>"The First Task", "priority"=>"low", "status"=>"Completed", "due_date"=>"", "comments"=>""} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 2]] +  (0.0ms) begin transaction + SQL (0.8ms) UPDATE "tasks" SET "priority" = ?, "status" = ?, "updated_at" = ? WHERE "tasks"."id" = ? [["priority", "low"], ["status", "Completed"], ["updated_at", "2016-04-21 18:41:50.977287"], ["id", 2]] +  (2.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 7ms (ActiveRecord: 3.2ms) + + +Started GET "/" for ::1 at 2016-04-21 11:41:50 -0700 +Processing by TasksController#index as HTML + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (9.4ms) +Completed 200 OK in 21ms (Views: 20.5ms | ActiveRecord: 0.1ms) + + +Started GET "/edit/2" for ::1 at 2016-04-21 11:41:53 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"2"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? ORDER BY "tasks"."id" ASC LIMIT 1 [["id", 2]] + Rendered tasks/edit.html.erb within layouts/application (0.2ms) +Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.1ms) + + +Started POST "/update" for ::1 at 2016-04-21 11:41:57 -0700 +Processing by TasksController#update as HTML + Parameters: {"authenticity_token"=>"zs9SGWpXXBPa7iaZJjOCc7kzJt7PGeyv+oKvCoJWtGsVzeYQuQIg/jMeLFqXk5gzBkaDfqfF4/Rt97kuA7nH5A==", "id"=>"2", "task"=>"The First Task", "priority"=>"low", "status"=>"In Progress", "due_date"=>"", "comments"=>""} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 2]] +  (0.1ms) begin transaction + SQL (0.5ms) UPDATE "tasks" SET "status" = ?, "updated_at" = ? WHERE "tasks"."id" = ? [["status", "In Progress"], ["updated_at", "2016-04-21 18:41:57.569573"], ["id", 2]] +  (2.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 7ms (ActiveRecord: 3.0ms) + + +Started GET "/" for ::1 at 2016-04-21 11:41:57 -0700 +Processing by TasksController#index as HTML + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (8.6ms) +Completed 200 OK in 22ms (Views: 20.9ms | ActiveRecord: 0.1ms) + + +Started DELETE "/delete/22" for ::1 at 2016-04-21 11:42:24 -0700 +Processing by TasksController#delete as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"1ubCDwlMkOZl8ZtF9MRAx2TTgafXc0p81JoHFfMfBRkN5HYG2hnsC4wBkYZFZFqH26YkB7+vRSdD7xExcvB2lg==", "commit"=>"Delete", "id"=>"22"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 22]] +  (0.1ms) begin transaction + SQL (1.0ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 22]] +  (2.1ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 5ms (ActiveRecord: 3.3ms) + + +Started GET "/" for ::1 at 2016-04-21 11:42:24 -0700 +Processing by TasksController#index as HTML + Rendered tasks/index.html.erb within layouts/application (1.7ms) +Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) + +SyntaxError (/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:42: syntax error, unexpected tIDENTIFIER, expecting ')' +... "Delete", class: "btn" onclick="return confirm('Are you sur... +... ^): + app/views/tasks/index.html.erb:42: syntax error, unexpected tIDENTIFIER, expecting ')' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (49.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (48.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (93.4ms) + + +Started GET "/" for ::1 at 2016-04-21 11:42:50 -0700 +Processing by TasksController#index as HTML + Rendered tasks/index.html.erb within layouts/application (1.1ms) +Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms) + +SyntaxError (/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:41: syntax error, unexpected tIDENTIFIER, expecting keyword_end +...to_s, method: "delete") onclick="return confirm('Are you sur... +... ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:41: syntax error, unexpected keyword_do, expecting keyword_end +...rn confirm('Are you sure?')" do @output_buffer.safe_append=' +... ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:52: syntax error, unexpected keyword_ensure, expecting end-of-input): + app/views/tasks/index.html.erb:41: syntax error, unexpected tIDENTIFIER, expecting keyword_end + app/views/tasks/index.html.erb:41: syntax error, unexpected keyword_do, expecting keyword_end + app/views/tasks/index.html.erb:52: syntax error, unexpected keyword_ensure, expecting end-of-input + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (53.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (35.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (80.7ms) + + +Started GET "/" for ::1 at 2016-04-21 11:42:59 -0700 +Processing by TasksController#index as HTML + Rendered tasks/index.html.erb within layouts/application (1.0ms) +Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms) + +SyntaxError (/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:41: syntax error, unexpected keyword_do, expecting keyword_end +...rn confirm('Are you sure?')" do @output_buffer.safe_append=' +... ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:52: syntax error, unexpected keyword_ensure, expecting end-of-input): + app/views/tasks/index.html.erb:41: syntax error, unexpected keyword_do, expecting keyword_end + app/views/tasks/index.html.erb:52: syntax error, unexpected keyword_ensure, expecting end-of-input + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (46.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (35.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (79.8ms) + + +Started GET "/" for ::1 at 2016-04-21 11:44:26 -0700 +Processing by TasksController#index as HTML + Rendered tasks/index.html.erb within layouts/application (6.8ms) +Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms) + +SyntaxError (/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:41: syntax error, unexpected tLABEL, expecting keyword_end +...d.to_s, method: "delete") data: {confirm: "Are you sure?"} d... +... ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:41: syntax error, unexpected keyword_do_block, expecting keyword_end +...: {confirm: "Are you sure?"} do @output_buffer.safe_append=' +... ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:52: syntax error, unexpected keyword_ensure, expecting end-of-input): + app/views/tasks/index.html.erb:41: syntax error, unexpected tLABEL, expecting keyword_end + app/views/tasks/index.html.erb:41: syntax error, unexpected keyword_do_block, expecting keyword_end + app/views/tasks/index.html.erb:52: syntax error, unexpected keyword_ensure, expecting end-of-input + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (47.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (37.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (84.0ms) + + +Started GET "/" for ::1 at 2016-04-21 11:44:30 -0700 +Processing by TasksController#index as HTML + Rendered tasks/index.html.erb within layouts/application (1.0ms) +Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms) + +SyntaxError (/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:41: syntax error, unexpected tLABEL, expecting keyword_end +...d.to_s, method: "delete") data: {confirm: "Are you sure?"} d... +... ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:41: syntax error, unexpected keyword_do_block, expecting keyword_end +...: {confirm: "Are you sure?"} do @output_buffer.safe_append=' +... ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:52: syntax error, unexpected keyword_ensure, expecting end-of-input): + app/views/tasks/index.html.erb:41: syntax error, unexpected tLABEL, expecting keyword_end + app/views/tasks/index.html.erb:41: syntax error, unexpected keyword_do_block, expecting keyword_end + app/views/tasks/index.html.erb:52: syntax error, unexpected keyword_ensure, expecting end-of-input + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (43.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (34.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (80.3ms) + + +Started GET "/" for ::1 at 2016-04-21 11:44:39 -0700 +Processing by TasksController#index as HTML + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) + +SyntaxError (/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:41: syntax error, unexpected tLABEL +....to_s, method: "delete"), data: {confirm: "Are you sure?"} d... +... ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:41: syntax error, unexpected keyword_do_block, expecting keyword_end +...: {confirm: "Are you sure?"} do @output_buffer.safe_append=' +... ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:52: syntax error, unexpected keyword_ensure, expecting end-of-input): + app/views/tasks/index.html.erb:41: syntax error, unexpected tLABEL + app/views/tasks/index.html.erb:41: syntax error, unexpected keyword_do_block, expecting keyword_end + app/views/tasks/index.html.erb:52: syntax error, unexpected keyword_ensure, expecting end-of-input + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (43.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (36.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (81.4ms) + + +Started GET "/" for ::1 at 2016-04-21 11:46:19 -0700 +Processing by TasksController#index as HTML + Rendered tasks/index.html.erb within layouts/application (1.1ms) +Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms) + +SyntaxError (/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:41: syntax error, unexpected tLABEL +..._s, method: "delete"), confirm: "Are you sure you want to de... +... ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:41: syntax error, unexpected keyword_do, expecting keyword_end +...you sure you want to delete" do @output_buffer.safe_append=' +... ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:52: syntax error, unexpected keyword_ensure, expecting end-of-input): + app/views/tasks/index.html.erb:41: syntax error, unexpected tLABEL + app/views/tasks/index.html.erb:41: syntax error, unexpected keyword_do, expecting keyword_end + app/views/tasks/index.html.erb:52: syntax error, unexpected keyword_ensure, expecting end-of-input + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (46.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (34.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (75.7ms) + + +Started GET "/" for ::1 at 2016-04-21 11:46:30 -0700 +Processing by TasksController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (8.3ms) +Completed 200 OK in 19ms (Views: 18.1ms | ActiveRecord: 0.2ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-21 11:46:30 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 11:46:30 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 11:46:30 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 11:46:30 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 11:46:30 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 11:46:30 -0700 + + +Started GET "/add" for ::1 at 2016-04-21 11:46:34 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (1.8ms) +Completed 200 OK in 14ms (Views: 13.9ms | ActiveRecord: 0.0ms) + + +Started POST "/create" for ::1 at 2016-04-21 11:46:40 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"q8nm1iT4gY7slA+LbsJe1xbxSnrLUjZ8YH8PKJagtp1wy1Lf9639YwVkBUjfYkSXqYTv2qOOOSf3ChkMF0/FEg==", "task"=>{"task"=>"testing delete", "due_date"=>"", "comments"=>""}, "commit"=>"Create Task"} +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "tasks" ("task", "created_at", "updated_at") VALUES (?, ?, ?) [["task", "{\"task\"=>\"testing delete\", \"due_date\"=>\"\", \"comments\"=>\"\"}"], ["created_at", "2016-04-21 18:46:40.658524"], ["updated_at", "2016-04-21 18:46:40.658524"]] +  (0.4ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 3ms (ActiveRecord: 0.8ms) + + +Started GET "/" for ::1 at 2016-04-21 11:46:40 -0700 +Processing by TasksController#index as HTML + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (8.7ms) +Completed 200 OK in 21ms (Views: 20.4ms | ActiveRecord: 0.1ms) + + +Started GET "/" for ::1 at 2016-04-21 11:47:29 -0700 +Processing by TasksController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (9.4ms) +Completed 200 OK in 22ms (Views: 21.2ms | ActiveRecord: 0.2ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-21 11:47:29 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 11:47:29 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 11:47:29 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 11:47:29 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 11:47:29 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 11:47:29 -0700 + + +Started DELETE "/delete/23" for ::1 at 2016-04-21 11:47:30 -0700 +Processing by TasksController#delete as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"9MWNE9x+EzHotdfAMrsV9AUfBo6/nxL5QYFYf51y9FwvxzkaDytv3AFF3QODGw+0umqjLtdDHaLW9E5bHJ2H0w==", "commit"=>"Delete", "id"=>"23"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 23]] +  (0.0ms) begin transaction + SQL (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 23]] +  (2.1ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 4ms (ActiveRecord: 2.5ms) + + +Started GET "/" for ::1 at 2016-04-21 11:47:30 -0700 +Processing by TasksController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (9.8ms) +Completed 200 OK in 24ms (Views: 23.4ms | ActiveRecord: 0.2ms) + + +Started GET "/add" for ::1 at 2016-04-21 11:47:35 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (1.9ms) +Completed 200 OK in 15ms (Views: 14.1ms | ActiveRecord: 0.0ms) + + +Started POST "/create" for ::1 at 2016-04-21 11:47:39 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"gz5Vu9GrsED8UkquQQt4qK0mNsn284g16+QxUZnDMwxYPOGyAv7MrRWiQG3wq2LoElOTaZ4vh258kSd1GCxAgw==", "task"=>{"task"=>"test delete", "due_date"=>"", "comments"=>""}, "commit"=>"Create Task"} +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "tasks" ("task", "created_at", "updated_at") VALUES (?, ?, ?) [["task", "{\"task\"=>\"test delete\", \"due_date\"=>\"\", \"comments\"=>\"\"}"], ["created_at", "2016-04-21 18:47:39.557191"], ["updated_at", "2016-04-21 18:47:39.557191"]] +  (0.4ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 3ms (ActiveRecord: 0.8ms) + + +Started GET "/" for ::1 at 2016-04-21 11:47:39 -0700 +Processing by TasksController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (8.4ms) +Completed 200 OK in 20ms (Views: 19.1ms | ActiveRecord: 0.1ms) + + +Started DELETE "/delete/24" for ::1 at 2016-04-21 11:48:12 -0700 +Processing by TasksController#delete as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"RYxtNot7RV+8peDa93VAOCyScT+6MkR3YAdcNcg/nOSejtk/WC45slVV6hlG1Vp4k+fUn9LuSyz3ckoRSdDvaw==", "commit"=>"Delete", "id"=>"24"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 24]] +  (0.0ms) begin transaction + SQL (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 24]] +  (2.1ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 4ms (ActiveRecord: 2.4ms) + + +Started GET "/" for ::1 at 2016-04-21 11:48:12 -0700 +Processing by TasksController#index as HTML + Rendered tasks/index.html.erb within layouts/application (1.2ms) +Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) + +SyntaxError (/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:41: syntax error, unexpected ')', expecting => +...turn confirm('Are you sure?')") do @output_buffer.safe_appen... +... ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:52: syntax error, unexpected keyword_ensure, expecting end-of-input): + app/views/tasks/index.html.erb:41: syntax error, unexpected ')', expecting => + app/views/tasks/index.html.erb:52: syntax error, unexpected keyword_ensure, expecting end-of-input + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (42.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (38.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (80.5ms) + + +Started GET "/" for ::1 at 2016-04-21 11:48:48 -0700 +Processing by TasksController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (10.4ms) +Completed 200 OK in 24ms (Views: 23.0ms | ActiveRecord: 0.2ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-21 11:48:48 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 11:48:48 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 11:48:48 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 11:48:48 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 11:48:48 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 11:48:48 -0700 + + +Started GET "/add" for ::1 at 2016-04-21 11:48:50 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (1.8ms) +Completed 200 OK in 14ms (Views: 13.6ms | ActiveRecord: 0.0ms) + + +Started POST "/create" for ::1 at 2016-04-21 11:48:56 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"XovGml0Jc6+FJ25y4qJwz1KyXD38/2wCfg5v1emVR7SFiXKTjlwPQmzXZLFTAmqP7cf5nZQjY1npe3nxaHo0Ow==", "task"=>{"task"=>"test delete", "due_date"=>"", "comments"=>""}, "commit"=>"Create Task"} +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "tasks" ("task", "created_at", "updated_at") VALUES (?, ?, ?) [["task", "{\"task\"=>\"test delete\", \"due_date\"=>\"\", \"comments\"=>\"\"}"], ["created_at", "2016-04-21 18:48:56.892919"], ["updated_at", "2016-04-21 18:48:56.892919"]] +  (0.4ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 3ms (ActiveRecord: 0.7ms) + + +Started GET "/" for ::1 at 2016-04-21 11:48:56 -0700 +Processing by TasksController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (8.7ms) +Completed 200 OK in 20ms (Views: 19.3ms | ActiveRecord: 0.2ms) + + +Started DELETE "/delete/25" for ::1 at 2016-04-21 11:49:54 -0700 +Processing by TasksController#delete as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"rreBQJNSkx/vsRCQxGBOg8uV71mQNeEzW87YFKp8tDR1tTVJQAfv8gZBGlN1wFTDdOBK+fjp7mjMu84wK5PHuw==", "commit"=>"Delete", "id"=>"25"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 25]] +  (0.1ms) begin transaction + SQL (0.8ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 25]] +  (2.1ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 5ms (ActiveRecord: 3.1ms) + + +Started GET "/" for ::1 at 2016-04-21 11:49:54 -0700 +Processing by TasksController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (8.9ms) +Completed 200 OK in 21ms (Views: 20.5ms | ActiveRecord: 0.2ms) + + +Started GET "/" for ::1 at 2016-04-21 11:57:30 -0700 +Processing by TasksController#index as HTML + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (14.7ms) +Completed 200 OK in 26ms (Views: 24.9ms | ActiveRecord: 0.1ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-21 11:57:31 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 11:57:31 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 11:57:31 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 11:57:31 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 11:57:31 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 11:57:31 -0700 + + +Started GET "/add" for ::1 at 2016-04-21 11:57:34 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.6ms) +Completed 200 OK in 16ms (Views: 15.7ms | ActiveRecord: 0.0ms) + + +Started GET "/add" for ::1 at 2016-04-21 11:58:56 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (1.0ms) +Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms) + +SyntaxError (/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/add.html.erb:11: syntax error, unexpected '<', expecting ')' + <%= f.radio_button :priority, ... + ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/add.html.erb:21: syntax error, unexpected keyword_end, expecting ')' +'.freeze; end + ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/add.html.erb:52: syntax error, unexpected keyword_ensure, expecting ')' +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/add.html.erb:54: syntax error, unexpected keyword_end, expecting ')'): + app/views/tasks/add.html.erb:11: syntax error, unexpected '<', expecting ')' + app/views/tasks/add.html.erb:21: syntax error, unexpected keyword_end, expecting ')' + app/views/tasks/add.html.erb:52: syntax error, unexpected keyword_ensure, expecting ')' + app/views/tasks/add.html.erb:54: syntax error, unexpected keyword_end, expecting ')' + app/controllers/tasks_controller.rb:11:in `add' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (49.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (36.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (78.5ms) + + +Started GET "/add" for ::1 at 2016-04-21 11:59:15 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (1.1ms) +Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms) + +SyntaxError (/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/add.html.erb:11: syntax error, unexpected '<', expecting ')' + <%= f.radio_button :priority, ... + ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/add.html.erb:21: syntax error, unexpected keyword_end, expecting ')' +'.freeze; end + ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/add.html.erb:52: syntax error, unexpected keyword_ensure, expecting ')' +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/add.html.erb:54: syntax error, unexpected keyword_end, expecting ')'): + app/views/tasks/add.html.erb:11: syntax error, unexpected '<', expecting ')' + app/views/tasks/add.html.erb:21: syntax error, unexpected keyword_end, expecting ')' + app/views/tasks/add.html.erb:52: syntax error, unexpected keyword_ensure, expecting ')' + app/views/tasks/add.html.erb:54: syntax error, unexpected keyword_end, expecting ')' + app/controllers/tasks_controller.rb:11:in `add' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (15.0ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (63.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.7ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (36.6ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (80.3ms) + + +Started GET "/" for ::1 at 2016-04-21 11:59:19 -0700 +Processing by TasksController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (9.9ms) +Completed 200 OK in 21ms (Views: 20.4ms | ActiveRecord: 0.2ms) + + +Started GET "/add" for ::1 at 2016-04-21 11:59:21 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (1.1ms) +Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) + +SyntaxError (/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/add.html.erb:11: syntax error, unexpected '<', expecting ')' + <%= f.radio_button :priority, ... + ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/add.html.erb:21: syntax error, unexpected keyword_end, expecting ')' +'.freeze; end + ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/add.html.erb:52: syntax error, unexpected keyword_ensure, expecting ')' +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/add.html.erb:54: syntax error, unexpected keyword_end, expecting ')'): + app/views/tasks/add.html.erb:11: syntax error, unexpected '<', expecting ')' + app/views/tasks/add.html.erb:21: syntax error, unexpected keyword_end, expecting ')' + app/views/tasks/add.html.erb:52: syntax error, unexpected keyword_ensure, expecting ')' + app/views/tasks/add.html.erb:54: syntax error, unexpected keyword_end, expecting ')' + app/controllers/tasks_controller.rb:11:in `add' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (42.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (34.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (81.7ms) + + +Started GET "/add" for ::1 at 2016-04-21 11:59:21 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (1.0ms) +Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms) + +SyntaxError (/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/add.html.erb:11: syntax error, unexpected '<', expecting ')' + <%= f.radio_button :priority, ... + ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/add.html.erb:21: syntax error, unexpected keyword_end, expecting ')' +'.freeze; end + ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/add.html.erb:52: syntax error, unexpected keyword_ensure, expecting ')' +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/add.html.erb:54: syntax error, unexpected keyword_end, expecting ')'): + app/views/tasks/add.html.erb:11: syntax error, unexpected '<', expecting ')' + app/views/tasks/add.html.erb:21: syntax error, unexpected keyword_end, expecting ')' + app/views/tasks/add.html.erb:52: syntax error, unexpected keyword_ensure, expecting ')' + app/views/tasks/add.html.erb:54: syntax error, unexpected keyword_end, expecting ')' + app/controllers/tasks_controller.rb:11:in `add' + + + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (43.5ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.4ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (34.9ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms) + Rendered /Users/dri19tcc/.rvm/gems/ruby-2.3.0@TaskListRails/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (79.0ms) + + +Started GET "/add" for ::1 at 2016-04-21 11:59:35 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.7ms) +Completed 200 OK in 14ms (Views: 13.7ms | ActiveRecord: 0.0ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-21 11:59:35 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 11:59:35 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 11:59:35 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 11:59:35 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 11:59:35 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 11:59:35 -0700 + + +Started GET "/add" for ::1 at 2016-04-21 12:00:12 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.7ms) +Completed 200 OK in 13ms (Views: 13.0ms | ActiveRecord: 0.0ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-21 12:00:12 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 12:00:12 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 12:00:12 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 12:00:12 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 12:00:12 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 12:00:12 -0700 + + +Started GET "/add" for ::1 at 2016-04-21 12:02:52 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.7ms) +Completed 200 OK in 13ms (Views: 12.7ms | ActiveRecord: 0.0ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-21 12:02:52 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 12:02:52 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 12:02:52 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 12:02:52 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 12:02:52 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 12:02:52 -0700 + + +Started GET "/add" for ::1 at 2016-04-21 12:03:02 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.7ms) +Completed 200 OK in 15ms (Views: 14.3ms | ActiveRecord: 0.0ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-21 12:03:02 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 12:03:02 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 12:03:02 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 12:03:02 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 12:03:02 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 12:03:02 -0700 + + +Started GET "/add" for ::1 at 2016-04-21 12:04:56 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (4.1ms) +Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.0ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-21 12:04:56 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 12:04:56 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 12:04:56 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 12:04:56 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 12:04:56 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 12:04:56 -0700 + + +Started GET "/add" for ::1 at 2016-04-21 12:05:22 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (4.1ms) +Completed 200 OK in 24ms (Views: 23.7ms | ActiveRecord: 0.0ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-21 12:05:22 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 12:05:22 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 12:05:22 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 12:05:22 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 12:05:22 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 12:05:22 -0700 + + +Started GET "/add" for ::1 at 2016-04-21 12:05:45 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.7ms) +Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-21 12:05:45 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 12:05:45 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 12:05:45 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 12:05:45 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 12:05:45 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 12:05:45 -0700 + + +Started GET "/add" for ::1 at 2016-04-21 12:05:58 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.5ms) +Completed 200 OK in 15ms (Views: 14.1ms | ActiveRecord: 0.0ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-21 12:05:58 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 12:05:58 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 12:05:58 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 12:05:58 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 12:05:59 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 12:05:59 -0700 + + +Started GET "/add" for ::1 at 2016-04-21 12:07:10 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.8ms) +Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.0ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-21 12:07:10 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 12:07:10 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 12:07:10 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 12:07:10 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 12:07:10 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 12:07:10 -0700 + + +Started GET "/add" for ::1 at 2016-04-21 12:07:11 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.0ms) +Completed 200 OK in 13ms (Views: 12.8ms | ActiveRecord: 0.0ms) + + +Started GET "/assets/application.self-82879f078a67d496ee2f9906d77d640c231dfcc772f05b1b7b007324563ce1fa.css?body=1" for ::1 at 2016-04-21 12:07:12 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 12:07:12 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 12:07:12 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 12:07:12 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 12:07:12 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 12:07:12 -0700 + + +Started GET "/add" for ::1 at 2016-04-21 12:07:31 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.1ms) +Completed 200 OK in 25ms (Views: 24.8ms | ActiveRecord: 0.0ms) + + +Started GET "/assets/application.self-23ab3d23e7746e7d5690acc551147b1d395c47fa51fc799e377d8cec05895c3f.css?body=1" for ::1 at 2016-04-21 12:07:31 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 12:07:31 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 12:07:31 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 12:07:31 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 12:07:31 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 12:07:31 -0700 + + +Started GET "/add" for ::1 at 2016-04-21 12:07:34 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (1.9ms) +Completed 200 OK in 15ms (Views: 14.8ms | ActiveRecord: 0.0ms) + + +Started GET "/assets/application.self-23ab3d23e7746e7d5690acc551147b1d395c47fa51fc799e377d8cec05895c3f.css?body=1" for ::1 at 2016-04-21 12:07:34 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 12:07:34 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 12:07:34 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 12:07:34 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 12:07:34 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 12:07:34 -0700 + + +Started GET "/add" for ::1 at 2016-04-21 12:08:03 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.6ms) +Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.0ms) + + +Started GET "/assets/application.self-23ab3d23e7746e7d5690acc551147b1d395c47fa51fc799e377d8cec05895c3f.css?body=1" for ::1 at 2016-04-21 12:08:03 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 12:08:03 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 12:08:03 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 12:08:03 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 12:08:03 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 12:08:03 -0700 + + +Started GET "/add" for ::1 at 2016-04-21 12:08:18 -0700 +Processing by TasksController#add as HTML + Rendered tasks/add.html.erb within layouts/application (2.6ms) +Completed 200 OK in 17ms (Views: 16.8ms | ActiveRecord: 0.0ms) + + +Started GET "/assets/application.self-23ab3d23e7746e7d5690acc551147b1d395c47fa51fc799e377d8cec05895c3f.css?body=1" for ::1 at 2016-04-21 12:08:18 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 12:08:18 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 12:08:18 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 12:08:18 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 12:08:18 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 12:08:18 -0700 + + +Started POST "/create" for ::1 at 2016-04-21 12:22:39 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"52cHx1yLTKYO1fbO5yN30CJzuOCVCw0sg2PbYMTw3Dw8ZbPOj94wS+cl/A1Wg22QnQYdQP3XAncUFs1ERR+vsw==", "task"=>{"task"=>"test delete", "priority"=>"low", "due_date"=>"", "comments"=>""}, "commit"=>"Add Task"} +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "tasks" ("task", "created_at", "updated_at") VALUES (?, ?, ?) [["task", "{\"task\"=>\"test delete\", \"priority\"=>\"low\", \"due_date\"=>\"\", \"comments\"=>\"\"}"], ["created_at", "2016-04-21 19:22:39.738776"], ["updated_at", "2016-04-21 19:22:39.738776"]] +  (0.4ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 3ms (ActiveRecord: 0.8ms) + + +Started GET "/" for ::1 at 2016-04-21 12:22:39 -0700 +Processing by TasksController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (8.6ms) +Completed 200 OK in 20ms (Views: 19.9ms | ActiveRecord: 0.2ms) + + +Started DELETE "/delete/26" for ::1 at 2016-04-21 12:22:48 -0700 +Processing by TasksController#delete as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"k8XGXFmpsog6kwHInT0W21HfU4naXKbOXdu0wC0Spb5Ix3JVivzOZdNjCwssnQyb7qr2KbKAqZXKrqLkrP3WMQ==", "commit"=>"Delete", "id"=>"26"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 26]] +  (0.1ms) begin transaction + SQL (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 26]] +  (2.1ms) commit transaction +Redirected to http://localhost:3000/ +Completed 302 Found in 4ms (ActiveRecord: 2.5ms) + + +Started GET "/" for ::1 at 2016-04-21 12:22:48 -0700 +Processing by TasksController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (16.1ms) +Completed 200 OK in 29ms (Views: 28.4ms | ActiveRecord: 0.2ms) + + +Started GET "/" for ::1 at 2016-04-21 12:23:18 -0700 +Processing by TasksController#index as HTML + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (9.0ms) +Completed 200 OK in 20ms (Views: 19.7ms | ActiveRecord: 0.1ms) + + +Started GET "/assets/application.self-23ab3d23e7746e7d5690acc551147b1d395c47fa51fc799e377d8cec05895c3f.css?body=1" for ::1 at 2016-04-21 12:23:18 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 12:23:18 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 12:23:18 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 12:23:18 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 12:23:18 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 12:23:18 -0700 + + +Started GET "/" for ::1 at 2016-04-21 12:24:01 -0700 +Processing by TasksController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (8.7ms) +Completed 200 OK in 22ms (Views: 21.6ms | ActiveRecord: 0.2ms) + + +Started GET "/assets/application.self-23ab3d23e7746e7d5690acc551147b1d395c47fa51fc799e377d8cec05895c3f.css?body=1" for ::1 at 2016-04-21 12:24:01 -0700 + + +Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-04-21 12:24:01 -0700 + + +Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-04-21 12:24:01 -0700 + + +Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-04-21 12:24:01 -0700 + + +Started GET "/assets/tasks.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-04-21 12:24:01 -0700 + + +Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-04-21 12:24:01 -0700 + + +Started GET "/" for ::1 at 2016-04-21 12:30:55 -0700 +Processing by TasksController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.8ms) +Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.2ms) + +ActionView::Template::Error (No route matches {:action=>"edit", :controller=>"tasks"}): + 31: Date Completed : <%= task.date_completed %> + 32:
+ 33: + 34: <%= button_to task.id, action: "edit" %> + 35: Edit + 36: + 37: + 37: + 37: + 37: + 35: + 36: Edit + 37: + 35: + 36: Edit + 37: + 35: + 36: Edit + 37: + 35: + 36: Edit + 37: + 37: + 37: + 37: +... ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:37: syntax error, unexpected tIDENTIFIER, expecting ')' +...ef above
+... ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:37: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '(' +...
+... ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:38: syntax error, unexpected tIDENTIFIER, expecting ')' +...ffer.safe_append='" method "get"> +... ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:39: syntax error, unexpected tIDENTIFIER, expecting ')' + --> + ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:39: syntax error, unexpected tIDENTIFIER, expecting ')' + --> + ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:40: syntax error, unexpected tIDENTIFIER, expecting ')' +... +... ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:37: syntax error, unexpected tIDENTIFIER, expecting ')' +...ef above
+... ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:37: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '(' +...
+... ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:38: syntax error, unexpected tIDENTIFIER, expecting ')' +...ffer.safe_append='" method "get"> +... ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:39: syntax error, unexpected tIDENTIFIER, expecting ')' + --> + ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:39: syntax error, unexpected tIDENTIFIER, expecting ')' + --> + ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:40: syntax error, unexpected tIDENTIFIER, expecting ')' +... +... ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:37: syntax error, unexpected tIDENTIFIER, expecting ')' +...ef above
+... ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:37: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '(' +...
+... ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:38: syntax error, unexpected tIDENTIFIER, expecting ')' +...ffer.safe_append='" method "get"> +... ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:39: syntax error, unexpected tIDENTIFIER, expecting ')' + --> + ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:39: syntax error, unexpected tIDENTIFIER, expecting ')' + --> + ^ +/Users/dri19tcc/c5/projects/TaskListRails/tasklist/app/views/tasks/index.html.erb:40: syntax error, unexpected tIDENTIFIER, expecting ')' +...