From 022caef53c2fd01d78762de80034699fa23d7bf4 Mon Sep 17 00:00:00 2001 From: Canaan West Date: Tue, 19 Sep 2017 08:35:16 -0700 Subject: [PATCH 1/3] Wave 1 --- Gemfile | 54 + Gemfile.lock | 196 +++ Rakefile | 6 + app/assets/config/manifest.js | 3 + app/assets/images/.keep | 0 app/assets/javascripts/application.js | 15 + app/assets/javascripts/cable.js | 13 + app/assets/javascripts/channels/.keep | 0 app/assets/javascripts/tasks.coffee | 3 + app/assets/stylesheets/application.css | 92 ++ app/assets/stylesheets/tasks.scss | 3 + app/channels/application_cable/channel.rb | 4 + app/channels/application_cable/connection.rb | 4 + app/controllers/application_controller.rb | 3 + app/controllers/concerns/.keep | 0 app/controllers/tasks_controller.rb | 35 + app/helpers/application_helper.rb | 2 + app/helpers/tasks_helper.rb | 2 + app/jobs/application_job.rb | 2 + app/mailers/application_mailer.rb | 4 + app/models/application_record.rb | 3 + app/models/concerns/.keep | 0 app/views/layouts/application.html.erb | 26 + app/views/layouts/mailer.html.erb | 13 + app/views/layouts/mailer.text.erb | 1 + app/views/tasks/create.html.erb | 2 + app/views/tasks/destroy.html.erb | 2 + app/views/tasks/edit.html.erb | 2 + app/views/tasks/index.html.erb | 41 + app/views/tasks/new.html.erb | 2 + app/views/tasks/show.html.erb | 2 + app/views/tasks/update.html.erb | 2 + bin/bundle | 3 + bin/rails | 9 + bin/rake | 9 + bin/setup | 38 + bin/spring | 17 + bin/update | 29 + bin/yarn | 11 + config.ru | 5 + config/application.rb | 18 + config/boot.rb | 3 + config/cable.yml | 10 + config/database.yml | 85 + config/environment.rb | 5 + config/environments/development.rb | 54 + config/environments/production.rb | 91 ++ config/environments/test.rb | 42 + .../application_controller_renderer.rb | 8 + config/initializers/assets.rb | 14 + config/initializers/backtrace_silencers.rb | 7 + config/initializers/cookies_serializer.rb | 5 + .../initializers/filter_parameter_logging.rb | 4 + config/initializers/inflections.rb | 16 + config/initializers/mime_types.rb | 4 + config/initializers/wrap_parameters.rb | 14 + config/locales/en.yml | 33 + config/puma.rb | 56 + config/routes.rb | 19 + config/secrets.yml | 32 + config/spring.rb | 6 + db/schema.rb | 18 + db/seeds.rb | 7 + lib/assets/.keep | 0 lib/tasks/.keep | 0 log/.keep | 0 log/development.log | 1369 +++++++++++++++++ package.json | 5 + public/404.html | 67 + public/422.html | 67 + public/500.html | 66 + public/apple-touch-icon-precomposed.png | 0 public/apple-touch-icon.png | 0 public/favicon.ico | 0 public/robots.txt | 1 + test/application_system_test_case.rb | 5 + test/controllers/.keep | 0 test/controllers/tasks_controller_test.rb | 34 + test/fixtures/.keep | 0 test/fixtures/files/.keep | 0 test/helpers/.keep | 0 test/integration/.keep | 0 test/mailers/.keep | 0 test/models/.keep | 0 test/system/.keep | 0 test/test_helper.rb | 9 + vendor/.keep | 0 87 files changed, 2832 insertions(+) create mode 100644 Gemfile create mode 100644 Gemfile.lock create mode 100644 Rakefile create mode 100644 app/assets/config/manifest.js create mode 100644 app/assets/images/.keep create mode 100644 app/assets/javascripts/application.js create mode 100644 app/assets/javascripts/cable.js create mode 100644 app/assets/javascripts/channels/.keep create mode 100644 app/assets/javascripts/tasks.coffee create mode 100644 app/assets/stylesheets/application.css create mode 100644 app/assets/stylesheets/tasks.scss create mode 100644 app/channels/application_cable/channel.rb create mode 100644 app/channels/application_cable/connection.rb create mode 100644 app/controllers/application_controller.rb create mode 100644 app/controllers/concerns/.keep create mode 100644 app/controllers/tasks_controller.rb create mode 100644 app/helpers/application_helper.rb create mode 100644 app/helpers/tasks_helper.rb create mode 100644 app/jobs/application_job.rb create mode 100644 app/mailers/application_mailer.rb create mode 100644 app/models/application_record.rb create mode 100644 app/models/concerns/.keep create mode 100644 app/views/layouts/application.html.erb create mode 100644 app/views/layouts/mailer.html.erb create mode 100644 app/views/layouts/mailer.text.erb create mode 100644 app/views/tasks/create.html.erb create mode 100644 app/views/tasks/destroy.html.erb create mode 100644 app/views/tasks/edit.html.erb create mode 100644 app/views/tasks/index.html.erb create mode 100644 app/views/tasks/new.html.erb create mode 100644 app/views/tasks/show.html.erb create mode 100644 app/views/tasks/update.html.erb create mode 100755 bin/bundle create mode 100755 bin/rails create mode 100755 bin/rake create mode 100755 bin/setup create mode 100755 bin/spring create mode 100755 bin/update create mode 100755 bin/yarn create mode 100644 config.ru create mode 100644 config/application.rb create mode 100644 config/boot.rb create mode 100644 config/cable.yml create mode 100644 config/database.yml create mode 100644 config/environment.rb create mode 100644 config/environments/development.rb create mode 100644 config/environments/production.rb create mode 100644 config/environments/test.rb create mode 100644 config/initializers/application_controller_renderer.rb create mode 100644 config/initializers/assets.rb create mode 100644 config/initializers/backtrace_silencers.rb create mode 100644 config/initializers/cookies_serializer.rb create mode 100644 config/initializers/filter_parameter_logging.rb create mode 100644 config/initializers/inflections.rb create mode 100644 config/initializers/mime_types.rb create mode 100644 config/initializers/wrap_parameters.rb create mode 100644 config/locales/en.yml create mode 100644 config/puma.rb create mode 100644 config/routes.rb create mode 100644 config/secrets.yml create mode 100644 config/spring.rb create mode 100644 db/schema.rb create mode 100644 db/seeds.rb create mode 100644 lib/assets/.keep create mode 100644 lib/tasks/.keep create mode 100644 log/.keep create mode 100644 log/development.log create mode 100644 package.json create mode 100644 public/404.html create mode 100644 public/422.html create mode 100644 public/500.html create mode 100644 public/apple-touch-icon-precomposed.png create mode 100644 public/apple-touch-icon.png create mode 100644 public/favicon.ico create mode 100644 public/robots.txt create mode 100644 test/application_system_test_case.rb create mode 100644 test/controllers/.keep create mode 100644 test/controllers/tasks_controller_test.rb create mode 100644 test/fixtures/.keep create mode 100644 test/fixtures/files/.keep create mode 100644 test/helpers/.keep create mode 100644 test/integration/.keep create mode 100644 test/mailers/.keep create mode 100644 test/models/.keep create mode 100644 test/system/.keep create mode 100644 test/test_helper.rb create mode 100644 vendor/.keep diff --git a/Gemfile b/Gemfile new file mode 100644 index 000000000..504af8615 --- /dev/null +++ b/Gemfile @@ -0,0 +1,54 @@ +source 'https://rubygems.org' + +git_source(:github) do |repo_name| + repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/") + "https://github.com/#{repo_name}.git" +end + + +# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' +gem 'rails', '~> 5.1.4' +# Use postgresql as the database for Active Record +gem 'pg', '~> 0.18' +# Use Puma as the app server +gem 'puma', '~> 3.7' +# Use SCSS for stylesheets +gem 'sass-rails', '~> 5.0' +# Use Uglifier as compressor for JavaScript assets +gem 'uglifier', '>= 1.3.0' +# See https://github.com/rails/execjs#readme for more supported runtimes +# gem 'therubyracer', platforms: :ruby + +# Use CoffeeScript for .coffee assets and views +gem 'coffee-rails', '~> 4.2' +# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks +gem 'turbolinks', '~> 5' +# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder +gem 'jbuilder', '~> 2.5' +# Use Redis adapter to run Action Cable in production +# gem 'redis', '~> 3.0' +# Use ActiveModel has_secure_password +# gem 'bcrypt', '~> 3.1.7' + +# 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', platforms: [:mri, :mingw, :x64_mingw] + # Adds support for Capybara system testing and selenium driver + gem 'capybara', '~> 2.13' + gem 'selenium-webdriver' +end + +group :development do + # Access an IRB console on exception pages or by using <%= console %> anywhere in the code. + gem 'web-console', '>= 3.3.0' + gem 'listen', '>= 3.0.5', '< 3.2' + # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring + gem 'spring' + gem 'spring-watcher-listen', '~> 2.0.0' +end + +# Windows does not include zoneinfo files, so bundle the tzinfo-data gem +gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 000000000..9ff8d7c6c --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,196 @@ +GEM + remote: https://rubygems.org/ + specs: + actioncable (5.1.4) + actionpack (= 5.1.4) + nio4r (~> 2.0) + websocket-driver (~> 0.6.1) + actionmailer (5.1.4) + actionpack (= 5.1.4) + actionview (= 5.1.4) + activejob (= 5.1.4) + mail (~> 2.5, >= 2.5.4) + rails-dom-testing (~> 2.0) + actionpack (5.1.4) + actionview (= 5.1.4) + activesupport (= 5.1.4) + rack (~> 2.0) + rack-test (>= 0.6.3) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.0, >= 1.0.2) + actionview (5.1.4) + activesupport (= 5.1.4) + builder (~> 3.1) + erubi (~> 1.4) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.0, >= 1.0.3) + activejob (5.1.4) + activesupport (= 5.1.4) + globalid (>= 0.3.6) + activemodel (5.1.4) + activesupport (= 5.1.4) + activerecord (5.1.4) + activemodel (= 5.1.4) + activesupport (= 5.1.4) + arel (~> 8.0) + activesupport (5.1.4) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (~> 0.7) + minitest (~> 5.1) + tzinfo (~> 1.1) + addressable (2.5.2) + public_suffix (>= 2.0.2, < 4.0) + arel (8.0.0) + bindex (0.5.0) + builder (3.2.3) + byebug (9.1.0) + capybara (2.15.1) + addressable + mini_mime (>= 0.1.3) + nokogiri (>= 1.3.3) + rack (>= 1.0.0) + rack-test (>= 0.5.4) + xpath (~> 2.0) + childprocess (0.7.1) + ffi (~> 1.0, >= 1.0.11) + coffee-rails (4.2.2) + coffee-script (>= 2.2.0) + railties (>= 4.0.0) + coffee-script (2.4.1) + coffee-script-source + execjs + coffee-script-source (1.12.2) + concurrent-ruby (1.0.5) + erubi (1.6.1) + execjs (2.7.0) + ffi (1.9.18) + globalid (0.4.0) + activesupport (>= 4.2.0) + i18n (0.8.6) + jbuilder (2.7.0) + activesupport (>= 4.2.0) + multi_json (>= 1.2) + listen (3.1.5) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + ruby_dep (~> 1.2) + loofah (2.0.3) + nokogiri (>= 1.5.9) + mail (2.6.6) + mime-types (>= 1.16, < 4) + method_source (0.8.2) + mime-types (3.1) + mime-types-data (~> 3.2015) + mime-types-data (3.2016.0521) + mini_mime (0.1.4) + mini_portile2 (2.2.0) + minitest (5.10.3) + multi_json (1.12.2) + nio4r (2.1.0) + nokogiri (1.8.0) + mini_portile2 (~> 2.2.0) + pg (0.21.0) + public_suffix (3.0.0) + puma (3.10.0) + rack (2.0.3) + rack-test (0.7.0) + rack (>= 1.0, < 3) + rails (5.1.4) + actioncable (= 5.1.4) + actionmailer (= 5.1.4) + actionpack (= 5.1.4) + actionview (= 5.1.4) + activejob (= 5.1.4) + activemodel (= 5.1.4) + activerecord (= 5.1.4) + activesupport (= 5.1.4) + bundler (>= 1.3.0) + railties (= 5.1.4) + sprockets-rails (>= 2.0.0) + rails-dom-testing (2.0.3) + activesupport (>= 4.2.0) + nokogiri (>= 1.6) + rails-html-sanitizer (1.0.3) + loofah (~> 2.0) + railties (5.1.4) + actionpack (= 5.1.4) + activesupport (= 5.1.4) + method_source + rake (>= 0.8.7) + thor (>= 0.18.1, < 2.0) + rake (12.1.0) + rb-fsevent (0.10.2) + rb-inotify (0.9.10) + ffi (>= 0.5.0, < 2) + ruby_dep (1.5.0) + rubyzip (1.2.1) + sass (3.5.1) + sass-listen (~> 4.0.0) + sass-listen (4.0.0) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + sass-rails (5.0.6) + railties (>= 4.0.0, < 6) + sass (~> 3.1) + sprockets (>= 2.8, < 4.0) + sprockets-rails (>= 2.0, < 4.0) + tilt (>= 1.1, < 3) + selenium-webdriver (3.5.2) + childprocess (~> 0.5) + rubyzip (~> 1.0) + spring (2.0.2) + activesupport (>= 4.2) + spring-watcher-listen (2.0.1) + listen (>= 2.7, < 4.0) + spring (>= 1.2, < 3.0) + sprockets (3.7.1) + concurrent-ruby (~> 1.0) + rack (> 1, < 3) + sprockets-rails (3.2.1) + actionpack (>= 4.0) + activesupport (>= 4.0) + sprockets (>= 3.0.0) + thor (0.20.0) + thread_safe (0.3.6) + tilt (2.0.8) + turbolinks (5.0.1) + turbolinks-source (~> 5) + turbolinks-source (5.0.3) + tzinfo (1.2.3) + thread_safe (~> 0.1) + uglifier (3.2.0) + execjs (>= 0.3.0, < 3) + web-console (3.5.1) + actionview (>= 5.0) + activemodel (>= 5.0) + bindex (>= 0.4.0) + railties (>= 5.0) + websocket-driver (0.6.5) + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.2) + xpath (2.1.0) + nokogiri (~> 1.3) + +PLATFORMS + ruby + +DEPENDENCIES + byebug + capybara (~> 2.13) + coffee-rails (~> 4.2) + jbuilder (~> 2.5) + listen (>= 3.0.5, < 3.2) + pg (~> 0.18) + puma (~> 3.7) + rails (~> 5.1.4) + sass-rails (~> 5.0) + selenium-webdriver + spring + spring-watcher-listen (~> 2.0.0) + turbolinks (~> 5) + tzinfo-data + uglifier (>= 1.3.0) + web-console (>= 3.3.0) + +BUNDLED WITH + 1.15.4 diff --git a/Rakefile b/Rakefile new file mode 100644 index 000000000..e85f91391 --- /dev/null +++ b/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_relative 'config/application' + +Rails.application.load_tasks diff --git a/app/assets/config/manifest.js b/app/assets/config/manifest.js new file mode 100644 index 000000000..b16e53d6d --- /dev/null +++ b/app/assets/config/manifest.js @@ -0,0 +1,3 @@ +//= link_tree ../images +//= link_directory ../javascripts .js +//= link_directory ../stylesheets .css diff --git a/app/assets/images/.keep b/app/assets/images/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js new file mode 100644 index 000000000..46b20359f --- /dev/null +++ b/app/assets/javascripts/application.js @@ -0,0 +1,15 @@ +// 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, 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. JavaScript code in this file should be added after the last require_* statement. +// +// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details +// about supported directives. +// +//= require rails-ujs +//= require turbolinks +//= require_tree . diff --git a/app/assets/javascripts/cable.js b/app/assets/javascripts/cable.js new file mode 100644 index 000000000..739aa5f02 --- /dev/null +++ b/app/assets/javascripts/cable.js @@ -0,0 +1,13 @@ +// Action Cable provides the framework to deal with WebSockets in Rails. +// You can generate new channels where WebSocket features live using the `rails generate channel` command. +// +//= require action_cable +//= require_self +//= require_tree ./channels + +(function() { + this.App || (this.App = {}); + + App.cable = ActionCable.createConsumer(); + +}).call(this); diff --git a/app/assets/javascripts/channels/.keep b/app/assets/javascripts/channels/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/app/assets/javascripts/tasks.coffee b/app/assets/javascripts/tasks.coffee new file mode 100644 index 000000000..24f83d18b --- /dev/null +++ b/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/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css new file mode 100644 index 000000000..fa7de6147 --- /dev/null +++ b/app/assets/stylesheets/application.css @@ -0,0 +1,92 @@ +/* + * 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, 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 other CSS/SCSS + * files in this directory. Styles in this file should be added after the last require_* statement. + * It is generally better to create a new file per style scope. + * + *= require_tree . + *= require_self + */ + +body { + position: relative; +} + +a { + text-decoration: none; + } + +header { + position: fixed; + height: 5vw; + width: 100%; + top: 0; + left: 0; + border: solid 1px black; + background: black; +} + +.header { + color: white; + position: fixed; + top: 0; + font-size: 3vw; +} + +main { + margin: 10vw; +} + +.list h2 { + text-align: center; + border-bottom: solid 1px black; +} + + .list { + position: relative; + left: 30vw; + top: 10vw; + display: inline-block; + width: 40vw; + border: solid 1px black; + border-radius: 10px; + line-height: 3vw; + } + + .list .link { + padding-left: .5vw; + border-left: solid 1px black; + } + + .nonspecific_links { + display: inline-block; + position: relative; + right: 40vw; + border: solid 1px black; + border-radius: 10px; + text-align: center; + padding-right: 5vw; + margin: 5vw; + } + + .nonspecific_links ul{ + list-style: none; + } + +footer { + position: fixed; + bottom: 0; + left: 0; + width: 100%; + height: 5vw; + border: black solid 1px; + text-align: center; + color: white; + background-color: black; +} diff --git a/app/assets/stylesheets/tasks.scss b/app/assets/stylesheets/tasks.scss new file mode 100644 index 000000000..c5e7712d4 --- /dev/null +++ b/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/app/channels/application_cable/channel.rb b/app/channels/application_cable/channel.rb new file mode 100644 index 000000000..d67269728 --- /dev/null +++ b/app/channels/application_cable/channel.rb @@ -0,0 +1,4 @@ +module ApplicationCable + class Channel < ActionCable::Channel::Base + end +end diff --git a/app/channels/application_cable/connection.rb b/app/channels/application_cable/connection.rb new file mode 100644 index 000000000..0ff5442f4 --- /dev/null +++ b/app/channels/application_cable/connection.rb @@ -0,0 +1,4 @@ +module ApplicationCable + class Connection < ActionCable::Connection::Base + end +end diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb new file mode 100644 index 000000000..1c07694e9 --- /dev/null +++ b/app/controllers/application_controller.rb @@ -0,0 +1,3 @@ +class ApplicationController < ActionController::Base + protect_from_forgery with: :exception +end diff --git a/app/controllers/concerns/.keep b/app/controllers/concerns/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb new file mode 100644 index 000000000..7d01bfaf2 --- /dev/null +++ b/app/controllers/tasks_controller.rb @@ -0,0 +1,35 @@ +class TasksController < ApplicationController + #write a list of tasks in a hash + TASKS =[{id: 1, thing:"Go for a walk"}, {id: 2, thing:"groceries"}, {id: 3, thing:"Do this task builder project"}, {id: 4, thing:"lightening talk"}] + + #write an index function that returns + + def index + @tasks = TASKS + end + + def show + # id = params[:id].to_i + # @task = nil + # TASKS.each do |task| + # if task[:id] == id + # @task = task + # end + # end + end + + def create + end + + def update + end + + def destroy + end + + def edit + end + + def new + end +end diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb new file mode 100644 index 000000000..de6be7945 --- /dev/null +++ b/app/helpers/application_helper.rb @@ -0,0 +1,2 @@ +module ApplicationHelper +end diff --git a/app/helpers/tasks_helper.rb b/app/helpers/tasks_helper.rb new file mode 100644 index 000000000..ce894d00c --- /dev/null +++ b/app/helpers/tasks_helper.rb @@ -0,0 +1,2 @@ +module TasksHelper +end diff --git a/app/jobs/application_job.rb b/app/jobs/application_job.rb new file mode 100644 index 000000000..a009ace51 --- /dev/null +++ b/app/jobs/application_job.rb @@ -0,0 +1,2 @@ +class ApplicationJob < ActiveJob::Base +end diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb new file mode 100644 index 000000000..286b2239d --- /dev/null +++ b/app/mailers/application_mailer.rb @@ -0,0 +1,4 @@ +class ApplicationMailer < ActionMailer::Base + default from: 'from@example.com' + layout 'mailer' +end diff --git a/app/models/application_record.rb b/app/models/application_record.rb new file mode 100644 index 000000000..10a4cba84 --- /dev/null +++ b/app/models/application_record.rb @@ -0,0 +1,3 @@ +class ApplicationRecord < ActiveRecord::Base + self.abstract_class = true +end diff --git a/app/models/concerns/.keep b/app/models/concerns/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb new file mode 100644 index 000000000..955949e47 --- /dev/null +++ b/app/views/layouts/application.html.erb @@ -0,0 +1,26 @@ + + + + TaskList + <%= csrf_meta_tags %> + + <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> + <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> + + + +
+ +
+ +
+ <%= yield %> +
+ + + + diff --git a/app/views/layouts/mailer.html.erb b/app/views/layouts/mailer.html.erb new file mode 100644 index 000000000..cbd34d2e9 --- /dev/null +++ b/app/views/layouts/mailer.html.erb @@ -0,0 +1,13 @@ + + + + + + + + + <%= yield %> + + diff --git a/app/views/layouts/mailer.text.erb b/app/views/layouts/mailer.text.erb new file mode 100644 index 000000000..37f0bddbd --- /dev/null +++ b/app/views/layouts/mailer.text.erb @@ -0,0 +1 @@ +<%= yield %> diff --git a/app/views/tasks/create.html.erb b/app/views/tasks/create.html.erb new file mode 100644 index 000000000..fcad439c4 --- /dev/null +++ b/app/views/tasks/create.html.erb @@ -0,0 +1,2 @@ +

Tasks#create

+

Find me in app/views/tasks/create.html.erb

diff --git a/app/views/tasks/destroy.html.erb b/app/views/tasks/destroy.html.erb new file mode 100644 index 000000000..a90559f9d --- /dev/null +++ b/app/views/tasks/destroy.html.erb @@ -0,0 +1,2 @@ +

Tasks#destroy

+

Find me in app/views/tasks/destroy.html.erb

diff --git a/app/views/tasks/edit.html.erb b/app/views/tasks/edit.html.erb new file mode 100644 index 000000000..374190308 --- /dev/null +++ b/app/views/tasks/edit.html.erb @@ -0,0 +1,2 @@ +

Tasks#edit

+

Find me in app/views/tasks/edit.html.erb

diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb new file mode 100644 index 000000000..0377532dd --- /dev/null +++ b/app/views/tasks/index.html.erb @@ -0,0 +1,41 @@ +<%# In this space, I am going to write code that will generate HTML. The point of this is to write ruby code that will show up on the web page%> + +

Tasks

+ +
+

Your Tasks

+
    + <% @tasks.each do |task| %> +
  1. + <%= link_to(task[:thing], task_path(task[:id]), alt: 'link to') %> + + <%=link_to "Delete", delete_task_path(task[:id]), method: :delete, class:"link" %> + + <%=link_to "Edit", edit_task_path(task[:id]), method: :patch, class:"link" %> +
  2. + <%end %> +
+
+ + + + + + + + + + + diff --git a/app/views/tasks/new.html.erb b/app/views/tasks/new.html.erb new file mode 100644 index 000000000..a51a3129d --- /dev/null +++ b/app/views/tasks/new.html.erb @@ -0,0 +1,2 @@ +

Tasks#new

+

Find me in app/views/tasks/index.html.erb

diff --git a/app/views/tasks/show.html.erb b/app/views/tasks/show.html.erb new file mode 100644 index 000000000..1139224db --- /dev/null +++ b/app/views/tasks/show.html.erb @@ -0,0 +1,2 @@ +

Tasks#show

+

Find me in app/views/tasks/show.html.erb

diff --git a/app/views/tasks/update.html.erb b/app/views/tasks/update.html.erb new file mode 100644 index 000000000..fdb1ea609 --- /dev/null +++ b/app/views/tasks/update.html.erb @@ -0,0 +1,2 @@ +

Tasks#update

+

Find me in app/views/tasks/update.html.erb

diff --git a/bin/bundle b/bin/bundle new file mode 100755 index 000000000..66e9889e8 --- /dev/null +++ b/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/bin/rails b/bin/rails new file mode 100755 index 000000000..5badb2fde --- /dev/null +++ b/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', __dir__) +require_relative '../config/boot' +require 'rails/commands' diff --git a/bin/rake b/bin/rake new file mode 100755 index 000000000..d87d5f578 --- /dev/null +++ b/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/bin/setup b/bin/setup new file mode 100755 index 000000000..78c4e861d --- /dev/null +++ b/bin/setup @@ -0,0 +1,38 @@ +#!/usr/bin/env ruby +require 'pathname' +require 'fileutils' +include FileUtils + +# path to your application root. +APP_ROOT = Pathname.new File.expand_path('../../', __FILE__) + +def system!(*args) + system(*args) || abort("\n== Command #{args} failed ==") +end + +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') || system!('bundle install') + + # Install JavaScript dependencies if using Yarn + # system('bin/yarn') + + + # puts "\n== Copying sample files ==" + # unless File.exist?('config/database.yml') + # cp 'config/database.yml.sample', 'config/database.yml' + # end + + puts "\n== Preparing database ==" + system! 'bin/rails db:setup' + + puts "\n== Removing old logs and tempfiles ==" + system! 'bin/rails log:clear tmp:clear' + + puts "\n== Restarting application server ==" + system! 'bin/rails restart' +end diff --git a/bin/spring b/bin/spring new file mode 100755 index 000000000..fb2ec2ebb --- /dev/null +++ b/bin/spring @@ -0,0 +1,17 @@ +#!/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' + + lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read) + spring = lockfile.specs.detect { |spec| spec.name == "spring" } + if spring + Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path + gem 'spring', spring.version + require 'spring/binstub' + end +end diff --git a/bin/update b/bin/update new file mode 100755 index 000000000..a8e4462f2 --- /dev/null +++ b/bin/update @@ -0,0 +1,29 @@ +#!/usr/bin/env ruby +require 'pathname' +require 'fileutils' +include FileUtils + +# path to your application root. +APP_ROOT = Pathname.new File.expand_path('../../', __FILE__) + +def system!(*args) + system(*args) || abort("\n== Command #{args} failed ==") +end + +chdir APP_ROOT do + # This script is a way to update your development environment automatically. + # Add necessary update steps to this file. + + puts '== Installing dependencies ==' + system! 'gem install bundler --conservative' + system('bundle check') || system!('bundle install') + + puts "\n== Updating database ==" + system! 'bin/rails db:migrate' + + puts "\n== Removing old logs and tempfiles ==" + system! 'bin/rails log:clear tmp:clear' + + puts "\n== Restarting application server ==" + system! 'bin/rails restart' +end diff --git a/bin/yarn b/bin/yarn new file mode 100755 index 000000000..c2bacef83 --- /dev/null +++ b/bin/yarn @@ -0,0 +1,11 @@ +#!/usr/bin/env ruby +VENDOR_PATH = File.expand_path('..', __dir__) +Dir.chdir(VENDOR_PATH) do + begin + exec "yarnpkg #{ARGV.join(" ")}" + rescue Errno::ENOENT + $stderr.puts "Yarn executable was not detected in the system." + $stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install" + exit 1 + end +end diff --git a/config.ru b/config.ru new file mode 100644 index 000000000..f7ba0b527 --- /dev/null +++ b/config.ru @@ -0,0 +1,5 @@ +# This file is used by Rack-based servers to start the application. + +require_relative 'config/environment' + +run Rails.application diff --git a/config/application.rb b/config/application.rb new file mode 100644 index 000000000..16136d34f --- /dev/null +++ b/config/application.rb @@ -0,0 +1,18 @@ +require_relative 'boot' + +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 + # Initialize configuration defaults for originally generated Rails version. + config.load_defaults 5.1 + + # 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. + end +end diff --git a/config/boot.rb b/config/boot.rb new file mode 100644 index 000000000..30f5120df --- /dev/null +++ b/config/boot.rb @@ -0,0 +1,3 @@ +ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) + +require 'bundler/setup' # Set up gems listed in the Gemfile. diff --git a/config/cable.yml b/config/cable.yml new file mode 100644 index 000000000..cc73740fa --- /dev/null +++ b/config/cable.yml @@ -0,0 +1,10 @@ +development: + adapter: async + +test: + adapter: async + +production: + adapter: redis + url: redis://localhost:6379/1 + channel_prefix: TaskList_production diff --git a/config/database.yml b/config/database.yml new file mode 100644 index 000000000..40243c8b5 --- /dev/null +++ b/config/database.yml @@ -0,0 +1,85 @@ +# PostgreSQL. Versions 9.1 and up are supported. +# +# Install the pg driver: +# gem install pg +# On OS X with Homebrew: +# gem install pg -- --with-pg-config=/usr/local/bin/pg_config +# On OS X with MacPorts: +# gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config +# On Windows: +# gem install pg +# Choose the win32 build. +# Install PostgreSQL and put its /bin directory on your path. +# +# Configure Using Gemfile +# gem 'pg' +# +default: &default + adapter: postgresql + encoding: unicode + # For details on connection pooling, see Rails configuration guide + # http://guides.rubyonrails.org/configuring.html#database-pooling + pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> + +development: + <<: *default + database: TaskList_development + + # The specified database role being used to connect to postgres. + # To create additional roles in postgres see `$ createuser --help`. + # When left blank, postgres will use the default role. This is + # the same name as the operating system user that initialized the database. + #username: TaskList + + # The password associated with the postgres role (username). + #password: + + # Connect on a TCP socket. Omitted by default since the client uses a + # domain socket that doesn't need configuration. Windows does not have + # domain sockets, so uncomment these lines. + #host: localhost + + # The TCP port the server listens on. Defaults to 5432. + # If your server runs on a different port number, change accordingly. + #port: 5432 + + # Schema search path. The server defaults to $user,public + #schema_search_path: myapp,sharedapp,public + + # Minimum log levels, in increasing order: + # debug5, debug4, debug3, debug2, debug1, + # log, notice, warning, error, fatal, and panic + # Defaults to warning. + #min_messages: notice + +# 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: TaskList_test + +# As with config/secrets.yml, you never want to store sensitive information, +# like your database password, in your source code. If your source code is +# ever seen by anyone, they now have access to your database. +# +# Instead, provide the password as a unix environment variable when you boot +# the app. Read http://guides.rubyonrails.org/configuring.html#configuring-a-database +# for a full rundown on how to provide these environment variables in a +# production deployment. +# +# On Heroku and other platform providers, you may have a full connection URL +# available as an environment variable. For example: +# +# DATABASE_URL="postgres://myuser:mypass@localhost/somedatabase" +# +# You can use this database configuration with: +# +# production: +# url: <%= ENV['DATABASE_URL'] %> +# +production: + <<: *default + database: TaskList_production + username: TaskList + password: <%= ENV['TASKLIST_DATABASE_PASSWORD'] %> diff --git a/config/environment.rb b/config/environment.rb new file mode 100644 index 000000000..426333bb4 --- /dev/null +++ b/config/environment.rb @@ -0,0 +1,5 @@ +# Load the Rails application. +require_relative 'application' + +# Initialize the Rails application. +Rails.application.initialize! diff --git a/config/environments/development.rb b/config/environments/development.rb new file mode 100644 index 000000000..5187e2218 --- /dev/null +++ b/config/environments/development.rb @@ -0,0 +1,54 @@ +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. + config.consider_all_requests_local = true + + # Enable/disable caching. By default caching is disabled. + if Rails.root.join('tmp/caching-dev.txt').exist? + config.action_controller.perform_caching = true + + config.cache_store = :memory_store + config.public_file_server.headers = { + 'Cache-Control' => "public, max-age=#{2.days.seconds.to_i}" + } + else + config.action_controller.perform_caching = false + + config.cache_store = :null_store + end + + # Don't care if the mailer can't send. + config.action_mailer.raise_delivery_errors = false + + config.action_mailer.perform_caching = 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 + + # Suppress logger output for asset requests. + config.assets.quiet = true + + # Raises error for missing translations + # config.action_view.raise_on_missing_translations = true + + # Use an evented file watcher to asynchronously detect changes in source code, + # routes, locales, etc. This feature depends on the listen gem. + config.file_watcher = ActiveSupport::EventedFileUpdateChecker +end diff --git a/config/environments/production.rb b/config/environments/production.rb new file mode 100644 index 000000000..fcd7d8b14 --- /dev/null +++ b/config/environments/production.rb @@ -0,0 +1,91 @@ +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 + + # Attempt to read encrypted secrets from `config/secrets.yml.enc`. + # Requires an encryption key in `ENV["RAILS_MASTER_KEY"]` or + # `config/secrets.yml.key`. + config.read_encrypted_secrets = true + + # Disable serving static files from the `/public` folder by default since + # Apache or NGINX already handles this. + config.public_file_server.enabled = 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 + + # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb + + # Enable serving of images, stylesheets, and JavaScripts from an asset server. + # config.action_controller.asset_host = 'http://assets.example.com' + + # 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 + + # Mount Action Cable outside main process or domain + # config.action_cable.mount_path = nil + # config.action_cable.url = 'wss://example.com/cable' + # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ] + + # 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 = [ :request_id ] + + # Use a different cache store in production. + # config.cache_store = :mem_cache_store + + # Use a real queuing backend for Active Job (and separate queues per environment) + # config.active_job.queue_adapter = :resque + # config.active_job.queue_name_prefix = "TaskList_#{Rails.env}" + config.action_mailer.perform_caching = false + + # 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 + + # Use a different logger for distributed setups. + # require 'syslog/logger' + # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name') + + if ENV["RAILS_LOG_TO_STDOUT"].present? + logger = ActiveSupport::Logger.new(STDOUT) + logger.formatter = config.log_formatter + config.logger = ActiveSupport::TaggedLogging.new(logger) + end + + # Do not dump schema after migrations. + config.active_record.dump_schema_after_migration = false +end diff --git a/config/environments/test.rb b/config/environments/test.rb new file mode 100644 index 000000000..8e5cbde53 --- /dev/null +++ b/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 public file server for tests with Cache-Control for performance. + config.public_file_server.enabled = true + config.public_file_server.headers = { + 'Cache-Control' => "public, max-age=#{1.hour.seconds.to_i}" + } + + # 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 + config.action_mailer.perform_caching = 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 + + # 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/config/initializers/application_controller_renderer.rb b/config/initializers/application_controller_renderer.rb new file mode 100644 index 000000000..89d2efab2 --- /dev/null +++ b/config/initializers/application_controller_renderer.rb @@ -0,0 +1,8 @@ +# Be sure to restart your server when you modify this file. + +# ActiveSupport::Reloader.to_prepare do +# ApplicationController.renderer.defaults.merge!( +# http_host: 'example.org', +# https: false +# ) +# end diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb new file mode 100644 index 000000000..4b828e80c --- /dev/null +++ b/config/initializers/assets.rb @@ -0,0 +1,14 @@ +# 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 +# Add Yarn node_modules folder to the asset load path. +Rails.application.config.assets.paths << Rails.root.join('node_modules') + +# Precompile additional assets. +# application.js, application.css, and all non-JS/CSS in the app/assets +# folder are already added. +# Rails.application.config.assets.precompile += %w( admin.js admin.css ) diff --git a/config/initializers/backtrace_silencers.rb b/config/initializers/backtrace_silencers.rb new file mode 100644 index 000000000..59385cdf3 --- /dev/null +++ b/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/config/initializers/cookies_serializer.rb b/config/initializers/cookies_serializer.rb new file mode 100644 index 000000000..5a6a32d37 --- /dev/null +++ b/config/initializers/cookies_serializer.rb @@ -0,0 +1,5 @@ +# Be sure to restart your server when you modify this file. + +# Specify a serializer for the signed and encrypted cookie jars. +# Valid options are :json, :marshal, and :hybrid. +Rails.application.config.action_dispatch.cookies_serializer = :json diff --git a/config/initializers/filter_parameter_logging.rb b/config/initializers/filter_parameter_logging.rb new file mode 100644 index 000000000..4a994e1e7 --- /dev/null +++ b/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/config/initializers/inflections.rb b/config/initializers/inflections.rb new file mode 100644 index 000000000..ac033bf9d --- /dev/null +++ b/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/config/initializers/mime_types.rb b/config/initializers/mime_types.rb new file mode 100644 index 000000000..dc1899682 --- /dev/null +++ b/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/config/initializers/wrap_parameters.rb b/config/initializers/wrap_parameters.rb new file mode 100644 index 000000000..bbfc3961b --- /dev/null +++ b/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] +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/config/locales/en.yml b/config/locales/en.yml new file mode 100644 index 000000000..decc5a857 --- /dev/null +++ b/config/locales/en.yml @@ -0,0 +1,33 @@ +# 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. +# +# The following keys must be escaped otherwise they will not be retrieved by +# the default I18n backend: +# +# true, false, on, off, yes, no +# +# Instead, surround them with single quotes. +# +# en: +# 'true': 'foo' +# +# To learn more, please read the Rails Internationalization guide +# available at http://guides.rubyonrails.org/i18n.html. + +en: + hello: "Hello world" diff --git a/config/puma.rb b/config/puma.rb new file mode 100644 index 000000000..1e19380dc --- /dev/null +++ b/config/puma.rb @@ -0,0 +1,56 @@ +# Puma can serve each request in a thread from an internal thread pool. +# The `threads` method setting takes two numbers: a minimum and maximum. +# Any libraries that use thread pools should be configured to match +# the maximum value specified for Puma. Default is set to 5 threads for minimum +# and maximum; this matches the default thread size of Active Record. +# +threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 } +threads threads_count, threads_count + +# Specifies the `port` that Puma will listen on to receive requests; default is 3000. +# +port ENV.fetch("PORT") { 3000 } + +# Specifies the `environment` that Puma will run in. +# +environment ENV.fetch("RAILS_ENV") { "development" } + +# Specifies the number of `workers` to boot in clustered mode. +# Workers are forked webserver processes. If using threads and workers together +# the concurrency of the application would be max `threads` * `workers`. +# Workers do not work on JRuby or Windows (both of which do not support +# processes). +# +# workers ENV.fetch("WEB_CONCURRENCY") { 2 } + +# Use the `preload_app!` method when specifying a `workers` number. +# This directive tells Puma to first boot the application and load code +# before forking the application. This takes advantage of Copy On Write +# process behavior so workers use less memory. If you use this option +# you need to make sure to reconnect any threads in the `on_worker_boot` +# block. +# +# preload_app! + +# If you are preloading your application and using Active Record, it's +# recommended that you close any connections to the database before workers +# are forked to prevent connection leakage. +# +# before_fork do +# ActiveRecord::Base.connection_pool.disconnect! if defined?(ActiveRecord) +# end + +# The code in the `on_worker_boot` will be called if you are using +# clustered mode by specifying a number of `workers`. After each worker +# process is booted, this block will be run. If you are using the `preload_app!` +# option, you will want to use this block to reconnect to any threads +# or connections that may have been created at application boot, as Ruby +# cannot share connections between processes. +# +# on_worker_boot do +# ActiveRecord::Base.establish_connection if defined?(ActiveRecord) +# end +# + +# Allow puma to be restarted by `rails restart` command. +plugin :tmp_restart diff --git a/config/routes.rb b/config/routes.rb new file mode 100644 index 000000000..66d592a2e --- /dev/null +++ b/config/routes.rb @@ -0,0 +1,19 @@ +Rails.application.routes.draw do + get '/tasks', to: 'tasks#index' , as:'tasks' #tasks_path + + get 'tasks/:id/edit', to: "tasks#edit" , as: 'edit_task' #edit_task_path + + get 'tasks/new', to: 'tasks#new', as: 'new_book' #new_book_path + + get 'tasks/:id', to: 'tasks#show', as: 'task' #task_path + + patch 'tasks/:id', to: "task#update" , as: 'update_task' #update_task_path + + post 'tasks/create', to: 'tasks#create', as: 'create_task' #create_task_path + + delete '/tasks', to: 'tasks#destroy', as: 'delete_task' #delete_task_path + + + + # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html +end diff --git a/config/secrets.yml b/config/secrets.yml new file mode 100644 index 000000000..df927022d --- /dev/null +++ b/config/secrets.yml @@ -0,0 +1,32 @@ +# 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 `rails secret` to generate a secure secret key. + +# Make sure the secrets in this file are kept private +# if you're sharing your code publicly. + +# Shared secrets are available across all environments. + +# shared: +# api_key: a1B2c3D4e5F6 + +# Environmental secrets are only available for that specific environment. + +development: + secret_key_base: c5c39701609ec5e6fef93d8b97a6cda490ad807c2afb8138c4ef53b9742c91cdc3cd3ab1c292d8806e84f206bb43aaf6f72ab99b79f2b0b1f594c43e59964981 + +test: + secret_key_base: 5fd2da7592383123922255db20b3fa79911b015422c332b497a4ba118cb2655e91e072c6b7ac706d230e38fe813263e0d3573633a4a4052cd3abb59f9f0073bd + +# Do not keep production secrets in the unencrypted secrets file. +# Instead, either read values from the environment. +# Or, use `bin/rails secrets:setup` to configure encrypted secrets +# and move the `production:` environment over there. + +production: + secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> diff --git a/config/spring.rb b/config/spring.rb new file mode 100644 index 000000000..c9119b40c --- /dev/null +++ b/config/spring.rb @@ -0,0 +1,6 @@ +%w( + .ruby-version + .rbenv-vars + tmp/restart.txt + tmp/caching-dev.txt +).each { |path| Spring.watch(path) } diff --git a/db/schema.rb b/db/schema.rb new file mode 100644 index 000000000..2611543b3 --- /dev/null +++ b/db/schema.rb @@ -0,0 +1,18 @@ +# 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: 0) do + + # These are extensions that must be enabled in order to support this database + enable_extension "plpgsql" + +end diff --git a/db/seeds.rb b/db/seeds.rb new file mode 100644 index 000000000..1beea2acc --- /dev/null +++ b/db/seeds.rb @@ -0,0 +1,7 @@ +# 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 rails db:seed command (or created alongside the database with db:setup). +# +# Examples: +# +# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }]) +# Character.create(name: 'Luke', movie: movies.first) diff --git a/lib/assets/.keep b/lib/assets/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/lib/tasks/.keep b/lib/tasks/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/log/.keep b/log/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/log/development.log b/log/development.log new file mode 100644 index 000000000..393e62e00 --- /dev/null +++ b/log/development.log @@ -0,0 +1,1369 @@ +  (0.2ms) DROP DATABASE IF EXISTS "TaskList_development" +  (0.2ms) DROP DATABASE IF EXISTS "TaskList_test" +  (442.2ms) CREATE DATABASE "TaskList_development" ENCODING = 'unicode' +  (391.8ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' +  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (19.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) +  (0.3ms) SELECT pg_try_advisory_lock(4169262226251541860) +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) BEGIN + SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2017-09-18 22:16:52.253875"], ["updated_at", "2017-09-18 22:16:52.253875"]] +  (6.3ms) COMMIT +  (0.3ms) SELECT pg_advisory_unlock(4169262226251541860) +  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Started GET "/books/" for 127.0.0.1 at 2017-09-18 15:34:38 -0700 + +ActionController::RoutingError (No route matches [GET] "/books"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-18 15:34:43 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.5ms) +Completed 200 OK in 1122ms (Views: 1003.5ms) + + +Started GET "/tasks/hello" for 127.0.0.1 at 2017-09-18 15:34:49 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"hello"} + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.3ms) +Completed 200 OK in 32ms (Views: 30.0ms) + + +Started GET "/tasks/hello/edit" for 127.0.0.1 at 2017-09-18 15:35:10 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"hello"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.3ms) +Completed 200 OK in 14ms (Views: 12.5ms) + + +Started GET "/tasks/hello/edit" for 127.0.0.1 at 2017-09-18 15:50:33 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"hello"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.3ms) +Completed 200 OK in 16ms (Views: 14.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-18 15:50:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.5ms) +Completed 200 OK in 14ms (Views: 13.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-18 15:51:53 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.8ms) +Completed 500 Internal Server Error in 7ms + + + +SyntaxError (/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:10: syntax error, unexpected ';', expecting ')' +r.append=(link_to((task[:id]);@output_buffer.safe_append='. + ^ +/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:10: syntax error, unexpected ')', expecting keyword_end +nd=(task[:thing]), task_path));@output_buffer.safe_append=' + ^ +/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:21: syntax error, unexpected keyword_ensure, expecting end-of-input + ensure + ^): + +app/views/tasks/index.html.erb:10: syntax error, unexpected ';', expecting ')' +app/views/tasks/index.html.erb:10: syntax error, unexpected ')', expecting keyword_end +app/views/tasks/index.html.erb:21: syntax error, unexpected keyword_ensure, expecting end-of-input +Started GET "/tasks" for 127.0.0.1 at 2017-09-18 15:52:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.6ms) +Completed 500 Internal Server Error in 5ms + + + +SyntaxError (/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:10: syntax error, unexpected ';', expecting ')' +r.append=(link_to((task[:id]);@output_buffer.safe_append='. + ^ +/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:10: syntax error, unexpected ')', expecting keyword_end +hing]), task_path(task[:id])));@output_buffer.safe_append=' + ^ +/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:21: syntax error, unexpected keyword_ensure, expecting end-of-input + ensure + ^): + +app/views/tasks/index.html.erb:10: syntax error, unexpected ';', expecting ')' +app/views/tasks/index.html.erb:10: syntax error, unexpected ')', expecting keyword_end +app/views/tasks/index.html.erb:21: syntax error, unexpected keyword_ensure, expecting end-of-input +Started GET "/tasks" for 127.0.0.1 at 2017-09-18 15:52:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 500 Internal Server Error in 7ms + + + +ActionView::Template::Error (undefined method `task' for 1:Integer): + 7: + +app/views/tasks/index.html.erb:10:in `block in _app_views_tasks_index_html_erb__1366794888871406321_70258520543440' +app/views/tasks/index.html.erb:8:in `each' +app/views/tasks/index.html.erb:8:in `_app_views_tasks_index_html_erb__1366794888871406321_70258520543440' +Started GET "/tasks" for 127.0.0.1 at 2017-09-18 15:53:02 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.6ms) +Completed 500 Internal Server Error in 5ms + + + +SyntaxError (/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:10: syntax error, unexpected ',', expecting ')' +append=(link_to(task[:thing]), task_path(task[:id]));@output + ^): + +app/views/tasks/index.html.erb:10: syntax error, unexpected ',', expecting ')' +append=(link_to(task[:thing]), task_path(task[:id]));@output +Started GET "/tasks" for 127.0.0.1 at 2017-09-18 15:53:10 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.6ms) +Completed 500 Internal Server Error in 6ms + + + +SyntaxError (/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:10: syntax error, unexpected ',', expecting ')' +append=(link_to(task[:thing]), task_path(task[:id]));@output + ^): + +app/views/tasks/index.html.erb:10: syntax error, unexpected ',', expecting ')' +append=(link_to(task[:thing]), task_path(task[:id]));@output +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-18 15:57:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} +Completed 500 Internal Server Error in 1ms + + + +NoMethodError (undefined method `each' for nil:NilClass): + +app/controllers/tasks_controller.rb:14:in `show' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-18 15:58:00 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.3ms) +Completed 200 OK in 15ms (Views: 13.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-18 15:58:11 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.6ms) +Completed 500 Internal Server Error in 5ms + + + +SyntaxError (/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:10: syntax error, unexpected ',', expecting ')' +ppend=( link_to(task[:thing]), task_path(task[:id]));@output + ^): + +app/views/tasks/index.html.erb:10: syntax error, unexpected ',', expecting ')' +Started GET "/tasks" for 127.0.0.1 at 2017-09-18 15:58:42 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.6ms) +Completed 500 Internal Server Error in 5ms + + + +SyntaxError (/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:11: syntax error, unexpected ',', expecting ')' +ppend=( link_to(task[:thing]), task_path(task[:id]));@output + ^): + +app/views/tasks/index.html.erb:11: syntax error, unexpected ',', expecting ')' +Started GET "/tasks" for 127.0.0.1 at 2017-09-18 15:58:54 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.5ms) +Completed 200 OK in 13ms (Views: 11.8ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-18 15:59:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.4ms) +Completed 200 OK in 14ms (Views: 12.9ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-18 15:59:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.5ms) +Completed 200 OK in 17ms (Views: 15.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-18 15:59:37 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.3ms) +Completed 200 OK in 23ms (Views: 21.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-18 16:02:08 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 500 Internal Server Error in 6ms + + + +SyntaxError (/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/show.html.erb:4: syntax error, unexpected ',', expecting ')' +ppend=( link_to(task[:thing]), task_path(task[:id])); + ^): + +app/views/tasks/show.html.erb:4: syntax error, unexpected ',', expecting ')' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-18 16:03:00 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (155.0ms) +Completed 500 Internal Server Error in 160ms + + + +ActionView::Template::Error (undefined local variable or method `task' for #<#:0x007fccadf885a0> +Did you mean? @task): + 2:

Find me in app/views/tasks/show.html.erb

+ 3: + 4:

+ 5: <%=task[:id]%>.%><%= task[:thing]%> + 6:

+ +app/views/tasks/show.html.erb:5:in `_app_views_tasks_show_html_erb___228590560393711666_70258534402040' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-18 16:05:47 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (176.9ms) +Completed 500 Internal Server Error in 183ms + + + +ActionView::Template::Error (undefined local variable or method `task' for #<#:0x007fccb2e5a2f0> +Did you mean? @task): + 2:

Find me in app/views/tasks/show.html.erb

+ 3: + 4:

+ 5: <%=task[:id]%>.%><%= task[:thing]%> + 6:

+ +app/views/tasks/show.html.erb:5:in `_app_views_tasks_show_html_erb___228590560393711666_70258575590920' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-18 16:08:12 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.3ms) +Completed 200 OK in 13ms (Views: 11.1ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:08:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.6ms) +Completed 200 OK in 13ms (Views: 11.6ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:09:07 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.8ms) +Completed 200 OK in 16ms (Views: 14.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:09:08 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.4ms) +Completed 200 OK in 13ms (Views: 11.8ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:11:33 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (2.0ms) +Completed 500 Internal Server Error in 7ms + + + +ActionView::Template::Error (no implicit conversion of Symbol into Integer): + 15: + 16: + 17:

+ 20: + 21: + +app/views/tasks/index.html.erb:18:in `[]' +app/views/tasks/index.html.erb:18:in `_app_views_tasks_index_html_erb__1366794888871406321_70258602007640' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-18 16:14:40 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.3ms) +Completed 200 OK in 14ms (Views: 12.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-18 16:14:42 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.7ms) +Completed 500 Internal Server Error in 5ms + + + +SyntaxError (/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:11: syntax error, unexpected ',', expecting ')' +task[:thing], task_path[:id]), alt: 'link to' );@output_buff + ^ +/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:18: syntax error, unexpected ']', expecting ')' +Delete", delete_task_path(:id], method: delete );@output_buf + ^): + +app/views/tasks/index.html.erb:11: syntax error, unexpected ',', expecting ')' +app/views/tasks/index.html.erb:18: syntax error, unexpected ']', expecting ')' +Started GET "/tasks" for 127.0.0.1 at 2017-09-18 16:15:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.6ms) +Completed 500 Internal Server Error in 6ms + + + +SyntaxError (/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:18: syntax error, unexpected ']', expecting ')' +Delete", delete_task_path(:id], method: delete );@output_buf + ^): + +app/views/tasks/index.html.erb:18: syntax error, unexpected ']', expecting ')' +Started GET "/tasks" for 127.0.0.1 at 2017-09-18 16:15:39 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.8ms) +Completed 500 Internal Server Error in 6ms + + + +SyntaxError (/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:18: syntax error, unexpected ']', expecting ')' +Delete", delete_task_path(:id], method: delete );@output_buf + ^): + +app/views/tasks/index.html.erb:18: syntax error, unexpected ']', expecting ')' +Started GET "/tasks" for 127.0.0.1 at 2017-09-18 16:15:46 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.7ms) +Completed 200 OK in 16ms (Views: 14.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-18 16:15:48 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 17ms (Views: 14.7ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-18 16:15:50 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"2"} + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.4ms) +Completed 200 OK in 16ms (Views: 13.7ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-18 16:16:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.0ms) +Completed 500 Internal Server Error in 6ms + + + +SyntaxError (/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:16: syntax error, unexpected keyword_end, expecting ')' +'.freeze; end + ^ +/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:32: syntax error, unexpected keyword_ensure, expecting ')' + ensure + ^ +/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:34: syntax error, unexpected keyword_end, expecting ')' + end + ^): + +app/views/tasks/index.html.erb:16: syntax error, unexpected keyword_end, expecting ')' +app/views/tasks/index.html.erb:32: syntax error, unexpected keyword_ensure, expecting ')' +app/views/tasks/index.html.erb:34: syntax error, unexpected keyword_end, expecting ')' +Started GET "/tasks" for 127.0.0.1 at 2017-09-18 16:17:44 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 17ms (Views: 15.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-18 16:18:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.6ms) +Completed 500 Internal Server Error in 6ms + + + +SyntaxError (/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:15: syntax error, unexpected tIDENTIFIER, expecting ')' +(link_to "Edit" edit_task_path(task[:id]), method: :patch);@ + ^ +/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:15: syntax error, unexpected ',', expecting ')' +it" edit_task_path(task[:id]), method: :patch);@output_buffe + ^): + +app/views/tasks/index.html.erb:15: syntax error, unexpected tIDENTIFIER, expecting ')' +app/views/tasks/index.html.erb:15: syntax error, unexpected ',', expecting ')' +Started GET "/tasks" for 127.0.0.1 at 2017-09-18 16:18:41 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 15ms (Views: 13.7ms) + + +Started PATCH "/tasks/1/edit" for 127.0.0.1 at 2017-09-18 16:18:42 -0700 + +ActionController::RoutingError (No route matches [PATCH] "/tasks/1/edit"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/books/1" for 127.0.0.1 at 2017-09-18 16:20:15 -0700 + +ActionController::RoutingError (No route matches [GET] "/books/1"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:20:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 14ms (Views: 12.8ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-18 16:20:26 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.5ms) +Completed 200 OK in 17ms (Views: 14.0ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:21:03 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 15ms (Views: 13.1ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:23:42 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 19ms (Views: 17.7ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:23:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 21ms (Views: 19.6ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:24:15 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 20ms (Views: 18.4ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:24:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 16ms (Views: 14.7ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-18 16:24:28 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.3ms) +Completed 200 OK in 17ms (Views: 14.9ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:24:46 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 29ms (Views: 27.7ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-18 16:24:47 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.5ms) +Completed 200 OK in 18ms (Views: 15.8ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:25:02 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 19ms (Views: 17.7ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:25:11 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 20ms (Views: 18.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:25:22 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 21ms (Views: 19.1ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:25:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 20ms (Views: 18.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:25:34 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 21ms (Views: 18.8ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:25:55 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 19ms (Views: 17.5ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:26:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 19ms (Views: 17.0ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:26:15 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 20ms (Views: 18.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:26:50 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 20ms (Views: 18.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:26:58 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 21ms (Views: 18.7ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:27:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 21ms (Views: 19.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:27:15 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 20ms (Views: 18.6ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:27:57 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 16ms (Views: 14.1ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:28:10 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 22ms (Views: 19.6ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:28:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 18ms (Views: 16.5ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:29:20 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 20ms (Views: 18.7ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:29:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 18ms (Views: 16.6ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:30:21 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 21ms (Views: 19.1ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:30:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 21ms (Views: 19.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:30:33 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 21ms (Views: 18.9ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:30:39 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 20ms (Views: 17.9ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:30:43 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 21ms (Views: 19.6ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:30:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 21ms (Views: 19.7ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:32:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 21ms (Views: 19.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:32:42 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 20ms (Views: 18.1ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:32:43 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 15ms (Views: 13.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:32:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 15ms (Views: 13.5ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:33:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 15ms (Views: 13.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:33:43 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 20ms (Views: 18.5ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:33:53 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 20ms (Views: 17.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:34:20 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 21ms (Views: 18.8ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:34:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 21ms (Views: 19.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:34:53 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 20ms (Views: 18.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:34:58 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 22ms (Views: 20.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:35:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 19ms (Views: 17.6ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:35:15 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 28ms (Views: 26.4ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-18 16:35:17 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.3ms) +Completed 200 OK in 18ms (Views: 16.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:35:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 20ms (Views: 17.5ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:35:35 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 20ms (Views: 18.0ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:35:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 21ms (Views: 18.8ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:36:02 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 20ms (Views: 18.1ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:36:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 20ms (Views: 18.7ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:36:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 22ms (Views: 19.9ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:36:39 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 20ms (Views: 18.5ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:37:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 21ms (Views: 19.6ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:37:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 22ms (Views: 20.1ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:37:38 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 21ms (Views: 18.9ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:38:01 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (7.7ms) +Completed 200 OK in 26ms (Views: 24.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:38:13 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 21ms (Views: 19.8ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:39:31 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 15ms (Views: 13.7ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:39:59 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 15ms (Views: 13.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-18 16:40:26 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.3ms) +Completed 200 OK in 18ms (Views: 16.6ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:40:31 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 16ms (Views: 14.5ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:40:59 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.8ms) +Completed 500 Internal Server Error in 6ms + + + +SyntaxError (/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:12: syntax error, unexpected '=' +:id]), method: :delete, class="link" );@output_buffer.safe_a + ^ +/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:14: syntax error, unexpected '=' +[:id]), method: :patch, class="link" );@output_buffer.safe_a + ^): + +app/views/tasks/index.html.erb:12: syntax error, unexpected '=' +app/views/tasks/index.html.erb:14: syntax error, unexpected '=' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:41:11 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (7.5ms) +Completed 200 OK in 22ms (Views: 20.4ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:41:54 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 20ms (Views: 18.8ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:42:02 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 22ms (Views: 20.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:42:11 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 20ms (Views: 18.7ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:42:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 15ms (Views: 13.7ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:42:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 20ms (Views: 18.0ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:42:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 20ms (Views: 18.4ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:43:01 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 19ms (Views: 17.7ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:43:11 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 20ms (Views: 18.5ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:44:22 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 21ms (Views: 18.9ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:44:31 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 20ms (Views: 18.0ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:44:56 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 27ms (Views: 25.6ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:50:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 19ms (Views: 17.4ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:50:07 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 15ms (Views: 13.9ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:50:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 21ms (Views: 18.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:50:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 15ms (Views: 13.8ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:50:40 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 15ms (Views: 13.7ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:50:54 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 20ms (Views: 17.9ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:51:12 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 21ms (Views: 19.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:51:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 20ms (Views: 18.5ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:51:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 21ms (Views: 18.8ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-18 16:51:38 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.4ms) +Completed 200 OK in 19ms (Views: 16.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:52:01 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 19ms (Views: 17.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:52:09 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 26ms (Views: 23.9ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:52:13 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 19ms (Views: 17.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:52:17 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 19ms (Views: 17.1ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:52:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 20ms (Views: 17.7ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:53:18 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 19ms (Views: 16.8ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:53:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 19ms (Views: 17.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:53:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 16ms (Views: 13.7ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:53:38 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 17ms (Views: 15.5ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:54:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 15ms (Views: 13.8ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:54:54 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 22ms (Views: 20.0ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:54:58 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 20ms (Views: 18.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:55:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 19ms (Views: 17.8ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:55:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 28ms (Views: 26.4ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:55:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 20ms (Views: 17.6ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:55:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 23ms (Views: 21.4ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-18 16:56:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 20ms (Views: 18.9ms) + + +Started GET "/" for 127.0.0.1 at 2017-09-19 08:29:15 -0700 +Processing by Rails::WelcomeController#index as HTML + Rendering /Users/canaan/.rvm/gems/ruby-2.4.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb + Rendered /Users/canaan/.rvm/gems/ruby-2.4.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb (5.7ms) +Completed 200 OK in 279ms (Views: 13.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 08:29:35 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 360ms (Views: 357.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 08:30:01 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 33ms (Views: 30.8ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 08:30:12 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 36ms (Views: 34.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 08:30:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 35ms (Views: 32.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 08:30:43 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 34ms (Views: 31.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 08:31:17 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 37ms (Views: 34.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 08:31:29 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 36ms (Views: 33.8ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 08:31:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 28ms (Views: 26.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 08:31:35 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 36ms (Views: 34.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 08:31:40 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 36ms (Views: 33.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 08:31:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 38ms (Views: 34.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 08:33:34 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 35ms (Views: 31.8ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 08:33:41 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 45ms (Views: 41.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 08:33:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 43ms (Views: 41.0ms) + + diff --git a/package.json b/package.json new file mode 100644 index 000000000..f9cbc5515 --- /dev/null +++ b/package.json @@ -0,0 +1,5 @@ +{ + "name": "TaskList", + "private": true, + "dependencies": {} +} diff --git a/public/404.html b/public/404.html new file mode 100644 index 000000000..2be3af26f --- /dev/null +++ b/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/public/422.html b/public/422.html new file mode 100644 index 000000000..c08eac0d1 --- /dev/null +++ b/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/public/500.html b/public/500.html new file mode 100644 index 000000000..78a030af2 --- /dev/null +++ b/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/public/apple-touch-icon-precomposed.png b/public/apple-touch-icon-precomposed.png new file mode 100644 index 000000000..e69de29bb diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png new file mode 100644 index 000000000..e69de29bb diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 000000000..e69de29bb diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 000000000..37b576a4a --- /dev/null +++ b/public/robots.txt @@ -0,0 +1 @@ +# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file diff --git a/test/application_system_test_case.rb b/test/application_system_test_case.rb new file mode 100644 index 000000000..d19212abd --- /dev/null +++ b/test/application_system_test_case.rb @@ -0,0 +1,5 @@ +require "test_helper" + +class ApplicationSystemTestCase < ActionDispatch::SystemTestCase + driven_by :selenium, using: :chrome, screen_size: [1400, 1400] +end diff --git a/test/controllers/.keep b/test/controllers/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/test/controllers/tasks_controller_test.rb b/test/controllers/tasks_controller_test.rb new file mode 100644 index 000000000..72ee29b6f --- /dev/null +++ b/test/controllers/tasks_controller_test.rb @@ -0,0 +1,34 @@ +require 'test_helper' + +class TasksControllerTest < ActionDispatch::IntegrationTest + test "should get index" do + get tasks_index_url + assert_response :success + end + + test "should get show" do + get tasks_show_url + assert_response :success + end + + test "should get create" do + get tasks_create_url + assert_response :success + end + + test "should get update" do + get tasks_update_url + assert_response :success + end + + test "should get destroy" do + get tasks_destroy_url + assert_response :success + end + + test "should get edit" do + get tasks_edit_url + assert_response :success + end + +end diff --git a/test/fixtures/.keep b/test/fixtures/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/test/fixtures/files/.keep b/test/fixtures/files/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/test/helpers/.keep b/test/helpers/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/test/integration/.keep b/test/integration/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/test/mailers/.keep b/test/mailers/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/test/models/.keep b/test/models/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/test/system/.keep b/test/system/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/test/test_helper.rb b/test/test_helper.rb new file mode 100644 index 000000000..e3c4ff0b8 --- /dev/null +++ b/test/test_helper.rb @@ -0,0 +1,9 @@ +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/vendor/.keep b/vendor/.keep new file mode 100644 index 000000000..e69de29bb From 3f374c7f7237c5a40fbc063455d09c7dcc00d833 Mon Sep 17 00:00:00 2001 From: Canaan West Date: Fri, 22 Sep 2017 15:54:17 -0700 Subject: [PATCH 2/3] forgot to commit oops --- app/assets/images/to_to_pic.jpg | Bin 0 -> 32906 bytes app/assets/stylesheets/application.css | 147 +- app/controllers/tasks_controller.rb | 54 +- app/models/task.rb | 2 + app/views/tasks/_form.html.erb | 13 + app/views/tasks/edit.html.erb | 11 +- app/views/tasks/index.html.erb | 63 +- app/views/tasks/mark_unmark.html.erb | 1 + app/views/tasks/new.html.erb | 8 +- app/views/tasks/show.html.erb | 24 +- config/routes.rb | 12 +- db/migrate/20170919220445_create_tasks.rb | 11 + db/migrate/20170919231145_add_status.rb | 5 + db/migrate/20170922200959_completion_date.rb | 5 + db/schema.rb | 12 +- log/development.log | 15818 +++++++++++++++++ test/fixtures/tasks.yml | 11 + test/models/task_test.rb | 7 + 18 files changed, 16140 insertions(+), 64 deletions(-) create mode 100644 app/assets/images/to_to_pic.jpg create mode 100644 app/models/task.rb create mode 100644 app/views/tasks/_form.html.erb create mode 100644 app/views/tasks/mark_unmark.html.erb create mode 100644 db/migrate/20170919220445_create_tasks.rb create mode 100644 db/migrate/20170919231145_add_status.rb create mode 100644 db/migrate/20170922200959_completion_date.rb create mode 100644 test/fixtures/tasks.yml create mode 100644 test/models/task_test.rb diff --git a/app/assets/images/to_to_pic.jpg b/app/assets/images/to_to_pic.jpg new file mode 100644 index 0000000000000000000000000000000000000000..bb8e6d6dfd5e3f916f2a1b38f6a514c30e746e5f GIT binary patch literal 32906 zcmb4qV|XS@(C8aG8{4++jcwaDH`ruj+qP{d8#~$9wr$<)IiK!x@1L({x}QdMRrPe& zOm|hy=hEjE06|hzLKFZ51ONbiU4YM3fDiy26bu{;6dW8390CFy5*h&-8VU*;1^yc> z0y+u?2098F8Wt`oJ{C4H4jLK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Ebqa-6-CM@v)SRCNBL!WNKf>V1 zP7{I(z1|2N=t2r(yP)r}N|RW~35U2&llar3g4*oHs28rQ`}3^}rRygP;Pk93S^*x_ zdttB$jPilnQVa!W<$M!PsMT{=Uz~=E?)HnY-h@;hYo$EzAS|SnP6d;OWvO^xr+r74 z(9<(4d%tt{Bu>>c8Lge(EX$PiqNCL&6dHXI^BMlVqM!!ncP&cNhh996idX~K!oX< z&=&_7q7_ixEp~WvG|M(TwiR-!e@%VhU3e)l8CfXg0n>FTEDgm@dG=?LekHBEq^6~* zgj`zZaGY%_6u%1Z@fVjUmLv$7H7pHds|%J|IaByDC<|}WpUrH&(f!on*^10C4Lx`f;HmBsVfY^gBDMLj<8qTtyvI_iCHwY>7ZL%z mve;1&S%vCX4}SsmQq>n)F<&{7>_jH9VbneT0(QUsUHd;1qJrlD literal 0 HcmV?d00001 diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index fa7de6147..30fc9e8c9 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -14,22 +14,40 @@ *= require_self */ +@import url('https://fonts.googleapis.com/css?family=Indie+Flower'); + body { position: relative; + font-family: Indie Flower; + background-color: #A2A79E; + color: white; + box-sizing: content-box; +} + +body :nth-child(n) { + overflow: hidden; +} + +#work { + width: 40%; + height: 50%; + padding: 0; } a { text-decoration: none; + color: white; } header { position: fixed; - height: 5vw; + height: 6vw; width: 100%; top: 0; left: 0; - border: solid 1px black; - background: black; + background: #A27E8E; + background: #607fb2; + z-index: 1; } .header { @@ -37,47 +55,97 @@ header { position: fixed; top: 0; font-size: 3vw; + z-index: 2; } main { + position: relative; margin: 10vw; } +/*navigation section*/ +#navigate { + display: inline-block; + vertical-align: top; + width: 40%; + padding: 2vw; + margin: 1.5vw; + position: relative; + min-width: 250px; +} + +.image { + width: 100%; + margin-bottom: 0; + padding-bottom: 0; +} + + + #nonspecific_links ul{ + list-style: none; + text-align: center; + margin: 0; + padding: 0; + + } + + #nonspecific_links li{ + display: inline; + } + + + +/*list section*/ + .list h2 { text-align: center; - border-bottom: solid 1px black; + font-size: 2em; + margin-bottom: 0; } .list { - position: relative; - left: 30vw; - top: 10vw; display: inline-block; - width: 40vw; - border: solid 1px black; + width: 40%; border-radius: 10px; - line-height: 3vw; + background: #A77464; + min-width: 250px; + padding: 2vw; + margin: 1.5vw; + background: #9b5415; + opacity: .85; + border: solid black 2px; } - .list .link { - padding-left: .5vw; - border-left: solid 1px black; + .list .incomplete { + text-transform: uppercase; } - .nonspecific_links { - display: inline-block; - position: relative; - right: 40vw; - border: solid 1px black; - border-radius: 10px; - text-align: center; - padding-right: 5vw; - margin: 5vw; + .list .complete { + text-decoration: line-through; } - .nonspecific_links ul{ + + .list ul { list-style: none; - } + padding: 1vw; + } + + .item { + border-top: black solid 1px; + padding: 1vw; + padding-top: 0vw; + } + + .list .button { + font-size: .6em; + + } + + .task_name { + font-size: 1.3em; + + } + footer { position: fixed; @@ -85,8 +153,35 @@ footer { left: 0; width: 100%; height: 5vw; - border: black solid 1px; text-align: center; color: white; - background-color: black; + background: #A27E8E; + background: #607fb2; +} + +.green { + color: green; + background: #d6e4f9; +} + +.orange { + color: orange; + + background: #d6e4f9; +} + +ol { + list-style: none; +} + + +.button { + border: 1px white solid; + border-radius: 10px; + display: inline-block; + padding: 1vw; +} + +.button:hover{ + text-transform: uppercase; } diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb index 7d01bfaf2..1a447add7 100644 --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -1,35 +1,71 @@ class TasksController < ApplicationController #write a list of tasks in a hash - TASKS =[{id: 1, thing:"Go for a walk"}, {id: 2, thing:"groceries"}, {id: 3, thing:"Do this task builder project"}, {id: 4, thing:"lightening talk"}] + # TASKS =[{id: 1, thing:"Go for a walk", status: "incomplete"}, {id: 2, thing:"groceries", status: "incomplete"}, {id: 3, thing:"Do this task builder project", status: "incomplete"}, {id: 4, thing:"lightening talk", status: "incomplete"}] #write an index function that returns def index - @tasks = TASKS + @tasks = Task.all.order(:id) end def show - # id = params[:id].to_i - # @task = nil - # TASKS.each do |task| - # if task[:id] == id - # @task = task - # end - # end + @task = Task.find(params[:id].to_i) end def create + @task = Task.new(name: params[:task][:name], description:params[:task][:description], due:params[:task][:due], status: "incomplete") + @task.save + + if @task.save + redirect_to root_path + else + render :new + end end def update + task = Task.find_by(id: params[:id].to_i) + + redirect_to tasks_path unless task + + if task.update_attributes task_params + redirect_to task_path(task.id) + else + render :edit + end + end def destroy + @task = Task.find_by(id: params[:id].to_i) + @task.destroy + redirect_to root_path end def edit + @task = Task.find_by(id: params[:id].to_i) end def new + @task = Task.new end + + def mark_unmark + @task = Task.find(params[:id].to_i) + if @task.status == "incomplete" + @task.status = "complete" + @task.completion_date = DateTime.now + else + @task.status = "incomplete" + @task.completion_date = nil; + end + @task.save + redirect_to tasks_path + end +end + +private + +def task_params + return params.require(:task).permit(:name, :description, :due) end diff --git a/app/models/task.rb b/app/models/task.rb new file mode 100644 index 000000000..3c2342421 --- /dev/null +++ b/app/models/task.rb @@ -0,0 +1,2 @@ +class Task < ApplicationRecord +end diff --git a/app/views/tasks/_form.html.erb b/app/views/tasks/_form.html.erb new file mode 100644 index 000000000..240888bd9 --- /dev/null +++ b/app/views/tasks/_form.html.erb @@ -0,0 +1,13 @@ + +<%= form_for @task do |f| %> + <%= f.label :name %> + <%= f.text_field :name %> + + <%= f.label :description %> + <%= f.text_field :description %> + + <%= f.label :due %> + <%= f.date_field :due %> + + <%= f.submit action_name %> +<%end%> diff --git a/app/views/tasks/edit.html.erb b/app/views/tasks/edit.html.erb index 374190308..d012a7de6 100644 --- a/app/views/tasks/edit.html.erb +++ b/app/views/tasks/edit.html.erb @@ -1,2 +1,9 @@ -

Tasks#edit

-

Find me in app/views/tasks/edit.html.erb

+

Edit This Task!

+ +<%= render partial: "form", locals: {button_name: "Edit this Book!!!!"}%> + + + +

+ Lost? Go <%= link_to("BACK TO HOME", root_path) %> +

diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb index 0377532dd..829bc0210 100644 --- a/app/views/tasks/index.html.erb +++ b/app/views/tasks/index.html.erb @@ -1,33 +1,60 @@ <%# In this space, I am going to write code that will generate HTML. The point of this is to write ruby code that will show up on the web page%> -

Tasks

+

Performance Anxiety

+ + +
-

Your Tasks

+

TO DO

    + <% i = 1;%> <% @tasks.each do |task| %> -
  1. - <%= link_to(task[:thing], task_path(task[:id]), alt: 'link to') %> + <% task.status == "complete" ? @status = "complete" : @status = "incomplete" %> +
  2. +
      +
    • + <%= i %>. <%= link_to(task.name, task_path(task.id), alt: 'link to', class:"task_name") %> +
    • +
    • + Due: <%= link_to task.due, class:"button" %> +
    • +
    • + <%= link_to task.status, mark_unmark_status_path(task.id), method: :patch, class:"button"%> + + <%=link_to("Delete", delete_task_path(task.id), method: :delete, data: {confirm: "Are you sure you want to delete this?"}, class:"button") %> + + <%=link_to "Edit", edit_task_path(task.id), class:"button" %> - <%=link_to "Delete", delete_task_path(task[:id]), method: :delete, class:"link" %> + <% if task.completion_date? %> + <% @on_time = "green" if task.completion_date <= task.due%> + <% @on_time = "orange" if task.completion_date > task.due%> - <%=link_to "Edit", edit_task_path(task[:id]), method: :patch, class:"link" %> -
    • +
    • + Completed on: <%= task.completion_date%> +
    • + <%end%> + + +
    +
  3. + <% i += 1 %> <%end %>
- diff --git a/app/views/tasks/mark_unmark.html.erb b/app/views/tasks/mark_unmark.html.erb new file mode 100644 index 000000000..06a2c689c --- /dev/null +++ b/app/views/tasks/mark_unmark.html.erb @@ -0,0 +1 @@ +

MARK OR UNMARK

diff --git a/app/views/tasks/new.html.erb b/app/views/tasks/new.html.erb index a51a3129d..0be039aa8 100644 --- a/app/views/tasks/new.html.erb +++ b/app/views/tasks/new.html.erb @@ -1,2 +1,6 @@ -

Tasks#new

-

Find me in app/views/tasks/index.html.erb

+

Create a Task!

+<%= render partial: "form", locals: {action_name: "NEW!"}%> + +

+ Lost? Go <%= link_to("BACK TO HOME", root_path) %> +

diff --git a/app/views/tasks/show.html.erb b/app/views/tasks/show.html.erb index 1139224db..46606862c 100644 --- a/app/views/tasks/show.html.erb +++ b/app/views/tasks/show.html.erb @@ -1,2 +1,22 @@ -

Tasks#show

-

Find me in app/views/tasks/show.html.erb

+

To Do: <%= @task.name %>

+
    +
  • + <%= @task.description %> +
  • +
  • + Due: <%= @task.due %> +
  • +
  • + Status: <%= @task.status %> +
  • +
+ +
    +
  • + <%= link_to "Edit", edit_task_path(@task.id) %> + +
  • +
  • + <%= link_to "List", root_path %> +
  • +
diff --git a/config/routes.rb b/config/routes.rb index 66d592a2e..753db7307 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,17 +1,21 @@ Rails.application.routes.draw do + root to: 'tasks#index' + get '/tasks', to: 'tasks#index' , as:'tasks' #tasks_path get 'tasks/:id/edit', to: "tasks#edit" , as: 'edit_task' #edit_task_path - get 'tasks/new', to: 'tasks#new', as: 'new_book' #new_book_path + get 'tasks/new', to: 'tasks#new', as: 'new_task' #new_book_path get 'tasks/:id', to: 'tasks#show', as: 'task' #task_path - patch 'tasks/:id', to: "task#update" , as: 'update_task' #update_task_path + patch 'tasks/:id/mark_unmark', to: 'tasks#mark_unmark', as: 'mark_unmark_status' #mark_unmark_status_path + + patch 'tasks/:id', to: "tasks#update" , as: 'update_task' #update_task_path - post 'tasks/create', to: 'tasks#create', as: 'create_task' #create_task_path + post '/tasks', to: 'tasks#create', as: 'create_task' #create_task_path - delete '/tasks', to: 'tasks#destroy', as: 'delete_task' #delete_task_path + delete 'tasks/:id/destroy', to: 'tasks#destroy', as: 'delete_task' #delete_task_path diff --git a/db/migrate/20170919220445_create_tasks.rb b/db/migrate/20170919220445_create_tasks.rb new file mode 100644 index 000000000..b18058801 --- /dev/null +++ b/db/migrate/20170919220445_create_tasks.rb @@ -0,0 +1,11 @@ +class CreateTasks < ActiveRecord::Migration[5.1] + def change + create_table :tasks do |t| + t.string :name + t.string :description + t.date :due + + t.timestamps + end + end +end diff --git a/db/migrate/20170919231145_add_status.rb b/db/migrate/20170919231145_add_status.rb new file mode 100644 index 000000000..064fa35a8 --- /dev/null +++ b/db/migrate/20170919231145_add_status.rb @@ -0,0 +1,5 @@ +class AddStatus < ActiveRecord::Migration[5.1] + def change + add_column( :tasks, :status, :string) + end +end diff --git a/db/migrate/20170922200959_completion_date.rb b/db/migrate/20170922200959_completion_date.rb new file mode 100644 index 000000000..fb1500517 --- /dev/null +++ b/db/migrate/20170922200959_completion_date.rb @@ -0,0 +1,5 @@ +class CompletionDate < ActiveRecord::Migration[5.1] + def change + add_column(:tasks, :completion_date, :date) + end +end diff --git a/db/schema.rb b/db/schema.rb index 2611543b3..acf3b0902 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,9 +10,19 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 0) do +ActiveRecord::Schema.define(version: 20170922200959) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" + create_table "tasks", force: :cascade do |t| + t.string "name" + t.string "description" + t.date "due" + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + t.string "status" + t.date "completion_date" + end + end diff --git a/log/development.log b/log/development.log index 393e62e00..b80336a7e 100644 --- a/log/development.log +++ b/log/development.log @@ -1367,3 +1367,15821 @@ Processing by TasksController#index as HTML Completed 200 OK in 43ms (Views: 41.0ms) +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 09:23:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 327ms (Views: 210.3ms) + + +Started DELETE "/tasks.1" for 127.0.0.1 at 2017-09-19 09:23:59 -0700 +Processing by TasksController#destroy as + Parameters: {"authenticity_token"=>"ULQa/u35lGdZGeu7lK+yUEFeHVrfj/zPtrLxFioc3kaU88rTSAv0WXEzfbMovE4VjR1zr7rwrwSoKodPjHPTfA=="} + Rendering tasks/destroy.html.erb within layouts/application + Rendered tasks/destroy.html.erb within layouts/application (0.3ms) +Completed 200 OK in 35ms (Views: 22.6ms) + + +Started PATCH "/tasks/4/edit" for 127.0.0.1 at 2017-09-19 09:24:04 -0700 + +ActionController::RoutingError (No route matches [PATCH] "/tasks/4/edit"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started DELETE "/tasks.4" for 127.0.0.1 at 2017-09-19 09:24:07 -0700 +Processing by TasksController#destroy as + Parameters: {"authenticity_token"=>"ULQa/u35lGdZGeu7lK+yUEFeHVrfj/zPtrLxFioc3kaU88rTSAv0WXEzfbMovE4VjR1zr7rwrwSoKodPjHPTfA=="} + Rendering tasks/destroy.html.erb within layouts/application + Rendered tasks/destroy.html.erb within layouts/application (0.6ms) +Completed 200 OK in 34ms (Views: 23.5ms) + + +Started PATCH "/tasks/3/edit" for 127.0.0.1 at 2017-09-19 09:24:10 -0700 + +ActionController::RoutingError (No route matches [PATCH] "/tasks/3/edit"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 09:31:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 296ms (Views: 175.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 09:31:34 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 16ms (Views: 14.4ms) + + +  (0.2ms) SELECT pg_try_advisory_lock(4169262226251541860) +  (7.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Migrating to CreateTasks (20170919220445) +  (0.2ms) BEGIN +  (30.7ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "due" date, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170919220445"]] +  (0.6ms) COMMIT + ActiveRecord::InternalMetadata Load (1.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.3ms) SELECT pg_advisory_unlock(4169262226251541860) +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) BEGIN + SQL (0.8ms) INSERT INTO "tasks" ("name", "description", "due", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "homework"], ["description", "what's on the list for Ada"], ["due", "2017-09-20"], ["created_at", "2017-09-19 22:18:16.875462"], ["updated_at", "2017-09-19 22:18:16.875462"]] +  (5.6ms) COMMIT + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" LIMIT $1 [["LIMIT", 11]] +  (0.3ms) BEGIN + SQL (0.4ms) INSERT INTO "tasks" ("name", "description", "due", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Room"], ["description", "Clean ur room you slob"], ["due", "2017-09-21"], ["created_at", "2017-09-19 22:19:27.903091"], ["updated_at", "2017-09-19 22:19:27.903091"]] +  (1.2ms) COMMIT +  (0.2ms) BEGIN + SQL (0.4ms) INSERT INTO "tasks" ("name", "description", "due", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Grokking Algorithms"], ["description", "read a chapter"], ["due", "2017-09-21"], ["created_at", "2017-09-19 22:20:19.515929"], ["updated_at", "2017-09-19 22:20:19.515929"]] +  (0.4ms) COMMIT + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" LIMIT $1 [["LIMIT", 11]] +Started GET "/books/" for 127.0.0.1 at 2017-09-19 15:21:13 -0700 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + +ActionController::RoutingError (No route matches [GET] "/books"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/" for 127.0.0.1 at 2017-09-19 15:21:17 -0700 +Processing by Rails::WelcomeController#index as HTML + Rendering /Users/canaan/.rvm/gems/ruby-2.4.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb + Rendered /Users/canaan/.rvm/gems/ruby-2.4.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb (3.3ms) +Completed 200 OK in 9ms (Views: 5.7ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-09-19 15:21:28 -0700 +Processing by Rails::WelcomeController#index as HTML + Rendering /Users/canaan/.rvm/gems/ruby-2.4.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb + Rendered /Users/canaan/.rvm/gems/ruby-2.4.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb (3.3ms) +Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:21:31 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (12.0ms) +Completed 200 OK in 209ms (Views: 199.6ms | ActiveRecord: 4.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-19 15:21:36 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.3ms) +Completed 200 OK in 16ms (Views: 12.7ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:22:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 17ms (Views: 15.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:45:46 -0700 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (11.6ms) +Completed 200 OK in 185ms (Views: 169.2ms | ActiveRecord: 3.6ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-19 15:46:54 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.3ms) +Completed 200 OK in 27ms (Views: 25.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:46:57 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (12.4ms) +Completed 200 OK in 27ms (Views: 20.6ms | ActiveRecord: 4.9ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:47:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 42ms (Views: 39.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:48:09 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 34ms (Views: 31.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:48:10 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.6ms) +Completed 200 OK in 30ms (Views: 27.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:48:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 40ms (Views: 36.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:49:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 17ms (Views: 14.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:49:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 17ms (Views: 15.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:49:22 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 22ms (Views: 20.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:49:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 23ms (Views: 21.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:49:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 22ms (Views: 20.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:49:42 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 21ms (Views: 19.3ms | ActiveRecord: 0.2ms) + + + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:50:43 -0700 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (11.3ms) +Completed 200 OK in 199ms (Views: 183.1ms | ActiveRecord: 3.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:50:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (12.9ms) +Completed 200 OK in 38ms (Views: 31.2ms | ActiveRecord: 5.3ms) + + + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:51:36 -0700 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (11.2ms) +Completed 200 OK in 186ms (Views: 169.6ms | ActiveRecord: 3.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:51:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (11.2ms) +Completed 200 OK in 24ms (Views: 18.3ms | ActiveRecord: 4.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:51:39 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 29ms (Views: 27.5ms | ActiveRecord: 0.3ms) + + +Started GET "/" for 127.0.0.1 at 2017-09-19 15:51:43 -0700 +Processing by Rails::WelcomeController#index as HTML + Rendering /Users/canaan/.rvm/gems/ruby-2.4.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb + Rendered /Users/canaan/.rvm/gems/ruby-2.4.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb (2.4ms) +Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:51:48 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 17ms (Views: 15.5ms | ActiveRecord: 0.2ms) + + + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.2ms) BEGIN + SQL (0.6ms) UPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["name", "Homework"], ["updated_at", "2017-09-19 22:52:58.139596"], ["id", 1]] +  (6.3ms) COMMIT +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:53:12 -0700 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (11.0ms) +Completed 200 OK in 196ms (Views: 179.8ms | ActiveRecord: 3.3ms) + + + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 11]] +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:54:11 -0700 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (11.4ms) +Completed 200 OK in 197ms (Views: 179.1ms | ActiveRecord: 3.8ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:54:14 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (12.5ms) +Completed 200 OK in 25ms (Views: 18.3ms | ActiveRecord: 4.9ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:54:16 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (12.8ms) +Completed 200 OK in 30ms (Views: 28.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:56:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 19ms (Views: 17.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:57:16 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 49ms (Views: 46.7ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:57:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 36ms (Views: 33.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:57:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 32ms (Views: 29.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:57:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 22ms (Views: 20.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 15:59:21 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 16ms (Views: 14.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:00:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 18ms (Views: 15.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:00:10 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 18ms (Views: 15.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:06:09 -0700 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (12.8ms) +Completed 200 OK in 220ms (Views: 203.6ms | ActiveRecord: 3.9ms) + + +Started GET "/dont_let_ur_shit.jpg" for 127.0.0.1 at 2017-09-19 16:06:10 -0700 + +ActionController::RoutingError (No route matches [GET] "/dont_let_ur_shit.jpg"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:06:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 22ms (Views: 20.2ms | ActiveRecord: 0.2ms) + + +Started GET "/dont_let_ur_shit.jpg" for 127.0.0.1 at 2017-09-19 16:06:32 -0700 + +ActionController::RoutingError (No route matches [GET] "/dont_let_ur_shit.jpg"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:07:08 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 30ms (Views: 27.8ms | ActiveRecord: 0.2ms) + + +Started GET "/images/dont_let_ur_shit.jpg" for 127.0.0.1 at 2017-09-19 16:07:08 -0700 + +ActionController::RoutingError (No route matches [GET] "/images/dont_let_ur_shit.jpg"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:07:44 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 17ms (Views: 14.9ms | ActiveRecord: 0.2ms) + + +Started GET "/images/dont_let_ur_shit.jpg" for 127.0.0.1 at 2017-09-19 16:07:44 -0700 + +ActionController::RoutingError (No route matches [GET] "/images/dont_let_ur_shit.jpg"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/images/dont_let_ur_shit.jpg" for 127.0.0.1 at 2017-09-19 16:07:58 -0700 + +ActionController::RoutingError (No route matches [GET] "/images/dont_let_ur_shit.jpg"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/images/dont_let_ur_shit.jpg" for 127.0.0.1 at 2017-09-19 16:08:17 -0700 + +ActionController::RoutingError (No route matches [GET] "/images/dont_let_ur_shit.jpg"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/images/dont_let_ur_shit.jpg" for 127.0.0.1 at 2017-09-19 16:08:43 -0700 + +ActionController::RoutingError (No route matches [GET] "/images/dont_let_ur_shit.jpg"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/images/dont_let_ur_shit.jpg" for 127.0.0.1 at 2017-09-19 16:08:44 -0700 + +ActionController::RoutingError (No route matches [GET] "/images/dont_let_ur_shit.jpg"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/images/dont_let_ur_shit.jpg" for 127.0.0.1 at 2017-09-19 16:08:45 -0700 + +ActionController::RoutingError (No route matches [GET] "/images/dont_let_ur_shit.jpg"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/images/dont_let_ur_shit.jpg" for 127.0.0.1 at 2017-09-19 16:08:45 -0700 + +ActionController::RoutingError (No route matches [GET] "/images/dont_let_ur_shit.jpg"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/images/dont_let_ur_shit.jpg" for 127.0.0.1 at 2017-09-19 16:08:46 -0700 + +ActionController::RoutingError (No route matches [GET] "/images/dont_let_ur_shit.jpg"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +  (0.2ms) SELECT pg_try_advisory_lock(4169262226251541860) +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Migrating to AddStatus (20170919231145) +  (0.2ms) BEGIN +  (0.9ms) ALTER TABLE "tasks" ADD "status" character varying + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170919231145"]] +  (6.2ms) COMMIT + ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.2ms) SELECT pg_advisory_unlock(4169262226251541860) +  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" LIMIT $1 [["LIMIT", 11]] + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" +  (0.2ms) BEGIN + SQL (0.6ms) UPDATE "tasks" SET "updated_at" = $1, "status" = $2 WHERE "tasks"."id" = $3 [["updated_at", "2017-09-19 23:22:17.430987"], ["status", "incomplete"], ["id", 2]] +  (1.2ms) COMMIT + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" LIMIT $1 [["LIMIT", 11]] + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" +  (0.2ms) BEGIN + SQL (0.4ms) UPDATE "tasks" SET "updated_at" = $1, "status" = $2 WHERE "tasks"."id" = $3 [["updated_at", "2017-09-19 23:23:34.074552"], ["status", "incomplete"], ["id", 3]] +  (1.1ms) COMMIT + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" LIMIT $1 [["LIMIT", 11]] + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" +  (0.2ms) BEGIN + SQL (0.5ms) UPDATE "tasks" SET "updated_at" = $1, "status" = $2 WHERE "tasks"."id" = $3 [["updated_at", "2017-09-19 23:24:14.128612"], ["status", "incomplete"], ["id", 1]] +  (1.0ms) COMMIT +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:25:12 -0700 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (13.1ms) +Completed 200 OK in 210ms (Views: 193.0ms | ActiveRecord: 4.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:27:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.8ms) +Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:16: syntax error, unexpected tLABEL, expecting '=' +r.append=( task.status, class:"status");@output_buffer.safe_ + ^): + +app/views/tasks/index.html.erb:16: syntax error, unexpected tLABEL, expecting '=' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:27:54 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (13.5ms) +Completed 500 Internal Server Error in 18ms (ActiveRecord: 5.2ms) + + + +ActionView::Template::Error (wrong number of arguments (given 1, expected 0)): + 13: + 14:
  • + 15: <%= task.due %> + 16: <%= task.status class:"status"%> + 17: <%=link_to "Delete", delete_task_path(task.id), method: :delete, class:"link" %> + 18: + 19: <%=link_to "Edit", edit_task_path(task.id), method: :patch, class:"link" %> + +app/views/tasks/index.html.erb:16:in `block in _app_views_tasks_index_html_erb___4429816614695621447_70136105988360' +app/views/tasks/index.html.erb:8:in `_app_views_tasks_index_html_erb___4429816614695621447_70136105988360' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:28:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.8ms) +Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:16: syntax error, unexpected ')', expecting &. or :: or '[' or '.' +( task.status; class:"status");@output_buffer.safe_append=' + ^ +/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:23: syntax error, unexpected keyword_end, expecting ')' +'.freeze; end + ^ +/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:51: syntax error, unexpected keyword_ensure, expecting ')' + ensure + ^ +/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:53: syntax error, unexpected keyword_end, expecting ')' + end + ^): + +app/views/tasks/index.html.erb:16: syntax error, unexpected ')', expecting &. or :: or '[' or '.' +app/views/tasks/index.html.erb:23: syntax error, unexpected keyword_end, expecting ')' +app/views/tasks/index.html.erb:51: syntax error, unexpected keyword_ensure, expecting ')' +app/views/tasks/index.html.erb:53: syntax error, unexpected keyword_end, expecting ')' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:29:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 23ms (Views: 21.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks?class=status" for 127.0.0.1 at 2017-09-19 16:29:02 -0700 +Processing by TasksController#index as HTML + Parameters: {"class"=>"status"} + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 19ms (Views: 16.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks?class=status" for 127.0.0.1 at 2017-09-19 16:29:03 -0700 +Processing by TasksController#index as HTML + Parameters: {"class"=>"status"} + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 18ms (Views: 15.6ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks?class=status" for 127.0.0.1 at 2017-09-19 16:32:02 -0700 +Processing by TasksController#index as HTML + Parameters: {"class"=>"status"} + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (12.2ms) +Completed 200 OK in 32ms (Views: 22.5ms | ActiveRecord: 2.6ms) + + +Started GET "/tasks?class=status" for 127.0.0.1 at 2017-09-19 16:32:04 -0700 +Processing by TasksController#index as HTML + Parameters: {"class"=>"status"} + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 20ms (Views: 17.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks?class=status" for 127.0.0.1 at 2017-09-19 16:34:07 -0700 +Processing by TasksController#index as HTML + Parameters: {"class"=>"status"} + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (11.3ms) +Completed 200 OK in 39ms (Views: 24.9ms | ActiveRecord: 2.5ms) + + +Started GET "/tasks?class=status" for 127.0.0.1 at 2017-09-19 16:34:08 -0700 +Processing by TasksController#index as HTML + Parameters: {"class"=>"status"} + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 20ms (Views: 17.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks?class=status" for 127.0.0.1 at 2017-09-19 16:34:09 -0700 +Processing by TasksController#index as HTML + Parameters: {"class"=>"status"} + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 34ms (Views: 31.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks?class=status" for 127.0.0.1 at 2017-09-19 16:34:10 -0700 +Processing by TasksController#index as HTML + Parameters: {"class"=>"status"} + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 28ms (Views: 26.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks?class=status" for 127.0.0.1 at 2017-09-19 16:35:02 -0700 +Processing by TasksController#index as HTML + Parameters: {"class"=>"status"} + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:23: syntax error, unexpected keyword_end, expecting ')' +'.freeze; end + ^ +/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:51: syntax error, unexpected keyword_ensure, expecting ')' + ensure + ^ +/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:53: syntax error, unexpected keyword_end, expecting ')' + end + ^): + +app/views/tasks/index.html.erb:23: syntax error, unexpected keyword_end, expecting ')' +app/views/tasks/index.html.erb:51: syntax error, unexpected keyword_ensure, expecting ')' +app/views/tasks/index.html.erb:53: syntax error, unexpected keyword_end, expecting ')' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:35:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.9ms) +Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:23: syntax error, unexpected keyword_end, expecting ')' +'.freeze; end + ^ +/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:51: syntax error, unexpected keyword_ensure, expecting ')' + ensure + ^ +/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:53: syntax error, unexpected keyword_end, expecting ')' + end + ^): + +app/views/tasks/index.html.erb:23: syntax error, unexpected keyword_end, expecting ')' +app/views/tasks/index.html.erb:51: syntax error, unexpected keyword_ensure, expecting ')' +app/views/tasks/index.html.erb:53: syntax error, unexpected keyword_end, expecting ')' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:35:58 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.0ms) +Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:23: syntax error, unexpected keyword_end, expecting ')' +'.freeze; end + ^ +/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:51: syntax error, unexpected keyword_ensure, expecting ')' + ensure + ^ +/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:53: syntax error, unexpected keyword_end, expecting ')' + end + ^): + +app/views/tasks/index.html.erb:23: syntax error, unexpected keyword_end, expecting ')' +app/views/tasks/index.html.erb:51: syntax error, unexpected keyword_ensure, expecting ')' +app/views/tasks/index.html.erb:53: syntax error, unexpected keyword_end, expecting ')' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:37:33 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.7ms) +Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:23: syntax error, unexpected keyword_end, expecting ')' +'.freeze; end + ^ +/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:51: syntax error, unexpected keyword_ensure, expecting ')' + ensure + ^ +/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:53: syntax error, unexpected keyword_end, expecting ')' + end + ^): + +app/views/tasks/index.html.erb:23: syntax error, unexpected keyword_end, expecting ')' +app/views/tasks/index.html.erb:51: syntax error, unexpected keyword_ensure, expecting ')' +app/views/tasks/index.html.erb:53: syntax error, unexpected keyword_end, expecting ')' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:38:42 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.7ms) +Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:23: syntax error, unexpected keyword_end, expecting ')' +'.freeze; end + ^ +/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:51: syntax error, unexpected keyword_ensure, expecting ')' + ensure + ^ +/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:53: syntax error, unexpected keyword_end, expecting ')' + end + ^): + +app/views/tasks/index.html.erb:23: syntax error, unexpected keyword_end, expecting ')' +app/views/tasks/index.html.erb:51: syntax error, unexpected keyword_ensure, expecting ')' +app/views/tasks/index.html.erb:53: syntax error, unexpected keyword_end, expecting ')' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:39:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.7ms) +Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/index.html.erb:16: syntax error, unexpected ',', expecting ')' +ath(task.id), method: :patch), class:"status");@output_buffe + ^): + +app/views/tasks/index.html.erb:16: syntax error, unexpected ',', expecting ')' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:40:55 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (10.7ms) +Completed 500 Internal Server Error in 16ms (ActiveRecord: 2.6ms) + + + +ActionView::Template::Error (wrong number of arguments (given 2, expected 0)): + 13:
  • + 14:
  • + 15: <%= task.due %> + 16: <%= link_to task.status mark_unmark_status_path(task.id), method: :patch%> + 17: + 18: <%=link_to "Delete", delete_task_path(task.id), method: :delete, class:"link" %> + 19: + +app/views/tasks/index.html.erb:16:in `block in _app_views_tasks_index_html_erb___4429816614695621447_70136128637840' +app/views/tasks/index.html.erb:8:in `_app_views_tasks_index_html_erb___4429816614695621447_70136128637840' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:41:34 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 17ms (Views: 14.7ms | ActiveRecord: 0.2ms) + + +Started PATCH "/task/2" for 127.0.0.1 at 2017-09-19 16:41:40 -0700 + +ActionController::RoutingError (uninitialized constant TaskController): + +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `const_get' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `block in constantize' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `each' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `inject' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `constantize' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:85:in `controller_class_for' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:78:in `controller_class' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:43:in `controller' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:29:in `serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:38:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +activerecord (5.1.4) lib/active_record/migration.rb:556:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started PATCH "/task/3" for 127.0.0.1 at 2017-09-19 16:41:49 -0700 + +ActionController::RoutingError (uninitialized constant TaskController): + +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `const_get' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `block in constantize' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `each' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `inject' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `constantize' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:85:in `controller_class_for' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:78:in `controller_class' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:43:in `controller' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:29:in `serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:38:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +activerecord (5.1.4) lib/active_record/migration.rb:556:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:42:13 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 17ms (Views: 15.2ms | ActiveRecord: 0.2ms) + + +Started PATCH "/task/2" for 127.0.0.1 at 2017-09-19 16:42:15 -0700 + +ActionController::RoutingError (uninitialized constant TaskController): + +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `const_get' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `block in constantize' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `each' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `inject' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `constantize' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:85:in `controller_class_for' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:78:in `controller_class' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:43:in `controller' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:29:in `serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:38:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +activerecord (5.1.4) lib/active_record/migration.rb:556:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:47:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (6.8ms) +Completed 200 OK in 25ms (Views: 18.3ms | ActiveRecord: 0.2ms) + + +Started PATCH "/task/2" for 127.0.0.1 at 2017-09-19 16:47:06 -0700 + +ActionController::RoutingError (uninitialized constant TaskController): + +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `const_get' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `block in constantize' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `each' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `inject' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `constantize' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:85:in `controller_class_for' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:78:in `controller_class' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:43:in `controller' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:29:in `serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:38:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +activerecord (5.1.4) lib/active_record/migration.rb:556:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:47:53 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (7.3ms) +Completed 200 OK in 28ms (Views: 20.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:47:55 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 17ms (Views: 15.3ms | ActiveRecord: 0.3ms) + + +Started PATCH "/task/2" for 127.0.0.1 at 2017-09-19 16:47:56 -0700 + +ActionController::RoutingError (uninitialized constant TaskController): + +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `const_get' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `block in constantize' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `each' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `inject' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `constantize' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:85:in `controller_class_for' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:78:in `controller_class' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:43:in `controller' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:29:in `serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:38:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +activerecord (5.1.4) lib/active_record/migration.rb:556:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:48:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (10.4ms) +Completed 200 OK in 31ms (Views: 20.0ms | ActiveRecord: 2.9ms) + + +Started PATCH "/task/2" for 127.0.0.1 at 2017-09-19 16:48:24 -0700 + +ActionController::RoutingError (uninitialized constant TaskController): + +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `const_get' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `block in constantize' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `each' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `inject' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `constantize' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:85:in `controller_class_for' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:78:in `controller_class' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:43:in `controller' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:29:in `serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:38:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +activerecord (5.1.4) lib/active_record/migration.rb:556:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:48:46 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (7.9ms) +Completed 200 OK in 29ms (Views: 22.7ms | ActiveRecord: 0.3ms) + + +Started PATCH "/task/2" for 127.0.0.1 at 2017-09-19 16:48:47 -0700 + +ActionController::RoutingError (uninitialized constant TaskController): + +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `const_get' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `block in constantize' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `each' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `inject' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `constantize' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:85:in `controller_class_for' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:78:in `controller_class' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:43:in `controller' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:29:in `serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:38:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +activerecord (5.1.4) lib/active_record/migration.rb:556:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:52:14 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (6.6ms) +Completed 200 OK in 25ms (Views: 18.6ms | ActiveRecord: 0.2ms) + + +Started PATCH "/task/2" for 127.0.0.1 at 2017-09-19 16:52:15 -0700 + +ActionController::RoutingError (uninitialized constant TaskController): + +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `const_get' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `block in constantize' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `each' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `inject' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `constantize' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:85:in `controller_class_for' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:78:in `controller_class' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:43:in `controller' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:29:in `serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:38:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +activerecord (5.1.4) lib/active_record/migration.rb:556:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:52:20 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 16ms (Views: 14.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:52:42 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (12.0ms) +Completed 200 OK in 31ms (Views: 22.4ms | ActiveRecord: 3.3ms) + + +Started PATCH "/task/2" for 127.0.0.1 at 2017-09-19 16:52:43 -0700 + +ActionController::RoutingError (uninitialized constant TaskController): + +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `const_get' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `block in constantize' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `each' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `inject' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `constantize' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:85:in `controller_class_for' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:78:in `controller_class' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:43:in `controller' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:29:in `serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:38:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +activerecord (5.1.4) lib/active_record/migration.rb:556:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started PATCH "/task/3" for 127.0.0.1 at 2017-09-19 16:52:55 -0700 + +ActionController::RoutingError (uninitialized constant TaskController): + +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `const_get' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `block in constantize' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `each' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `inject' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `constantize' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:85:in `controller_class_for' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:78:in `controller_class' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:43:in `controller' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:29:in `serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:38:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +activerecord (5.1.4) lib/active_record/migration.rb:556:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:54:09 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (7.2ms) +Completed 200 OK in 28ms (Views: 18.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:54:11 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 16ms (Views: 14.6ms | ActiveRecord: 0.2ms) + + +Started PATCH "/task/2" for 127.0.0.1 at 2017-09-19 16:54:12 -0700 + +ActionController::RoutingError (uninitialized constant TaskController): + +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `const_get' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `block in constantize' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `each' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `inject' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `constantize' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:85:in `controller_class_for' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:78:in `controller_class' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:43:in `controller' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:29:in `serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:38:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +activerecord (5.1.4) lib/active_record/migration.rb:556:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:55:11 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (10.1ms) +Completed 200 OK in 28ms (Views: 19.9ms | ActiveRecord: 2.6ms) + + +Started PATCH "/task/2" for 127.0.0.1 at 2017-09-19 16:55:13 -0700 + +ActionController::RoutingError (uninitialized constant TaskController): + +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `const_get' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `block in constantize' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `each' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `inject' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `constantize' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:85:in `controller_class_for' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:78:in `controller_class' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:43:in `controller' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:29:in `serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:38:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +activerecord (5.1.4) lib/active_record/migration.rb:556:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-19 16:55:19 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.3ms) +Completed 200 OK in 18ms (Views: 15.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:57:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (14.9ms) +Completed 200 OK in 33ms (Views: 26.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:57:29 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 17ms (Views: 14.5ms | ActiveRecord: 0.2ms) + + +Started PATCH "/task/mark_unmark/2" for 127.0.0.1 at 2017-09-19 16:57:31 -0700 + +ActionController::RoutingError (uninitialized constant TaskController): + +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `const_get' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `block in constantize' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `each' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `inject' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `constantize' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:85:in `controller_class_for' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:78:in `controller_class' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:43:in `controller' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:29:in `serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:38:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +activerecord (5.1.4) lib/active_record/migration.rb:556:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started PATCH "/task/mark_unmark/3" for 127.0.0.1 at 2017-09-19 16:57:36 -0700 + +ActionController::RoutingError (uninitialized constant TaskController): + +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `const_get' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `block in constantize' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `each' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `inject' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `constantize' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:85:in `controller_class_for' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:78:in `controller_class' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:43:in `controller' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:29:in `serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:38:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +activerecord (5.1.4) lib/active_record/migration.rb:556:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 16:58:06 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (11.1ms) +Completed 200 OK in 33ms (Views: 22.4ms | ActiveRecord: 3.7ms) + + +Started PATCH "/task/mark_unmark/2" for 127.0.0.1 at 2017-09-19 16:58:08 -0700 + +ActionController::RoutingError (uninitialized constant TaskController): + +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `const_get' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `block in constantize' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `each' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `inject' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `constantize' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:85:in `controller_class_for' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:78:in `controller_class' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:43:in `controller' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:29:in `serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:38:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +activerecord (5.1.4) lib/active_record/migration.rb:556:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started PATCH "/task/mark_unmark/2" for 127.0.0.1 at 2017-09-19 16:58:22 -0700 + +ActionController::RoutingError (uninitialized constant TaskController): + +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `const_get' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `block in constantize' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `each' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `inject' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `constantize' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:85:in `controller_class_for' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:78:in `controller_class' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:43:in `controller' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:29:in `serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:38:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +activerecord (5.1.4) lib/active_record/migration.rb:556:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:01:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 17ms (Views: 15.3ms | ActiveRecord: 0.2ms) + + +Started PATCH "/task/mark_unmark/2" for 127.0.0.1 at 2017-09-19 17:01:33 -0700 + +ActionController::RoutingError (uninitialized constant TaskController): + +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `const_get' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `block in constantize' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `each' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `inject' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `constantize' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:85:in `controller_class_for' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:78:in `controller_class' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:43:in `controller' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:29:in `serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:38:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +activerecord (5.1.4) lib/active_record/migration.rb:556:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:02:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (12.4ms) +Completed 200 OK in 33ms (Views: 22.5ms | ActiveRecord: 3.0ms) + + +Started PATCH "/task/2/mark_unmark" for 127.0.0.1 at 2017-09-19 17:02:53 -0700 + +ActionController::RoutingError (uninitialized constant TaskController): + +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `const_get' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `block in constantize' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `each' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `inject' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `constantize' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:85:in `controller_class_for' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:78:in `controller_class' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:43:in `controller' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:29:in `serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:38:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +activerecord (5.1.4) lib/active_record/migration.rb:556:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/task/2/mark_unmark" for 127.0.0.1 at 2017-09-19 17:04:47 -0700 + +ActionController::RoutingError (No route matches [GET] "/task/2/mark_unmark"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:04:50 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (7.1ms) +Completed 200 OK in 27ms (Views: 19.4ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/2/mark_unmark" for 127.0.0.1 at 2017-09-19 17:04:51 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"HrEVQF2svhJVB9QEAWj9Z2BSeVGYg4STCIIGO4QnWBDa9sVt+F7eLH0tQgy9ewEirBEXpP3811gWGnBiIkhVKg==", "id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + Rendering tasks/mark_unmark.html.erb within layouts/application + Rendered tasks/mark_unmark.html.erb within layouts/application (0.3ms) +Completed 200 OK in 18ms (Views: 12.3ms | ActiveRecord: 0.5ms) + + +Started PATCH "/tasks/2/mark_unmark" for 127.0.0.1 at 2017-09-19 17:05:41 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"HrEVQF2svhJVB9QEAWj9Z2BSeVGYg4STCIIGO4QnWBDa9sVt+F7eLH0tQgy9ewEirBEXpP3811gWGnBiIkhVKg==", "id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + Rendering tasks/mark_unmark.html.erb within layouts/application + Rendered tasks/mark_unmark.html.erb within layouts/application (0.5ms) +Completed 200 OK in 29ms (Views: 13.1ms | ActiveRecord: 2.9ms) + + +Started PATCH "/tasks/3/mark_unmark" for 127.0.0.1 at 2017-09-19 17:05:43 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"HrEVQF2svhJVB9QEAWj9Z2BSeVGYg4STCIIGO4QnWBDa9sVt+F7eLH0tQgy9ewEirBEXpP3811gWGnBiIkhVKg==", "id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + Rendering tasks/mark_unmark.html.erb within layouts/application + Rendered tasks/mark_unmark.html.erb within layouts/application (0.4ms) +Completed 200 OK in 17ms (Views: 14.5ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/2/mark_unmark" for 127.0.0.1 at 2017-09-19 17:06:01 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"HrEVQF2svhJVB9QEAWj9Z2BSeVGYg4STCIIGO4QnWBDa9sVt+F7eLH0tQgy9ewEirBEXpP3811gWGnBiIkhVKg==", "id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] +Completed 500 Internal Server Error in 15ms (ActiveRecord: 2.8ms) + + + +ArgumentError (missing keyword: fallback_location): + +app/controllers/tasks_controller.rb:43:in `mark_unmark' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:06:10 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (7.4ms) +Completed 200 OK in 26ms (Views: 20.6ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/2/mark_unmark" for 127.0.0.1 at 2017-09-19 17:06:11 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"a/l6Z3y0gUWslKzwXL3L/HTB3RafDRX3aU9f1RpcxI2vvqpK2Ubhe4S+Ovjgrje5uIKz4/pyRjx31ymMvDPJtw==", "id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] +Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.3ms) + + + +ArgumentError (wrong number of arguments (given 1, expected 0)): + +app/controllers/tasks_controller.rb:43:in `mark_unmark' +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:06:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (10.6ms) +Completed 200 OK in 31ms (Views: 20.9ms | ActiveRecord: 3.3ms) + + +Started PATCH "/tasks/2/mark_unmark" for 127.0.0.1 at 2017-09-19 17:06:37 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"XvdsByXPQW5WVo4cv57QCkfYe+k9OBHD98UYwxYo7pOasLwqgD0hUH58GBQDjSxPi5sVHFhHQgjpXW6asEfjqQ==", "id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] +Redirected to http://localhost:3000/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:06:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 16ms (Views: 14.4ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/3/mark_unmark" for 127.0.0.1 at 2017-09-19 17:06:38 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"dmRpaF3f+QRq1oXCIEy8j7OjP/lPXS2fPz1uxgfn/5qyI7lF+C2ZOkL8E8qcX0DKf+BRDCoiflQhpRifoYjyoA==", "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] +Redirected to http://localhost:3000/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:06:38 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 18ms (Views: 16.5ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1/mark_unmark" for 127.0.0.1 at 2017-09-19 17:06:39 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"e2DkyrDdU5XnzWYqTyABC4eiD4s28PHlq/r56yDAhP+/JzTnFS8zq8/n8CLzM/1OS+FhflOPoi61Yo+yhq+JxQ==", "id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] +Redirected to http://localhost:3000/tasks +Completed 302 Found in 3ms (ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:06:39 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 17ms (Views: 15.5ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/3/mark_unmark" for 127.0.0.1 at 2017-09-19 17:06:40 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"/2Ra/w4e4fvjvfz1W2srNpkz343anJZxwLooVBVNs4g7I4rSq+yBxcuXav3neNdzVXCxeL/jxbreIl4NsyK+sg==", "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] +Redirected to http://localhost:3000/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:06:40 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 18ms (Views: 16.8ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/2/mark_unmark" for 127.0.0.1 at 2017-09-19 17:06:41 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"Wd8JI+dmecnjXezyhzJ21jZlBcevcsrBte0czesnY5admNkOQpQZ98t3evo7IYqT+iZrMsoNmQqrdWqUTUhurA==", "id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] +Redirected to http://localhost:3000/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:06:41 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 21ms (Views: 18.9ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/2/mark_unmark" for 127.0.0.1 at 2017-09-19 17:06:44 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"1ZcIp33E52rGGw5bMFXuOALAgXV8CvlLdj7PFu7bLSIR0NiK2DaHVO4xmFOMRhJ9zoPvgBl1qoBoprlPSLQgGA==", "id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] +Redirected to http://localhost:3000/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:06:44 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (9.5ms) +Completed 200 OK in 24ms (Views: 22.3ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/3/mark_unmark" for 127.0.0.1 at 2017-09-19 17:06:45 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"b6Gut+fqR8SdioWDYQeWftnZMymQnZNYNItBGdcvThqr5n6aQhgn+rWgE4vdFGo7FZpd3PXiwJMqEzdAcUBDIA==", "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] +Redirected to http://localhost:3000/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:06:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 17ms (Views: 15.6ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1/mark_unmark" for 127.0.0.1 at 2017-09-19 17:06:46 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"ipYmYM3OFqiPStqlzTPBnu6oAnR0kwjIXq7usNWZ4lFO0fZNaDx2lqdgTK1xID3bIutsgRHsWwNANpjpc/bvaw==", "id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] +Redirected to http://localhost:3000/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:06:46 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 16ms (Views: 14.2ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1/mark_unmark" for 127.0.0.1 at 2017-09-19 17:06:46 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"9akomrTTZYnsBPIxGumznIHar3IQtxSXLe47iZuX/nEx7vi3ESEFt8QuZDmm+k/ZTZnBh3XIR1wzdk3QPfjzSw==", "id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] +Redirected to http://localhost:3000/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:06:46 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 16ms (Views: 14.4ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1/mark_unmark" for 127.0.0.1 at 2017-09-19 17:06:47 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"y2UigQdG4sdW3bZ0D2IfE31UkyZgyRYSxAyv2MqbjVAPIvKsorSC+X73IHyzceNWsRf90wW2RdnalNmBbPSAag==", "id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] +Redirected to http://localhost:3000/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:06:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 20ms (Views: 18.2ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1/mark_unmark" for 127.0.0.1 at 2017-09-19 17:06:47 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"ws7RRxZE2pdj+0xe+qeJAss/4UnT9sqWW7oL0FQOFmwGiQFqs7a6qUvR2lZGtHVHB3yPvLaJmV1FIn2J8mEbVg==", "id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] +Redirected to http://localhost:3000/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:06:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 18ms (Views: 16.5ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/2/mark_unmark" for 127.0.0.1 at 2017-09-19 17:06:52 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"zLPOGKnwz45T59gSCfYeeKkL/oRaiIrDgU0+Dg39zvYI9B41DAKvsHvNThq15eI9ZUiQcT/32Qif1UhXq5LDzA==", "id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] +Redirected to http://localhost:3000/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:06:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 16ms (Views: 14.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:07:21 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (7.3ms) +Completed 200 OK in 27ms (Views: 20.9ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/2/mark_unmark" for 127.0.0.1 at 2017-09-19 17:07:22 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"rWYt6BKWwq5RVcsvQWHYAyloxsaQLWAGH4H3eYCj+RBpIf3Ft2SikHl/XSf9ciRG5SuoM/VSM80BGYEgJsz0Kg==", "id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] +  (0.1ms) BEGIN + SQL (0.4ms) UPDATE "tasks" SET "status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["status", "complete"], ["updated_at", "2017-09-20 00:07:22.702800"], ["id", 2]] +  (1.1ms) COMMIT +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 1.8ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:07:22 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 17ms (Views: 15.3ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1/mark_unmark" for 127.0.0.1 at 2017-09-19 17:07:24 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"G02fnYu/ke6/ktBbRB5XqtiSAcFV+sSmAh7gLslUUL3fCk+wLk3x0Je4RlP4DavvFNFvNDCFl20chpZ3bztdhw==", "id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] +  (0.1ms) BEGIN + SQL (0.3ms) UPDATE "tasks" SET "status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["status", "complete"], ["updated_at", "2017-09-20 00:07:24.899641"], ["id", 1]] +  (1.1ms) COMMIT +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 1.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:07:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 16ms (Views: 14.6ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/3/mark_unmark" for 127.0.0.1 at 2017-09-19 17:07:27 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"gIlnEEEfJ7O9MOnLbNxnLVdIExu0HOblp733NO9QNmNEzrc95O1HjZUaf8PQz5tomwt97tFjtS65JYFtST87WQ==", "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] +  (0.1ms) BEGIN + SQL (0.3ms) UPDATE "tasks" SET "status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["status", "complete"], ["updated_at", "2017-09-20 00:07:27.234517"], ["id", 3]] +  (1.0ms) COMMIT +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 1.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:07:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 19ms (Views: 17.3ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/2/mark_unmark" for 127.0.0.1 at 2017-09-19 17:07:28 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"GpMh/z03aoRXcKU1DforEG4fmjeSVaJKEjezl0Ndzfre1PHSmMUKun9aMz2x6ddVolz0wvcq8YEMr8XO5TLAwA==", "id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] +  (0.1ms) BEGIN + SQL (0.3ms) UPDATE "tasks" SET "status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["status", "incomplete"], ["updated_at", "2017-09-20 00:07:28.639374"], ["id", 2]] +  (1.1ms) COMMIT +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 1.7ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:07:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (10.5ms) +Completed 200 OK in 25ms (Views: 23.5ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/3/mark_unmark" for 127.0.0.1 at 2017-09-19 17:07:29 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"dhpK/fMU0EPrCZrzy+CPx4yLkgp/hNoD9et3DfjrlUayXZrQVuawfcMjDPt383OCQMj8/xr7icjrcwFUXoSYfA==", "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] +  (0.1ms) BEGIN + SQL (0.3ms) UPDATE "tasks" SET "status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["status", "incomplete"], ["updated_at", "2017-09-20 00:07:29.847528"], ["id", 3]] +  (1.0ms) COMMIT +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 1.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:07:29 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 16ms (Views: 14.4ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/3/mark_unmark" for 127.0.0.1 at 2017-09-19 17:07:30 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"Ro98yfb5mRujhJDgMQ1TvJjslMZeKcakALzqIT4Lr6SCyKzkUwv5JYuuBuiNHq/5VK/6MztWlW8eJJx4mGSing==", "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] +  (0.1ms) BEGIN + SQL (0.3ms) UPDATE "tasks" SET "status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["status", "complete"], ["updated_at", "2017-09-20 00:07:30.819657"], ["id", 3]] +  (1.0ms) COMMIT +Redirected to http://localhost:3000/tasks +Completed 302 Found in 4ms (ActiveRecord: 1.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:07:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 17ms (Views: 15.5ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/2/mark_unmark" for 127.0.0.1 at 2017-09-19 17:07:31 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"S5B196KhkJ/R40CBknCRpV7Qmy7xjBKv61Wv8xvOl66P16XaB1PwofnJ1okuY23gkpP125TzQWT1zdmqvaGalA==", "id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] +  (0.1ms) BEGIN + SQL (0.3ms) UPDATE "tasks" SET "status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["status", "complete"], ["updated_at", "2017-09-20 00:07:31.774809"], ["id", 2]] +  (1.0ms) COMMIT +Redirected to http://localhost:3000/tasks +Completed 302 Found in 4ms (ActiveRecord: 1.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:07:31 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 16ms (Views: 14.5ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1/mark_unmark" for 127.0.0.1 at 2017-09-19 17:07:32 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"32DNWU0UZw1Bh7vUIkUIkLVS8hCg7RJi2KsVS3b9XQgbJx106OYHM2mtLdyeVvTVeRGc5cWSQanGM2MS0JJQMg==", "id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] +  (0.1ms) BEGIN + SQL (0.3ms) UPDATE "tasks" SET "status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["status", "incomplete"], ["updated_at", "2017-09-20 00:07:32.621963"], ["id", 1]] +  (1.0ms) COMMIT +Redirected to http://localhost:3000/tasks +Completed 302 Found in 4ms (ActiveRecord: 1.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:07:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 16ms (Views: 14.3ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1/mark_unmark" for 127.0.0.1 at 2017-09-19 17:07:35 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"s9FsvfJB+zMrK2PkEb6JxylATRu9COuisn25fR6AZ9J3lryQV7ObDQMB9eytrXWC5QMj7th3uGms5c8kuO9q6A==", "id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] +  (0.1ms) BEGIN + SQL (0.3ms) UPDATE "tasks" SET "status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["status", "complete"], ["updated_at", "2017-09-20 00:07:35.772515"], ["id", 1]] +  (1.1ms) COMMIT +Redirected to http://localhost:3000/tasks +Completed 302 Found in 4ms (ActiveRecord: 1.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:07:35 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/2/mark_unmark" for 127.0.0.1 at 2017-09-19 17:07:37 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"/8SFEZFjxrRj0cAtkk4G9pxwTDw0jRb32So3uX5YB7E7g1U8NJGmikv7ViUuXfqzUDMiyVHyRTzHskHg2DcKiw==", "id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] +  (0.1ms) BEGIN + SQL (0.3ms) UPDATE "tasks" SET "status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["status", "incomplete"], ["updated_at", "2017-09-20 00:07:37.219284"], ["id", 2]] +  (1.0ms) COMMIT +Redirected to http://localhost:3000/tasks +Completed 302 Found in 4ms (ActiveRecord: 1.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:07:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 16ms (Views: 14.1ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/3/mark_unmark" for 127.0.0.1 at 2017-09-19 17:07:38 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"afWeYLDAIKuuHQ+Z8q7MIY7A2bLdea1aVu2gMUnKdmatsk5NFTJAlYY3mZFOvTBkQoO3R7gG/pFIddZo76V7XA==", "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] +  (0.1ms) BEGIN + SQL (0.3ms) UPDATE "tasks" SET "status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["status", "incomplete"], ["updated_at", "2017-09-20 00:07:38.110250"], ["id", 3]] +  (1.0ms) COMMIT +Redirected to http://localhost:3000/tasks +Completed 302 Found in 4ms (ActiveRecord: 1.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:07:38 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 16ms (Views: 14.1ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/3/mark_unmark" for 127.0.0.1 at 2017-09-19 17:07:39 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"cs+24bSUG584148fvk/6hKaTqAbEMRk64SqZGXNJYZi2iGbMEWZ7oRD9GRcCXAbBatDG86FOSvH/su9A1SZsog==", "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] +  (0.1ms) BEGIN + SQL (0.3ms) UPDATE "tasks" SET "status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["status", "complete"], ["updated_at", "2017-09-20 00:07:39.739882"], ["id", 3]] +  (1.1ms) COMMIT +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 1.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:07:39 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 17ms (Views: 15.0ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/2/mark_unmark" for 127.0.0.1 at 2017-09-19 17:07:41 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"p5WGf7TBITzKwNb7PnrjaqawrtaMiGEis2XSGcc789Fj0lZSETNBAuLqQPOCaR8vavPAI+n3Mumt/aRAYVT+6w==", "id"=>"2"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] +  (0.1ms) BEGIN + SQL (0.4ms) UPDATE "tasks" SET "status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["status", "complete"], ["updated_at", "2017-09-20 00:07:41.346442"], ["id", 2]] +  (1.2ms) COMMIT +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 1.8ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:07:41 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 17ms (Views: 15.4ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1/mark_unmark" for 127.0.0.1 at 2017-09-19 17:07:42 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"t2fucdtsHFpZHNsp+8gBpB1oohcvwYcTc+Sf48ZxLy5zID5cfp58ZHE2TSFH2/3h0SvM4kq+1NhtfOm6YB4iFA==", "id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] +  (0.2ms) BEGIN + SQL (0.3ms) UPDATE "tasks" SET "status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["status", "incomplete"], ["updated_at", "2017-09-20 00:07:42.928482"], ["id", 1]] +  (0.9ms) COMMIT +Redirected to http://localhost:3000/tasks +Completed 302 Found in 4ms (ActiveRecord: 1.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:07:42 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 17ms (Views: 14.9ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/3/mark_unmark" for 127.0.0.1 at 2017-09-19 17:07:45 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"DyaOG1n18CDiHKTj9QNX8sm7fOsUYgOBhJ7Azv+EY0bLYV42/AeQHso2MutJEKu3BfgSHnEdUEqaBraXWetufA==", "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] +  (0.1ms) BEGIN + SQL (0.3ms) UPDATE "tasks" SET "status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["status", "incomplete"], ["updated_at", "2017-09-20 00:07:45.127989"], ["id", 3]] +  (1.0ms) COMMIT +Redirected to http://localhost:3000/tasks +Completed 302 Found in 4ms (ActiveRecord: 1.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:07:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 23ms (Views: 21.4ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/3/mark_unmark" for 127.0.0.1 at 2017-09-19 17:07:47 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"Su7ff/GqxGLWl8XCFt1M9a6pZIGo7aClmehgzQcceI+OqQ9SVFikXP69U8qqzrCwYuoKdM2S826HcBaUoXN1tQ==", "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] +  (0.1ms) BEGIN + SQL (0.4ms) UPDATE "tasks" SET "status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["status", "complete"], ["updated_at", "2017-09-20 00:07:47.729160"], ["id", 3]] +  (1.0ms) COMMIT +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 1.7ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:07:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 18ms (Views: 16.3ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/3/mark_unmark" for 127.0.0.1 at 2017-09-19 17:07:48 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"Ofgt1nwaQnYSKl401e00lUNT8K+r6JuQEI5LkWnIKHP9v/372egiSDoAyDxp/sjQjxCeWs6XyFsOFj3Iz6clSQ==", "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] +  (0.1ms) BEGIN + SQL (0.3ms) UPDATE "tasks" SET "status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["status", "incomplete"], ["updated_at", "2017-09-20 00:07:48.685103"], ["id", 3]] +  (1.1ms) COMMIT +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 1.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:07:48 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 17ms (Views: 15.5ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/2/mark_unmark" for 127.0.0.1 at 2017-09-19 17:07:49 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"hZ6g7i92qe6GPXn+jHQvdw856Ua0u2tbbNSDBbzMZCFB2XDDioTJ0K4X7/YwZ9Myw3qHs9HEOJByTPVcGqNpGw==", "id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] +  (0.1ms) BEGIN + SQL (0.3ms) UPDATE "tasks" SET "status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["status", "incomplete"], ["updated_at", "2017-09-20 00:07:49.678016"], ["id", 2]] +  (1.0ms) COMMIT +Redirected to http://localhost:3000/tasks +Completed 302 Found in 4ms (ActiveRecord: 1.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:07:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 16ms (Views: 14.1ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/3/mark_unmark" for 127.0.0.1 at 2017-09-19 17:07:55 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"VvXuplXQb/2aJrr8aa3XfZphqu6bZxZJR56PfcxhE7aSsj6L8CIPw7IMLPTVvis4ViLEG/4YRYJZBvkkag4ejA==", "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] +  (0.1ms) BEGIN + SQL (0.4ms) UPDATE "tasks" SET "status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["status", "complete"], ["updated_at", "2017-09-20 00:07:55.373132"], ["id", 3]] +  (1.0ms) COMMIT +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 1.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:07:55 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 17ms (Views: 15.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-20 09:13:11 -0700 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (13.1ms) +Completed 200 OK in 215ms (Views: 197.4ms | ActiveRecord: 4.0ms) + + +Started PATCH "/tasks/1/mark_unmark" for 127.0.0.1 at 2017-09-20 09:13:12 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"2NcX6FN6IP95Ni7aM2hYkBqJ4ET8MawkVSdKZuAdPNIckMfF9ohAwVEcuNKPe6TV1sqOsZlO/+9Lvzw/RnIx6A==", "id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] +  (0.1ms) BEGIN + SQL (0.4ms) UPDATE "tasks" SET "status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["status", "complete"], ["updated_at", "2017-09-20 16:13:12.375463"], ["id", 1]] +  (6.1ms) COMMIT +Redirected to http://localhost:3000/tasks +Completed 302 Found in 23ms (ActiveRecord: 12.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-20 09:13:12 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 29ms (Views: 26.5ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1/mark_unmark" for 127.0.0.1 at 2017-09-20 09:13:15 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"iOj0OuFIfT+pJXjmYNU4wGX72JmzawP+hkwLaBgzDEZMryQXRLodAYEP7u7cxsSFqbi2bNYUUDWY1H0xvlwBfA==", "id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] +  (0.1ms) BEGIN + SQL (0.3ms) UPDATE "tasks" SET "status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["status", "incomplete"], ["updated_at", "2017-09-20 16:13:15.025593"], ["id", 1]] +  (1.1ms) COMMIT +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 1.7ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-20 09:13:15 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 18ms (Views: 16.7ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1/mark_unmark" for 127.0.0.1 at 2017-09-20 09:13:16 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"IJ4RP/hwfyRrDIdpw9N4pGkJ1q/1n+Z2lznHB7TGf+bk2cESXYIfGkMmEWF/wIThpUq4WpDgtb2JobFeEqly3A==", "id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] +  (0.1ms) BEGIN + SQL (0.3ms) UPDATE "tasks" SET "status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["status", "complete"], ["updated_at", "2017-09-20 16:13:16.123031"], ["id", 1]] +  (1.0ms) COMMIT +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 1.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-20 09:13:16 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 21ms (Views: 19.2ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/3/mark_unmark" for 127.0.0.1 at 2017-09-20 09:13:16 -0700 +Processing by TasksController#mark_unmark as HTML + Parameters: {"authenticity_token"=>"OCi56dkGGPqNvP/7OAQiTXQXwNPM6KtB7P3EO0fJa778b2nEfPR4xKWWafOEF94IuFSuJqmX+IryZbJi4aZmhA==", "id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] +  (0.1ms) BEGIN + SQL (0.3ms) UPDATE "tasks" SET "status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["status", "incomplete"], ["updated_at", "2017-09-20 16:13:16.909545"], ["id", 3]] +  (1.1ms) COMMIT +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 1.8ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-20 09:13:16 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.7ms) +Completed 200 OK in 30ms (Views: 28.0ms | ActiveRecord: 0.3ms) + + +Started DELETE "/tasks.1" for 127.0.0.1 at 2017-09-20 09:13:18 -0700 +Processing by TasksController#destroy as + Parameters: {"authenticity_token"=>"gpKBr7uu+ORECoBd85N/3iNcYxuOmdlottHsnKi4cElG1VGCHlyY2mwgFlVPgIOb7x8N7uvmiqOoSZrFDtd9cw=="} + Rendering tasks/destroy.html.erb within layouts/application + Rendered tasks/destroy.html.erb within layouts/application (0.6ms) +Completed 200 OK in 47ms (Views: 34.4ms | ActiveRecord: 0.0ms) + + +Started PATCH "/tasks/2/edit" for 127.0.0.1 at 2017-09-20 09:13:21 -0700 + +ActionController::RoutingError (No route matches [PATCH] "/tasks/2/edit"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-20 09:13:29 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.3ms) +Completed 200 OK in 17ms (Views: 13.3ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-20 09:13:31 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 18ms (Views: 15.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-20 09:13:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 21ms (Views: 18.2ms | ActiveRecord: 0.4ms) + + +Started PATCH "/tasks/2/edit" for 127.0.0.1 at 2017-09-20 09:13:37 -0700 + +ActionController::RoutingError (No route matches [PATCH] "/tasks/2/edit"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started PATCH "/tasks/1/edit" for 127.0.0.1 at 2017-09-20 09:13:51 -0700 + +ActionController::RoutingError (No route matches [PATCH] "/tasks/1/edit"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-20 09:14:27 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.6ms) +Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 0.0ms) + + +Started PATCH "/tasks/3/edit" for 127.0.0.1 at 2017-09-20 09:14:31 -0700 + +ActionController::RoutingError (No route matches [PATCH] "/tasks/3/edit"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-20 09:14:44 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (7.3ms) +Completed 200 OK in 24ms (Views: 18.2ms | ActiveRecord: 0.4ms) + + +Started GET "/" for 127.0.0.1 at 2017-09-20 09:14:47 -0700 +Processing by Rails::WelcomeController#index as HTML + Rendering /Users/canaan/.rvm/gems/ruby-2.4.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb + Rendered /Users/canaan/.rvm/gems/ruby-2.4.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb (2.7ms) +Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-20 09:14:50 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/2/edit" for 127.0.0.1 at 2017-09-20 09:14:51 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"2"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.3ms) +Completed 200 OK in 15ms (Views: 13.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-20 09:14:54 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.3ms) +Completed 200 OK in 17ms (Views: 14.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-20 09:14:57 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.3ms) +Completed 200 OK in 16ms (Views: 13.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-20 15:28:43 -0700 +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (12.8ms) +Completed 200 OK in 214ms (Views: 195.9ms | ActiveRecord: 3.9ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-20 15:28:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"2"} +Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms) + + + +NoMethodError (undefined method `find' for nil:NilClass): + +app/controllers/tasks_controller.rb:12:in `show' +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-20 15:29:08 -0700 +Processing by TasksController#show as HTML +Started GET "/tasks" for 127.0.0.1 at 2017-09-20 15:29:18 -0700 +Started GET "/tasks" for 127.0.0.1 at 2017-09-20 15:29:18 -0700 +Started GET "/tasks" for 127.0.0.1 at 2017-09-20 15:29:18 -0700 + Parameters: {"id"=>"2"} +Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms) + + + +NoMethodError (undefined method `find' for nil:NilClass): + +app/controllers/tasks_controller.rb:12:in `show' +Processing by TasksController#index as HTML +Processing by TasksController#index as HTML +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (12.7ms) + Rendered tasks/index.html.erb within layouts/application (12.1ms) +Completed 200 OK in 45ms (Views: 33.2ms | ActiveRecord: 3.0ms) + + +Completed 200 OK in 50ms (Views: 28.0ms | ActiveRecord: 9.5ms) + + + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (38.1ms) +Completed 200 OK in 71ms (Views: 44.8ms | ActiveRecord: 14.1ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-20 15:29:21 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"2"} +Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms) + + + +NoMethodError (undefined method `find' for nil:NilClass): + +app/controllers/tasks_controller.rb:12:in `show' +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-20 15:29:36 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"2"} +Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms) + + + +NoMethodError (undefined method `find' for nil:NilClass): + +app/controllers/tasks_controller.rb:12:in `show' +Started GET "/tasks" for 127.0.0.1 at 2017-09-20 15:30:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (9.7ms) +Completed 200 OK in 27ms (Views: 18.5ms | ActiveRecord: 2.6ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-20 15:30:05 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (153.3ms) +Completed 500 Internal Server Error in 162ms (ActiveRecord: 0.4ms) + + + +ActionView::Template::Error (undefined local variable or method `task' for #<#:0x007fa7151c94e0>): + 1:

    Tasks#show

    + 2:

    Find me in app/views/tasks/show.html.erb

    + 3: + 4: <%= task.name %> + 5: <%= task.description => + 6: <%= task.due => + +app/views/tasks/show.html.erb:4:in `_app_views_tasks_show_html_erb__214534183835676377_70177795233400' +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-20 15:30:36 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (3.9ms) +Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.4ms) + + + +ActionView::Template::Error (undefined method `name' for nil:NilClass): + 1:

    Tasks#show

    + 2:

    Find me in app/views/tasks/show.html.erb

    + 3: + 4: <%= @task.name %> + 5: <%= @task.description => + 6: <%= @task.due => + +app/views/tasks/show.html.erb:4:in `_app_views_tasks_show_html_erb__214534183835676377_70177807182580' +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-20 15:30:52 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.1ms) +Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.3ms) + + + +ActionView::Template::Error (undefined method `[]' for nil:NilClass): + 1:

    Tasks#show

    + 2:

    Find me in app/views/tasks/show.html.erb

    + 3: + 4: <%= @task[:name] %> + 5: <%= @task.description => + 6: <%= @task.due => + +app/views/tasks/show.html.erb:4:in `_app_views_tasks_show_html_erb__214534183835676377_70177791972060' +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-20 15:31:15 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (3.6ms) +Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.2ms) + + + +ActionView::Template::Error (undefined method `name' for nil:NilClass): + 1:

    Tasks#show

    + 2:

    Find me in app/views/tasks/show.html.erb

    + 3: + 4: <%= @task.name %> + 5: <%= @task.description %> + 6: <%= @task.due %> + +app/views/tasks/show.html.erb:4:in `_app_views_tasks_show_html_erb__214534183835676377_70177790182860' +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-20 15:34:51 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.8ms) +Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.3ms) + + + +ActionView::Template::Error (undefined method `description' for nil:NilClass): + 5: + 6: + +app/views/tasks/show.html.erb:8:in `_app_views_tasks_show_html_erb__214534183835676377_70177807539860' +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-20 15:35:02 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"2"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (3.2ms) +Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.4ms) + + + +ActionView::Template::Error (undefined method `description' for nil:NilClass): + 5: + 6: + +app/views/tasks/show.html.erb:8:in `_app_views_tasks_show_html_erb__214534183835676377_70177807701560' +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-20 15:35:10 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 15ms (Views: 12.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-20 15:35:20 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.3ms) +Completed 200 OK in 15ms (Views: 13.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-20 15:36:36 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.4ms) +Completed 200 OK in 23ms (Views: 20.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-20 15:37:36 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (164.8ms) +Completed 500 Internal Server Error in 171ms (ActiveRecord: 0.3ms) + + + +ActionView::Template::Error (undefined local variable or method `task' for #<#:0x007fa716ff0ce8>): + 2:

    Find me in app/views/tasks/show.html.erb

    + 3: + 4:

    + 5: <%= task %> + 6:

    + +app/views/tasks/show.html.erb:5:in `_app_views_tasks_show_html_erb__214534183835676377_70177811041080' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-20 15:37:41 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.4ms) +Completed 200 OK in 23ms (Views: 20.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-20 15:38:00 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 24ms (Views: 21.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-20 15:38:01 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 19ms (Views: 15.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-20 15:38:14 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.4ms) +Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.2ms) + + + +ActionView::Template::Error (undefined method `name' for nil:NilClass): + 2:

    Find me in app/views/tasks/show.html.erb

    + 3: + 4:

    + 5: <%= link_to @task.name %> + 6:

    + +app/views/tasks/show.html.erb:5:in `_app_views_tasks_show_html_erb__214534183835676377_70177795507780' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-20 15:38:35 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 19ms (Views: 16.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-20 15:39:18 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.3ms) +Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.2ms) + + + +ActionView::Template::Error (undefined method `name' for nil:NilClass): + 2:

    Find me in app/views/tasks/show.html.erb

    + 3: + 4:

    + 5: <%= @task.name %> + 6:

    + +app/views/tasks/show.html.erb:5:in `_app_views_tasks_show_html_erb__214534183835676377_70177792370840' +Started GET "/tasks" for 127.0.0.1 at 2017-09-20 15:39:42 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 17ms (Views: 15.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-20 15:39:44 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 16ms (Views: 14.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-20 15:39:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.8ms) +Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.2ms) + + + +ActionView::Template::Error (undefined method `name' for nil:NilClass): + 2:

    Find me in app/views/tasks/show.html.erb

    + 3: + 4:

    + 5: <%= @task.name %> + 6:

    + +app/views/tasks/show.html.erb:5:in `_app_views_tasks_show_html_erb__214534183835676377_70177806893720' +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-20 15:40:08 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.3ms) +Completed 200 OK in 23ms (Views: 11.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-20 15:41:16 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.4ms) +Completed 200 OK in 17ms (Views: 14.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-20 15:41:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 14ms (Views: 11.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-20 15:42:09 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.4ms) +Completed 200 OK in 16ms (Views: 13.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-20 15:42:25 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.4ms) +Completed 200 OK in 15ms (Views: 12.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-20 15:43:14 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.4ms) +Completed 200 OK in 15ms (Views: 12.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/2/mark_unmark" for 127.0.0.1 at 2017-09-20 15:44:33 -0700 + +ActionController::RoutingError (No route matches [GET] "/tasks/2/mark_unmark"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks/2/mark_unmark" for 127.0.0.1 at 2017-09-20 15:44:39 -0700 + +ActionController::RoutingError (No route matches [GET] "/tasks/2/mark_unmark"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-20 15:44:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 16ms (Views: 14.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-20 15:44:48 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 21ms (Views: 18.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-20 15:44:50 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 18ms (Views: 15.6ms | ActiveRecord: 0.3ms) + + +Started DELETE "/tasks.2" for 127.0.0.1 at 2017-09-20 15:45:55 -0700 +Processing by TasksController#destroy as + Parameters: {"authenticity_token"=>"OI9phTzY8m0+M3g8RR0Sx159fLUH7FEUH8uZoKKzr2X8yLmomSqSUxYZ7jT5Du6Ckj4SQGKTAt8BU+/5BNyiXw=="} + Rendering tasks/destroy.html.erb within layouts/application + Rendered tasks/destroy.html.erb within layouts/application (0.3ms) +Completed 200 OK in 35ms (Views: 24.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-20 15:51:23 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.8ms) +Completed 500 Internal Server Error in 19ms (ActiveRecord: 2.7ms) + + + +SyntaxError (/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/new.html.erb:19: syntax error, unexpected keyword_ensure, expecting keyword_end + ensure + ^): + +app/views/tasks/new.html.erb:19: syntax error, unexpected keyword_ensure, expecting keyword_end +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-20 15:51:49 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (1.0ms) +Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/new.html.erb:21: syntax error, unexpected keyword_ensure, expecting keyword_end + ensure + ^): + +app/views/tasks/new.html.erb:21: syntax error, unexpected keyword_ensure, expecting keyword_end +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-20 15:52:05 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.6ms) +Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/new.html.erb:18: syntax error, unexpected keyword_end +eze;@output_buffer.append=(end );@output_buffer.safe_append= + ^ +/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/new.html.erb:22: syntax error, unexpected keyword_ensure, expecting ')' + ensure + ^ +/Users/canaan/Desktop/wk7/TaskList/app/views/tasks/new.html.erb:24: syntax error, unexpected keyword_end, expecting ')' + end + ^): + +app/views/tasks/new.html.erb:18: syntax error, unexpected keyword_end +app/views/tasks/new.html.erb:22: syntax error, unexpected keyword_ensure, expecting ')' +app/views/tasks/new.html.erb:24: syntax error, unexpected keyword_end, expecting ')' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-20 15:52:12 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (10.3ms) +Completed 200 OK in 24ms (Views: 22.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-20 15:54:30 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.0ms) +Completed 200 OK in 37ms (Views: 19.4ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-20 15:54:52 -0700 + +ActionController::RoutingError (No route matches [POST] "/tasks"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-20 15:55:51 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (173.8ms) +Completed 500 Internal Server Error in 183ms (ActiveRecord: 0.2ms) + + + +ActionView::Template::Error (undefined local variable or method `new_book_path' for #<#:0x007fa7162040f8> +Did you mean? new_task_path): + 28: + 39: + 40: + 39: + 40: + 39: + 40: + 39: + 40: + 39: + 40: + 39: + 40: + 39: + 40: