From c2eb1e0ada379c07e7d889961229449914eba723 Mon Sep 17 00:00:00 2001 From: Jillianne Ramirez Date: Tue, 9 Apr 2019 16:34:04 -0700 Subject: [PATCH 01/23] new rails application created --- Gemfile | 81 ++++++ Gemfile.lock | 274 ++++++++++++++++++ Guardfile | 9 + Rakefile | 6 + app/assets/config/manifest.js | 3 + app/assets/images/.keep | 0 app/assets/javascripts/application.js | 16 + app/assets/javascripts/cable.js | 13 + app/assets/javascripts/channels/.keep | 0 app/assets/stylesheets/application.css | 15 + app/channels/application_cable/channel.rb | 4 + app/channels/application_cable/connection.rb | 4 + app/controllers/application_controller.rb | 2 + app/controllers/concerns/.keep | 0 app/helpers/application_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 | 15 + app/views/layouts/mailer.html.erb | 13 + app/views/layouts/mailer.text.erb | 1 + bin/bundle | 3 + bin/rails | 9 + bin/rake | 9 + bin/setup | 36 +++ bin/spring | 17 ++ bin/update | 31 ++ bin/yarn | 11 + config.ru | 5 + config/application.rb | 26 ++ config/boot.rb | 4 + config/cable.yml | 10 + config/credentials.yml.enc | 1 + config/database.yml | 85 ++++++ config/environment.rb | 5 + config/environments/development.rb | 61 ++++ config/environments/production.rb | 94 ++++++ config/environments/test.rb | 46 +++ config/initializers/action_view.rb | 1 + .../application_controller_renderer.rb | 8 + config/initializers/assets.rb | 14 + config/initializers/backtrace_silencers.rb | 7 + .../initializers/content_security_policy.rb | 25 ++ 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 | 34 +++ config/routes.rb | 3 + config/spring.rb | 6 + config/storage.yml | 34 +++ db/seeds.rb | 7 + lib/assets/.keep | 0 lib/tasks/.keep | 0 log/.keep | 0 log/development.log | 0 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 + storage/.keep | 0 test/application_system_test_case.rb | 5 + 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 | 26 ++ vendor/.keep | 0 78 files changed, 1372 insertions(+) create mode 100644 Gemfile create mode 100644 Gemfile.lock create mode 100644 Guardfile 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/stylesheets/application.css 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/helpers/application_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 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/credentials.yml.enc 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/action_view.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/content_security_policy.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/spring.rb create mode 100644 config/storage.yml 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 storage/.keep create mode 100644 test/application_system_test_case.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..e665f46d3 --- /dev/null +++ b/Gemfile @@ -0,0 +1,81 @@ +source 'https://rubygems.org' +git_source(:github) { |repo| "https://github.com/#{repo}.git" } + +ruby '2.5.1' + +# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' +gem 'rails', '~> 5.2.3' +# Use postgresql as the database for Active Record +gem 'pg', '>= 0.18', '< 2.0' +# Use Puma as the app server +gem 'puma', '~> 3.11' +# 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 'mini_racer', 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', '~> 4.0' +# Use ActiveModel has_secure_password +# gem 'bcrypt', '~> 3.1.7' + +# Use ActiveStorage variant +# gem 'mini_magick', '~> 4.8' + +# Use Capistrano for deployment +# gem 'capistrano-rails', group: :development + +# Reduces boot times through caching; required in config/boot.rb +gem 'bootsnap', '>= 1.1.0', require: false + +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] +end + +group :development do + # Access an interactive console on exception pages or by calling '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 + +group :test do + # Adds support for Capybara system testing and selenium driver + gem 'capybara', '>= 2.15' + gem 'selenium-webdriver' + # Easy installation and use of chromedriver to run system tests with Chrome + gem 'chromedriver-helper' +end + +# Windows does not include zoneinfo files, so bundle the tzinfo-data gem +gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] + +gem 'jquery-turbolinks' +gem 'jquery-rails' +group :development, :test do + gem 'pry-rails' +end + +group :development do + gem 'better_errors' + gem 'binding_of_caller' + gem 'guard' + gem 'guard-minitest' +end + +group :test do + gem 'minitest-rails' + gem 'minitest-reporters' + gem 'minitest-skip' +end diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 000000000..72a0449cc --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,274 @@ +GEM + remote: https://rubygems.org/ + specs: + actioncable (5.2.3) + actionpack (= 5.2.3) + nio4r (~> 2.0) + websocket-driver (>= 0.6.1) + actionmailer (5.2.3) + actionpack (= 5.2.3) + actionview (= 5.2.3) + activejob (= 5.2.3) + mail (~> 2.5, >= 2.5.4) + rails-dom-testing (~> 2.0) + actionpack (5.2.3) + actionview (= 5.2.3) + activesupport (= 5.2.3) + rack (~> 2.0) + rack-test (>= 0.6.3) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.0, >= 1.0.2) + actionview (5.2.3) + activesupport (= 5.2.3) + builder (~> 3.1) + erubi (~> 1.4) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.0, >= 1.0.3) + activejob (5.2.3) + activesupport (= 5.2.3) + globalid (>= 0.3.6) + activemodel (5.2.3) + activesupport (= 5.2.3) + activerecord (5.2.3) + activemodel (= 5.2.3) + activesupport (= 5.2.3) + arel (>= 9.0) + activestorage (5.2.3) + actionpack (= 5.2.3) + activerecord (= 5.2.3) + marcel (~> 0.3.1) + activesupport (5.2.3) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 0.7, < 2) + minitest (~> 5.1) + tzinfo (~> 1.1) + addressable (2.6.0) + public_suffix (>= 2.0.2, < 4.0) + ansi (1.5.0) + archive-zip (0.12.0) + io-like (~> 0.3.0) + arel (9.0.0) + better_errors (2.5.1) + coderay (>= 1.0.0) + erubi (>= 1.0.0) + rack (>= 0.9.0) + bindex (0.7.0) + binding_of_caller (0.8.0) + debug_inspector (>= 0.0.1) + bootsnap (1.4.3) + msgpack (~> 1.0) + builder (3.2.3) + byebug (11.0.1) + capybara (3.16.1) + addressable + mini_mime (>= 0.1.3) + nokogiri (~> 1.8) + rack (>= 1.6.0) + rack-test (>= 0.6.3) + regexp_parser (~> 1.2) + xpath (~> 3.2) + childprocess (0.9.0) + ffi (~> 1.0, >= 1.0.11) + chromedriver-helper (2.1.1) + archive-zip (~> 0.10) + nokogiri (~> 1.8) + coderay (1.1.2) + concurrent-ruby (1.1.5) + crass (1.0.4) + debug_inspector (0.0.3) + erubi (1.8.0) + execjs (2.7.0) + ffi (1.10.0) + formatador (0.2.5) + globalid (0.4.2) + activesupport (>= 4.2.0) + guard (2.15.0) + formatador (>= 0.2.4) + listen (>= 2.7, < 4.0) + lumberjack (>= 1.0.12, < 2.0) + nenv (~> 0.1) + notiffany (~> 0.0) + pry (>= 0.9.12) + shellany (~> 0.0) + thor (>= 0.18.1) + guard-compat (1.2.1) + guard-minitest (2.4.6) + guard-compat (~> 1.2) + minitest (>= 3.0) + i18n (1.6.0) + concurrent-ruby (~> 1.0) + io-like (0.3.0) + jbuilder (2.8.0) + activesupport (>= 4.2.0) + multi_json (>= 1.2) + jquery-rails (4.3.3) + rails-dom-testing (>= 1, < 3) + railties (>= 4.2.0) + thor (>= 0.14, < 2.0) + jquery-turbolinks (2.1.0) + railties (>= 3.1.0) + turbolinks + listen (3.1.5) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + ruby_dep (~> 1.2) + loofah (2.2.3) + crass (~> 1.0.2) + nokogiri (>= 1.5.9) + lumberjack (1.0.13) + mail (2.7.1) + mini_mime (>= 0.1.1) + marcel (0.3.3) + mimemagic (~> 0.3.2) + method_source (0.9.2) + mimemagic (0.3.3) + mini_mime (1.0.1) + mini_portile2 (2.4.0) + minitest (5.11.3) + minitest-rails (3.0.0) + minitest (~> 5.8) + railties (~> 5.0) + minitest-reporters (1.3.6) + ansi + builder + minitest (>= 5.0) + ruby-progressbar + minitest-skip (0.0.1) + minitest (~> 5.0) + msgpack (1.2.9) + multi_json (1.13.1) + nenv (0.3.0) + nio4r (2.3.1) + nokogiri (1.10.2) + mini_portile2 (~> 2.4.0) + notiffany (0.1.1) + nenv (~> 0.1) + shellany (~> 0.0) + pg (1.1.4) + pry (0.12.2) + coderay (~> 1.1.0) + method_source (~> 0.9.0) + pry-rails (0.3.9) + pry (>= 0.10.4) + public_suffix (3.0.3) + puma (3.12.1) + rack (2.0.7) + rack-test (1.1.0) + rack (>= 1.0, < 3) + rails (5.2.3) + actioncable (= 5.2.3) + actionmailer (= 5.2.3) + actionpack (= 5.2.3) + actionview (= 5.2.3) + activejob (= 5.2.3) + activemodel (= 5.2.3) + activerecord (= 5.2.3) + activestorage (= 5.2.3) + activesupport (= 5.2.3) + bundler (>= 1.3.0) + railties (= 5.2.3) + sprockets-rails (>= 2.0.0) + rails-dom-testing (2.0.3) + activesupport (>= 4.2.0) + nokogiri (>= 1.6) + rails-html-sanitizer (1.0.4) + loofah (~> 2.2, >= 2.2.2) + railties (5.2.3) + actionpack (= 5.2.3) + activesupport (= 5.2.3) + method_source + rake (>= 0.8.7) + thor (>= 0.19.0, < 2.0) + rake (12.3.2) + rb-fsevent (0.10.3) + rb-inotify (0.10.0) + ffi (~> 1.0) + regexp_parser (1.4.0) + ruby-progressbar (1.10.0) + ruby_dep (1.5.0) + rubyzip (1.2.2) + sass (3.7.4) + 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.7) + 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.141.0) + childprocess (~> 0.5) + rubyzip (~> 1.2, >= 1.2.2) + shellany (0.0.1) + 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.2) + 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.3) + thread_safe (0.3.6) + tilt (2.0.9) + turbolinks (5.2.0) + turbolinks-source (~> 5.2) + turbolinks-source (5.2.0) + tzinfo (1.2.5) + thread_safe (~> 0.1) + uglifier (4.1.20) + execjs (>= 0.3.0, < 3) + web-console (3.7.0) + actionview (>= 5.0) + activemodel (>= 5.0) + bindex (>= 0.4.0) + railties (>= 5.0) + websocket-driver (0.7.0) + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.3) + xpath (3.2.0) + nokogiri (~> 1.8) + +PLATFORMS + ruby + +DEPENDENCIES + better_errors + binding_of_caller + bootsnap (>= 1.1.0) + byebug + capybara (>= 2.15) + chromedriver-helper + guard + guard-minitest + jbuilder (~> 2.5) + jquery-rails + jquery-turbolinks + listen (>= 3.0.5, < 3.2) + minitest-rails + minitest-reporters + minitest-skip + pg (>= 0.18, < 2.0) + pry-rails + puma (~> 3.11) + rails (~> 5.2.3) + 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) + +RUBY VERSION + ruby 2.5.1p57 + +BUNDLED WITH + 1.16.6 diff --git a/Guardfile b/Guardfile new file mode 100644 index 000000000..e34f706f4 --- /dev/null +++ b/Guardfile @@ -0,0 +1,9 @@ +guard :minitest, autorun: false, spring: true do + watch(%r{^app/(.+).rb$}) { |m| "test/#{m[1]}_test.rb" } + watch(%r{^app/controllers/application_controller.rb$}) { 'test/controllers' } + watch(%r{^app/controllers/(.+)_controller.rb$}) { |m| "test/integration/#{m[1]}_test.rb" } + watch(%r{^app/views/(.+)_mailer/.+}) { |m| "test/mailers/#{m[1]}_mailer_test.rb" } + watch(%r{^lib/(.+).rb$}) { |m| "test/lib/#{m[1]}_test.rb" } + watch(%r{^test/.+_test.rb$}) + watch(%r{^test/test_helper.rb$}) { 'test' } +end 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..82e6f0f6c --- /dev/null +++ b/app/assets/javascripts/application.js @@ -0,0 +1,16 @@ +// This is a manifest file that'll be compiled into application.js, which will include all the files +// listed below. +// +// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, 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 activestorage +//= 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/stylesheets/application.css b/app/assets/stylesheets/application.css new file mode 100644 index 000000000..d05ea0f51 --- /dev/null +++ b/app/assets/stylesheets/application.css @@ -0,0 +1,15 @@ +/* + * This is a manifest file that'll be compiled into application.css, which will include all the files + * listed below. + * + * Any CSS and SCSS file within this directory, lib/assets/stylesheets, 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 + */ 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..09705d12a --- /dev/null +++ b/app/controllers/application_controller.rb @@ -0,0 +1,2 @@ +class ApplicationController < ActionController::Base +end diff --git a/app/controllers/concerns/.keep b/app/controllers/concerns/.keep new file mode 100644 index 000000000..e69de29bb 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/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..b9ce64348 --- /dev/null +++ b/app/views/layouts/application.html.erb @@ -0,0 +1,15 @@ + + + + TaskList + <%= csrf_meta_tags %> + <%= csp_meta_tag %> + + <%= 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/bin/bundle b/bin/bundle new file mode 100755 index 000000000..f19acf5b5 --- /dev/null +++ b/bin/bundle @@ -0,0 +1,3 @@ +#!/usr/bin/env ruby +ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) +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..94fd4d797 --- /dev/null +++ b/bin/setup @@ -0,0 +1,36 @@ +#!/usr/bin/env ruby +require 'fileutils' +include FileUtils + +# path to your application root. +APP_ROOT = File.expand_path('..', __dir__) + +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..58bfaed51 --- /dev/null +++ b/bin/update @@ -0,0 +1,31 @@ +#!/usr/bin/env ruby +require 'fileutils' +include FileUtils + +# path to your application root. +APP_ROOT = File.expand_path('..', __dir__) + +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') + + # Install JavaScript dependencies if using Yarn + # system('bin/yarn') + + 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..460dd565b --- /dev/null +++ b/bin/yarn @@ -0,0 +1,11 @@ +#!/usr/bin/env ruby +APP_ROOT = File.expand_path('..', __dir__) +Dir.chdir(APP_ROOT) do + begin + exec "yarnpkg", *ARGV + 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..77b3ec01b --- /dev/null +++ b/config/application.rb @@ -0,0 +1,26 @@ +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 + config.generators do |g| + # Force new test files to be generated in the minitest-spec style + g.test_framework :minitest, spec: true + + # Always use .js files, never .coffee + g.javascript_engine :js + end + # Initialize configuration defaults for originally generated Rails version. + config.load_defaults 5.2 + + # Settings in config/environments/* take precedence over those specified here. + # Application configuration can go into files in config/initializers + # -- all .rb files in that directory are automatically loaded after loading + # the framework and any gems in your application. + end +end diff --git a/config/boot.rb b/config/boot.rb new file mode 100644 index 000000000..b9e460cef --- /dev/null +++ b/config/boot.rb @@ -0,0 +1,4 @@ +ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) + +require 'bundler/setup' # Set up gems listed in the Gemfile. +require 'bootsnap/setup' # Speed up boot time by caching expensive operations. diff --git a/config/cable.yml b/config/cable.yml new file mode 100644 index 000000000..51266cdbe --- /dev/null +++ b/config/cable.yml @@ -0,0 +1,10 @@ +development: + adapter: async + +test: + adapter: async + +production: + adapter: redis + url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %> + channel_prefix: TaskList_production diff --git a/config/credentials.yml.enc b/config/credentials.yml.enc new file mode 100644 index 000000000..343eaf805 --- /dev/null +++ b/config/credentials.yml.enc @@ -0,0 +1 @@ +QCaNmTW9Ro7G3+y2RXfZVttOc80UHwWOdDpm/rwZICDO72V1fgZma2y6wYbxSGwg0dyu+K5TpB/dFMh+Lsc9MX4Y5B1l37gBC1AkZ2K0k6KZKgdwKn+77iThmcPWX83vUE2wWLbmkhyero5qVVamPR6wgPM1lSyiYXE2+BdpPaaRh5PanoEw9HJI8+JZ78HD4RRQXwjcmobgkxczIRK/AWSBg0lu9BCj2u0kWLRQu9tOpW9mf4110rTtvBbZLxVWr3HnT2g+jOc/zaNrrqDyy8o2cVcbyQizaO0M76z9pvDZyVPebKrgiu8GJEVzkGocHQvvvsbwxXI5LK1BWy4IlDJaoUoUBoWMd1hF7rMp2pGENxgTxXRgdu37kXPJ6U5mgzYc/3iftLkiD5irJ922aNRCa1ZNns0ySF2O--rc4l+wLGBAxZ6bYt--kMC0oDLm4RtiHZkTKCrZXg== \ No newline at end of file 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..1311e3e4e --- /dev/null +++ b/config/environments/development.rb @@ -0,0 +1,61 @@ +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. + # Run rails dev:cache to toggle caching. + 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.to_i}" + } + else + config.action_controller.perform_caching = false + + config.cache_store = :null_store + end + + # Store uploaded files on the local file system (see config/storage.yml for options) + config.active_storage.service = :local + + # 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 + + # Highlight code that triggered database queries in logs. + config.active_record.verbose_query_logs = true + + # 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..4cef70af5 --- /dev/null +++ b/config/environments/production.rb @@ -0,0 +1,94 @@ +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 + + # Ensures that a master key has been made available in either ENV["RAILS_MASTER_KEY"] + # or in config/master.key. This key is used to decrypt credentials (and other encrypted files). + # config.require_master_key = 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 + + # Store uploaded files on the local file system (see config/storage.yml for options) + config.active_storage.service = :local + + # 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..0a38fd3ce --- /dev/null +++ b/config/environments/test.rb @@ -0,0 +1,46 @@ +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.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 + + # Store uploaded files on the local file system in a temporary directory + config.active_storage.service = :test + + 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/action_view.rb b/config/initializers/action_view.rb new file mode 100644 index 000000000..142d382f8 --- /dev/null +++ b/config/initializers/action_view.rb @@ -0,0 +1 @@ +Rails.application.config.action_view.form_with_generates_remote_forms = false 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/content_security_policy.rb b/config/initializers/content_security_policy.rb new file mode 100644 index 000000000..d3bcaa5ec --- /dev/null +++ b/config/initializers/content_security_policy.rb @@ -0,0 +1,25 @@ +# Be sure to restart your server when you modify this file. + +# Define an application-wide content security policy +# For further information see the following documentation +# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy + +# Rails.application.config.content_security_policy do |policy| +# policy.default_src :self, :https +# policy.font_src :self, :https, :data +# policy.img_src :self, :https, :data +# policy.object_src :none +# policy.script_src :self, :https +# policy.style_src :self, :https + +# # Specify URI for violation reports +# # policy.report_uri "/csp-violation-report-endpoint" +# end + +# If you are using UJS then enable automatic nonce generation +# Rails.application.config.content_security_policy_nonce_generator = -> request { SecureRandom.base64(16) } + +# Report CSP violations to a specified URI +# For further information see the following documentation: +# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only +# Rails.application.config.content_security_policy_report_only = true 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..a5eccf816 --- /dev/null +++ b/config/puma.rb @@ -0,0 +1,34 @@ +# 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. +# +# preload_app! + +# 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..787824f88 --- /dev/null +++ b/config/routes.rb @@ -0,0 +1,3 @@ +Rails.application.routes.draw do + # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html +end diff --git a/config/spring.rb b/config/spring.rb new file mode 100644 index 000000000..9fa7863f9 --- /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/config/storage.yml b/config/storage.yml new file mode 100644 index 000000000..d32f76e8f --- /dev/null +++ b/config/storage.yml @@ -0,0 +1,34 @@ +test: + service: Disk + root: <%= Rails.root.join("tmp/storage") %> + +local: + service: Disk + root: <%= Rails.root.join("storage") %> + +# Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key) +# amazon: +# service: S3 +# access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %> +# secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %> +# region: us-east-1 +# bucket: your_own_bucket + +# Remember not to checkin your GCS keyfile to a repository +# google: +# service: GCS +# project: your_project +# credentials: <%= Rails.root.join("path/to/gcs.keyfile") %> +# bucket: your_own_bucket + +# Use rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key) +# microsoft: +# service: AzureStorage +# storage_account_name: your_account_name +# storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %> +# container: your_container_name + +# mirror: +# service: Mirror +# primary: local +# mirrors: [ amazon, google, microsoft ] 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..e69de29bb 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/storage/.keep b/storage/.keep new file mode 100644 index 000000000..e69de29bb 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/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..10594a324 --- /dev/null +++ b/test/test_helper.rb @@ -0,0 +1,26 @@ +ENV["RAILS_ENV"] = "test" +require File.expand_path("../../config/environment", __FILE__) +require "rails/test_help" +require "minitest/rails" +require "minitest/reporters" # for Colorized output + +# For colorful output! +Minitest::Reporters.use!( + Minitest::Reporters::SpecReporter.new, + ENV, + Minitest.backtrace_filter +) + + +# To add Capybara feature tests add `gem "minitest-rails-capybara"` +# to the test group in the Gemfile and uncomment the following: +# require "minitest/rails/capybara" + +# Uncomment for awesome colorful output +# require "minitest/pride" + +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 98dbeaa094adf9684b9cedca1b709a53b661185f Mon Sep 17 00:00:00 2001 From: Jillianne Ramirez Date: Tue, 9 Apr 2019 16:41:41 -0700 Subject: [PATCH 02/23] route added to view index page --- config/routes.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/routes.rb b/config/routes.rb index 787824f88..a25bde616 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,3 +1,4 @@ Rails.application.routes.draw do + get 'tasks/index', to: 'tasks#index' # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html end From 46a8ade2bbe444e6fe97d7e0accac40369ef3f45 Mon Sep 17 00:00:00 2001 From: Jillianne Ramirez Date: Tue, 9 Apr 2019 16:42:57 -0700 Subject: [PATCH 03/23] controller action, instance tasks added --- app/controllers/tasks_controller.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 app/controllers/tasks_controller.rb diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb new file mode 100644 index 000000000..736d7884d --- /dev/null +++ b/app/controllers/tasks_controller.rb @@ -0,0 +1,7 @@ +TASKS = [] + +class TasksController < ApplicationController + def index + @tasks = TASKS + end +end From 58b479c784d78b4f3fd42e6ac8af48577026ae79 Mon Sep 17 00:00:00 2001 From: Jillianne Ramirez Date: Tue, 9 Apr 2019 16:43:48 -0700 Subject: [PATCH 04/23] additional rails files --- app/assets/javascripts/tasks.js | 2 ++ app/assets/stylesheets/tasks.scss | 3 +++ app/helpers/tasks_helper.rb | 2 ++ app/views/tasks/index.html.erb | 2 ++ 4 files changed, 9 insertions(+) create mode 100644 app/assets/javascripts/tasks.js create mode 100644 app/assets/stylesheets/tasks.scss create mode 100644 app/helpers/tasks_helper.rb create mode 100644 app/views/tasks/index.html.erb diff --git a/app/assets/javascripts/tasks.js b/app/assets/javascripts/tasks.js new file mode 100644 index 000000000..dee720fac --- /dev/null +++ b/app/assets/javascripts/tasks.js @@ -0,0 +1,2 @@ +// Place all the behaviors and hooks related to the matching controller here. +// All this logic will automatically be available in application.js. 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/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/views/tasks/index.html.erb b/app/views/tasks/index.html.erb new file mode 100644 index 000000000..b16c10310 --- /dev/null +++ b/app/views/tasks/index.html.erb @@ -0,0 +1,2 @@ +

Tasks#index

+

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

From 11597a52ae38eaf1e842e5459bb84bd91d06e1d3 Mon Sep 17 00:00:00 2001 From: Jillianne Ramirez Date: Tue, 9 Apr 2019 16:52:17 -0700 Subject: [PATCH 05/23] ERB view created to display tasks from controller instance' --- app/views/tasks/index.html.erb | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb index b16c10310..8ba1681cf 100644 --- a/app/views/tasks/index.html.erb +++ b/app/views/tasks/index.html.erb @@ -1,2 +1,23 @@ -

Tasks#index

-

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

+ + Jillianne's TaskList + + +

Welcome to my TaskList!

+ + + From 7d5df9ff13bdfefdf32187cd97b33a5ac44b4eea Mon Sep 17 00:00:00 2001 From: Jillianne Ramirez Date: Tue, 9 Apr 2019 18:34:27 -0700 Subject: [PATCH 06/23] Wave 1 completed --- .ruby-version | 1 + app/controllers/tasks_controller.rb | 6 +- app/models/task.rb | 2 + app/views/tasks/index.html.erb | 20 +- config/master.key | 1 + db/migrate/20190410005918_create_tasks.rb | 11 + .../20190410010926_rename_completion_date.rb | 5 + db/schema.rb | 26 ++ db/seeds.rb | 21 + log/development.log | 371 ++++++++++++++++++ test/fixtures/tasks.yml | 11 + test/models/task_test.rb | 9 + 12 files changed, 471 insertions(+), 13 deletions(-) create mode 100644 .ruby-version create mode 100644 app/models/task.rb create mode 100644 config/master.key create mode 100644 db/migrate/20190410005918_create_tasks.rb create mode 100644 db/migrate/20190410010926_rename_completion_date.rb create mode 100644 db/schema.rb create mode 100644 test/fixtures/tasks.yml create mode 100644 test/models/task_test.rb diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 000000000..25c81fe39 --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +ruby-2.5.1 \ No newline at end of file diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb index 736d7884d..ad6ae2c42 100644 --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -1,7 +1,5 @@ -TASKS = [] - class TasksController < ApplicationController - def index - @tasks = TASKS + def index + @tasks = Task.all end 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/index.html.erb b/app/views/tasks/index.html.erb index 8ba1681cf..c8ce7ac69 100644 --- a/app/views/tasks/index.html.erb +++ b/app/views/tasks/index.html.erb @@ -9,15 +9,17 @@ No Tasks Available <% else %> Tasks are as follow: - - <% @tasks.each do |task| %> - - <%= task.name %> - <%= task.description %> - <%= task.completion_date %> - - <% end %> - + + + <% @tasks.each do |task| %> + + + + + + <% end %> + +
<%= task.name %><%= task.description %><%= task.completed_at %>
<% end %> diff --git a/config/master.key b/config/master.key new file mode 100644 index 000000000..c62ae7867 --- /dev/null +++ b/config/master.key @@ -0,0 +1 @@ +38e694f12c35bf86f1b2bc96e3bfdbe0 \ No newline at end of file diff --git a/db/migrate/20190410005918_create_tasks.rb b/db/migrate/20190410005918_create_tasks.rb new file mode 100644 index 000000000..ae021bbae --- /dev/null +++ b/db/migrate/20190410005918_create_tasks.rb @@ -0,0 +1,11 @@ +class CreateTasks < ActiveRecord::Migration[5.2] + def change + create_table :tasks do |t| + t.string :name + t.string :description + t.datetime :completion_date + + t.timestamps + end + end +end diff --git a/db/migrate/20190410010926_rename_completion_date.rb b/db/migrate/20190410010926_rename_completion_date.rb new file mode 100644 index 000000000..adc44f42a --- /dev/null +++ b/db/migrate/20190410010926_rename_completion_date.rb @@ -0,0 +1,5 @@ +class RenameCompletionDate < ActiveRecord::Migration[5.2] + def change + rename_column :tasks, :completion_date, :completed_at + end +end diff --git a/db/schema.rb b/db/schema.rb new file mode 100644 index 000000000..618b3ec3b --- /dev/null +++ b/db/schema.rb @@ -0,0 +1,26 @@ +# 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: 2019_04_10_010926) 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.datetime "completed_at" + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + end + +end diff --git a/db/seeds.rb b/db/seeds.rb index 1beea2acc..62e650c5c 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -5,3 +5,24 @@ # # movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }]) # Character.create(name: 'Luke', movie: movies.first) + +def random_time + Time.at(rand * Time.now.to_i) +end + +tasks = [ + {name: "The First Task", description: "", completed_at: random_time}, + {name: "Go to Brunch", description: ""}, + {name: "Go to Lunch", description: "", completed_at: random_time}, + {name: "Go to Second Lunch", description: ""}, + {name: "Play Video Games", description: "", completed_at: random_time}, + {name: "High Five Somebody You Don't Know", description: "", completed_at: random_time}, + {name: "Plant Flowers", description: "", completed_at: random_time}, + {name: "Call Mom", description: ""}, + {name: "She worries, you know.", description: ""}, + {name: "Nap.", description: "", completed_at: random_time}, +] + +tasks.each do |task| + Task.create task +end \ No newline at end of file diff --git a/log/development.log b/log/development.log index e69de29bb..24779b39b 100644 --- a/log/development.log +++ b/log/development.log @@ -0,0 +1,371 @@ +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (183.3ms) DROP DATABASE IF EXISTS "TaskList_development" + ↳ bin/rails:9 +  (189.6ms) DROP DATABASE IF EXISTS "TaskList_test" + ↳ bin/rails:9 +  (443.7ms) CREATE DATABASE "TaskList_development" ENCODING = 'unicode' + ↳ bin/rails:9 +  (348.6ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + ↳ bin/rails:9 + SQL (0.9ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.3ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (5.4ms) CREATE TABLE "tasks" ("id" bigserial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "name" character varying, "description" character varying, "completion_date" timestamp) + ↳ db/schema.rb:18 +  (2.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES (20190410004147) + ↳ db/schema.rb:13 +  (2.5ms) 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) + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ db/schema.rb:13 +  (0.2ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-04-10 00:53:41.367734"], ["updated_at", "2019-04-10 00:53:41.367734"]] + ↳ db/schema.rb:13 +  (0.4ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 +  (0.1ms) COMMIT + ↳ bin/rails:9 + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (5.6ms) CREATE TABLE "tasks" ("id" bigserial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "name" character varying, "description" character varying, "completion_date" timestamp) + ↳ db/schema.rb:18 +  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190410004147) + ↳ db/schema.rb:13 +  (2.2ms) 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) + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ db/schema.rb:13 +  (0.1ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (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", "2019-04-10 00:53:41.413791"], ["updated_at", "2019-04-10 00:53:41.413791"]] + ↳ db/schema.rb:13 +  (0.3ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 + ActiveRecord::InternalMetadata Update (1.8ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2019-04-10 00:53:41.417190"], ["key", "environment"]] + ↳ bin/rails:9 +  (0.4ms) COMMIT + ↳ bin/rails:9 +  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.3ms) SELECT pg_try_advisory_lock(4169262226251541860) + ↳ bin/rails:9 +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 +  (0.1ms) COMMIT + ↳ bin/rails:9 +  (0.2ms) SELECT pg_advisory_unlock(4169262226251541860) + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (189.7ms) DROP DATABASE IF EXISTS "TaskList_development" + ↳ bin/rails:9 +  (193.3ms) DROP DATABASE IF EXISTS "TaskList_test" + ↳ bin/rails:9 +  (374.1ms) CREATE DATABASE "TaskList_development" ENCODING = 'unicode' + ↳ bin/rails:9 +  (345.9ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + ↳ bin/rails:9 + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (5.7ms) CREATE TABLE "tasks" ("id" bigserial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "name" character varying, "description" character varying, "completion_date" timestamp) + ↳ db/schema.rb:18 +  (2.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES (20190410004147) + ↳ db/schema.rb:13 +  (2.8ms) 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) + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ db/schema.rb:13 +  (0.2ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-04-10 00:55:22.818400"], ["updated_at", "2019-04-10 00:55:22.818400"]] + ↳ db/schema.rb:13 +  (0.4ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 +  (0.1ms) COMMIT + ↳ bin/rails:9 + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (6.0ms) CREATE TABLE "tasks" ("id" bigserial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "name" character varying, "description" character varying, "completion_date" timestamp) + ↳ db/schema.rb:18 +  (2.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190410004147) + ↳ db/schema.rb:13 +  (2.9ms) 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) + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ db/schema.rb:13 +  (0.1ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (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", "2019-04-10 00:55:22.866267"], ["updated_at", "2019-04-10 00:55:22.866267"]] + ↳ db/schema.rb:13 +  (0.3ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 + ActiveRecord::InternalMetadata Update (0.3ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2019-04-10 00:55:22.869802"], ["key", "environment"]] + ↳ bin/rails:9 +  (0.4ms) COMMIT + ↳ bin/rails:9 +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (199.9ms) DROP DATABASE IF EXISTS "TaskList_development" + ↳ bin/rails:9 +  (197.3ms) DROP DATABASE IF EXISTS "TaskList_test" + ↳ bin/rails:9 +  (386.2ms) CREATE DATABASE "TaskList_development" ENCODING = 'unicode' + ↳ bin/rails:9 +  (391.0ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + ↳ bin/rails:9 +  (41.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ bin/rails:9 +  (7.2ms) 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) + ↳ bin/rails:9 +  (0.5ms) SELECT pg_try_advisory_lock(4169262226251541860) + ↳ bin/rails:9 +  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +Migrating to CreateTasks (20190410005918) +  (0.2ms) BEGIN + ↳ bin/rails:9 +  (8.6ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completion_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) + ↳ db/migrate/20190410005918_create_tasks.rb:3 + ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190410005918"]] + ↳ bin/rails:9 +  (0.4ms) COMMIT + ↳ bin/rails:9 + ActiveRecord::InternalMetadata Load (0.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-04-10 01:02:59.780566"], ["updated_at", "2019-04-10 01:02:59.780566"]] + ↳ bin/rails:9 +  (0.4ms) COMMIT + ↳ bin/rails:9 +  (0.3ms) SELECT pg_advisory_unlock(4169262226251541860) + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 + Task Load (1.2ms) SELECT "tasks".* FROM "tasks" +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT pg_try_advisory_lock(4169262226251541860) + ↳ bin/rails:9 +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +Migrating to RenameCompletionDate (20190410010926) +  (0.2ms) BEGIN + ↳ bin/rails:9 +  (5.3ms) ALTER TABLE "tasks" RENAME COLUMN "completion_date" TO "completed_at" + ↳ db/migrate/20190410010926_rename_completion_date.rb:3 + ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190410010926"]] + ↳ bin/rails:9 +  (0.5ms) COMMIT + ↳ bin/rails:9 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 +  (0.1ms) COMMIT + ↳ bin/rails:9 +  (0.2ms) SELECT pg_advisory_unlock(4169262226251541860) + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.7ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "The First Task"], ["description", ""], ["completed_at", "2002-01-12 18:55:37.945908"], ["created_at", "2019-04-10 01:12:50.328336"], ["updated_at", "2019-04-10 01:12:50.328336"]] + ↳ db/seeds.rb:27 +  (3.5ms) COMMIT + ↳ db/seeds.rb:27 +  (0.2ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Go to Brunch"], ["description", ""], ["created_at", "2019-04-10 01:12:50.335470"], ["updated_at", "2019-04-10 01:12:50.335470"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Go to Lunch"], ["description", ""], ["completed_at", "1990-08-16 22:13:43.569669"], ["created_at", "2019-04-10 01:12:50.337581"], ["updated_at", "2019-04-10 01:12:50.337581"]] + ↳ db/seeds.rb:27 +  (0.3ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Go to Second Lunch"], ["description", ""], ["created_at", "2019-04-10 01:12:50.339394"], ["updated_at", "2019-04-10 01:12:50.339394"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Play Video Games"], ["description", ""], ["completed_at", "1984-03-11 13:37:09.849559"], ["created_at", "2019-04-10 01:12:50.341205"], ["updated_at", "2019-04-10 01:12:50.341205"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "High Five Somebody You Don't Know"], ["description", ""], ["completed_at", "1994-08-23 17:59:46.229249"], ["created_at", "2019-04-10 01:12:50.343240"], ["updated_at", "2019-04-10 01:12:50.343240"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Plant Flowers"], ["description", ""], ["completed_at", "1979-09-19 11:16:10.376293"], ["created_at", "2019-04-10 01:12:50.345545"], ["updated_at", "2019-04-10 01:12:50.345545"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Call Mom"], ["description", ""], ["created_at", "2019-04-10 01:12:50.347873"], ["updated_at", "2019-04-10 01:12:50.347873"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "She worries, you know."], ["description", ""], ["created_at", "2019-04-10 01:12:50.350134"], ["updated_at", "2019-04-10 01:12:50.350134"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Nap."], ["description", ""], ["completed_at", "1979-10-22 02:43:36.381127"], ["created_at", "2019-04-10 01:12:50.352342"], ["updated_at", "2019-04-10 01:12:50.352342"]] + ↳ db/seeds.rb:27 +  (0.3ms) COMMIT + ↳ db/seeds.rb:27 + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" +Started GET "/" for ::1 at 2019-04-09 18:22:06 -0700 +  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ /Users/jillianne.ramirez/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98 +Processing by Rails::WelcomeController#index as HTML + Rendering /Users/jillianne.ramirez/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb + Rendered /Users/jillianne.ramirez/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb (3.1ms) +Completed 200 OK in 17ms (Views: 9.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/index" for ::1 at 2019-04-09 18:23:57 -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 267ms (Views: 265.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/index" for ::1 at 2019-04-09 18:29:51 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:13 + Rendered tasks/index.html.erb within layouts/application (28.2ms) +Completed 500 Internal Server Error in 38ms (ActiveRecord: 5.9ms) + + + +NoMethodError - undefined method `completion_date' for # +Did you mean? completed_at: + app/views/tasks/index.html.erb:17:in `block in _app_views_tasks_index_html_erb__2617946523339944877_70116106659080' + app/views/tasks/index.html.erb:13:in `_app_views_tasks_index_html_erb__2617946523339944877_70116106659080' + +Started POST "/__better_errors/2f89b9c0147df19a/variables" for ::1 at 2019-04-09 18:29:51 -0700 +Started GET "/tasks/index" for ::1 at 2019-04-09 18:30:09 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:13 + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 28ms (Views: 24.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/index" for ::1 at 2019-04-09 18:31:57 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:14 + Rendered tasks/index.html.erb within layouts/application (10.6ms) +Completed 200 OK in 39ms (Views: 27.3ms | ActiveRecord: 3.2ms) + + +Started GET "/tasks/index" for ::1 at 2019-04-09 18:32:22 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:14 + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 24ms (Views: 21.4ms | ActiveRecord: 0.3ms) + + diff --git a/test/fixtures/tasks.yml b/test/fixtures/tasks.yml new file mode 100644 index 000000000..b1a33887c --- /dev/null +++ b/test/fixtures/tasks.yml @@ -0,0 +1,11 @@ +# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +one: + name: MyString + description: MyString + completion_date: MyString + +two: + name: MyString + description: MyString + completion_date: MyString diff --git a/test/models/task_test.rb b/test/models/task_test.rb new file mode 100644 index 000000000..7928a374f --- /dev/null +++ b/test/models/task_test.rb @@ -0,0 +1,9 @@ +require "test_helper" + +describe Task do + let(:task) { Task.new } + + it "must be valid" do + value(task).must_be :valid? + end +end From 50b82b8602daa1a63f3fdc6ab01115f07eee4a0e Mon Sep 17 00:00:00 2001 From: Jillianne Ramirez Date: Wed, 10 Apr 2019 18:52:05 -0700 Subject: [PATCH 07/23] wave 2 completed, tests passing --- app/controllers/tasks_controller.rb | 32 +- app/views/tasks/index.html.erb | 7 +- app/views/tasks/new.html.erb | 17 + app/views/tasks/show.html.erb | 12 + config/routes.rb | 17 +- db/migrate/20190410005918_create_tasks.rb | 11 - .../20190410010926_rename_completion_date.rb | 5 - db/schema.rb | 5 +- log/development.log | 701 ++++++ log/test.log | 1890 +++++++++++++++++ test/controllers/tasks_controller_test.rb | 144 +- 11 files changed, 2809 insertions(+), 32 deletions(-) create mode 100644 app/views/tasks/new.html.erb create mode 100644 app/views/tasks/show.html.erb delete mode 100644 db/migrate/20190410005918_create_tasks.rb delete mode 100644 db/migrate/20190410010926_rename_completion_date.rb create mode 100644 log/test.log diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb index ad6ae2c42..af19bbc29 100644 --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -1,5 +1,35 @@ +TASKS = Task.all + class TasksController < ApplicationController def index - @tasks = Task.all + @tasks = TASKS + end + + def show + task_id = params[:id] + @task = Task.find_by(id: task_id) + if @task.nil? + redirect_to task_path + end + end + + def new + @task = Task.new(name: "Default Name") + end + + def create + task = Task.new( + name: params["task"]["name"], + description: params["task"]["description"], + completed_at: params["task"]["completed_at"], + ) + + is_successful = task.save + + if is_successful + redirect_to task_path(task.id) + else + head :not_found + end end end diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb index c8ce7ac69..35a61f3d0 100644 --- a/app/views/tasks/index.html.erb +++ b/app/views/tasks/index.html.erb @@ -8,7 +8,7 @@ <% if @tasks.nil? %> No Tasks Available <% else %> - Tasks are as follow: +

Tasks are as follow:

<% @tasks.each do |task| %> @@ -19,7 +19,8 @@ <% end %> -
- <% end %> +
+ <%#= image_tag "", alt: "Image of ... "%> + <% end %> diff --git a/app/views/tasks/new.html.erb b/app/views/tasks/new.html.erb new file mode 100644 index 000000000..31850e126 --- /dev/null +++ b/app/views/tasks/new.html.erb @@ -0,0 +1,17 @@ +

Form for creating a new Task

+ + +<%= form_with model: @task, class: 'create-task' do |f| %> + +

Please fill out this form to create a new task

+ + <%= f.label :name %> + <%= f.text_field :name %> + <%= f.label :description %> + <%= f.text_field :description %> + <%= f.label :completed_at %> + <%= f.text_field :completed_at %> + + <%= f.submit "Save Task", class: "task-form__submit-btn" %> + +<% end %> \ No newline at end of file diff --git a/app/views/tasks/show.html.erb b/app/views/tasks/show.html.erb new file mode 100644 index 000000000..11cd49c79 --- /dev/null +++ b/app/views/tasks/show.html.erb @@ -0,0 +1,12 @@ +

+ <%= @task.name %> +

+ +

+ <%= @task.description %> +

+

+ <%= @task.completed_at %> +

+ +<%= link_to "Back to All Tasks", tasks_path %> \ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index a25bde616..a0b03d0e9 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,4 +1,19 @@ Rails.application.routes.draw do - get 'tasks/index', to: 'tasks#index' + get '/tasks', to: 'tasks#index', as: 'tasks' # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html + # method path-URL, to: Controller#action (order of routes matter, need #new before #show) + + get '/tasks/new', to: 'tasks#new', as: 'new_task' + post '/tasks', to: 'tasks#create' + + get 'tasks/:id', to: 'tasks#show', as: 'task' + + # get '/tasks/:id/edit', to: 'tasks#edit', as: 'edit_book' + # patch '/tasks/:id', to: 'tasks#update' + + # delete '/tasks/:id', to: 'tasks#destroy' + + # mark a task complete!!!!! patch '/tasks/:id/read', to: 'tasks#mark_complete', as: 'mark_complete' + + root to: 'tasks#index' # makes homepage to site go to the index, also get '/', to: 'tasks#index' end diff --git a/db/migrate/20190410005918_create_tasks.rb b/db/migrate/20190410005918_create_tasks.rb deleted file mode 100644 index ae021bbae..000000000 --- a/db/migrate/20190410005918_create_tasks.rb +++ /dev/null @@ -1,11 +0,0 @@ -class CreateTasks < ActiveRecord::Migration[5.2] - def change - create_table :tasks do |t| - t.string :name - t.string :description - t.datetime :completion_date - - t.timestamps - end - end -end diff --git a/db/migrate/20190410010926_rename_completion_date.rb b/db/migrate/20190410010926_rename_completion_date.rb deleted file mode 100644 index adc44f42a..000000000 --- a/db/migrate/20190410010926_rename_completion_date.rb +++ /dev/null @@ -1,5 +0,0 @@ -class RenameCompletionDate < ActiveRecord::Migration[5.2] - def change - rename_column :tasks, :completion_date, :completed_at - end -end diff --git a/db/schema.rb b/db/schema.rb index 618b3ec3b..d54b50416 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 2019_04_10_010926) do +ActiveRecord::Schema.define(version: 2019_04_11_014736) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -18,9 +18,10 @@ create_table "tasks", force: :cascade do |t| t.string "name" t.string "description" - t.datetime "completed_at" + t.string "completed_at" t.datetime "created_at", null: false t.datetime "updated_at", null: false + t.string "completion_date" end end diff --git a/log/development.log b/log/development.log index 24779b39b..750770c5a 100644 --- a/log/development.log +++ b/log/development.log @@ -369,3 +369,704 @@ Processing by TasksController#index as HTML Completed 200 OK in 24ms (Views: 21.4ms | ActiveRecord: 0.3ms) +Started GET "/tasks/index" for ::1 at 2019-04-09 18:41:40 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:14 + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 34ms (Views: 30.9ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/index/34" for ::1 at 2019-04-09 18:41:57 -0700 + +ActionController::RoutingError (No route matches [GET] "/tasks/index/34"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/" for ::1 at 2019-04-10 10:08:46 -0700 +  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ /Users/jillianne.ramirez/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (6.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:14 + Rendered tasks/index.html.erb within layouts/application (34.5ms) +Completed 200 OK in 280ms (Views: 251.2ms | ActiveRecord: 18.2ms) + + +Started GET "/" for ::1 at 2019-04-10 10:09:58 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:14 + Rendered tasks/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 19ms (Views: 16.4ms | ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2019-04-10 10:10:07 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:14 + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 37ms (Views: 34.5ms | ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2019-04-10 10:10:14 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:14 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 21ms (Views: 18.6ms | ActiveRecord: 0.5ms) + + +Started GET "/" for ::1 at 2019-04-10 10:31:02 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:14 + Rendered tasks/index.html.erb within layouts/application (12.8ms) +Completed 200 OK in 48ms (Views: 38.8ms | ActiveRecord: 6.4ms) + + +Started GET "/" for ::1 at 2019-04-10 10:31:03 -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 19ms (Views: 17.2ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-10 10:34:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:14 + Rendered tasks/index.html.erb within layouts/application (8.0ms) +Completed 200 OK in 25ms (Views: 20.5ms | ActiveRecord: 2.8ms) + + +Started GET "/" for ::1 at 2019-04-10 10:39:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:14 + Rendered tasks/index.html.erb within layouts/application (8.4ms) +Completed 200 OK in 24ms (Views: 20.2ms | ActiveRecord: 2.6ms) + + +Started GET "/" for ::1 at 2019-04-10 10:39:34 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:14 + Rendered tasks/index.html.erb within layouts/application (9.0ms) +Completed 200 OK in 27ms (Views: 22.3ms | ActiveRecord: 3.2ms) + + +Started GET "/" for ::1 at 2019-04-10 10:39: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.5ms) +Completed 200 OK in 18ms (Views: 16.0ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-10 10:39:58 -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 18ms (Views: 15.6ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-10 13:53:53 -0700 +  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ /Users/jillianne.ramirez/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (12.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:14 + Rendered tasks/index.html.erb within layouts/application (36.1ms) +Completed 200 OK in 299ms (Views: 273.1ms | ActiveRecord: 18.0ms) + + +Started GET "/" for ::1 at 2019-04-10 13:56: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.5ms) +Completed 200 OK in 25ms (Views: 22.6ms | ActiveRecord: 0.0ms) + + +Started GET "/show" for ::1 at 2019-04-10 13:56:12 -0700 + +ActionController::RoutingError (No route matches [GET] "/show"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/1" for ::1 at 2019-04-10 13:56:54 -0700 + +ActionController::RoutingError (No route matches [GET] "/1"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/" for ::1 at 2019-04-10 13:57:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:14 + Rendered tasks/index.html.erb within layouts/application (12.3ms) +Completed 200 OK in 66ms (Views: 58.7ms | ActiveRecord: 5.1ms) + + +Started GET "/" for ::1 at 2019-04-10 14:05: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.0ms) +Completed 200 OK in 40ms (Views: 37.1ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-10 14:05:35 -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 22ms (Views: 19.8ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-10 14:14: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.0ms) +Completed 200 OK in 88ms (Views: 73.5ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-10 17:36:41 -0700 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ /Users/jillianne.ramirez/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98 + +SyntaxError - syntax error, unexpected end-of-input, expecting keyword_end: + app/controllers/tasks_controller.rb:34:in `' + +Started POST "/__better_errors/d798cdbbcd50eb5d/variables" for ::1 at 2019-04-10 17:36:42 -0700 +Started GET "/" for ::1 at 2019-04-10 17:37:08 -0700 + +SyntaxError - syntax error, unexpected end-of-input, expecting keyword_end + end + ^: + app/controllers/tasks_controller.rb:34:in `' + +Started POST "/__better_errors/d2cd90494306ecc7/variables" for ::1 at 2019-04-10 17:37:08 -0700 +Started GET "/" for ::1 at 2019-04-10 17:37:19 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (5.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:14 + Rendered tasks/index.html.erb within layouts/application (30.3ms) +Completed 200 OK in 208ms (Views: 191.4ms | ActiveRecord: 10.0ms) + + +Started GET "/new" for ::1 at 2019-04-10 17:37:23 -0700 + +ActionController::RoutingError (No route matches [GET] "/new"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/task/new" for ::1 at 2019-04-10 17:37:31 -0700 + +ActionController::RoutingError (No route matches [GET] "/task/new"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/new" for ::1 at 2019-04-10 17:37:46 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (19.0ms) +Completed 200 OK in 47ms (Views: 43.3ms | ActiveRecord: 0.0ms) + + +  (2.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (2.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (214.1ms) DROP DATABASE IF EXISTS "TaskList_development" + ↳ bin/rails:9 +  (204.6ms) DROP DATABASE IF EXISTS "TaskList_test" + ↳ bin/rails:9 +  (381.0ms) CREATE DATABASE "TaskList_development" ENCODING = 'unicode' + ↳ bin/rails:9 +  (406.6ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + ↳ bin/rails:9 + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (7.0ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) + ↳ db/schema.rb:18 +  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES (20190410010926) + ↳ db/schema.rb:13 +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES +(20190410005918); + + + ↳ db/schema.rb:13 +  (2.9ms) 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) + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ db/schema.rb:13 +  (0.2ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-04-11 00:48:18.400892"], ["updated_at", "2019-04-11 00:48:18.400892"]] + ↳ db/schema.rb:13 +  (0.8ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 +  (0.1ms) COMMIT + ↳ bin/rails:9 + SQL (0.7ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (8.1ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) + ↳ db/schema.rb:18 +  (3.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190410010926) + ↳ db/schema.rb:13 +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES +(20190410005918); + + + ↳ db/schema.rb:13 +  (2.3ms) 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) + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ db/schema.rb:13 +  (0.1ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (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", "2019-04-11 00:48:18.455349"], ["updated_at", "2019-04-11 00:48:18.455349"]] + ↳ db/schema.rb:13 +  (0.4ms) COMMIT + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 + ActiveRecord::InternalMetadata Update (0.3ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2019-04-11 00:48:18.459495"], ["key", "environment"]] + ↳ bin/rails:9 +  (0.3ms) COMMIT + ↳ bin/rails:9 +  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.2ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (1.5ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "The First Task"], ["description", ""], ["completed_at", "1986-01-04 09:07:47.535131"], ["created_at", "2019-04-11 00:48:18.507724"], ["updated_at", "2019-04-11 00:48:18.507724"]] + ↳ db/seeds.rb:27 +  (0.5ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Go to Brunch"], ["description", ""], ["created_at", "2019-04-11 00:48:18.511513"], ["updated_at", "2019-04-11 00:48:18.511513"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Go to Lunch"], ["description", ""], ["completed_at", "1995-04-01 22:20:44.075240"], ["created_at", "2019-04-11 00:48:18.514133"], ["updated_at", "2019-04-11 00:48:18.514133"]] + ↳ db/seeds.rb:27 +  (0.3ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Go to Second Lunch"], ["description", ""], ["created_at", "2019-04-11 00:48:18.516062"], ["updated_at", "2019-04-11 00:48:18.516062"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Play Video Games"], ["description", ""], ["completed_at", "2009-05-16 20:04:08.787881"], ["created_at", "2019-04-11 00:48:18.518143"], ["updated_at", "2019-04-11 00:48:18.518143"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "High Five Somebody You Don't Know"], ["description", ""], ["completed_at", "1998-03-24 05:08:20.714303"], ["created_at", "2019-04-11 00:48:18.521110"], ["updated_at", "2019-04-11 00:48:18.521110"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Plant Flowers"], ["description", ""], ["completed_at", "1972-06-23 14:49:23.242687"], ["created_at", "2019-04-11 00:48:18.523449"], ["updated_at", "2019-04-11 00:48:18.523449"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Call Mom"], ["description", ""], ["created_at", "2019-04-11 00:48:18.525855"], ["updated_at", "2019-04-11 00:48:18.525855"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "She worries, you know."], ["description", ""], ["created_at", "2019-04-11 00:48:18.528081"], ["updated_at", "2019-04-11 00:48:18.528081"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.2ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Nap."], ["description", ""], ["completed_at", "2013-08-16 22:58:59.817527"], ["created_at", "2019-04-11 00:48:18.530441"], ["updated_at", "2019-04-11 00:48:18.530441"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (4.0ms) SELECT pg_try_advisory_lock(4169262226251541860) + ↳ bin/rails:9 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 + 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]] + ↳ bin/rails:9 +  (0.3ms) BEGIN + ↳ bin/rails:9 +  (0.1ms) COMMIT + ↳ bin/rails:9 +  (0.2ms) SELECT pg_advisory_unlock(4169262226251541860) + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (212.7ms) DROP DATABASE IF EXISTS "TaskList_development" + ↳ bin/rails:9 +  (210.7ms) DROP DATABASE IF EXISTS "TaskList_test" + ↳ bin/rails:9 +  (491.9ms) CREATE DATABASE "TaskList_development" ENCODING = 'unicode' + ↳ bin/rails:9 +  (407.0ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + ↳ bin/rails:9 + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (6.2ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completion_date" timestamp, "completed_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) + ↳ db/schema.rb:18 +  (2.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES (20190410010926) + ↳ db/schema.rb:13 +  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES +(20190410005918); + + + ↳ db/schema.rb:13 +  (3.1ms) 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) + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ db/schema.rb:13 +  (0.1ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-04-11 00:57:18.526341"], ["updated_at", "2019-04-11 00:57:18.526341"]] + ↳ db/schema.rb:13 +  (0.3ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.2ms) BEGIN + ↳ bin/rails:9 +  (0.1ms) COMMIT + ↳ bin/rails:9 + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (6.3ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completion_date" timestamp, "completed_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) + ↳ db/schema.rb:18 +  (2.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190410010926) + ↳ db/schema.rb:13 +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES +(20190410005918); + + + ↳ db/schema.rb:13 +  (2.9ms) 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) + ↳ db/schema.rb:13 + 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]] + ↳ db/schema.rb:13 +  (0.1ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-04-11 00:57:18.574652"], ["updated_at", "2019-04-11 00:57:18.574652"]] + ↳ db/schema.rb:13 +  (0.3ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 + ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2019-04-11 00:57:18.577769"], ["key", "environment"]] + ↳ bin/rails:9 +  (0.3ms) COMMIT + ↳ bin/rails:9 +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.2ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.6ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "The First Task"], ["description", ""], ["completed_at", "2006-02-02 00:47:12.824195"], ["created_at", "2019-04-11 00:57:18.614029"], ["updated_at", "2019-04-11 00:57:18.614029"]] + ↳ db/seeds.rb:27 +  (0.5ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Go to Brunch"], ["description", ""], ["created_at", "2019-04-11 00:57:18.616716"], ["updated_at", "2019-04-11 00:57:18.616716"]] + ↳ db/seeds.rb:27 +  (0.5ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Go to Lunch"], ["description", ""], ["completed_at", "1979-08-16 10:12:35.182238"], ["created_at", "2019-04-11 00:57:18.618779"], ["updated_at", "2019-04-11 00:57:18.618779"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Go to Second Lunch"], ["description", ""], ["created_at", "2019-04-11 00:57:18.620879"], ["updated_at", "2019-04-11 00:57:18.620879"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Play Video Games"], ["description", ""], ["completed_at", "2006-02-26 06:20:56.793346"], ["created_at", "2019-04-11 00:57:18.622819"], ["updated_at", "2019-04-11 00:57:18.622819"]] + ↳ db/seeds.rb:27 +  (0.5ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "High Five Somebody You Don't Know"], ["description", ""], ["completed_at", "1995-12-15 17:37:17.425272"], ["created_at", "2019-04-11 00:57:18.624705"], ["updated_at", "2019-04-11 00:57:18.624705"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Plant Flowers"], ["description", ""], ["completed_at", "2004-10-31 11:52:55.319023"], ["created_at", "2019-04-11 00:57:18.626413"], ["updated_at", "2019-04-11 00:57:18.626413"]] + ↳ db/seeds.rb:27 +  (0.3ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Call Mom"], ["description", ""], ["created_at", "2019-04-11 00:57:18.628205"], ["updated_at", "2019-04-11 00:57:18.628205"]] + ↳ db/seeds.rb:27 +  (0.3ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "She worries, you know."], ["description", ""], ["created_at", "2019-04-11 00:57:18.629913"], ["updated_at", "2019-04-11 00:57:18.629913"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Nap."], ["description", ""], ["completed_at", "1982-12-07 09:15:05.228786"], ["created_at", "2019-04-11 00:57:18.631908"], ["updated_at", "2019-04-11 00:57:18.631908"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (4.4ms) SELECT pg_try_advisory_lock(4169262226251541860) + ↳ bin/rails:9 +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +Migrating to AlterCompletionDate (20190411014258) +  (0.2ms) BEGIN + ↳ bin/rails:9 +  (15.8ms) ALTER TABLE "tasks" ALTER COLUMN "completed_at" TYPE character varying + ↳ db/migrate/20190411014258_alter_completion_date.rb:3 +  (1.1ms) ALTER TABLE "tasks" DROP COLUMN "completion_date" + ↳ db/migrate/20190411014258_alter_completion_date.rb:4 + ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190411014258"]] + ↳ bin/rails:9 +  (4.1ms) COMMIT + ↳ bin/rails:9 + ActiveRecord::InternalMetadata Load (5.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 +  (0.1ms) COMMIT + ↳ bin/rails:9 +  (0.2ms) SELECT pg_advisory_unlock(4169262226251541860) + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.2ms) SELECT pg_try_advisory_lock(4169262226251541860) + ↳ bin/rails:9 +  (2.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +Migrating to AlterCompletionDate (20190411014736) +  (0.2ms) BEGIN + ↳ bin/rails:9 +  (0.6ms) ALTER TABLE "tasks" ADD "completion_date" character varying + ↳ db/migrate/20190411014736_alter_completion_date.rb:3 + ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190411014736"]] + ↳ bin/rails:9 +  (0.5ms) COMMIT + ↳ bin/rails:9 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ bin/rails:9 +  (0.2ms) BEGIN + ↳ bin/rails:9 +  (0.1ms) COMMIT + ↳ bin/rails:9 +  (0.2ms) SELECT pg_advisory_unlock(4169262226251541860) + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 diff --git a/log/test.log b/log/test.log new file mode 100644 index 000000000..a80ae6c72 --- /dev/null +++ b/log/test.log @@ -0,0 +1,1890 @@ +  (216.4ms) DROP DATABASE IF EXISTS "TaskList_test" +  (519.6ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (9.9ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) +  (3.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190410010926) +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES +(20190410005918); + + +  (6.5ms) 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) + 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 + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-11 00:41:13.177223"], ["updated_at", "2019-04-11 00:41:13.177223"]] +  (0.3ms) COMMIT + 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.2ms) BEGIN +  (0.1ms) COMMIT +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) BEGIN +  (1.6ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.2ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (1.9ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completion_date", "completed_at", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 00:57:25.239035', '2019-04-11 00:57:25.239035'), (298486374, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 00:57:25.239035', '2019-04-11 00:57:25.239035') +  (0.6ms) COMMIT +  (0.2ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.6ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks/index" for 127.0.0.1 at 2019-04-10 17:57:25 -0700 +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks/index" for 127.0.0.1 at 2019-04-10 17:57:25 -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.2ms) +Completed 200 OK in 293ms (Views: 285.8ms | ActiveRecord: 0.3ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-10 17:57:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.1ms) +Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (3.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", "2019-04-16 00:57:25.576037"], ["created_at", "2019-04-11 00:57:25.579398"], ["updated_at", "2019-04-11 00:57:25.579398"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 17:57:25 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190963"} +Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 17:57:25 -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.6ms) +Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-10 17:57:25 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (10.4ms) +Completed 200 OK in 14ms (Views: 11.6ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completion_date", "completed_at", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:01:27.691477', '2019-04-11 01:01:27.691477'), (298486374, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:01:27.691477', '2019-04-11 01:01:27.691477') +  (0.5ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 18:01:27 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"-1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" +Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", "2019-04-16 01:01:27.734520"], ["created_at", "2019-04-11 01:01:27.736299"], ["updated_at", "2019-04-11 01:01:27.736299"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 18:01:27 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190963"} +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-10 18:01:27 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (15.4ms) +Completed 200 OK in 203ms (Views: 200.3ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks/index" for 127.0.0.1 at 2019-04-10 18:01: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 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-10 18:01: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.1ms) +Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks/index" for 127.0.0.1 at 2019-04-10 18:01:27 -0700 +  (0.2ms) ROLLBACK +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.4ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completion_date", "completed_at", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:02:08.631912', '2019-04-11 01:02:08.631912'), (298486374, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:02:08.631912', '2019-04-11 01:02:08.631912') +  (1.6ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks/index" for 127.0.0.1 at 2019-04-10 18:02:08 -0700 +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-10 18:02:08 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (6.1ms) +Completed 200 OK in 200ms (Views: 193.4ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", "2019-04-16 01:02:08.869448"], ["created_at", "2019-04-11 01:02:08.872069"], ["updated_at", "2019-04-11 01:02:08.872069"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 18:02:08 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" +Completed 404 Not Found in 2ms (ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 18: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 (1.3ms) +Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks/index" for 127.0.0.1 at 2019-04-10 18:02: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.5ms) +Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-10 18:02: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.1ms) +Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.7ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completion_date", "completed_at", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:03:39.394827', '2019-04-11 01:03:39.394827'), (298486374, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:03:39.394827', '2019-04-11 01:03:39.394827') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.5ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", "2019-04-16 01:03:39.409557"], ["created_at", "2019-04-11 01:03:39.428776"], ["updated_at", "2019-04-11 01:03:39.428776"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 18:03:39 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.0ms) +Completed 200 OK in 220ms (Views: 207.3ms | ActiveRecord: 0.5ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 18:03:39 -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]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks/index" for 127.0.0.1 at 2019-04-10 18:03:39 -0700 +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-10 18:03:39 -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 13ms (Views: 11.3ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks/index" for 127.0.0.1 at 2019-04-10 18:03: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 (1.7ms) +Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-10 18:03: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.1ms) +Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completion_date", "completed_at", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:06:38.645487', '2019-04-11 01:06:38.645487'), (298486374, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:06:38.645487', '2019-04-11 01:06:38.645487') +  (0.5ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks/index" for 127.0.0.1 at 2019-04-10 18:06:38 -0700 +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 18:06:38 -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]] +Completed 404 Not Found in 9ms (ActiveRecord: 0.8ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-10 18:06:38 -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 193ms (Views: 189.6ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks/index" for 127.0.0.1 at 2019-04-10 18:06:38 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.1ms) +Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-10 18:06:38 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (11.9ms) +Completed 200 OK in 16ms (Views: 13.0ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completion_date", "completed_at", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:08:36.476429', '2019-04-11 01:08:36.476429'), (298486374, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:08:36.476429', '2019-04-11 01:08:36.476429') +  (0.5ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-10 18:08:36 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (14.3ms) +Completed 200 OK in 201ms (Views: 188.8ms | ActiveRecord: 0.0ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.4ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks/index" for 127.0.0.1 at 2019-04-10 18:08:36 -0700 +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 18:08: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]] +Completed 404 Not Found in 3ms (ActiveRecord: 0.5ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 01:08:36.717514"], ["updated_at", "2019-04-11 01:08:36.717514"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 18:08:36 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks/index" for 127.0.0.1 at 2019-04-10 18:08: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 (1.1ms) +Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-10 18:08:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.1ms) +Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.2ms) ROLLBACK +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completion_date", "completed_at", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:11:42.499451', '2019-04-11 01:11:42.499451'), (298486374, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:11:42.499451', '2019-04-11 01:11:42.499451') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 01:11:42.522682"], ["updated_at", "2019-04-11 01:11:42.522682"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 18:11:42 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.0ms) +Completed 200 OK in 206ms (Views: 195.5ms | ActiveRecord: 0.4ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 18:11:42 -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]] +Completed 404 Not Found in 2ms (ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks/index" for 127.0.0.1 at 2019-04-10 18:11:42 -0700 +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-10 18:11:42 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (8.9ms) +Completed 200 OK in 13ms (Views: 10.0ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks/index" for 127.0.0.1 at 2019-04-10 18:11:42 -0700 +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 (2.4ms) +Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.6ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-10 18:11: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.1ms) +Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completion_date", "completed_at", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:11:51.477919', '2019-04-11 01:11:51.477919'), (298486374, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:11:51.477919', '2019-04-11 01:11:51.477919') +  (1.9ms) COMMIT +  (0.2ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-10 18:11:51 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (7.1ms) +Completed 200 OK in 202ms (Views: 178.7ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks/index" for 127.0.0.1 at 2019-04-10 18:11:51 -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 (1.7ms) +Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-10 18:11:51 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.1ms) +Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 18:11:51 -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]] +Completed 404 Not Found in 2ms (ActiveRecord: 0.4ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 01:11:51.732201"], ["updated_at", "2019-04-11 01:11:51.732201"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 18:11:51 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 8ms (Views: 4.3ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks/index" for 127.0.0.1 at 2019-04-10 18:11:51 -0700 +  (0.2ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (2.6ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completion_date", "completed_at", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:12:33.409519', '2019-04-11 01:12:33.409519'), (298486374, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:12:33.409519', '2019-04-11 01:12:33.409519') +  (0.7ms) COMMIT +  (0.2ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks/index" for 127.0.0.1 at 2019-04-10 18:12:33 -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.0ms) +Completed 200 OK in 163ms (Views: 157.1ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-10 18:12: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.1ms) +Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-10 18:12:33 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (4.7ms) +Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks/index" for 127.0.0.1 at 2019-04-10 18:12:33 -0700 +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 01:12:33.629742"], ["updated_at", "2019-04-11 01:12:33.629742"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 18:12:33 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.4ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 18:12:33 -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]] +Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completion_date", "completed_at", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:13:31.067401', '2019-04-11 01:13:31.067401'), (298486374, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:13:31.067401', '2019-04-11 01:13:31.067401') +  (4.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks/index" for 127.0.0.1 at 2019-04-10 18:13:31 -0700 +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks/index" for 127.0.0.1 at 2019-04-10 18: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 (11.4ms) +Completed 200 OK in 178ms (Views: 172.0ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-10 18:13:31 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.1ms) +Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-10 18:13:31 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (11.6ms) +Completed 200 OK in 15ms (Views: 12.7ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 01:13:31.315521"], ["updated_at", "2019-04-11 01:13:31.315521"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 18:13:31 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 18:13:31 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.6ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completion_date", "completed_at", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:16:45.583396', '2019-04-11 01:16:45.583396'), (298486374, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:16:45.583396', '2019-04-11 01:16:45.583396') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks/index" for 127.0.0.1 at 2019-04-10 18:16:45 -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 176ms (Views: 169.7ms | ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-10 18:16: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.1ms) +Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-10 18:16:45 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (15.2ms) +Completed 200 OK in 21ms (Views: 18.7ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 01:16:45.829313"], ["updated_at", "2019-04-11 01:16:45.829313"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 18:16:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 9ms (Views: 3.4ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 18:16:45 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 2ms (ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks/index" for 127.0.0.1 at 2019-04-10 18:16:45 -0700 +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completion_date", "completed_at", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:20:06.612386', '2019-04-11 01:20:06.612386'), (298486374, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:20:06.612386', '2019-04-11 01:20:06.612386') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-10 18:20:06 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"false"}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 01:20:06.644965"], ["updated_at", "2019-04-11 01:20:06.644965"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 13ms (ActiveRecord: 0.6ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-10 18:20:06 -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.1ms) +Completed 200 OK in 155ms (Views: 153.0ms | ActiveRecord: 0.3ms) +  (0.4ms) ROLLBACK +  (0.2ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-10 18:20:06 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.1ms) +Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 01:20:06.828983"], ["updated_at", "2019-04-11 01:20:06.828983"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-10 18:20:06 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 18:20:06 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-10 18:20:06 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (13.1ms) +Completed 200 OK in 16ms (Views: 14.2ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completion_date", "completed_at", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:27:03.052713', '2019-04-11 01:27:03.052713'), (298486374, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:27:03.052713', '2019-04-11 01:27:03.052713') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-10 18:27:03 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (15.3ms) +Completed 200 OK in 171ms (Views: 164.6ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-10 18:27:03 -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.1ms) +Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-10 18:27:03 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.0ms) +Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.4ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-10 18:27:03 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"false"}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 01:27:03.276782"], ["updated_at", "2019-04-11 01:27:03.276782"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 4ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 01:27:03.284740"], ["updated_at", "2019-04-11 01:27:03.284740"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-10 18:27:03 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 5ms (Views: 2.0ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 18:27:03 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.4ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completion_date", "completed_at", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:31:45.727054', '2019-04-11 01:31:45.727054'), (298486374, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:31:45.727054', '2019-04-11 01:31:45.727054') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-10 18:31:45 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"false"}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 01:31:45.773874"], ["updated_at", "2019-04-11 01:31:45.773874"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 27ms (ActiveRecord: 0.6ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-10 18:31:45 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (17.5ms) +Completed 200 OK in 152ms (Views: 149.9ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-10 18:31: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 (1.2ms) +Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-10 18:31: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.1ms) +Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 18:31:45 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 2ms (ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 01:31:45.962291"], ["updated_at", "2019-04-11 01:31:45.962291"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-10 18:31:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +  (0.1ms) ROLLBACK +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completion_date", "completed_at", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:31:57.365338', '2019-04-11 01:31:57.365338'), (298486374, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:31:57.365338', '2019-04-11 01:31:57.365338') +  (1.8ms) COMMIT +  (0.2ms) BEGIN +  (0.2ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-10 18:31:57 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"false"}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 01:31:57.416198"], ["updated_at", "2019-04-11 01:31:57.416198"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 7ms (ActiveRecord: 0.8ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completion_date", "completed_at", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:36:33.336491', '2019-04-11 01:36:33.336491'), (298486374, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:36:33.336491', '2019-04-11 01:36:33.336491') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-10 18:36:33 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (12.4ms) +Completed 200 OK in 157ms (Views: 146.2ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-10 18:36:33 -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.0ms) +Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-10 18:36: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.1ms) +Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-10 18:36:33 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"false"}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 01:36:33.538020"], ["updated_at", "2019-04-11 01:36:33.538020"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 3ms (ActiveRecord: 0.5ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 01:36:33.551690"], ["updated_at", "2019-04-11 01:36:33.551690"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-10 18:36:33 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 6ms (Views: 1.7ms | ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 18:36:33 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 2ms (ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completion_date", "completed_at", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:37:17.453251', '2019-04-11 01:37:17.453251'), (298486374, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:37:17.453251', '2019-04-11 01:37:17.453251') +  (1.9ms) COMMIT +  (0.2ms) BEGIN +  (0.2ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-10 18:37:17 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (5.1ms) +Completed 200 OK in 131ms (Views: 119.8ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.4ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-10 18:37:17 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"false"}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 01:37:17.616728"], ["updated_at", "2019-04-11 01:37:17.616728"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 3ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.4ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 01:38:07.368192"], ["updated_at", "2019-04-11 01:38:07.368192"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-10 18:38:07 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 7ms (Views: 2.7ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 18:38:07 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-10 18:38:07 -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 (2.1ms) +Completed 200 OK in 7ms (Views: 3.6ms | ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-10 18:38: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.1ms) +Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.4ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completion_date", "completed_at", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:38:46.879990', '2019-04-11 01:38:46.879990'), (298486374, 'MyString', 'MyString', NULL, DEFAULT, '2019-04-11 01:38:46.879990', '2019-04-11 01:38:46.879990') +  (1.8ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-10 18:38: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 (2.2ms) +Completed 200 OK in 179ms (Views: 173.7ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-10 18:38: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.1ms) +Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-10 18:38:47 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"false"}} +  (0.3ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 01:39:27.511278"], ["updated_at", "2019-04-11 01:39:27.511278"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 40416ms (ActiveRecord: 0.8ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 18:39:27 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 01:39:27.527650"], ["updated_at", "2019-04-11 01:39:27.527650"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-10 18:39:27 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-10 18:39:27 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (7.6ms) +Completed 200 OK in 11ms (Views: 8.7ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (217.3ms) DROP DATABASE IF EXISTS "TaskList_test" +  (521.0ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (9.8ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) +  (2.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014258) +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES +(20190410005918); + + +  (2.5ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-11 01:46:32.871767"], ["updated_at", "2019-04-11 01:46:32.871767"]] +  (0.3ms) COMMIT + 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 +  (0.1ms) COMMIT +  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (201.3ms) DROP DATABASE IF EXISTS "TaskList_test" +  (483.0ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (5.6ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) +  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014258) +  (3.5ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-11 01:48:11.735234"], ["updated_at", "2019-04-11 01:48:11.735234"]] +  (0.4ms) COMMIT + ActiveRecord::InternalMetadata Load (0.3ms) 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.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (146.1ms) DROP DATABASE IF EXISTS "TaskList_test" +  (525.4ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (8.1ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (1.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (3.2ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-11 01:49:38.468460"], ["updated_at", "2019-04-11 01:49:38.468460"]] +  (0.4ms) COMMIT + 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 +  (0.1ms) COMMIT +  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.6ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-11 01:49:38.700205', '2019-04-11 01:49:38.700205', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-11 01:49:38.700205', '2019-04-11 01:49:38.700205', 'MyString') +  (0.3ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-10 18:49:38 -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 (23.0ms) +Completed 200 OK in 208ms (Views: 202.0ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-10 18:49:38 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.1ms) +Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-10 18:49:38 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.5ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-11 01:49:38.945072"], ["updated_at", "2019-04-11 01:49:38.945072"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 4ms (ActiveRecord: 0.9ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", "f"], ["created_at", "2019-04-11 01:49:38.958883"], ["updated_at", "2019-04-11 01:49:38.958883"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-10 18:49:38 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 18:49:38 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-10 18:49:38 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (10.9ms) +Completed 200 OK in 14ms (Views: 12.1ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK diff --git a/test/controllers/tasks_controller_test.rb b/test/controllers/tasks_controller_test.rb index 971913898..9c7bc7a5a 100644 --- a/test/controllers/tasks_controller_test.rb +++ b/test/controllers/tasks_controller_test.rb @@ -1,9 +1,137 @@ +# require "test_helper" + +# describe TasksController do +# let (:task) { +# Task.create name: "sample task", description: "this is an example for a test", +# completed_at_at: Time.now + 5.days +# } + +# # Tests for Wave 1 +# describe "index" do +# it "can get the index path" do +# # Act +# get tasks_path + +# # Assert +# must_respond_with :success +# end + +# it "can get the root path" do +# # Act +# get root_path + +# # Assert +# must_respond_with :success +# end +# end + +# # Unskip these tests for Wave 2 +# describe "show" do +# it "can get a valid task" do +# # Act +# get task_path(task.id) + +# # Assert +# must_respond_with :success +# end + +# it "will redirect for an invalid task" do +# # Act +# get task_path(-1) + +# # Assert +# must_respond_with :redirect +# expect(flash[:error]).must_equal "Could not find task with id: -1" +# end +# end + +# describe "new" do +# it "can get the new task page" do + +# # Act +# get new_task_path + +# # Assert +# must_respond_with :success +# end +# end + +# describe "create" do +# it "can create a new task" do + +# # Arrange +# task_hash = { +# task: { +# name: "new task", +# description: "new task description", +# completed_at_at: nil, +# }, +# } + +# # Act-Assert +# expect { +# post tasks_path, params: task_hash +# }.must_change "Task.count", 1 + +# new_task = Task.find_by(name: task_hash[:task][:name]) +# expect(new_task.description).must_equal task_hash[:task][:description] +# expect(new_task.due_date.to_time.to_i).must_equal task_hash[:task][:due_date].to_i +# expect(new_task.completed_at).must_equal task_hash[:task][:completed_at] + +# must_respond_with :redirect +# must_redirect_to task_path(new_task.id) +# end +# end + +# # # Unskip and complete these tests for Wave 3 +# # describe "edit" do +# # it "can get the edit page for an existing task" do +# # skip +# # # Your code here +# # end + +# # it "will respond with redirect when attempting to edit a nonexistant task" do +# # skip +# # # Your code here +# # end +# # end + +# # # Uncomment and complete these tests for Wave 3 +# # describe "update" do +# # # Note: If there was a way to fail to save the changes to a task, that would be a great +# # # thing to test. +# # it "can update an existing task" do +# # skip +# # # Your code here +# # end + +# # it "will redirect to the root page if given an invalid id" do +# # skip +# # # Your code here +# # end +# # end + +# # # Complete these tests for Wave 4 +# # describe "destroy" do +# # # Your tests go here + +# # end + +# # # Complete for Wave 4 +# # describe "toggle_complete" do +# # # Your tests go here +# # end +# end + + require "test_helper" describe TasksController do + # Note to students: Your Task model **may** be different and + # you may need to modify this. let (:task) { Task.create name: "sample task", description: "this is an example for a test", - completion_date: Time.now + 5.days + completed_at: false } # Tests for Wave 1 @@ -28,7 +156,6 @@ # Unskip these tests for Wave 2 describe "show" do it "can get a valid task" do - skip # Act get task_path(task.id) @@ -37,19 +164,16 @@ end it "will redirect for an invalid task" do - skip # Act get task_path(-1) # Assert must_respond_with :redirect - expect(flash[:error]).must_equal "Could not find task with id: -1" end end describe "new" do it "can get the new task page" do - skip # Act get new_task_path @@ -61,14 +185,15 @@ describe "create" do it "can create a new task" do - skip # Arrange + # Note to students: Your Task model **may** be different and + # you may need to modify this. task_hash = { task: { name: "new task", description: "new task description", - completion_date: nil, + completed_at: "" }, } @@ -78,9 +203,10 @@ }.must_change "Task.count", 1 new_task = Task.find_by(name: task_hash[:task][:name]) + + # binding.pry expect(new_task.description).must_equal task_hash[:task][:description] - expect(new_task.due_date.to_time.to_i).must_equal task_hash[:task][:due_date].to_i - expect(new_task.completed).must_equal task_hash[:task][:completed] + expect(new_task.completed_at).must_equal task_hash[:task][:completed_at] must_respond_with :redirect must_redirect_to task_path(new_task.id) From 8ce7d875b128d4717273e03cb9ed299f77c2e485 Mon Sep 17 00:00:00 2001 From: Jillianne Ramirez Date: Fri, 12 Apr 2019 15:49:33 -0700 Subject: [PATCH 08/23] show, delete and completion functions added --- app/assets/images/tasklist.jpg | Bin 0 -> 18432 bytes app/controllers/tasks_controller.rb | 66 +- app/views/tasks/_form.html.erb | 12 + app/views/tasks/edit.html.erb | 5 + app/views/tasks/index.html.erb | 58 +- app/views/tasks/new.html.erb | 22 +- app/views/tasks/show.html.erb | 16 +- config/routes.rb | 14 +- db/seeds.rb | 28 - log/development.log | 8019 +++++++++++++++++++++ log/test.log | 482 ++ test/controllers/tasks_controller_test.rb | 155 +- 12 files changed, 8669 insertions(+), 208 deletions(-) create mode 100644 app/assets/images/tasklist.jpg create mode 100644 app/views/tasks/_form.html.erb create mode 100644 app/views/tasks/edit.html.erb delete mode 100644 db/seeds.rb diff --git a/app/assets/images/tasklist.jpg b/app/assets/images/tasklist.jpg new file mode 100644 index 0000000000000000000000000000000000000000..6ffbcd7ba9221923d3c956739c06b4ec3c60bab1 GIT binary patch literal 18432 zcmV(%K;pkrNk&HaM*sj_WbH!=6wP^ zhWg+9-_Bp|ze*o@{|nJi_rK120e-Q6q4w|n$B2ij`vU(h{^kEO{Qt9O{(tYkE`8E| zmHxN?SGZsD|L;HYKIS`VeV4y!f9fKy(sDMNJJNKTYjAZf=b$4`^TABmrW}nD+I;{H zvWSsKbZZ+u2&0$L7sCLxzSEnsk3Ohdq6SJiG*6b;z7VWp`N-FLOZWVm5_waT_iZsj z>+$As08Y8s;rBOq1^i!*aC+nBN0_rnA2KqIe`MC^9^=G(;QJ8pkzuO3RW>O?I0>E@ z&8_=YW}<=-o-V2=YD%05SBSwqaOv7jPz8Y|gA~Js_Z7 zGW`=R&N~j?!@zDVwF|R9Q9zewm;gd;a;c+ddR z&U{NpvC`rCGN_eF5&8Mh!-RE{zj?_oY8E8xl@VWAjHq83ki5<{w1ul;ipa)ceEK^30o@OYDRs^gbY{cer!e z0i7uacla^zc6QxQGpD(Nw|U?ahsNDV38cOxo-qNY6McxA7iimc;l{DpheIBhXF}Cu zY^a!>5G;=VaaoGh7P6R_|19=T0FeaQK8>v4#W_*09_<+7pklBS04kTBjc$R0*;uJ3TdF zO{%Rv@oo(unLR0OGn0~$z_bBI9h7DwWJ<4K45LW>kiPz%-oN}kRhl+!gGwygSB z$usmI^?@X(+#}Lt(6mpmCK0Ub-OtZt>%b^?#`fgZ=iaC3xh}DQ?k!=*FDuLq z{v((EFMyMj<5~QvHm#qZ0_f-1r4LR_%YAAzL}oqTLr;nq)y(c~1rlZk#o#xag<*eE z6#zSJhEhi2fqzH6uOD}TuGwB5iMLq{d)|tDuXd~O z$0NDnq$#UAY0=i8eDvw;zOu1M_ZXrJ7aP#^RF9xn$;yE}uVX*ck;OocyW%j^71Eh*4yX7secWmm&RUkZA?$6k7uJ9q;a2?Qad z>*wx!DigkdWK{qi*A@QHy@UK?w(3Sktta#K(QD}T2Sj4<2t0J`W}*i0^cy#Yz)dwx zE&SXf&g>v_Et|T9g1T;f-&li1tZ=Z~KE*)BQa$o>u3US=+K4sD5^~Hz!|Gu3xFgC- z!vmQ*szuaTM-X8o?DW9o*Q&sEE^Q(NfQrkUn(x_Onv<7&dwk_RPa6tTVDoPoDCBJY?6XGnlnB60rY(TqHlTT}1jmHm=cmjGlL ze*pMcvm3?Th8vX0_6Ou#Se&vBH=gco2xc1R_r?FR|Nr8WZ|{DGkqQ6l7vou}U;2*= zNP?5XB9z8v|Nljm+cEwD5R#4)1c(yd%{goVn}~;Y(3-cDXCLc@7r3k}RR)&>g!89B z`~rg3*H_J8E!K!?PKqS*^B2nP>E)lJ=Uz(Xzxrd3G5?(Z<3#iGhCHPi|NeIO;vftE zf0-jL@rx;li=oivr~+Rm&O}1RrKC((q2q!7s9Pg-rGeU zpo=Wo|B^DA#o}l&;x8!mb6;Usm;E%M_mXGi;^#0Y`>I@XDSz2`sWp`7&1R3|L@TuY z*jRtl>*;Gh@IMe-@Y7Kr(rw7x)4#uq^iuJENUCudjb`lv{L!%G=U*|0;_kI&b^42s zIeRhUrJFY#L4Tve5#m9yD2RK!Acd(X9vo<GVZ(0Rp62=ct9WOYjP z(X6O~)Zr1IO_jkR#h6%S1h_{@-4qmgZNcPK<{ z*Jse-=c^;%T_3KrzAz>fe+9&XMlSg`GQ#4R)tA zXChwwvvavrft$C6Bo85v@whe*#bs@vtj-Y%tA)h&*|5{uK%!mtsjO`j)C-RHy_UtQ zBi%Vv5Mb$#1V=p{>RGG$-qO8{vjpbA~6+W}c{c@1OdP(-!@rotZQIirG zhXrdUAZG0rOrkkfi`V6cX=ac~0lgszZTBbBB>?jad@sdLj2E=eM%2r!ygeYV9}LTN z5AaFo8d$7nqzX3d@MAC(QWXdb1Hie8RJnKlx2<);NO*rXqloQk-$LGkrzS~NZ=4E0 zKTDG9pr z$MVzPd*NW-{&LWj2KftI^{l|3#eqcK5mY&F7LRi>*WK3A?kJvjIlj2!Vw8cm_+$NW zw09!x_;bpmO}QqnE4YR1?y{RUwabnpXyv_sS5?oPs?o_DU?)M*b~$=!tCLf*cg_b6 zpmy6eT%9sF1)o6QCN&iauQHYW9E4_yT%qL5nkbxnRi1s6SoIZ}^5}Z=8$S~xpb3dPlP^xq_RAD3y;Xk0Z0&KJ~MG=)bw^S4HA z*;UN0TqP!i`oi%eCX0KZ?LJf6dTIABNnZH)Yd$}h)&-!BY9!pS0>EqDf+W&gV+Qdc zsAU52Go$aB=8I^-FUMP}K{2{XXaCPySn3}r<3h`*ChJA#@5~MU!Wf%jik>Own?Tz^ zVdGwQtC{}@6f=}gtqp(1j$B$wBp89+-!;~Qtt<(JQHaDp*cU%j=*_s$8mo!vXJnRH zH;x-VZ0$*MD&hij_W!?WG;=)^gkP;2uw|EeELC$Pzv% zC1+P!)5{H+*7Pkq;UENWj>p(ocik&DuP(3;#zzav^j8*=wfPX|K5LO$GZ3G?l;Ag7Ite~ zq^6$&kP&aJ9hMZVCJ%G0iL#U+=p`{#yAf{=Rsi6WL!{Owsilb+FEboyi5KOmgdeOv ziLg_6lE3h_;5Yma9A`9YTVw5Ho%Mk*jC!XWD>%Rr7#=j)KioxahjcqQ%LY#nN#aFPnzO@M_ z7>rF2)>Nzx1su(?9_&Gm-e;394_0?9iF0vra;L*mu}D`aWdnEdMJrZb8~aFmewtx0 zu6Bx+;GTb&{=zEDmI=dQVmgCt%aG7_{68;vSGkvzY|wpLbI==rkLu&XAabaV-2P8D z_8{?@{TB5MFw7=;Q;E3~%CH5O$mwi2fZ_rNCRup@R|8^qWw66z_qLHzxmVwUp2{Iq zV7?lc@nQ`#VZTO0MpJX5{>`3>$OTcDNa$_ z?FQ{6@;r1fOZQ)IMZ}6-XF-JykPSp3&3hd6mj4j)9=hjcWBuaT>wV{~6GDbW*U@NR zdD-+)`>zFA(WyGUAoMP(N-4IFRbzGLzwslcxEdAV{>sVDNs@Fb@z-8uQAF0GyC=|8 z?M>3IHH)vb3AJ0#EIphea9tsq!>(=?;<@FHh!$0v*7fD_O*5G9R$kX3Jg%V ztpYxbLNRELd21BJ_z3AHc{FE9w8J){@&&GlrQg9`RxCnzh7ck(Ob zZ!Y$%(`9?6Qw4vVFhhUx;a$-+xoj%FY#vWn9_?h=3h6Hyq~}5v*3iyi2I-JZtv?v3 z$PI=3`z_Iy`tpCT)N@`@@r60R#Qe0Xv#%#TTEWaQgq*||X&*2#>V?%<6n_%OFe?yJ9T;R(ESy}i{1U<%L!N2~k-4~V z=hVzA>mPUOi0wh*$&lLQuMzl2MLX0rW2UBaI}GpOC(1%f}$@X=gL{IC=&%lpo$ zMRmnU1QJP#qs7@arz9K=dJw)u9_o8vf`H#d>4@Xw)1oUEe^w(&vF-6&s`RkZc_{2j3;>LA18Sxqj>rj%`?=14V(N za-Tg1uf?XB1md=8jE2jzv#dGEnzz*>6raZ%BTf4jstZFawUm zNNl#Ra)q7MBP0#D?f%^_ z5a?|2ZJb2(0rx1B6lR`ut3@j7zVQnO-{yi<=3Bjn2^l6W!;Vd- z@QOKbSmFDU`oxm8(Z_u$FSJJ{K9{O5S`6W&zAqi^%{A1%_n>nWglOU77X0_gLz};uw(Dtla%ZL&1 zfLXj#uG-)4={{Zyf|bO=jw82#$5y4V_0%BJhiUpgZ9eqiM4s~sU$u=T?UZKjRu7~u zi?io+&$2*%0iWqx5as7aEmf*~a{0VCkcN?HO(HPaq zFao$w&sNd0d|Xi-chfFX;0+*Nbag7c{S8+LW{K6OcleLUam(mp-^7m+3nnyR8Z914 z;T-bH>dacs{CRvh52@&)Y69Y|?uPD@P!T~=A&4kG(smMxsH9!UGXX^SpxjTtdz-)r z%95RBNxmlek>MNkP&h*W>2b*L&N0M-_unbIsP2$7KcTmK7xB@JMV%`cbdoVI(>uEh zXO#%8SBCwo%ic`^kfUP<#Lh5*4B)P6pQFFe=G?s^$kfxH|AhzL?dQlMIg zu9S_$_8aM$7td&rxPpUEwRf)1cXFIn&V}l031X+zU~KYFS1&co)v>E2eR-D>W&(=l zc^Ij{zXX6;a2EbZEFWOKnq7U?KZ!QJ0lllMWbn7x$zG1>U zm#4ViIo0i)frqG=TrKQJ5A$KEbOAuH7%+(&f}=`?xKY2)VJ zWt(`fA}LJypJQqN{$rMUy#`_Yec{Oc_yEx(ZpISaVU2(w6n)=Hmj~ShFJ`ZZ)b-`U zXCDILnvzIjKM91tUa)vJdXECWiF*df`ebniWn@gS#Px21#1m_ zHIR4eg^6ogp;=ntqDZhiE3UF(U&pO76khek0gq>t7ndi@R9ztP@!H1Fw|6T1e|hU~ zfCqJtlTPoQ)~I3B^K4qMAxYNM{jEnl6W1h@?F=A_Bb&7+?o`HrQjWU zZy%B>GcKS}CI8MB9-Y=Yt1;vT=fNH!PCVG zCgH-%*rzTZ*{DwFXTwIZrJ84?lJgFr+%;Zwm{PXvtstF=iv~==8@Gmdso2p;1%u)iZboAMp86 zN&IjtU9W+d=h5&>v;XQ5G!%U52*eQ{uhjgSbib-7X87_*9rBvhh9|PlCa(315^Uh# zw-=r0o@*T!P zYZS55YUzuJrv?go1l`$sb19hfYDKWj7TZVzZ`(4|5W4%srkHPK+l0LudGwaqTI> znU(SW=kC#S2iz7bap|R$P<_pJlsZ9H2Le>k@B0ODJkAj$LC$O59uzc(GswBadKrt2=%^2V>s0MEwx@UKx)SnOS+~Qsjsr$MhP} zaxfnE%{F?c{xyYD6B7?Cs%a!%GG?f2r{Yn6{6rpp-*w%VDaMjH>j$^)Am?mT*`{R( z{@97QJ~X$I{ZxE9e$8WDP%H=|zN!8p)rdffirCsdhZ8M4#7sr~mSZr+K7nr{#K={a zs53{x(?ldS$}4x_9>DPglHuX`p5=LxWWI=0n{}10Ggx^SvoCBXtH*~TNjv`T@EM7B zDM%DAk)KF33p*!dTCRYjAUwtIdyLok{W22G%15o3GycW-YGDWK51*ty0#mIt^*mI_ z_@1!&`a|F#i))@~{ZwcxbB5pls6=S(BbUAZnE}U-v`o{7x|tnw)y1lbc*|f2Q%LES z5MZuSGC0`qb4mPOSgdEH3O4SgBTk$3E2c2~T+rF#Tvn~_ccNeHMM3R=G-G_YSwv=Z z%Co|MH4p|aprk(UHUrdE#VV7{9%30gDTN9Y4ixOP;Ld`i!RfU$BBp4x2446zPCAZB z3p{bu=`na9KmRXsi@kYKBDET!<&yCKkiIIK=@|G9cS0n?9M%<&`bdvSX4*>QjR|1^@X<*KC!CxlgbbdH7LjiYb;Q7 zoP+&#S(Lng`vXtcI`{)j@o6H^d%PD7;MrH`eo2Y(L^# za@c(VZr}6Nrt<3vap=+xBC2%#F7p&uFm-|$?bS5iE+bZd45%^!`4wZ$jEdj*=t%5Cw zk)_b}0*rBlaA6P-j604-Bv{%8?hL>)U@o$GJ!adw>o*8gff?Z(Jt=ViO!zO!Yg%+o zoOQ{%azLHcLn~4I9QHy5S2W<$8aG~We1<{+2MxXHxF4-xHWftsGN3n4^!N^bRP%)Q z_Y>tjeuggES+>AfGBm8E7UkOi1Mo<}rm_S}NKhXukLT@!J2MT(XlX7^LB|mfs|G;| zF-Yqwh%ER3lZu`RaItS)^U;ZQLdNE%@? zX~7gsK7vonfDNwaP?M-AP^Sfvg+pcx=qzJGDrSUl94Mv7=7q+MWPWNX!~g7Ge5J}! z1|51yd{iEr(-+RUF?F06-_8)h?~Qm(iYdeTrNNxSImzu1ci`FQ_#7cv6ex~P-x8I= z#(=EmYQcukRK`=H4P2h|C$-5Xf6Vn+`7+j_7aSLtmiS`8iOX1fH%$UcARR~TDtUIo zMSo!ts3j>TCOu;*AY(!Y6lAgmMiRHS^_sY8n;5vWx_+8muuv)Sn3%7eWYJ;}D&ra2 zULat#`C_Ht-^Q2BTj-A_iq8U>KgK?K4Kha*`IXz!(0%9kc`x;PqZNPq>^T0Nj>G2K zo+Tl{nAe-?4S%gG$|giw)w`WSR5=@ivEvSe32n>JfKZ1m)jt$bsbw|Er4-;g!LPwZ zHKTuHM=Hp?=1aX@MuwT*G8`1!A{1pE35 zOVF8`Bq7DRkAgwxm@o`FG9c{ZbH*rvmWQBsME5vB~c=?IVZKEP%L^b@P&5_niWivfaEX ztgCZQfE+MXIDLbf4;n>}tX&IzcM@_x?BFS_u}5Q0z2kZ6%WU(>+6T`SNywGAu)IOY z(x~`ZL-2KheIFlY)zQOgJ_=r1ji(rAJ9`$Pm_&UvIZh(gMiy{73N>6Mi5d=>{l$T4sN`8w_{^~$kD zv2^ACJMEdTn{S(rBewowu|H0LNyR4p?fAb>_L?-U@_LiCc}C+C=G7QSi#EdF2ZW~9 z;Y-_FKm|+gO9ZArd&I$mxDtZyGeA9eDJ}ezRc~N(^(()xJJvU&C2$R?N=qBD` z$=HYeGaV-0{5F4nw_*L7K!SootqbAJU8BTcrbLq{))D!20VwykzQuP^QtTzP)ijA> zd{$Sp>X)o}D$xB4b%rEO$=nOJ|92L&-!jtseSb`c`C3Qw?L2i=&+g)cyh5cx%RJ^0 zPxQ9}r1YJSk~M4z7bPoV2lvYEBcY`d{M0l-zMU z%-m)_p+ixmgeAcp7KT`{(>P&)L5xlrknA~!+F8DTra?2joIr2j`Z+=WbU{LX zXonW|ff%iLRmj@T2wJq#Abyj)dodee+}fQ^L%XzFKIa4GY|47`rFNX^_kJ=D5bT=J zPeW#b;rWt~pi)6Ziy;ms53ZvVIFl-@ugp!Cim#%EKYhR$_Pd^XY5FP8Tox9MP<{A+ zabxM66{>4J`_S2BM(D{~ z>s~o4R}q5+jn>m%zVVa>&jK;(FYHqXP0O^{$Z`I+X1O7t3%CI&Hl|*=K`_WnfF;=s zI;QB|OpZwfLL{LCyuK>q7?_Ht+<8P7FkEyfXsDWk>vEP~cD$!7C2mMl(2--&3^MxG#f)fw?tJ$r+u0e#cJwL?jU2AHFiuR(;xf{`M z0MRxMWlzoBz>PpBW*qjPVINytl;noY((+AU?UELY>1pP#0bp5E4nW6=40 zQE}@pOU}-E;K!nbyO@TOUUZ4E>VP~vc3R}EGf3$4J6)u1pb!x2C$gfiSA@MThEOI^7PWQo1Vd=>KPFcn_^J#&cN&Ecr@Zvz z|03I}QBLS@>9;fnExG~VYPAGd*L(aPe5qC%7&SWM6Mf4vl}ym<{^5T>EqeTQw3};n zvm8Bs+kwd5VpZ0^V*IrTzv0zP8qT-JUWt9E>i`O`%Ty>VP*bgte=$+ESLq1YEn3dXXZ`oj8QQT_x;dti)2en#0(a{EK+*L^ zJWOC^`b{VBzmd2)8MQFr+Q%y5nRC2_q$i`%B)*Ef_tbVDHte&};(U?={NNBVDr4_dq^GVR!j^xgycZfEVtW~a zv?EEk^IRBQWjk7r;xXN%fD&kR_r6;58`R`O1LC7Pj0PkN7`|d-J$WzooBjwB5AkCg z1%pOc!DBns1tK9w4=jOLK|N}nZpB>AOpy@=*%VrbZRHdo(R(;!cLsPm z#`psvcw}xA`X!oNWjU?LyBc^{#o*Lgw5}wz%wrdZ+jXZK{A4*>uZGWYY@YUspjXc1 z&?AqsY8V??9`NWx?m3tZnb*H9Ymn%vesoNcUQtKRJ=i?^&{T{ zgUXa_Om=86O@yFe?dt4eG8Sg`xP@yV*q=4fA`u|7kPAPTPj~|wP;77|{J1)7wV6sX z*$d$(3@6i9B$gQ&1xTr}Bh3BpUB2?p_5W+TW2!5U8`LE}-aLBBOZH!i1yi}-&VK5_ z9Xc99Ev3TrLUiRF)Pb?pdfcTPVVbhi!Gs3qi>G#iHbSWXT{GSf`$d5Cp_6$01iGVjnq#_JYJc`dW$TaG7T-?Nr1r}Xs>MvR8AWmUV zNb24I!gr6X1|(h0~fJoa({rZfDMa%M2Tf_$W*$HCxdH4Gld+!qV& zKG6x)qG698S+hx-ny_-j5fBp8pT|NNp zJl*NJaggW5MiUD< zQ&1==f)!atF=7rx%!>v{t*&<@VtdBCo#GSL$LUWe(`=9H#c=X%@ahUZqGq5SEUKy3 zT)i4Km+W$NBJ9_a8m{tb@OvoU`G0@EdtEEfaOsMo%WjoZ6W7@E=MA@P)Dg6O(#8Nf zf0-iQ2CFgM(du3YA&cDfFGuV_H*)qa;fn7(1zm*zKcSn+%JFor=a^^#6RacGEG{+_tYqFdZ0V8+%pppsp!fp3xz- zjpC~OP+*>LT4t%6E*jnUpBPBT(IGU`$(fAV6TOxRKl^_O20p5xeXt%27$ta;z{rB^ znL_H1>Jb_B@p3a7doYnSc1vIhvmuLG>NT7+qMITOt|4jEUsJMgKTdU3Cy~YwFrcWS zH9UfAnA7Tu;b^JSH;32ksk!Y;U5Mqw*X%D|=>=z~xs5mrIgUnHb2KB+4J`buVE+8u zz@YLayBWr~%wUXW8(BYs^baw?v&%O*N%nb*l#VV@D8LxCflxzDvzK;5q(m_9;enY{ zE3ArmozYd|sP8pusj&OzVa;Kzk@GPOvNJe&k)!yH{JZ^`T@HXnoD7jT>IK9_$e9yqWHC@IE+EMW3J7x2osye0R#1(-rr;G54+p8HkX z1dl!i0TA)3(PAi$KU(ZwlMdF}yk_>G96p(`zQPNL1FKh?LvwtrUsCanxwTGssn{cS9>Ubh|vpNRx1Y8g}(zDEzxd zmb9meYyZ9BPvW7oj`rBVS9}*>3dVxG6@??;_>PLy!D{s6fnGNJR$=?#5r zt~)JS(MC((5fOcJ7Y-T|M&mU|GFI4WlM*5X3lzqvjtGQZ8)$(Cpj&KTFz-V!-ua_~ z`rOTSs5yozfdh#hvB+}9e$6>&A*-nhR=^0chW=ID_%Mpw(K-@F zJdq^HV9vqURuv8sqssDEIsCG+F6hNBUy`VYIiP*da!S=mNoCwjAwl1U>q9tQ#j1)9 zJ*IztBl6&S`zS$igQZh8?GS@9R~VO?uK=Q z&#o{}rE%g^=Gu2=NDJ3FtB;#;B1|C?0@K+r^c@Y-^$v=%Rcd7lid;7C8Gg05Hm=)6 zYnBbL%QoieQm^*=!?E4sPYDHXkNvTs1}HU)YX88mN>K%w=I{pgp^9?G{9@${%W>P2 zHDjR_Dz{adN$z_we03}6>!O1n0~=n9(!de_S#18cQ-=K(pueOGSA{K!l|;=6^+N2w z1|M`3F{AhyrYXRtucUbuZorS?JFhMGKu+wJZ>@_<)JQNP*(i9AJQp_``r{SWa%Krc z8g_~NgX3l|+|G>+sNbz~Lw7lxi_`Xzxk-vrFmR%m@GfQrHoQ=X);N6IM z^EaB!Q4RkBAj)$6vP%W9J)UQn)Om!Y3MfkIM{I2~Uaixbd<2k6bN0e%CgSt(o?KiT zG9NXiYYeBG`yvnZn3sVuxw_;vCaa{npStX{V*hi(Oz9 zFP0O|$N5aiVjZM!!aIYkXdUuu=mg^lbcrBp5L5(SmcV~vukU9m~qZ$EX|L4=EktiWh9pDSKv%%OkLzi zYl(C*tVeylGng}{gh;`eg@!zP50SmI-#PfZa+Vy|qWBcmSw)jcecS!t$MsOp3K2I* zV!x(`WX!H_V>dKiNGM4`&y(lE9xE{ARnKqvCiJQ^6bj{rz(#B9X9>1o4X}RSbH!5>5NCoE16{QT6I=H-#6i zpC+!sKG7M*82wLHhIJ8K-@qjzlY0|ZkA>FD%yVbsOLHkQKYG&%*ReS_B&#!YP@vqy zePDNsTLg1|z(`wv4*h9b7+?^sq#aePAWhn8p#20JD;Bpd^`IMpg1gdlh6@UDBUl?T zaQ%gj&|#9#=>J?_kWJxYJiKT@pFMdtU3Jf1%7_Z-lZYIL4$Fai7lGdh>N3{O_$S~1 zRBWG;RpIrIegC$3q-)Ng9x^B1R593Gm;)cQ+mb<9nQ@eN=MhIRK_E#os7<%72Se)C zHXgAb2k?eu+eK=&*7{gM-wgo;byzlT8#`&)*Emu*J+40j$kx`brqgIQL6~|J)E=D* z)xu~049(zHOvQ@w@2zK**t+OSkvzO?sng)a-pG>PsA!#yL^aIEdy-@gvI%!u-e^g} zcl0atT5#31eh5V_Ln8|UxeU`01=-Bu-*pY3!$%LE(X`bDD`jk;AoJ>F`A-pB9cxdP z`J}yfT3w0GrIe=SpB!?!B{N1*B~0Fs@-XGz=8kR~?)$e_-n96;(H9XiWFl$Qwfa(d z20m7r4{_2BV7imB_&m`<69R^&GQE%_n%7Y%i)mc^HB#Ix7sI5Gxrmu3-~Tn4z(XQ% zmrptK2g(VxUSoy9>o`fzZ~nJc%KyxmfLV}Y4qZPD5fi$NU+K%}H9A z(N>YdZ|3J1*sW)bpDEbYGM(uN6C4S7@06cMxP zw;&XoyL2OGl#3)IK1ca;xMG(1v~rX{Z|iNEvkA9H+BSl#Plv9LPw)>RaApsnznW%cX$AIEz9L z)Rr(2NPIv2L|}giYS2+*au)W=gtw7iY)|(bfZiw7Y|F|?yIb{>;iG9nFj0s+_n+iX z7b=JgNQ6J|^ca9eLk&xi zC??${P>gd7 zF`E?eYV@oCkj%SVL+0q{^c|Lt$*9SDY!4?c_)6x@0=r?@Yj3jCRtda?b|40#EB7qo z->A{DM+kAzYQ+Y?M#QA<^7ua`Kqk?R)qD>-PajHh8zS&TaREv&d&-7%xf}$P;i^L% zAl|a;bfQyj*J5ak<^B)QjW>E@HcK|^+%-@NL<4WTRi?{XgqVlRmcm56!s6-Wcq(N; zQtzrAexc!lyN|kB#RTJUm{k{&#|OR(R=}v`Zli-N%XQFyU`zD@cP*RAF=-&QMcV&) zM5eh3y0m9%al){msFR6%lZBN;d988_M)(mNyi{!$sAft_*|x3+IM0T0H)#cLo?wSs zqvC6k*IH<%9z7~8o2|l5aUF4hg9m!uf13IP2pr9s($RM}KO=UD5HAPjOxwPXu`M z30|5;VyJHC-u0cc%Br~WJqKjw(k^JZf~8-4TnityM!qj>1-O~u)J=0^hvYXeUg$mO zkF)58zyDC&+%2@})DtHK9Zw$|MK`9v&&tMew{RuT1kheLDvQb#IR)Nn(iyC z6nJEYP888!2cbtx-&cb@c_aH z2ZS5DFT62Tom2~7a#Jp>8(KUMC^c`BXRJ5}<$9MZ7Z1E({vqs35)%u76-HF~8<*SH z$~N(GQ%LEKbxtemmIP7-!dGL~A9Ic+DovXPxI>$K7%%oG4aF7-Rlcleh3?(npv&h+ z@W)BO_I%%-VrR5Q7%>PH2f^Q%ZgzH@77()h>UNhjuVcQbB9Xoz4JDXD8P?uo(!dCy z7i%@vcgCAW$RSh}<~O&B4Q(|82f1@QS4D482Z)eDvcW&oF>NbSb+lz5L>xtQk>ZG> z`8saE#E0%2L9eqmT68rv(O<${kK>E}nr0?*MF^jf-quJy{{_hM`4ppFq;|2Qk zGqeZjz6i9!QoD(__G^Rx1rz-NP&G*`c6ENcpLb#*2 z%1WyyTUWB7g;D&3R?WMG$oX+7nhzjC3JOZJEX2rS|4P8Wu^Y*DcV9b`M4}sGl0FSX zDfO}kG3-w3cMD&1m-zEm8|2NX<#oyCkW%HR1~WIU;X%_nG*INr0pkZ8_%^b;XKPBY zsXiT~_nG)@mIZLc;-K>rtzd>L5YgQj`FFKQW&dj;JAW%8=BIVxwWLKIHF)^k zHy~5Sdeze!Q)Be;h>eAt@6?a@%l1vAE#IpGUiiExlup}c7IqT0>VLZsL_uD<(cb}$ zB<^^y>@b?|2whjTF?D{3f97ew*W**xrxx)MFIfnB%xC_N2W|R*Dxzpr4z6C9fm6ZR zNoQ{2_{$8g{%=ln{d(6bpx7F>Z#8r!8XCWQRoi=S)e(OJKlVI<`}wKd?-u8Gk$er~ z!1n3c)?R%J(-$6aLgpYsSEU~~zm(QOlQagT0Gge^<F2*?>*{C56m|Ew2)|0ds@&T*2M0GO>Sv`#{I8(y08l&!YkC-F% zV+Bb^%vvwqGZZRa5IbETdnFagj%pT}Z*vRr2bZ{3L_fH(d*{yNF*VqX|* z?#<{dMfa6 z-S81z`jorWy(f|1KXF~;bJdo9Aa|w9@J-r<-AfMWk5Gi7WU;9%7?*$EYuEpU#Y^m_ zO9+~Vgvz{UAL<=dHn0pX61R8ejizu~fDo1(cX#_grxpO1%AFO9vG>Evbx7J3*2Xj> zJ1SNX463oXanJ1nn)~fePm-CphVB{CAkulcxUA~6bsnOf7bnKi!hzC|1S1cZ$kHSD z?en0z!|s|`F{9)MpwTe#eOuynZ8p-nR@P?B5wKqWeBdG6i)Pe~BMPDChAUrqO4^S{%*WXHA~VEf6{ynB-RgYIY=VyIKMmmB0zKABMTDV%qyPWyMA>7-ggv zSD}~k8LT8B^9c;G$gQ2)QzZulVgKhq%JQf_WybzTqD$yM{7HZX(Bi?%LOAU%g7@=~ z&8I?6pL8H3iekEGZ6Q=+?Cvrp0&k)C3{N>#klXJ5R_|17JyzJoGkBbePvO&nQvtuH zITwmVU*c~96*gAAcIC|sw!gx${Lg&T@C~CPuF7`Tx4x8zUuXKrT_TDfKFzy zq7Mf9DNPC>ft2-|^3Xb*aOOHno8zxwh5XzMpMRv{NC+XxuW2KQH%rDF;7T?>R|Hk( zq_&boV1})k8fUn@^Q(aGkE4F@2jYMsvjnx`ONp|Tp~qtg*WrIUatg;j=7NWOLYjv@ z9l1xayIza+tu%_Eve-QU2+BOVMUB4A^duJ;$h}-+;S5c}*lHPX$61K(M;znlkx!Ht zmJ;R(qX6-0fHLSU#UrsYiAQ+EKZ!0U8+lWQulf^ys^nry zXH$eE&8@FLyg&2&BBdFI;;i4w>^-;4fHitLMxugc2E!PT2S_Q>R7ZYB9tGe~z%78e z*TC-B8N=g)%Kp6>o7S@TJ-9xF3^1iWW>7~16djzd2g#wRk>=T9jBCIEGd2DtK3{Q| nfHCtfPVvsyOi9$U(D=R($`gTe(aPT36b%Ee;E%sU>Hq)$Gr~`l literal 0 HcmV?d00001 diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb index af19bbc29..5a7900205 100644 --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -1,8 +1,10 @@ -TASKS = Task.all - class TasksController < ApplicationController + TASKS = [ + {name: "Call Ma", description: "Family First", completed_at: ""} + ] + def index - @tasks = TASKS + @tasks = Task.all end def show @@ -18,18 +20,66 @@ def new end def create - task = Task.new( - name: params["task"]["name"], - description: params["task"]["description"], - completed_at: params["task"]["completed_at"], - ) + task = Task.new(task_params) is_successful = task.save + if is_successful + redirect_to task_path(task.id) + else + head :not_found #should be a server error instead + end + end + + def edit + @task = Task.find_by(id: params[:id]) + end + + def update + task = Task.find_by(id: params[:id]) + + is_successful = task.update(task_params) + if is_successful redirect_to task_path(task.id) else head :not_found end end + + def mark_complete + task = Task.find_by(id: params[:id]) + if task.completed_at = "Incomplete" + task.completed_at = "Complete" + task.save + redirect_to tasks_path + end + end + + def unmark_complete + task = Task.find_by(id: params[:id]) + if task.completed_at = "Complete" + task.completed_at = "Incomplete" + task.save + redirect_to tasks_path + end + end + + def destroy + task = Task.find_by(id: params[:id]) + + if task.nil? + head :not_found + else + task.destroy + redirect_to tasks_path + end + end + + private + + def task_params + return params.require(:task).permit(:name, :description, :completed_at) + end + end diff --git a/app/views/tasks/_form.html.erb b/app/views/tasks/_form.html.erb new file mode 100644 index 000000000..8dfa31d34 --- /dev/null +++ b/app/views/tasks/_form.html.erb @@ -0,0 +1,12 @@ +<%= form_with model: @task, class: form_class do |f| %> + +

<%=intro_text%>

+ + <%= f.label :name %> + <%= f.text_field :name %> + <%= f.label :description %> + <%= f.text_field :description %> + + <%= f.submit action_name, class: "task-form__submit-btn" %> + +<% end %> \ No newline at end of file diff --git a/app/views/tasks/edit.html.erb b/app/views/tasks/edit.html.erb new file mode 100644 index 000000000..b1c5ef831 --- /dev/null +++ b/app/views/tasks/edit.html.erb @@ -0,0 +1,5 @@ +<%= render partial: "form", locals: { + form_class: "edit-task", + intro_text: "Edit Task Form", + action_name: "Edit Task", +}%> \ No newline at end of file diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb index 35a61f3d0..157d50b36 100644 --- a/app/views/tasks/index.html.erb +++ b/app/views/tasks/index.html.erb @@ -2,25 +2,45 @@ Jillianne's TaskList -

Welcome to my TaskList!

- +

Jillianne's TaskList

+ + +<%# +table { + font-family: arial, sans-serif; + border-collapse: collapse; + width: 100%; +} + +td, th { + border: 1px solid #dddddd; + text-align: left; + padding: 8px; +} + +tr:nth-child(even) { + background-color: #dddddd; +} %> \ No newline at end of file diff --git a/app/views/tasks/new.html.erb b/app/views/tasks/new.html.erb index 31850e126..58310cfc8 100644 --- a/app/views/tasks/new.html.erb +++ b/app/views/tasks/new.html.erb @@ -1,17 +1,7 @@ -

Form for creating a new Task

+<%# f is the FORM BUILDER %> - -<%= form_with model: @task, class: 'create-task' do |f| %> - -

Please fill out this form to create a new task

- - <%= f.label :name %> - <%= f.text_field :name %> - <%= f.label :description %> - <%= f.text_field :description %> - <%= f.label :completed_at %> - <%= f.text_field :completed_at %> - - <%= f.submit "Save Task", class: "task-form__submit-btn" %> - -<% end %> \ No newline at end of file +<%= render partial: "form", locals: { + form_class: "new-task", + intro_text: "New Task Form", + action_name: "Add Task", +}%> \ No newline at end of file diff --git a/app/views/tasks/show.html.erb b/app/views/tasks/show.html.erb index 11cd49c79..2ac4b53d7 100644 --- a/app/views/tasks/show.html.erb +++ b/app/views/tasks/show.html.erb @@ -1,12 +1,16 @@

- <%= @task.name %> + Task: <%= @task.name %>

- <%= @task.description %> + Description: <%= @task.description %>

-

- <%= @task.completed_at %> -

-<%= link_to "Back to All Tasks", tasks_path %> \ No newline at end of file +

+ Status: <%= @task.completed_at %> +

+ +<%= link_to "Edit #{@task.name}", edit_task_path(@task.id) %> +<%= link_to "Back to All Tasks", tasks_path %> +<%= link_to "Delete #{@task.name}", task_path(@task.id), method: :delete %> +<%# delete requires method clarification for path verb %> \ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index a0b03d0e9..a084ebf00 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -6,14 +6,18 @@ get '/tasks/new', to: 'tasks#new', as: 'new_task' post '/tasks', to: 'tasks#create' - get 'tasks/:id', to: 'tasks#show', as: 'task' + get 'tasks/:id', to: 'tasks#show', as: 'task' #id does not have to be a number, it can be a word ORDER MATTERS OF ROUTES - # get '/tasks/:id/edit', to: 'tasks#edit', as: 'edit_book' - # patch '/tasks/:id', to: 'tasks#update' + get '/tasks/:id/edit', to: 'tasks#edit', as: 'edit_task' + patch '/tasks/:id', to: 'tasks#update' - # delete '/tasks/:id', to: 'tasks#destroy' + get '/tasks/:id/complete', to: 'tasks#mark_complete', as: 'mark_complete' + patch '/tasks/:id/complete', to: 'tasks#mark_complete' - # mark a task complete!!!!! patch '/tasks/:id/read', to: 'tasks#mark_complete', as: 'mark_complete' + get '/tasks/:id/incomplete', to: 'tasks#unmark_complete', as: 'unmark_complete' + patch '/tasks/:id/incomplete', to: 'tasks#unmark_complete' + + delete '/tasks/:id', to: 'tasks#destroy' root to: 'tasks#index' # makes homepage to site go to the index, also get '/', to: 'tasks#index' end diff --git a/db/seeds.rb b/db/seeds.rb deleted file mode 100644 index 62e650c5c..000000000 --- a/db/seeds.rb +++ /dev/null @@ -1,28 +0,0 @@ -# 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) - -def random_time - Time.at(rand * Time.now.to_i) -end - -tasks = [ - {name: "The First Task", description: "", completed_at: random_time}, - {name: "Go to Brunch", description: ""}, - {name: "Go to Lunch", description: "", completed_at: random_time}, - {name: "Go to Second Lunch", description: ""}, - {name: "Play Video Games", description: "", completed_at: random_time}, - {name: "High Five Somebody You Don't Know", description: "", completed_at: random_time}, - {name: "Plant Flowers", description: "", completed_at: random_time}, - {name: "Call Mom", description: ""}, - {name: "She worries, you know.", description: ""}, - {name: "Nap.", description: "", completed_at: random_time}, -] - -tasks.each do |task| - Task.create task -end \ No newline at end of file diff --git a/log/development.log b/log/development.log index 750770c5a..15885e46b 100644 --- a/log/development.log +++ b/log/development.log @@ -1070,3 +1070,8022 @@ Migrating to AlterCompletionDate (20190411014736) ↳ bin/rails:9  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:9 +Started GET "/" for ::1 at 2019-04-10 18:53:41 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (5.7ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:14 + Rendered tasks/index.html.erb within layouts/application (24.5ms) +Completed 200 OK in 227ms (Views: 209.2ms | ActiveRecord: 11.1ms) + + +Started GET "/" for ::1 at 2019-04-10 18:53:44 -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 23ms (Views: 20.4ms | ActiveRecord: 0.0ms) + + +Started GET "/new" for ::1 at 2019-04-10 18:53:48 -0700 + +ActionController::RoutingError (No route matches [GET] "/new"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/book/new" for ::1 at 2019-04-10 18:53:56 -0700 + +ActionController::RoutingError (No route matches [GET] "/book/new"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/books/new" for ::1 at 2019-04-10 18:53:59 -0700 + +ActionController::RoutingError (No route matches [GET] "/books/new"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/task/new" for ::1 at 2019-04-10 18:54:05 -0700 + +ActionController::RoutingError (No route matches [GET] "/task/new"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/new" for ::1 at 2019-04-10 18:54:09 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (18.3ms) +Completed 200 OK in 48ms (Views: 43.7ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-11 09:38:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (8.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:14 + Rendered tasks/index.html.erb within layouts/application (82.6ms) +Completed 200 OK in 294ms (Views: 220.3ms | ActiveRecord: 66.1ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-11 09:38:53 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (12.7ms) +Completed 200 OK in 34ms (Views: 30.9ms | ActiveRecord: 0.0ms) + + +Started GET "/books/new" for ::1 at 2019-04-11 09:43:09 -0700 + +ActionController::RoutingError (No route matches [GET] "/books/new"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/books/new" for ::1 at 2019-04-11 09:43:10 -0700 + +ActionController::RoutingError (No route matches [GET] "/books/new"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/books/new" for ::1 at 2019-04-11 09:43:11 -0700 + +ActionController::RoutingError (No route matches [GET] "/books/new"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/book/new" for ::1 at 2019-04-11 09:43:15 -0700 + +ActionController::RoutingError (No route matches [GET] "/book/new"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/task/new" for ::1 at 2019-04-11 09:43:27 -0700 + +ActionController::RoutingError (No route matches [GET] "/task/new"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/new" for ::1 at 2019-04-11 09:43:30 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (7.7ms) +Completed 200 OK in 220ms (Views: 206.5ms | ActiveRecord: 5.3ms) + + +Started GET "/task" for ::1 at 2019-04-11 09:51:16 -0700 + +ActionController::RoutingError (No route matches [GET] "/task"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/task" for ::1 at 2019-04-11 09:52:46 -0700 + +ActionController::RoutingError (No route matches [GET] "/task"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/task" for ::1 at 2019-04-11 09:53:05 -0700 + +ActionController::RoutingError (No route matches [GET] "/task"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/task/1" for ::1 at 2019-04-11 09:53:21 -0700 + +ActionController::RoutingError (No route matches [GET] "/task/1"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +  (2.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (1.0ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (11.6ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "The First Task"], ["description", ""], ["completed_at", "2006-11-16 12:48:15 -0800"], ["created_at", "2019-04-11 16:53:52.393135"], ["updated_at", "2019-04-11 16:53:52.393135"]] + ↳ db/seeds.rb:27 +  (0.6ms) COMMIT + ↳ db/seeds.rb:27 +  (0.2ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Go to Brunch"], ["description", ""], ["created_at", "2019-04-11 16:53:52.408787"], ["updated_at", "2019-04-11 16:53:52.408787"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Go to Lunch"], ["description", ""], ["completed_at", "1992-07-08 20:51:16 -0700"], ["created_at", "2019-04-11 16:53:52.411430"], ["updated_at", "2019-04-11 16:53:52.411430"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.2ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Go to Second Lunch"], ["description", ""], ["created_at", "2019-04-11 16:53:52.413879"], ["updated_at", "2019-04-11 16:53:52.413879"]] + ↳ db/seeds.rb:27 +  (0.5ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Play Video Games"], ["description", ""], ["completed_at", "1980-01-16 09:27:52 -0800"], ["created_at", "2019-04-11 16:53:52.415943"], ["updated_at", "2019-04-11 16:53:52.415943"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "High Five Somebody You Don't Know"], ["description", ""], ["completed_at", "1971-09-11 15:45:28 -0700"], ["created_at", "2019-04-11 16:53:52.417957"], ["updated_at", "2019-04-11 16:53:52.417957"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Plant Flowers"], ["description", ""], ["completed_at", "1976-10-29 12:07:02 -0700"], ["created_at", "2019-04-11 16:53:52.420278"], ["updated_at", "2019-04-11 16:53:52.420278"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Call Mom"], ["description", ""], ["created_at", "2019-04-11 16:53:52.422614"], ["updated_at", "2019-04-11 16:53:52.422614"]] + ↳ db/seeds.rb:27 +  (0.3ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "She worries, you know."], ["description", ""], ["created_at", "2019-04-11 16:53:52.424580"], ["updated_at", "2019-04-11 16:53:52.424580"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Nap."], ["description", ""], ["completed_at", "1973-11-30 05:33:20 -0800"], ["created_at", "2019-04-11 16:53:52.426678"], ["updated_at", "2019-04-11 16:53:52.426678"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +Started GET "/task" for ::1 at 2019-04-11 09:54:04 -0700 + +ActionController::RoutingError (No route matches [GET] "/task"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/task" for ::1 at 2019-04-11 09:54:05 -0700 + +ActionController::RoutingError (No route matches [GET] "/task"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/task" for ::1 at 2019-04-11 09:57:04 -0700 + +ActionController::RoutingError (No route matches [GET] "/task"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/" for ::1 at 2019-04-11 09:57:09 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:14 + Rendered tasks/index.html.erb within layouts/application (17.2ms) +Completed 200 OK in 194ms (Views: 185.0ms | ActiveRecord: 6.5ms) + + +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (2.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (194.3ms) DROP DATABASE IF EXISTS "TaskList_development" + ↳ bin/rails:9 +  (216.6ms) DROP DATABASE IF EXISTS "TaskList_test" + ↳ bin/rails:9 +  (495.7ms) CREATE DATABASE "TaskList_development" ENCODING = 'unicode' + ↳ bin/rails:9 +  (422.7ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + ↳ bin/rails:9 + SQL (1.8ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (1.3ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (13.7ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) + ↳ db/schema.rb:18 +  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) + ↳ db/schema.rb:13 +  (2.4ms) 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) + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ db/schema.rb:13 +  (0.2ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-04-11 16:57:23.971116"], ["updated_at", "2019-04-11 16:57:23.971116"]] + ↳ db/schema.rb:13 +  (0.3ms) COMMIT + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 +  (0.1ms) COMMIT + ↳ bin/rails:9 + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (6.3ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) + ↳ db/schema.rb:18 +  (2.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) + ↳ db/schema.rb:13 +  (3.0ms) 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) + ↳ db/schema.rb:13 + 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]] + ↳ db/schema.rb:13 +  (0.3ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-04-11 16:57:24.022082"], ["updated_at", "2019-04-11 16:57:24.022082"]] + ↳ db/schema.rb:13 +  (0.3ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 + ActiveRecord::InternalMetadata Update (0.9ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2019-04-11 16:57:24.025838"], ["key", "environment"]] + ↳ bin/rails:9 +  (0.4ms) COMMIT + ↳ bin/rails:9 +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.2ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.8ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "The First Task"], ["description", ""], ["completed_at", "1984-04-07 14:47:19 -0800"], ["created_at", "2019-04-11 16:57:24.067492"], ["updated_at", "2019-04-11 16:57:24.067492"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Go to Brunch"], ["description", ""], ["created_at", "2019-04-11 16:57:24.070464"], ["updated_at", "2019-04-11 16:57:24.070464"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Go to Lunch"], ["description", ""], ["completed_at", "2016-08-08 00:58:49 -0700"], ["created_at", "2019-04-11 16:57:24.073130"], ["updated_at", "2019-04-11 16:57:24.073130"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Go to Second Lunch"], ["description", ""], ["created_at", "2019-04-11 16:57:24.075473"], ["updated_at", "2019-04-11 16:57:24.075473"]] + ↳ db/seeds.rb:27 +  (0.3ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Play Video Games"], ["description", ""], ["completed_at", "1975-01-13 13:00:29 -0800"], ["created_at", "2019-04-11 16:57:24.077562"], ["updated_at", "2019-04-11 16:57:24.077562"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "High Five Somebody You Don't Know"], ["description", ""], ["completed_at", "1993-12-01 16:41:45 -0800"], ["created_at", "2019-04-11 16:57:24.079741"], ["updated_at", "2019-04-11 16:57:24.079741"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Plant Flowers"], ["description", ""], ["completed_at", "2015-12-07 14:28:08 -0800"], ["created_at", "2019-04-11 16:57:24.082033"], ["updated_at", "2019-04-11 16:57:24.082033"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Call Mom"], ["description", ""], ["created_at", "2019-04-11 16:57:24.084217"], ["updated_at", "2019-04-11 16:57:24.084217"]] + ↳ db/seeds.rb:27 +  (0.8ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "She worries, you know."], ["description", ""], ["created_at", "2019-04-11 16:57:24.086997"], ["updated_at", "2019-04-11 16:57:24.086997"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +  (0.1ms) BEGIN + ↳ db/seeds.rb:27 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Nap."], ["description", ""], ["completed_at", "1974-07-27 09:58:14 -0700"], ["created_at", "2019-04-11 16:57:24.089876"], ["updated_at", "2019-04-11 16:57:24.089876"]] + ↳ db/seeds.rb:27 +  (0.4ms) COMMIT + ↳ db/seeds.rb:27 +Started GET "/" for ::1 at 2019-04-11 09:57:38 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:14 + Rendered tasks/index.html.erb within layouts/application (18.7ms) +Completed 200 OK in 225ms (Views: 212.1ms | ActiveRecord: 6.1ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-11 09:57:58 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (12.0ms) +Completed 200 OK in 37ms (Views: 33.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 09:58: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 200 OK in 28ms (Views: 25.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/2" for ::1 at 2019-04-11 10:03:02 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 40ms (Views: 22.2ms | ActiveRecord: 4.2ms) + + +Started GET "/tasks/3" for ::1 at 2019-04-11 10:03:15 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 21ms (Views: 16.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3" for ::1 at 2019-04-11 10:06:22 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 37ms (Views: 32.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3" for ::1 at 2019-04-11 10:06:24 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 23ms (Views: 18.8ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/3" for ::1 at 2019-04-11 10:06:29 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 49ms (Views: 45.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/3" for ::1 at 2019-04-11 10:06:43 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 20ms (Views: 16.1ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/3" for ::1 at 2019-04-11 10:06:53 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 20ms (Views: 16.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3" for ::1 at 2019-04-11 10:07: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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 20ms (Views: 16.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/3" for ::1 at 2019-04-11 10:07:47 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 48ms (Views: 25.1ms | ActiveRecord: 10.3ms) + + +Started GET "/" for ::1 at 2019-04-11 10:20:43 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:14 + Rendered tasks/index.html.erb within layouts/application (17.3ms) +Completed 200 OK in 221ms (Views: 209.8ms | ActiveRecord: 5.4ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-11 10:20:47 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (13.1ms) +Completed 200 OK in 34ms (Views: 30.3ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for ::1 at 2019-04-11 10:23:57 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"XMO6DWCL+jmNTXEfiGHkCWllMHhkW/rkNOXUaseFBFLW4rzM/9Z82h1v8hpjZohiDFAAliZGiMLhVExFpdX4Bg==", "task"=>{"name"=>"walk Manny", "description"=>"cause hes sad", "completed_at"=>""}, "commit"=>"Save Task"} +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:27 + Task Create (4.0ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "walk Manny"], ["description", "cause hes sad"], ["completed_at", ""], ["created_at", "2019-04-11 17:23:57.581043"], ["updated_at", "2019-04-11 17:23:57.581043"]] + ↳ app/controllers/tasks_controller.rb:27 +  (0.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:27 +Redirected to http://localhost:3000/tasks/11 +Completed 302 Found in 8ms (ActiveRecord: 4.5ms) + + +Started GET "/tasks/11" for ::1 at 2019-04-11 10:23:57 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"11"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 23ms (Views: 17.2ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 10:24: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 36ms (Views: 31.3ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-11 15:19:20 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (6.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:14 + Rendered tasks/index.html.erb within layouts/application (360.5ms) +Completed 500 Internal Server Error in 374ms (ActiveRecord: 18.6ms) + + + +NameError - undefined local variable or method `new_task' for #<#:0x00007fe757989fe0> +Did you mean? new_task_url: + app/views/tasks/index.html.erb:24:in `_app_views_tasks_index_html_erb___1774479139331651114_70315759648000' + +Started POST "/__better_errors/68e86b5badaa40ec/variables" for ::1 at 2019-04-11 15:19:21 -0700 +Started GET "/" for ::1 at 2019-04-11 15:20:02 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.0ms) + + + +NoMethodError - undefined method `name' for nil:NilClass: + app/views/tasks/index.html.erb:25:in `_app_views_tasks_index_html_erb___1774479139331651114_70315792529160' + +Started POST "/__better_errors/c77baed8ba6c910e/variables" for ::1 at 2019-04-11 15:20:02 -0700 +Started GET "/" for ::1 at 2019-04-11 15:20: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.8ms) +Completed 200 OK in 196ms (Views: 192.9ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-11 15:20:40 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (26.1ms) +Completed 200 OK in 50ms (Views: 46.8ms | ActiveRecord: 0.0ms) + + +  (3.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (5.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (8302.3ms) DROP DATABASE IF EXISTS "TaskList_development" + ↳ bin/rails:9 +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (226.3ms) DROP DATABASE IF EXISTS "TaskList_development" + ↳ bin/rails:9 +  (214.9ms) DROP DATABASE IF EXISTS "TaskList_test" + ↳ bin/rails:9 +  (453.8ms) CREATE DATABASE "TaskList_development" ENCODING = 'unicode' + ↳ bin/rails:9 +  (387.5ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + ↳ bin/rails:9 + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (6.9ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) + ↳ db/schema.rb:18 +  (2.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) + ↳ db/schema.rb:13 +  (2.2ms) 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) + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ db/schema.rb:13 +  (0.2ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-04-11 22:22:40.119883"], ["updated_at", "2019-04-11 22:22:40.119883"]] + ↳ db/schema.rb:13 +  (0.3ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 +  (0.1ms) COMMIT + ↳ bin/rails:9 + SQL (0.8ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (6.8ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) + ↳ db/schema.rb:18 +  (2.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) + ↳ db/schema.rb:13 +  (3.4ms) 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) + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ db/schema.rb:13 +  (0.1ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (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", "2019-04-11 22:22:40.166622"], ["updated_at", "2019-04-11 22:22:40.166622"]] + ↳ db/schema.rb:13 +  (0.2ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 + ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2019-04-11 22:22:40.169545"], ["key", "environment"]] + ↳ bin/rails:9 +  (0.3ms) COMMIT + ↳ bin/rails:9 +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +Started GET "/" for ::1 at 2019-04-11 15:22:53 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (5.8ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:14 + Rendered tasks/index.html.erb within layouts/application (28.5ms) +Completed 200 OK in 234ms (Views: 203.0ms | ActiveRecord: 23.2ms) + + +Started GET "/" for ::1 at 2019-04-11 15:23:53 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:14 + Rendered tasks/index.html.erb within layouts/application (6.5ms) +Completed 200 OK in 30ms (Views: 23.5ms | ActiveRecord: 4.0ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-11 15:24:31 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (20.7ms) +Completed 200 OK in 163ms (Views: 43.9ms | ActiveRecord: 109.2ms) + + +Started POST "/tasks" for ::1 at 2019-04-11 15:24:52 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"IqqcPuWMt/vaw04Yv96iNZtlZGhe5WASKQ8HHXu/koGg+e6WLdS/QefDKXqCS+VGHSS9Ke416PJRHWThy8JhuQ==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy wants to hear from me", "completed_at"=>""}, "commit"=>"Save Task"} +  (1.0ms) BEGIN + ↳ app/controllers/tasks_controller.rb:27 + Task Create (1.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Call Mom"], ["description", "Mommy wants to hear from me"], ["completed_at", ""], ["created_at", "2019-04-11 22:24:52.199781"], ["updated_at", "2019-04-11 22:24:52.199781"]] + ↳ app/controllers/tasks_controller.rb:27 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:27 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 9ms (ActiveRecord: 2.9ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 15:24:52 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 24ms (Views: 16.3ms | ActiveRecord: 0.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 15:26:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:14 + Rendered tasks/index.html.erb within layouts/application (31.8ms) +Completed 200 OK in 56ms (Views: 51.2ms | ActiveRecord: 2.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 15:28:35 -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 37ms (Views: 34.3ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 15:35:06 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:19 + Rendered tasks/index.html.erb within layouts/application (32.1ms) +Completed 500 Internal Server Error in 42ms (ActiveRecord: 6.4ms) + + + +Sprockets::Rails::Helper::AssetNotFound - The asset "imgs/tasklist.jpg" is not present in the asset pipeline.: + app/views/tasks/index.html.erb:33:in `_app_views_tasks_index_html_erb___998784373381140235_70344545437020' + +Started POST "/__better_errors/7ff9da2fbe2e584b/variables" for ::1 at 2019-04-11 15:35:06 -0700 +Started GET "/tasks" for ::1 at 2019-04-11 15:35:20 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (4.8ms) +Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.0ms) + + + +ArgumentError - Can't resolve image into URL: undefined method `start_with?' for nil:NilClass: + app/views/tasks/index.html.erb:33:in `_app_views_tasks_index_html_erb___998784373381140235_70344543714680' + +Started POST "/__better_errors/e4e8bb844af7741e/variables" for ::1 at 2019-04-11 15:35:21 -0700 +Started GET "/tasks" for ::1 at 2019-04-11 15:36:12 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms) + + + +Sprockets::Rails::Helper::AssetNotFound - The asset "tasklist.jpg" is not present in the asset pipeline.: + app/views/tasks/index.html.erb:33:in `_app_views_tasks_index_html_erb___998784373381140235_70344589722960' + +Started POST "/__better_errors/5a7a6577b1521a4b/variables" for ::1 at 2019-04-11 15:36:12 -0700 +Started GET "/tasks" for ::1 at 2019-04-11 15:36:55 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (5.5ms) +Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.0ms) + + + +ArgumentError - Can't resolve image into URL: undefined method `start_with?' for nil:NilClass: + app/views/tasks/index.html.erb:33:in `_app_views_tasks_index_html_erb___998784373381140235_70344551157000' + +Started POST "/__better_errors/47e3e0f5ba989adb/variables" for ::1 at 2019-04-11 15:36:55 -0700 +Started GET "/tasks" for ::1 at 2019-04-11 15:39:33 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (67.3ms) +Completed 200 OK in 113ms (Views: 108.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 15:42:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (13.6ms) +Completed 200 OK in 81ms (Views: 74.9ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 15:42:41 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (5.1ms) +Completed 200 OK in 91ms (Views: 88.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 15:42:54 -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 29ms (Views: 26.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-11 15:43:14 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (5.9ms) +Completed 200 OK in 52ms (Views: 46.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-11 15:43:49 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (4.5ms) +Completed 200 OK in 44ms (Views: 40.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 15:53:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:20 + Rendered tasks/index.html.erb within layouts/application (25.3ms) +Completed 200 OK in 74ms (Views: 63.6ms | ActiveRecord: 6.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 15:53: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 33ms (Views: 30.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 15:53:39 -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 35ms (Views: 32.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 15:55: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.7ms) +Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms) + + + +SyntaxError - syntax error, unexpected keyword_ensure, expecting keyword_end + ensure + ^~~~~~ +/Users/jillianne.ramirez/Ada/rails/TaskList/app/views/tasks/index.html.erb:62: syntax error, unexpected end-of-input, expecting keyword_end + end + ^: + app/views/tasks/index.html.erb:60:in `' + +Started POST "/__better_errors/bc13cd5ca57d4e22/variables" for ::1 at 2019-04-11 15:55:33 -0700 +Started GET "/tasks" for ::1 at 2019-04-11 15:56: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.3ms) +Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.0ms) + + + +SyntaxError - syntax error, unexpected keyword_ensure, expecting keyword_end + ensure + ^~~~~~ +/Users/jillianne.ramirez/Ada/rails/TaskList/app/views/tasks/index.html.erb:62: syntax error, unexpected end-of-input, expecting keyword_end + end + ^: + app/views/tasks/index.html.erb:60:in `' + +Started POST "/__better_errors/38d06aa65604a9df/variables" for ::1 at 2019-04-11 15:56:35 -0700 +Started GET "/tasks" for ::1 at 2019-04-11 15:57:10 -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 41ms (Views: 38.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 15:58:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 37ms (Views: 34.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 15:58:41 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 24ms (Views: 22.3ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 15:59:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 29ms (Views: 25.9ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 16:00:14 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 46ms (Views: 43.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 16:02:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (15.1ms) +Completed 200 OK in 87ms (Views: 76.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 16:05:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 32ms (Views: 29.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 16:06: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.7ms) +Completed 200 OK in 37ms (Views: 32.7ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 16:06:03 -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 29ms (Views: 26.2ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 16:06: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.8ms) +Completed 200 OK in 27ms (Views: 23.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 16:06: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.1ms) +Completed 200 OK in 29ms (Views: 26.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 16:10:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (7.1ms) +Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.0ms) + + + +NoMethodError - undefined method `name' for nil:NilClass: + app/views/tasks/index.html.erb:33:in `block in _app_views_tasks_index_html_erb___998784373381140235_70344550586340' + app/views/tasks/index.html.erb:22:in `_app_views_tasks_index_html_erb___998784373381140235_70344550586340' + +Started POST "/__better_errors/77f6596865d2e742/variables" for ::1 at 2019-04-11 16:10:27 -0700 +Started GET "/tasks" for ::1 at 2019-04-11 16:10:58 -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 47ms (Views: 44.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 16:11:57 -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 24ms (Views: 21.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 16:12:58 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:22 + Rendered tasks/index.html.erb within layouts/application (16.8ms) +Completed 200 OK in 53ms (Views: 43.6ms | ActiveRecord: 6.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 16:15:52 -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 70ms (Views: 66.9ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 16:15:54 -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 29ms (Views: 25.9ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 16:16:09 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 40ms (Views: 38.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:16:22 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (1.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.3ms) +Completed 200 OK in 53ms (Views: 43.0ms | ActiveRecord: 2.5ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:16:24 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 37ms (Views: 32.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:16:27 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 30ms (Views: 25.7ms | ActiveRecord: 0.5ms) + + +Started DELETE "/tasks/1" for ::1 at 2019-04-11 16:16:37 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"dVm86hy381M6BLbQGZSU1BxbthS15kIt9nblIgItA2P/eLorg+p1sKomNdXyk/i/eW6G+vf7MAsjx30NYH3/Nw==", "id"=>"1"} + Task Load (1.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:42 + Task Destroy (1.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 1]] + ↳ app/controllers/tasks_controller.rb:42 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:42 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 4.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 16:16:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 22ms (Views: 19.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 16:16:42 -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 22ms (Views: 20.3ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-11 16:16: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.9ms) +Completed 200 OK in 24ms (Views: 20.6ms | ActiveRecord: 0.0ms) + + +Started DELETE "/tasks/1" for ::1 at 2019-04-11 16:16:44 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"VVQXoksHckb0OVphnPSWi2bxOyBoM68X7CCbbW+9q5XfdRFj1Fr0pWQb2WR38/rgA8QLziou3TE5kQNCDe1XwQ==", "id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 +Completed 404 Not Found in 2ms (ActiveRecord: 0.5ms) + + +Started GET "/" for ::1 at 2019-04-11 16:17:14 -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 30ms (Views: 27.2ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-11 16:17: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.9ms) +Completed 200 OK in 24ms (Views: 21.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:18 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (1.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 4ms (ActiveRecord: 1.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:18 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 2ms (ActiveRecord: 0.5ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:18 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 2ms (ActiveRecord: 0.5ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:18 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:18 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:18 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 2ms (ActiveRecord: 0.4ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17: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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:19 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:19 -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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:19 -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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:19 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:19 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:19 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 2ms (ActiveRecord: 0.8ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:19 -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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 2ms (ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:19 -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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:19 -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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:19 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (3.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 4ms (ActiveRecord: 3.1ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:19 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:19 -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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:19 -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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:19 -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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:19 -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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:19 -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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:19 -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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:19 -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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:19 -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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 3ms (ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:19 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:19 -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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:19 -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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:19 -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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:19 -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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:17:19 -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]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/" for ::1 at 2019-04-11 16:17: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.7ms) +Completed 200 OK in 22ms (Views: 18.6ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-11 16:17:29 -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 27ms (Views: 23.7ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-11 16:17:29 -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 25ms (Views: 21.5ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-11 16:17: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.8ms) +Completed 200 OK in 24ms (Views: 21.7ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-11 16:17: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.8ms) +Completed 200 OK in 29ms (Views: 26.0ms | ActiveRecord: 0.0ms) + + +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (5.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (220.8ms) DROP DATABASE IF EXISTS "TaskList_development" + ↳ bin/rails:9 +  (230.7ms) DROP DATABASE IF EXISTS "TaskList_test" + ↳ bin/rails:9 +  (433.2ms) CREATE DATABASE "TaskList_development" ENCODING = 'unicode' + ↳ bin/rails:9 +  (401.2ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + ↳ bin/rails:9 + SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.3ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (6.4ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) + ↳ db/schema.rb:18 +  (2.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) + ↳ db/schema.rb:13 +  (2.5ms) 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) + ↳ db/schema.rb:13 + 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]] + ↳ db/schema.rb:13 +  (0.2ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (0.8ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-04-11 23:17:48.825585"], ["updated_at", "2019-04-11 23:17:48.825585"]] + ↳ db/schema.rb:13 +  (0.4ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.2ms) BEGIN + ↳ bin/rails:9 +  (0.1ms) COMMIT + ↳ bin/rails:9 + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (7.0ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) + ↳ db/schema.rb:18 +  (2.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) + ↳ db/schema.rb:13 +  (2.9ms) 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) + ↳ db/schema.rb:13 + 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]] + ↳ db/schema.rb:13 +  (0.1ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-04-11 23:17:48.878964"], ["updated_at", "2019-04-11 23:17:48.878964"]] + ↳ db/schema.rb:13 +  (0.3ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 + ActiveRecord::InternalMetadata Update (0.3ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2019-04-11 23:17:48.882833"], ["key", "environment"]] + ↳ bin/rails:9 +  (0.3ms) COMMIT + ↳ bin/rails:9 +  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +Started GET "/" for ::1 at 2019-04-11 16:20:15 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (5.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:21 + Rendered tasks/index.html.erb within layouts/application (197.6ms) +Completed 200 OK in 241ms (Views: 212.7ms | ActiveRecord: 21.2ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-11 16:20:23 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (14.1ms) +Completed 200 OK in 53ms (Views: 29.9ms | ActiveRecord: 12.3ms) + + +Started POST "/tasks" for ::1 at 2019-04-11 16:20:35 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"qTYXybDigVMdDc7Vv2SljGQ1n2yL8eLzgIM/eGDttS8rZWVheLqJ6SANqbeC8eL/4nRGLTshahP4kVyE0JBGFw==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy wants to hear from me", "completed_at"=>""}, "commit"=>"Save Task"} +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:27 + Task Create (1.6ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Call Mom"], ["description", "Mommy wants to hear from me"], ["completed_at", ""], ["created_at", "2019-04-11 23:20:35.567355"], ["updated_at", "2019-04-11 23:20:35.567355"]] + ↳ app/controllers/tasks_controller.rb:27 +  (0.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:27 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 8ms (ActiveRecord: 2.4ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:20:35 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 23ms (Views: 17.2ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-11 16:20:39 -0700 + +AbstractController::ActionNotFound - The action 'edit' could not be found for TasksController: + +Started POST "/__better_errors/e395b2dafe1e46aa/variables" for ::1 at 2019-04-11 16:20:39 -0700 +Started GET "/" for ::1 at 2019-04-11 16:32:46 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:21 + Rendered tasks/index.html.erb within layouts/application (192.6ms) +Completed 200 OK in 231ms (Views: 217.9ms | ActiveRecord: 5.4ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-11 16:32:52 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (13.4ms) +Completed 200 OK in 41ms (Views: 37.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:33:13 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 43ms (Views: 20.8ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-11 16:33:33 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 +Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.3ms) + + + +NoMethodError - undefined method `edit' for #: + app/controllers/tasks_controller.rb:42:in `edit' + +Started POST "/__better_errors/3e805006e55e2a4a/variables" for ::1 at 2019-04-11 16:33:33 -0700 +Started GET "/tasks/1/edit" for ::1 at 2019-04-11 16:33:56 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (5.0ms) +Completed 500 Internal Server Error in 29ms (ActiveRecord: 7.6ms) + + + +NoMethodError - undefined method `name' for nil:NilClass: + app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb___2430764002949340554_70185240586860' + +Started POST "/__better_errors/2df510a5e06e69da/variables" for ::1 at 2019-04-11 16:33:56 -0700 +Started GET "/tasks/1/edit" for ::1 at 2019-04-11 16:34:18 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (3.6ms) +Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.4ms) + + + +NoMethodError - undefined method `name' for nil:NilClass: + app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb___2430764002949340554_70185278921600' + +Started POST "/__better_errors/2f4e3f3ea555f5e3/variables" for ::1 at 2019-04-11 16:34:18 -0700 +Started GET "/" for ::1 at 2019-04-11 16:36:22 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (2.9ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:21 + Rendered tasks/index.html.erb within layouts/application (7.2ms) +Completed 200 OK in 45ms (Views: 39.2ms | ActiveRecord: 2.9ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-11 16:36:27 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.7ms) +Completed 200 OK in 29ms (Views: 24.1ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-11 16:36: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 19ms (Views: 16.3ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:36:50 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.3ms) +Completed 200 OK in 32ms (Views: 27.1ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-11 16:36:52 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (3.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (6.4ms) +Completed 500 Internal Server Error in 21ms (ActiveRecord: 3.7ms) + + + +NoMethodError - undefined method `name' for nil:NilClass: + app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb___2430764002949340554_70185283095540' + +Started POST "/__better_errors/cd3bd4e88501817e/variables" for ::1 at 2019-04-11 16:36:53 -0700 +Started GET "/tasks/1" for ::1 at 2019-04-11 16:36:54 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 24ms (Views: 20.6ms | ActiveRecord: 0.2ms) + + +Started GET "/" for ::1 at 2019-04-11 16:37:48 -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 37ms (Views: 33.6ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-11 16:37:49 -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 21ms (Views: 18.2ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:38:05 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.2ms) +Completed 200 OK in 30ms (Views: 25.2ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-11 16:38:07 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (4.9ms) +Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.6ms) + + + +NoMethodError - undefined method `name' for nil:NilClass: + app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb___2430764002949340554_70185246734760' + +Started POST "/__better_errors/02c082aca6c823bd/variables" for ::1 at 2019-04-11 16:38:07 -0700 +Started GET "/tasks/1/edit" for ::1 at 2019-04-11 16:40:40 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (4.2ms) +Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.3ms) + + + +NoMethodError - undefined method `name' for nil:NilClass: + app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb___2430764002949340554_70185279353620' + +Started POST "/__better_errors/988ca6ddebdad0e8/variables" for ::1 at 2019-04-11 16:40:41 -0700 +Started GET "/" for ::1 at 2019-04-11 16:41:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 40ms (Views: 36.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:41:33 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 31ms (Views: 26.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-11 16:41:34 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (3.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (7.0ms) +Completed 500 Internal Server Error in 24ms (ActiveRecord: 3.2ms) + + + +NoMethodError - undefined method `name' for nil:NilClass: + app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb___2430764002949340554_70185241844780' + +Started POST "/__better_errors/bb72914738905ae4/variables" for ::1 at 2019-04-11 16:41:34 -0700 +Started GET "/tasks/1" for ::1 at 2019-04-11 16:41:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 33ms (Views: 27.4ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-11 16:41:45 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 29ms (Views: 25.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-11 16:41:46 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (333.8ms) +Completed 500 Internal Server Error in 347ms (ActiveRecord: 0.2ms) + + + +NameError - undefined local variable or method `task' for #<#:0x00007faa8c6bfba0>: + app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb___2430764002949340554_70185238554940' + +Started POST "/__better_errors/1d9f215a11ebd265/variables" for ::1 at 2019-04-11 16:41:47 -0700 +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 09:05:53 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (5.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (684.3ms) +Completed 500 Internal Server Error in 729ms (ActiveRecord: 6.2ms) + + + +NameError - undefined local variable or method `task' for #<#:0x00007faa8c4e9da8>: + app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb___2430764002949340554_70185237568040' + +Started POST "/__better_errors/10cd79d39b0ac94d/variables" for ::1 at 2019-04-12 09:05:54 -0700 +Started GET "/" for ::1 at 2019-04-12 09:06:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (4.9ms) +Completed 200 OK in 43ms (Views: 40.1ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 09:27:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 28ms (Views: 25.7ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 09:27:53 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (1.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.4ms) +Completed 200 OK in 33ms (Views: 27.3ms | ActiveRecord: 1.6ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 09:27:54 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (1.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (4.7ms) +Completed 500 Internal Server Error in 22ms (ActiveRecord: 1.9ms) + + + +NoMethodError - undefined method `name' for nil:NilClass: + app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb___2430764002949340554_70185264191500' + +Started POST "/__better_errors/6916ef9924e40240/variables" for ::1 at 2019-04-12 09:27:54 -0700 +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 09:28:05 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (4.1ms) +Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.4ms) + + + +NoMethodError - undefined method `id' for nil:NilClass: + app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb___2430764002949340554_70185242706300' + +Started POST "/__better_errors/7f986b4c768f268e/variables" for ::1 at 2019-04-12 09:28:05 -0700 +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 09:30:45 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (2.9ms) +Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.4ms) + + + +NoMethodError - undefined method `id' for nil:NilClass: + app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb___2430764002949340554_70185246597400' + +Started POST "/__better_errors/82925ad01c9c3947/variables" for ::1 at 2019-04-12 09:30:45 -0700 +Started GET "/tasks/1" for ::1 at 2019-04-12 09:31:26 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 35ms (Views: 28.7ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 09:32:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.2ms) +Completed 200 OK in 28ms (Views: 24.2ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 09:34:38 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 19ms (Views: 15.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 09:34:39 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (4.9ms) +Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.8ms) + + + +NoMethodError - undefined method `id' for nil:NilClass: + app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb___2430764002949340554_70185245340320' + +Started POST "/__better_errors/4288eace61724f35/variables" for ::1 at 2019-04-12 09:34:40 -0700 +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 09:52:19 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (11.3ms) +Completed 500 Internal Server Error in 33ms (ActiveRecord: 0.7ms) + + + +NoMethodError - undefined method `id' for nil:NilClass: + app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb___2430764002949340554_70185240216580' + +Started POST "/__better_errors/2a116849b53cbd4b/variables" for ::1 at 2019-04-12 09:52:19 -0700 +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:05:20 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (3.0ms) +Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.4ms) + + + +NoMethodError - undefined method `id' for nil:NilClass: + app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb___2430764002949340554_70185280419620' + +Started POST "/__better_errors/ac856e9b6545ae66/variables" for ::1 at 2019-04-12 10:05:20 -0700 +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:07:20 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (3.7ms) +Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.3ms) + + + +NoMethodError - undefined method `id' for nil:NilClass: + app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb___2430764002949340554_70185279479440' + +Started POST "/__better_errors/a4aef31084d16cac/variables" for ::1 at 2019-04-12 10:07:20 -0700 +Started GET "/" for ::1 at 2019-04-12 10:07:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (4.9ms) +Completed 200 OK in 39ms (Views: 36.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 10:07:31 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (1.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.7ms) +Completed 500 Internal Server Error in 16ms (ActiveRecord: 1.4ms) + + + +SyntaxError - syntax error, unexpected '{', expecting ')' +...uffer.append=( link_to "Edit" {@task.name}, edit_task_path(@... +... ^ +/Users/jillianne.ramirez/Ada/rails/TaskList/app/views/tasks/show.html.erb:16: syntax error, unexpected '}', expecting ')' +...d=( link_to "Edit" {@task.name}, edit_task_path(@task.id) );... +... ^: + app/views/tasks/show.html.erb:16:in `' + +Started POST "/__better_errors/e807f835f7cf8867/variables" for ::1 at 2019-04-12 10:07:32 -0700 +Started GET "/tasks/1" for ::1 at 2019-04-12 10:08:28 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 23ms (Views: 18.6ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:08:31 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (3.8ms) +Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.3ms) + + + +NoMethodError - undefined method `id' for nil:NilClass: + app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb___2430764002949340554_70185245829060' + +Started POST "/__better_errors/606972a804711203/variables" for ::1 at 2019-04-12 10:08:31 -0700 +Started GET "/tasks/1" for ::1 at 2019-04-12 10:08:33 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (1.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 27ms (Views: 21.9ms | ActiveRecord: 1.8ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 10:09:56 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (268.4ms) +Completed 500 Internal Server Error in 277ms (ActiveRecord: 0.3ms) + + + +NameError - undefined local variable or method `task' for #<#:0x00007faa9147dd88> +Did you mean? @task: + app/views/tasks/show.html.erb:2:in `_app_views_tasks_show_html_erb___3028169501252091508_70185279288280' + +Started POST "/__better_errors/97a42f722069f57c/variables" for ::1 at 2019-04-12 10:09:57 -0700 +Started GET "/tasks/1" for ::1 at 2019-04-12 10:10:23 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 20ms (Views: 16.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:10:27 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (1.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (6.0ms) +Completed 500 Internal Server Error in 21ms (ActiveRecord: 1.5ms) + + + +NoMethodError - undefined method `id' for nil:NilClass: + app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb___2430764002949340554_70185237658520' + +Started POST "/__better_errors/bddfc706ce8ed784/variables" for ::1 at 2019-04-12 10:10:27 -0700 +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:10:39 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (2.8ms) +Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.2ms) + + + +NoMethodError - undefined method `name' for nil:NilClass: + app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb___2430764002949340554_70185246480080' + +Started POST "/__better_errors/0e859ba916fedd93/variables" for ::1 at 2019-04-12 10:10:39 -0700 +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:10:41 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (3.0ms) +Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.2ms) + + + +NoMethodError - undefined method `name' for nil:NilClass: + app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb___2430764002949340554_70185246735460' + +Started POST "/__better_errors/5714b3681baee55c/variables" for ::1 at 2019-04-12 10:10:41 -0700 +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:13:53 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (3.4ms) +Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.3ms) + + + +NoMethodError - undefined method `id' for nil:NilClass: + app/views/tasks/edit.html.erb:3:in `_app_views_tasks_edit_html_erb___2430764002949340554_70185280427060' + +Started POST "/__better_errors/c6de61265f2c90cb/variables" for ::1 at 2019-04-12 10:13:54 -0700 +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:16:33 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (5.7ms) +Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.4ms) + + + +NoMethodError - undefined method `id' for nil:NilClass: + app/views/tasks/edit.html.erb:3:in `_app_views_tasks_edit_html_erb___2430764002949340554_70185278020440' + +Started POST "/__better_errors/db9c2b145aa8ff3b/variables" for ::1 at 2019-04-12 10:16:33 -0700 +Started GET "/tasks/1" for ::1 at 2019-04-12 10:18:59 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.4ms) +Completed 200 OK in 40ms (Views: 35.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:19:01 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (6.6ms) +Completed 500 Internal Server Error in 21ms (ActiveRecord: 1.1ms) + + + +NoMethodError - undefined method `id' for nil:NilClass: + app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb___2430764002949340554_70185279131660' + +Started POST "/__better_errors/c47928305aa29864/variables" for ::1 at 2019-04-12 10:19:01 -0700 +Started GET "/tasks/1" for ::1 at 2019-04-12 10:19:15 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 33ms (Views: 27.9ms | ActiveRecord: 0.4ms) + + +Started GET "/" for ::1 at 2019-04-12 10:19:16 -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 34ms (Views: 29.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 10:19:42 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.2ms) +Completed 200 OK in 29ms (Views: 25.2ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:19:43 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (4.6ms) +Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.2ms) + + + +NoMethodError - undefined method `id' for nil:NilClass: + app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb___2430764002949340554_70185242672380' + +Started POST "/__better_errors/a934ccbf80fa73f3/variables" for ::1 at 2019-04-12 10:19:43 -0700 +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:22:40 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (4.2ms) +Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.2ms) + + + +NoMethodError - undefined method `title' for nil:NilClass: + app/views/tasks/edit.html.erb:17:in `_app_views_tasks_edit_html_erb___2430764002949340554_70185264072280' + +Started POST "/__better_errors/2f2d931a2702118a/variables" for ::1 at 2019-04-12 10:22:40 -0700 +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:25:15 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (3.3ms) +Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.3ms) + + + +NoMethodError - undefined method `id' for nil:NilClass: + app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb___2430764002949340554_70185237953720' + +Started POST "/__better_errors/c7f925a35d5324d4/variables" for ::1 at 2019-04-12 10:25:15 -0700 +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:25:49 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (11.6ms) +Completed 200 OK in 72ms (Views: 40.4ms | ActiveRecord: 22.6ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 10:39:35 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.0ms) +Completed 200 OK in 43ms (Views: 37.2ms | ActiveRecord: 0.5ms) + + +Started GET "/" for ::1 at 2019-04-12 10:39:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:21 + Rendered tasks/index.html.erb within layouts/application (9.8ms) +Completed 200 OK in 43ms (Views: 36.7ms | ActiveRecord: 0.6ms) + + +Started GET "/" for ::1 at 2019-04-12 10:39: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.7ms) +Completed 200 OK in 31ms (Views: 28.0ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 10:40: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.8ms) +Completed 200 OK in 32ms (Views: 29.5ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 10:40:11 -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 24ms (Views: 20.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 10:40:13 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (3.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.5ms) +Completed 200 OK in 44ms (Views: 33.4ms | ActiveRecord: 3.5ms) + + +Started GET "/" for ::1 at 2019-04-12 10:40: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.0ms) +Completed 200 OK in 26ms (Views: 23.9ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 10:40: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 20ms (Views: 17.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 10:40:37 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (5.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.7ms) +Completed 200 OK in 44ms (Views: 33.0ms | ActiveRecord: 5.7ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:40:40 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (2.8ms) +Completed 200 OK in 29ms (Views: 24.7ms | ActiveRecord: 0.6ms) + + +Started PATCH "/tasks/1" for ::1 at 2019-04-12 10:40:44 -0700 + +AbstractController::ActionNotFound - The action 'update' could not be found for TasksController: + +Started POST "/__better_errors/2460e0dba1d5cfd4/variables" for ::1 at 2019-04-12 10:40:44 -0700 +Started GET "/tasks/1" for ::1 at 2019-04-12 10:41:50 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 41ms (Views: 24.7ms | ActiveRecord: 7.4ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:44:36 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 +Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.2ms) + + + +ArgumentError - wrong number of arguments (given 0, expected 1): + app/controllers/tasks_controller.rb:42:in `edit' + +Started POST "/__better_errors/2b315bf7752b00a7/variables" for ::1 at 2019-04-12 10:44:36 -0700 +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:44:50 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 +Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.4ms) + + + +ArgumentError - wrong number of arguments (given 0, expected 1): + app/controllers/tasks_controller.rb:42:in `edit' + +Started POST "/__better_errors/13de90247a98260e/variables" for ::1 at 2019-04-12 10:44:50 -0700 +Started POST "/__better_errors/13de90247a98260e/variables" for ::1 at 2019-04-12 10:45:27 -0700 +Started GET "/" for ::1 at 2019-04-12 10:46:22 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:21 + Rendered tasks/index.html.erb within layouts/application (12.3ms) +Completed 200 OK in 47ms (Views: 41.7ms | ActiveRecord: 2.7ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 10:46:24 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (1.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.8ms) +Completed 200 OK in 37ms (Views: 30.0ms | ActiveRecord: 1.6ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:46:24 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (3.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 +Completed 500 Internal Server Error in 6ms (ActiveRecord: 3.1ms) + + + +ArgumentError - wrong number of arguments (given 0, expected 1): + app/controllers/tasks_controller.rb:42:in `edit' + +Started POST "/__better_errors/9ebd9282d18c413e/variables" for ::1 at 2019-04-12 10:46:24 -0700 +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:46:45 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (2.7ms) +Completed 200 OK in 33ms (Views: 20.3ms | ActiveRecord: 3.6ms) + + +Started PATCH "/tasks/1" for ::1 at 2019-04-12 10:46:49 -0700 + +AbstractController::ActionNotFound - The action 'update' could not be found for TasksController: + +Started POST "/__better_errors/ed190a6eaa24a8d4/variables" for ::1 at 2019-04-12 10:46:49 -0700 +Started GET "/tasks/1" for ::1 at 2019-04-12 10:47:30 -0700 + +SyntaxError - syntax error, unexpected '(', expecting keyword_end + @task(id).update + ^: + app/controllers/tasks_controller.rb:42:in `' + +Started POST "/__better_errors/682868effc0a1b61/variables" for ::1 at 2019-04-12 10:47:30 -0700 +Started GET "/tasks/1" for ::1 at 2019-04-12 10:47:44 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 36ms (Views: 24.2ms | ActiveRecord: 3.0ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:47:46 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 +Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.2ms) + + + +NoMethodError - undefined method `update' for 1:Integer: + app/controllers/tasks_controller.rb:42:in `edit' + +Started POST "/__better_errors/9b70dd9bf5be1baa/variables" for ::1 at 2019-04-12 10:47:46 -0700 +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:48:01 -0700 + +SyntaxError - syntax error, unexpected tIDENTIFIER, expecting keyword_end + @task[id]update + ^~~~~~: + app/controllers/tasks_controller.rb:42:in `' + +Started POST "/__better_errors/4cbf80b36ec6e66f/variables" for ::1 at 2019-04-12 10:48:01 -0700 +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:49:06 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 3.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 10:49:06 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:21 + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 30ms (Views: 27.6ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 10:49:08 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (1.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.5ms) +Completed 200 OK in 49ms (Views: 41.6ms | ActiveRecord: 1.7ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:49:09 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 10:49:09 -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.2ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 10:49:12 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 41ms (Views: 30.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:49:16 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 10:49:16 -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 25ms (Views: 22.9ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 10:49:18 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (1.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.2ms) +Completed 200 OK in 34ms (Views: 26.9ms | ActiveRecord: 1.6ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 10:50:32 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 37ms (Views: 22.3ms | ActiveRecord: 4.2ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:50:33 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 +Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.2ms) + + + +ArgumentError - wrong number of arguments (given 0, expected 1): + app/controllers/tasks_controller.rb:39:in `edit' + +Started POST "/__better_errors/0c0082c83d5d42ba/variables" for ::1 at 2019-04-12 10:50:33 -0700 +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:50:50 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 +Completed 500 Internal Server Error in 160ms (ActiveRecord: 2.6ms) + + + +NameError - undefined local variable or method `id' for #: + app/controllers/tasks_controller.rb:39:in `edit' + +Started POST "/__better_errors/b3a8c7837ccba4d9/variables" for ::1 at 2019-04-12 10:50:51 -0700 +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:51:01 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 +Completed 500 Internal Server Error in 13ms (ActiveRecord: 2.7ms) + + + +NoMethodError - undefined method `update' for 1:Integer: + app/controllers/tasks_controller.rb:39:in `edit' + +Started POST "/__better_errors/c77c4a21f539c4b0/variables" for ::1 at 2019-04-12 10:51:01 -0700 +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:52:16 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 +Completed 500 Internal Server Error in 10ms (ActiveRecord: 3.4ms) + + + +ArgumentError - wrong number of arguments (given 0, expected 1): + app/controllers/tasks_controller.rb:39:in `edit' + +Started POST "/__better_errors/455c49e11f561053/variables" for ::1 at 2019-04-12 10:52:17 -0700 +Started GET "/tasks/1" for ::1 at 2019-04-12 10:53:48 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 39ms (Views: 26.8ms | ActiveRecord: 2.6ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:53:49 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (5.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 +Completed 500 Internal Server Error in 165ms (ActiveRecord: 5.6ms) + + + +NameError - undefined local variable or method `is_successful' for #: + app/controllers/tasks_controller.rb:41:in `edit' + +Started POST "/__better_errors/bbeaa6c1e8da1416/variables" for ::1 at 2019-04-12 10:53:49 -0700 +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:54:02 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (2.0ms) +Completed 200 OK in 37ms (Views: 23.9ms | ActiveRecord: 2.7ms) + + +Started PATCH "/tasks/1" for ::1 at 2019-04-12 10:54:06 -0700 + +AbstractController::ActionNotFound - The action 'update' could not be found for TasksController: + +Started POST "/__better_errors/48d627e9d2e62f20/variables" for ::1 at 2019-04-12 10:54:06 -0700 +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:54:54 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (2.0ms) +Completed 200 OK in 28ms (Views: 17.4ms | ActiveRecord: 2.8ms) + + +Started PATCH "/tasks/1" for ::1 at 2019-04-12 10:55:00 -0700 + +AbstractController::ActionNotFound - The action 'update' could not be found for TasksController: + +Started POST "/__better_errors/94fc97fd5d6b80ee/variables" for ::1 at 2019-04-12 10:55:01 -0700 +Started GET "/tasks/1" for ::1 at 2019-04-12 10:56:31 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 37ms (Views: 23.9ms | ActiveRecord: 2.8ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:56:32 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (2.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (5.2ms) +Completed 200 OK in 40ms (Views: 31.6ms | ActiveRecord: 2.5ms) + + +Started PATCH "/tasks/1" for ::1 at 2019-04-12 10:56:35 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"WV+UqDEzSXbNuBZZTjk1HR+v0sY1luFxDm0yTEx7oTxlBMsfWMl0v7I2+mBSCdVboBZoOTNop8OPjxvQGaGG7w==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy!", "completed_at"=>""}, "commit"=>"Submit edit", "id"=>"1"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.6ms) + + + +ArgumentError - wrong number of arguments (given 0, expected 1): + app/controllers/tasks_controller.rb:52:in `update' + +Started POST "/__better_errors/78c6daa6855021e6/variables" for ::1 at 2019-04-12 10:56:35 -0700 +Started GET "/tasks/1" for ::1 at 2019-04-12 10:56:58 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 32ms (Views: 20.4ms | ActiveRecord: 2.6ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:57:01 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (3.5ms) +Completed 200 OK in 41ms (Views: 37.9ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1" for ::1 at 2019-04-12 10:57:05 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"hlLn/m/6rsd/agXQ0B5DHQK1w5/GH7CwVH8ypm7zr9G6CbhJBgCTDgDk6enMLqNbvQx5YMDh9gLVnRs6OymIAg==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy!", "completed_at"=>""}, "commit"=>"Submit edit", "id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.5ms) + + + +ArgumentError - wrong number of arguments (given 0, expected 1): + app/controllers/tasks_controller.rb:52:in `update' + +Started POST "/__better_errors/a6620535008e6387/variables" for ::1 at 2019-04-12 10:57:05 -0700 +Started GET "/tasks/1" for ::1 at 2019-04-12 10:58:58 -0700 + +SyntaxError - syntax error, unexpected keyword_end, expecting ')' + end + ^~~ +/Users/jillianne.ramirez/Ada/rails/TaskList/app/controllers/tasks_controller.rb:67: syntax error, unexpected end-of-input, expecting keyword_end: + app/controllers/tasks_controller.rb:55:in `' + +Started POST "/__better_errors/5c93bcb53dff4135/variables" for ::1 at 2019-04-12 10:58:58 -0700 +Started GET "/tasks/1" for ::1 at 2019-04-12 10:59:07 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 36ms (Views: 23.8ms | ActiveRecord: 2.8ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:59:08 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (5.3ms) +Completed 200 OK in 44ms (Views: 38.7ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1" for ::1 at 2019-04-12 10:59:09 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"YxRYKz0i+tcxiwufFsugUm51GBRR86NtoDZcGlYXdr5fTwecVNjHHk4F56YK+0AU0cyi61cN5d8h1HWGA81RbQ==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy wants to hear from me", "completed_at"=>""}, "commit"=>"Submit edit", "id"=>"1"} +Completed 500 Internal Server Error in 163ms (ActiveRecord: 0.0ms) + + + +NameError - undefined local variable or method `task' for #: + app/controllers/tasks_controller.rb:52:in `update' + +Started POST "/__better_errors/bb4f8b8cb070e93f/variables" for ::1 at 2019-04-12 10:59:09 -0700 +Started GET "/tasks/1" for ::1 at 2019-04-12 10:59:23 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 31ms (Views: 18.9ms | ActiveRecord: 2.9ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 10:59:24 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (2.7ms) +Completed 200 OK in 36ms (Views: 32.8ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1" for ::1 at 2019-04-12 10:59:25 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"/kckhQvzXN5P1nBaOpBkHu2M5VaZU4zJCu+uAfOzzRzCHHsyYglhFzBYnGMmoIRYUjVfqZ+tynuLDYedpmnqzw==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy wants to hear from me", "completed_at"=>""}, "commit"=>"Submit edit", "id"=>"1"} +Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms) + + + +NoMethodError - undefined method `update' for nil:NilClass: + app/controllers/tasks_controller.rb:52:in `update' + +Started POST "/__better_errors/acc1251a8c23698e/variables" for ::1 at 2019-04-12 10:59:25 -0700 +Started GET "/tasks/1" for ::1 at 2019-04-12 11:00:02 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 21ms (Views: 18.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 11:00:04 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (4.7ms) +Completed 200 OK in 54ms (Views: 46.8ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1" for ::1 at 2019-04-12 11:00:05 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"rZfmAfraFMdk0PKnG3byUF5KHaFprzZMxlvgzCI/TraRzLm2kyApDhteHp4HRhIW4fOnXm9RcP5HuclQd+VpZQ==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy wants to hear from me", "completed_at"=>""}, "commit"=>"Submit edit", "id"=>"1"} +Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms) + + + +NoMethodError - undefined method `update' for nil:NilClass: + app/controllers/tasks_controller.rb:52:in `update' + +Started POST "/__better_errors/40a1c16fe7716499/variables" for ::1 at 2019-04-12 11:00:05 -0700 +Started GET "/tasks/1" for ::1 at 2019-04-12 11:00:22 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 26ms (Views: 15.3ms | ActiveRecord: 2.4ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 11:00:23 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (2.8ms) +Completed 200 OK in 36ms (Views: 33.0ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/1" for ::1 at 2019-04-12 11:00:24 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ga0J2C3gC3E+sui37YFXQnP9MbklSKHcNJ0QxQVFlg0l9lZvRBo2uEE8BI7xsbcEzESLRiO25261fzlZUJ+x3g==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy wants to hear from me", "completed_at"=>""}, "commit"=>"Submit edit", "id"=>"1"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (2.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:53 + Task Update (11.9ms) UPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["name", nil], ["updated_at", "2019-04-12 18:00:24.587568"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:53 +  (6.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:53 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.4ms) UPDATE "tasks" SET "description" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["description", nil], ["updated_at", "2019-04-12 18:00:24.611482"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:55 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", nil], ["updated_at", "2019-04-12 18:00:24.614379"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:55 +No template found for TasksController#update, rendering head :no_content +Completed 204 No Content in 122ms (ActiveRecord: 23.9ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 11:01:20 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (1.8ms) +Completed 200 OK in 35ms (Views: 18.7ms | ActiveRecord: 2.8ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 11:01:23 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 32ms (Views: 27.5ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 11:01:25 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.2ms) +Completed 200 OK in 28ms (Views: 24.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 11:01:27 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.8ms) +Completed 200 OK in 32ms (Views: 27.2ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:01:39 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:21 + Rendered tasks/index.html.erb within layouts/application (6.4ms) +Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.3ms) + + + +NoMethodError - undefined method `length' for nil:NilClass: + app/views/tasks/index.html.erb:25:in `block in _app_views_tasks_index_html_erb___629497440198573288_70185246564400' + app/views/tasks/index.html.erb:21:in `_app_views_tasks_index_html_erb___629497440198573288_70185246564400' + +Started POST "/__better_errors/100c22b393240af6/variables" for ::1 at 2019-04-12 11:01:39 -0700 +Started GET "/tasks" for ::1 at 2019-04-12 11:02: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.3ms) +Completed 200 OK in 30ms (Views: 27.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 11:02:31 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.5ms) +Completed 200 OK in 32ms (Views: 26.2ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:02:34 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 37ms (Views: 34.1ms | ActiveRecord: 0.0ms) + + +Started DELETE "/tasks/1" for ::1 at 2019-04-12 11:02:40 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"gPNCZm8RcFKCgr3I6ojb4HE7mOkZPTt/6dPrqX83FpEK0kSn8Ez2sRKgPs0Bj7eLFA6oB1sgSVk8YnOGHWfqxQ==", "id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:61 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:66 + Task Destroy (1.8ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 1]] + ↳ app/controllers/tasks_controller.rb:66 +  (0.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:66 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:02:40 -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 22ms (Views: 20.2ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:02: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.7ms) +Completed 200 OK in 25ms (Views: 22.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:02: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.7ms) +Completed 200 OK in 21ms (Views: 18.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:02: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.9ms) +Completed 200 OK in 19ms (Views: 16.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:02: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 26ms (Views: 23.2ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:06:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.0ms) + + + +NoMethodError - undefined method `length' for nil:NilClass: + app/views/tasks/index.html.erb:26:in `block in _app_views_tasks_index_html_erb___629497440198573288_70185283843280' + app/views/tasks/index.html.erb:21:in `_app_views_tasks_index_html_erb___629497440198573288_70185283843280' + +Started POST "/__better_errors/5aa5b0b94f900635/variables" for ::1 at 2019-04-12 11:06:25 -0700 +Started GET "/tasks" for ::1 at 2019-04-12 11:09:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.0ms) + + + +NoMethodError - undefined method `length' for nil:NilClass: + app/views/tasks/index.html.erb:26:in `block in _app_views_tasks_index_html_erb___629497440198573288_70185283455520' + app/views/tasks/index.html.erb:22:in `_app_views_tasks_index_html_erb___629497440198573288_70185283455520' + +Started POST "/__better_errors/6f6fb1bcce596536/variables" for ::1 at 2019-04-12 11:09:49 -0700 +Started GET "/tasks" for ::1 at 2019-04-12 11:10:05 -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 36ms (Views: 33.7ms | ActiveRecord: 0.0ms) + + +Started DELETE "/tasks/1" for ::1 at 2019-04-12 11:10:13 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"dlZZPTke26N5yNxSs8jTmJc2eQAP2EwpWLUwUzZTgoX8d1/8pkNdQOnqX1dYz7/z8gNJ7k3FPg+NBKh8VAN+0Q==", "id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:61 +Completed 404 Not Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/" for ::1 at 2019-04-12 11:10: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.7ms) +Completed 200 OK in 22ms (Views: 18.9ms | ActiveRecord: 0.0ms) + + +  (2.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (6.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (234.4ms) DROP DATABASE IF EXISTS "TaskList_development" + ↳ bin/rails:9 +  (226.9ms) DROP DATABASE IF EXISTS "TaskList_test" + ↳ bin/rails:9 +  (585.8ms) CREATE DATABASE "TaskList_development" ENCODING = 'unicode' + ↳ bin/rails:9 +  (355.7ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + ↳ bin/rails:9 + SQL (1.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.9ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (15.4ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) + ↳ db/schema.rb:18 +  (3.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) + ↳ db/schema.rb:13 +  (3.7ms) 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) + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ db/schema.rb:13 +  (0.2ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (0.8ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-04-12 18:10:41.796829"], ["updated_at", "2019-04-12 18:10:41.796829"]] + ↳ db/schema.rb:13 +  (0.4ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.2ms) BEGIN + ↳ bin/rails:9 +  (0.1ms) COMMIT + ↳ bin/rails:9 + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (5.9ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) + ↳ db/schema.rb:18 +  (2.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) + ↳ db/schema.rb:13 +  (4.4ms) 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) + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ db/schema.rb:13 +  (0.1ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-04-12 18:10:41.845222"], ["updated_at", "2019-04-12 18:10:41.845222"]] + ↳ db/schema.rb:13 +  (0.4ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 + ActiveRecord::InternalMetadata Update (0.3ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2019-04-12 18:10:41.849717"], ["key", "environment"]] + ↳ bin/rails:9 +  (0.3ms) COMMIT + ↳ bin/rails:9 +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +Started GET "/" for ::1 at 2019-04-12 11:10:48 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (6.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:22 + Rendered tasks/index.html.erb within layouts/application (179.3ms) +Completed 200 OK in 224ms (Views: 207.8ms | ActiveRecord: 11.2ms) + + +Started GET "/" for ::1 at 2019-04-12 11:13: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.7ms) +Completed 200 OK in 19ms (Views: 16.2ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 11:13: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.5ms) +Completed 200 OK in 20ms (Views: 17.6ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 11:14: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.5ms) +Completed 200 OK in 19ms (Views: 16.3ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 11:14:19 -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 22ms (Views: 19.3ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 11:15:24 -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 9ms (ActiveRecord: 0.0ms) + + + +SyntaxError - syntax error, unexpected keyword_ensure, expecting end-of-input + ensure + ^~~~~~: + app/views/tasks/index.html.erb:68:in `' + +Started POST "/__better_errors/de351991015fb08f/variables" for ::1 at 2019-04-12 11:15:24 -0700 +Started GET "/" for ::1 at 2019-04-12 11:15:37 -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 26ms (Views: 23.8ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 11:16: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.9ms) +Completed 200 OK in 19ms (Views: 16.8ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 11:16: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.7ms) +Completed 200 OK in 20ms (Views: 17.6ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 11:18:14 -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.1ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 11:18: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 20ms (Views: 17.5ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 11:18:51 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 22ms (Views: 19.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 11:19:20 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (29.1ms) +Completed 200 OK in 70ms (Views: 51.9ms | ActiveRecord: 9.3ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 11:19:50 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (1.6ms) +Completed 200 OK in 27ms (Views: 24.3ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for ::1 at 2019-04-12 11:19:56 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"VwsGVhZDSDpGFWS7OeMgEqL7T8zugg+oMBgTSW0T/97dKgCXiR7O2dY3577S5Ex5x85/IqyffY7lqYtmD0MDig==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy wants to hear from me"}, "commit"=>"Save Task"} +  (0.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:27 + Task Create (1.1ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Call Mom"], ["description", "Mommy wants to hear from me"], ["created_at", "2019-04-12 18:19:56.678768"], ["updated_at", "2019-04-12 18:19:56.678768"]] + ↳ app/controllers/tasks_controller.rb:27 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:27 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 6ms (ActiveRecord: 1.8ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 11:19:56 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 27ms (Views: 20.2ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:21:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 30ms (Views: 26.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:21:28 -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 23ms (Views: 20.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:21:29 -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 22ms (Views: 19.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 11:21:32 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.1ms) +Completed 200 OK in 33ms (Views: 28.8ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for ::1 at 2019-04-12 11:21:40 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"KkkLEGvm1awznho3mFg59ljvZnolp8izVgojJbtWZ4+oGnm4o77dFg6efVWlzX6F3q6/O5V3QFMuGEDZCyuUtw==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy wants to hear from me"}, "commit"=>"Save Task"} +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:27 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Call Mom"], ["description", "Mommy wants to hear from me"], ["created_at", "2019-04-12 18:21:40.986127"], ["updated_at", "2019-04-12 18:21:40.986127"]] + ↳ app/controllers/tasks_controller.rb:27 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:27 +Redirected to http://localhost:3000/tasks/2 +Completed 302 Found in 5ms (ActiveRecord: 1.0ms) + + +Started GET "/tasks/2" for ::1 at 2019-04-12 11:21:40 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 25ms (Views: 21.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:21: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.8ms) +Completed 200 OK in 35ms (Views: 27.7ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:22: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.5ms) +Completed 200 OK in 26ms (Views: 24.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:22: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.5ms) +Completed 200 OK in 20ms (Views: 17.2ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 11:22:59 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.7ms) +Completed 200 OK in 34ms (Views: 27.9ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for ::1 at 2019-04-12 11:23:00 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"hDdhZVjjLwrymGXwoQzWk73o3lB9Dy4DEXw2rfUHAYYGZBPNkLsnsM+YApKcmZHgO6kHEc3fpuNpblVRRXryvg==", "task"=>{"name"=>"Default Name", "description"=>""}, "commit"=>"Save Task"} +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:27 + Task Create (0.5ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Default Name"], ["description", ""], ["created_at", "2019-04-12 18:23:00.474185"], ["updated_at", "2019-04-12 18:23:00.474185"]] + ↳ app/controllers/tasks_controller.rb:27 +  (0.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:27 +Redirected to http://localhost:3000/tasks/3 +Completed 302 Found in 5ms (ActiveRecord: 1.5ms) + + +Started GET "/tasks/3" for ::1 at 2019-04-12 11:23:00 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 20ms (Views: 17.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:23:05 -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 30ms (Views: 25.2ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:23: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.5ms) +Completed 200 OK in 19ms (Views: 16.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:24: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.8ms) +Completed 200 OK in 21ms (Views: 18.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:25:07 -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 20ms (Views: 18.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 11:25:12 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.5ms) +Completed 200 OK in 38ms (Views: 35.7ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for ::1 at 2019-04-12 11:25:21 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"fBAdzG48SUqEOTPGuED5c/BkTdjfUTjptmrmc0M2w07+Q29kpmRB8Lk5VKSF1b4AdiWUmW+BsAnOeIWP80swdg==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy wants to hear from me"}, "commit"=>"Save Task"} +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:27 + Task Create (1.1ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Call Mom"], ["description", "Mommy wants to hear from me"], ["created_at", "2019-04-12 18:25:21.424589"], ["updated_at", "2019-04-12 18:25:21.424589"]] + ↳ app/controllers/tasks_controller.rb:27 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:27 +Redirected to http://localhost:3000/tasks/4 +Completed 302 Found in 6ms (ActiveRecord: 1.8ms) + + +Started GET "/tasks/4" for ::1 at 2019-04-12 11:25:21 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"4"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 24ms (Views: 22.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:25: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.3ms) +Completed 200 OK in 30ms (Views: 27.9ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:27:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:21 + Rendered tasks/index.html.erb within layouts/application (9.4ms) +Completed 200 OK in 28ms (Views: 24.1ms | ActiveRecord: 2.5ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 11:27:42 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (1.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.9ms) +Completed 200 OK in 40ms (Views: 33.7ms | ActiveRecord: 1.4ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 11:27:47 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (4.1ms) +Completed 200 OK in 37ms (Views: 31.4ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/1" for ::1 at 2019-04-12 11:27:49 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"yE+MmbmYwThNPa0CpiS5KOMGHq9lfbv+3XgU0B8/DX/0FNMu0GL88TKzQTu6FFluXL+kUGOD/Uxcmj1MSuUqrA==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy wants to hear from me", "completed_at"=>""}, "commit"=>"Submit edit", "id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:53 + Task Update (0.5ms) UPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["name", nil], ["updated_at", "2019-04-12 18:27:49.295843"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:53 +  (1.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:53 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.5ms) UPDATE "tasks" SET "description" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["description", nil], ["updated_at", "2019-04-12 18:27:49.300433"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (0.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:55 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 11ms (ActiveRecord: 4.1ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 11:27:49 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 19ms (Views: 16.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:27:52 -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 39ms (Views: 36.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/2" for ::1 at 2019-04-12 11:27:54 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"2"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.6ms) +Completed 200 OK in 36ms (Views: 30.9ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks/2/edit" for ::1 at 2019-04-12 11:27:55 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (3.5ms) +Completed 200 OK in 36ms (Views: 32.2ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/2" for ::1 at 2019-04-12 11:27:59 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"wPWmCarhnk6R8paKvxpn5MmZHwuJCXBU2TkRDhMNU1b6/ZBWb6UhXIAZHikSgLLSa9TgiUrTLVgKXOE3AQZn2g==", "task"=>{"name"=>"Call Mom", "description"=>"", "completed_at"=>""}, "commit"=>"Submit edit", "id"=>"2"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:53 + Task Update (0.5ms) UPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["name", nil], ["updated_at", "2019-04-12 18:27:59.181121"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:53 +  (1.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:53 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.6ms) UPDATE "tasks" SET "description" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["description", nil], ["updated_at", "2019-04-12 18:27:59.185860"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:54 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:55 +Redirected to http://localhost:3000/tasks/2 +Completed 302 Found in 13ms (ActiveRecord: 4.7ms) + + +Started GET "/tasks/2" for ::1 at 2019-04-12 11:27:59 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.2ms) +Completed 200 OK in 22ms (Views: 19.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:28:00 -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 34ms (Views: 30.7ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/2" for ::1 at 2019-04-12 11:28:02 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.4ms) +Completed 200 OK in 28ms (Views: 23.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:28:03 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 36ms (Views: 34.0ms | ActiveRecord: 0.0ms) + + +Started DELETE "/tasks/4" for ::1 at 2019-04-12 11:28:13 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"Sllb4a4GVOwk5+Q7zRdHpRltG3F8Dyjh+TqkoxqrZBDAeF0gMVvSD7TFZz4mECvOfFgrnz4SWscsizyMePuYRA==", "id"=>"4"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:61 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:66 + Task Destroy (0.4ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 4]] + ↳ app/controllers/tasks_controller.rb:66 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:66 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:28:13 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 21ms (Views: 19.3ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:28: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.5ms) +Completed 200 OK in 24ms (Views: 21.4ms | ActiveRecord: 0.0ms) + + +Started DELETE "/tasks/3" for ::1 at 2019-04-12 11:28:16 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"ooXXG3R6eQz038MCS1qPsw7Ko96JzndhSd/IsZ9Mh7IopNHa6yf/72T9QAegXePYa/+TMMvTBUecblCe/Rx75g==", "id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:61 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:66 + Task Destroy (0.9ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 3]] + ↳ app/controllers/tasks_controller.rb:66 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:66 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:28:16 -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 25ms (Views: 23.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:28:17 -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: 19.3ms | ActiveRecord: 0.0ms) + + +Started DELETE "/tasks/2" for ::1 at 2019-04-12 11:28:18 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"NFu02MnFSdnaUi4mzHmmZt5ac7EqI8cmy/8NFzFR016+erIZVpjPOkpwrSMnfsoNu29DX2g+tQAeTpU4UwEvCg==", "id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:61 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:66 + Task Destroy (0.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 2]] + ↳ app/controllers/tasks_controller.rb:66 +  (0.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:66 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 1.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:28:18 -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 22ms (Views: 19.3ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:28:19 -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 22ms (Views: 19.1ms | ActiveRecord: 0.0ms) + + +Started DELETE "/tasks/1" for ::1 at 2019-04-12 11:28:20 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"Mvd6ANbXURd/xBEufXgI7gTrDtx2tdN6DXlAZVn0ZbG41nzBSYrX9O/mkiuWf2SFYd4+MjSooVzYyNhKO6SZ5Q==", "id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:61 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:66 + Task Destroy (0.4ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 1]] + ↳ app/controllers/tasks_controller.rb:66 +  (0.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:66 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 1.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:28:20 -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 19ms (Views: 17.7ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:28: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.8ms) +Completed 200 OK in 23ms (Views: 20.5ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 11:28:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (6.4ms) +Completed 200 OK in 42ms (Views: 37.5ms | ActiveRecord: 0.0ms) + + +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (7598.0ms) DROP DATABASE IF EXISTS "TaskList_development" + ↳ bin/rails:9 +Started GET "/" for ::1 at 2019-04-12 11:29: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.7ms) +Completed 200 OK in 22ms (Views: 19.9ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 11:29:08 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (8.7ms) +Completed 200 OK in 57ms (Views: 53.9ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 11:29:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:21 + Rendered tasks/index.html.erb within layouts/application (175.5ms) +Completed 200 OK in 218ms (Views: 209.6ms | ActiveRecord: 3.1ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 11:29:37 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (9.3ms) +Completed 200 OK in 48ms (Views: 27.7ms | ActiveRecord: 9.4ms) + + +Started POST "/tasks" for ::1 at 2019-04-12 11:29:54 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"mx6Hw5TmEFJJrz8z6rwoyoo51V2U7yqQaorH8/cnHFsZTfVrXL4Y6HSvWFHXKW+5DHgMHCQ/onASmKQPR1rvYw==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy wants to hear from me"}, "commit"=>"Save Task"} +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:27 + Task Create (0.7ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Call Mom"], ["description", "Mommy wants to hear from me"], ["created_at", "2019-04-12 18:29:54.236749"], ["updated_at", "2019-04-12 18:29:54.236749"]] + ↳ app/controllers/tasks_controller.rb:27 +  (0.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:27 +Redirected to http://localhost:3000/tasks/5 +Completed 302 Found in 6ms (ActiveRecord: 1.7ms) + + +Started GET "/tasks/5" for ::1 at 2019-04-12 11:29:54 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"5"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 21ms (Views: 17.0ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:29:55 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 26ms (Views: 23.2ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:29: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.5ms) +Completed 200 OK in 23ms (Views: 19.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:30: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.5ms) +Completed 200 OK in 25ms (Views: 20.7ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:30: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.5ms) +Completed 200 OK in 22ms (Views: 19.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 11:31:17 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:6 + Rendered tasks/index.html.erb within layouts/application (10.8ms) +Completed 200 OK in 46ms (Views: 40.9ms | ActiveRecord: 3.4ms) + + +Started DELETE "/tasks/5" for ::1 at 2019-04-12 12:24:13 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"3Ad0DEfn7YEf3Oa+3BIFuo2fvTyR7PY/TV/E6wsG5DxWJnLN2LprYo/+Zbs3FWnR6KqN0tPxhBmY7lzEaVYYaA==", "id"=>"5"} + Task Load (1.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:61 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:66 + Task Destroy (0.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 5]] + ↳ app/controllers/tasks_controller.rb:66 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:66 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 12:24:13 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 33ms (Views: 31.2ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 12:24: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.7ms) +Completed 200 OK in 23ms (Views: 20.8ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 12:24: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.9ms) +Completed 200 OK in 22ms (Views: 20.1ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 12:24: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.7ms) +Completed 200 OK in 22ms (Views: 19.1ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 12:59:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:6 + Rendered tasks/index.html.erb within layouts/application (179.9ms) +Completed 200 OK in 230ms (Views: 218.7ms | ActiveRecord: 3.7ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 13:00:01 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (12.5ms) +Completed 200 OK in 45ms (Views: 28.2ms | ActiveRecord: 7.5ms) + + +Started POST "/tasks" for ::1 at 2019-04-12 13:00:12 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"Jy31tYqanoWv/RLYEN39Ae/yXtYNwzlDQYMa265FfOSlfocdQsKWP5L9dbotSLpyabOHl70TsaM5kXknHjiP3A==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy wants to hear from me"}, "commit"=>"Save Task"} +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:27 + Task Create (1.5ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Call Mom"], ["description", "Mommy wants to hear from me"], ["created_at", "2019-04-12 20:00:12.346748"], ["updated_at", "2019-04-12 20:00:12.346748"]] + ↳ app/controllers/tasks_controller.rb:27 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:27 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 7ms (ActiveRecord: 2.3ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:00:12 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 26ms (Views: 19.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 13:00: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.8ms) +Completed 200 OK in 33ms (Views: 28.7ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 13:06:01 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:6 + Rendered tasks/index.html.erb within layouts/application (13.7ms) +Completed 200 OK in 60ms (Views: 52.4ms | ActiveRecord: 5.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 13:12:14 -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 39ms (Views: 36.5ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 13:12: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.6ms) +Completed 200 OK in 22ms (Views: 18.8ms | ActiveRecord: 0.0ms) + + +Started DELETE "/tasks/6" for ::1 at 2019-04-12 13:12:20 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"TH8SCAtkJVbVahq2uNM/WE1tinOy1XaG7j9jfsWFpODGXhTJlDmjtUVImbNT1FMzKFi6nfDIBKA7jvtRp9VYtA==", "id"=>"6"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:53 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:58 + Task Destroy (0.5ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 6]] + ↳ app/controllers/tasks_controller.rb:58 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:58 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 13:12: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.9ms) +Completed 200 OK in 23ms (Views: 21.0ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 13:12:22 -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: 20.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (2.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 8ms (ActiveRecord: 2.6ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 4ms (ActiveRecord: 0.8ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 2ms (ActiveRecord: 0.3ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 2ms (ActiveRecord: 0.4ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.3ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 2ms (ActiveRecord: 0.4ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:44 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.3ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (2.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 4ms (ActiveRecord: 2.4ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (2.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 4ms (ActiveRecord: 2.0ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 4ms (ActiveRecord: 0.8ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 2ms (ActiveRecord: 0.4ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:12:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 2ms (ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2019-04-12 13:12: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.8ms) +Completed 200 OK in 26ms (Views: 22.7ms | ActiveRecord: 0.0ms) + + +  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (227.4ms) DROP DATABASE IF EXISTS "TaskList_development" + ↳ bin/rails:9 +  (216.4ms) DROP DATABASE IF EXISTS "TaskList_test" + ↳ bin/rails:9 +  (462.8ms) CREATE DATABASE "TaskList_development" ENCODING = 'unicode' + ↳ bin/rails:9 +  (343.9ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + ↳ bin/rails:9 + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (7.3ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) + ↳ db/schema.rb:18 +  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) + ↳ db/schema.rb:13 +  (2.0ms) 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) + ↳ db/schema.rb:13 + 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]] + ↳ db/schema.rb:13 +  (0.2ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-04-12 20:12:59.786592"], ["updated_at", "2019-04-12 20:12:59.786592"]] + ↳ db/schema.rb:13 +  (0.4ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 +  (0.1ms) COMMIT + ↳ bin/rails:9 + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.3ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (6.1ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) + ↳ db/schema.rb:18 +  (3.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) + ↳ db/schema.rb:13 +  (3.1ms) 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) + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ db/schema.rb:13 +  (0.1ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (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", "2019-04-12 20:12:59.837521"], ["updated_at", "2019-04-12 20:12:59.837521"]] + ↳ db/schema.rb:13 +  (0.3ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 + ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2019-04-12 20:12:59.841123"], ["key", "environment"]] + ↳ bin/rails:9 +  (0.2ms) COMMIT + ↳ bin/rails:9 +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +Started GET "/" for ::1 at 2019-04-12 13:13:15 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (5.1ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:6 + Rendered tasks/index.html.erb within layouts/application (220.9ms) +Completed 200 OK in 281ms (Views: 252.7ms | ActiveRecord: 21.1ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 13:14:23 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (20.4ms) + Rendered tasks/new.html.erb within layouts/application (22.7ms) +Completed 200 OK in 70ms (Views: 45.2ms | ActiveRecord: 16.5ms) + + +Started POST "/tasks" for ::1 at 2019-04-12 13:14:30 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"lBEXbelmTcYwcMkpD4GTfBdAQi+Gtosabi2g9OfFJL4WQmXFIT5FfA1wrksyFNQPkQGbbjZmA/oWP8MIV7jXhg==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy wants to hear from me"}, "commit"=>"Add Task"} +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:27 + Task Create (1.1ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Call Mom"], ["description", "Mommy wants to hear from me"], ["created_at", "2019-04-12 20:14:30.218776"], ["updated_at", "2019-04-12 20:14:30.218776"]] + ↳ app/controllers/tasks_controller.rb:27 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:27 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 6ms (ActiveRecord: 1.7ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 13:14:30 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 24ms (Views: 16.5ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-12 13:14:33 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (1.8ms) + Rendered tasks/edit.html.erb within layouts/application (4.1ms) +Completed 200 OK in 37ms (Views: 31.2ms | ActiveRecord: 0.7ms) + + +Started PATCH "/tasks/1" for ::1 at 2019-04-12 13:14:42 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"U1L9DNnniXJQinCG1nNvwtlJX8rFMX41imJVK0MMMKpvCaK7sB20uy8EnL/KQ4+EZvDlNcPPOIcLgHy3FtYXeQ==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy wants to hear from me!!!!"}, "commit"=>"Edit Task", "id"=>"1"} + Task Load (4.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:41 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:43 + Task Update (0.4ms) UPDATE "tasks" SET "description" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["description", "Mommy wants to hear from me!!!!"], ["updated_at", "2019-04-12 20:14:42.075438"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:43 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:43 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 11ms (ActiveRecord: 5.5ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 13:14:42 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 20ms (Views: 16.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 13:14:44 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (4.8ms) +Completed 200 OK in 50ms (Views: 46.8ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 13:21:22 -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 36ms (Views: 33.6ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 13:21: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.1ms) +Completed 200 OK in 22ms (Views: 19.5ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 13:21: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.5ms) +Completed 200 OK in 23ms (Views: 20.4ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 13:21:51 -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 21ms (Views: 17.9ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 13:21:53 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.0ms) + Rendered tasks/new.html.erb within layouts/application (5.0ms) +Completed 200 OK in 58ms (Views: 24.0ms | ActiveRecord: 16.1ms) + + +Started POST "/tasks" for ::1 at 2019-04-12 13:21:59 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"050obb0tnXdxeo95+m0lVNvTkSAH8T/TcBva9yRaSitRzlrFdXWVzUx66BvH+GInXZJIYbchtzMICbkLlCe5Ew==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy wants to hear from me"}, "commit"=>"Add Task"} +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:23 + Task Create (1.4ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Call Mom"], ["description", "Mommy wants to hear from me"], ["created_at", "2019-04-12 20:21:59.098477"], ["updated_at", "2019-04-12 20:21:59.098477"]] + ↳ app/controllers/tasks_controller.rb:23 +  (0.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:23 +Redirected to http://localhost:3000/tasks/2 +Completed 302 Found in 6ms (ActiveRecord: 2.3ms) + + +Started GET "/tasks/2" for ::1 at 2019-04-12 13:21:59 -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]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 24ms (Views: 18.8ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 13:22: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.9ms) +Completed 200 OK in 44ms (Views: 38.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 13:23:54 -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 19ms (Views: 17.5ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 13:23: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.5ms) +Completed 200 OK in 23ms (Views: 20.8ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 13: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 (1.4ms) +Completed 200 OK in 19ms (Views: 16.6ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 13:24: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.4ms) +Completed 200 OK in 21ms (Views: 18.7ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 13:24: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.7ms) +Completed 200 OK in 21ms (Views: 18.9ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 13:25:17 -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 27ms (Views: 24.8ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 13:25: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.7ms) +Completed 200 OK in 24ms (Views: 21.6ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 13: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 (2.1ms) +Completed 200 OK in 32ms (Views: 29.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 13:26:08 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (1.7ms) + Rendered tasks/new.html.erb within layouts/application (4.1ms) +Completed 200 OK in 59ms (Views: 22.8ms | ActiveRecord: 3.5ms) + + +Started POST "/tasks" for ::1 at 2019-04-12 13:26:09 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"+g3yVNABTZuZzlhNa3clHLVVpIQpUcRd9TbSciRZHg94XoD8GFlFIaTOPy9W4mJvMxR9xZmBTL2NJLGOlCTtNw==", "task"=>{"name"=>"Default Name", "description"=>""}, "commit"=>"Add Task"} +  (2.0ms) BEGIN + ↳ app/controllers/tasks_controller.rb:23 + Task Create (0.8ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Default Name"], ["description", ""], ["created_at", "2019-04-12 20:26:09.841738"], ["updated_at", "2019-04-12 20:26:09.841738"]] + ↳ app/controllers/tasks_controller.rb:23 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:23 +Redirected to http://localhost:3000/tasks/3 +Completed 302 Found in 10ms (ActiveRecord: 4.6ms) + + +Started GET "/tasks/3" for ::1 at 2019-04-12 13:26:09 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 23ms (Views: 18.9ms | ActiveRecord: 0.3ms) + + +Started DELETE "/tasks/3" for ::1 at 2019-04-12 13:26:14 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"6JQPpon/v3XiN5AQ2K32khA/5XhBwIyVvCHEw9U4ww5itQlnFqI5lnIVExUzqpr5dQrVlgPd/rNpkFzst2g/Wg==", "id"=>"3"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:49 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Destroy (0.4ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 3]] + ↳ app/controllers/tasks_controller.rb:54 +  (1.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 13:26:14 -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 18ms (Views: 16.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 13:26:16 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.6ms) + Rendered tasks/new.html.erb within layouts/application (5.7ms) +Completed 200 OK in 40ms (Views: 37.1ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for ::1 at 2019-04-12 13:26:17 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"XnLr3FJr5WggAsR/SdU8/M9xcgLgoRHr//WPO7j5KFPcIZl0mjPt0h0Cox10QHuPSTCrQ1BxmQuH5+zHCITbaw==", "task"=>{"name"=>"Default Name", "description"=>""}, "commit"=>"Add Task"} +  (1.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:23 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Default Name"], ["description", ""], ["created_at", "2019-04-12 20:26:17.569184"], ["updated_at", "2019-04-12 20:26:17.569184"]] + ↳ app/controllers/tasks_controller.rb:23 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:23 +Redirected to http://localhost:3000/tasks/4 +Completed 302 Found in 7ms (ActiveRecord: 3.3ms) + + +Started GET "/tasks/4" for ::1 at 2019-04-12 13:26:17 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"4"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 22ms (Views: 19.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 13:27: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.8ms) +Completed 200 OK in 27ms (Views: 24.9ms | ActiveRecord: 0.0ms) + + +Started GET "/" for ::1 at 2019-04-12 13:28:21 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (174.0ms) +Completed 200 OK in 211ms (Views: 205.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 13:28:29 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (12.8ms) + Rendered tasks/new.html.erb within layouts/application (14.8ms) +Completed 200 OK in 77ms (Views: 31.0ms | ActiveRecord: 5.3ms) + + +Started POST "/tasks" for ::1 at 2019-04-12 13:28:33 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"JcNfja5po7XRhidcyoxpO/BEC2RcEumVc6m9VRgo4cqnkC0lZjGrD+yGQD73GS5IdgXSJezCYXULu96pqFUS8g==", "task"=>{"name"=>"Default Name", "description"=>""}, "commit"=>"Add Task"} +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:23 + Task Create (0.7ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Default Name"], ["description", ""], ["created_at", "2019-04-12 20:28:33.787815"], ["updated_at", "2019-04-12 20:28:33.787815"]] + ↳ app/controllers/tasks_controller.rb:23 +  (4.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:23 +Redirected to http://localhost:3000/tasks/5 +Completed 302 Found in 20ms (ActiveRecord: 5.7ms) + + +Started GET "/tasks/5" for ::1 at 2019-04-12 13:28:33 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"5"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 24ms (Views: 17.7ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 13:28: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.5ms) +Completed 200 OK in 32ms (Views: 28.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 13:28:37 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.2ms) + Rendered tasks/new.html.erb within layouts/application (5.5ms) +Completed 200 OK in 43ms (Views: 39.7ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for ::1 at 2019-04-12 13:28:45 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"tS0mXcRoiojuZLeUC0oCG6W4jJzXv/JCUtAXyyGUyis3flT1DDCCMtNk0PY230VoI/lV3WdveqIqwnQ3kek5Ew==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy wants to hear from me"}, "commit"=>"Add Task"} +  (1.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:23 + Task Create (0.6ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Call Mom"], ["description", "Mommy wants to hear from me"], ["created_at", "2019-04-12 20:28:45.893819"], ["updated_at", "2019-04-12 20:28:45.893819"]] + ↳ app/controllers/tasks_controller.rb:23 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:23 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 6ms (ActiveRecord: 2.4ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:28:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 20ms (Views: 15.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:28:58 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 36ms (Views: 32.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/6/edit" for ::1 at 2019-04-12 13:29:07 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:33 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (3.2ms) + Rendered tasks/edit.html.erb within layouts/application (6.6ms) +Completed 200 OK in 46ms (Views: 42.1ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/6" for ::1 at 2019-04-12 13:29:09 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"zClfQtwZZvO//UntP6wSXE192gUyLGgXhkN/W00lz0YyZtoQBSz3nm3kZHIOI3ng9zOkmnkUd13ZiztRNUkODA==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy wants to hear from me"}, "commit"=>"Edit Task", "id"=>"6"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:37 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:39 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:39 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 5ms (ActiveRecord: 1.3ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-12 13:29:09 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:10 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 21ms (Views: 17.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 13:29: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.4ms) +Completed 200 OK in 49ms (Views: 45.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 13:32:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:6 + Rendered tasks/index.html.erb within layouts/application (12.8ms) +Completed 200 OK in 34ms (Views: 25.4ms | ActiveRecord: 4.0ms) + + +Started DELETE "/tasks/6" for ::1 at 2019-04-12 13:32:38 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"VW2QmVUYIldYNFax5iD1t/vNM4y8WQULFwd8/4tHUpHfTJZYykWktMgW1bQNJ5ncnvgDYv5Edy3CtuTQ6ReuxQ==", "id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Destroy (0.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 6]] + ↳ app/controllers/tasks_controller.rb:56 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 3.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 13:32:38 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:6 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 23ms (Views: 19.3ms | ActiveRecord: 0.3ms) + + +Started DELETE "/tasks/5" for ::1 at 2019-04-12 13:32:39 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"GBNFV8JdW4IWUNhd5qdtlEnwbnPVAwqjrSXLy+XkXKmSMkOWXQDdYYZyW1gNoAH/LMVenZceeIV4lFPkh7Sg/Q==", "id"=>"5"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Destroy (0.5ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 5]] + ↳ app/controllers/tasks_controller.rb:56 +  (1.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 13:32:39 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:6 + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 30ms (Views: 27.9ms | ActiveRecord: 0.2ms) + + +Started DELETE "/tasks/4" for ::1 at 2019-04-12 13:32:39 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"PddbXHSJPvAFQPiIk/i1lld69LOR1pxrciY8lnkqBQK39l2d69S4E5Vie414/9n9Mk/EXdPL7k2nl6S5G3r5Vg==", "id"=>"4"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Destroy (0.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 4]] + ↳ app/controllers/tasks_controller.rb:56 +  (1.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 13:32:39 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:6 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 24ms (Views: 21.3ms | ActiveRecord: 0.3ms) + + +Started DELETE "/tasks/2" for ::1 at 2019-04-12 13:32:40 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"vE+hMDwRNEOZuvyJeGTIBKry6O51XJ4GkEvbu3sgDWw2bqfxo0yyoAmYf4yTY6Rvz8fYADdB7CBF+kOUGXDxOA==", "id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Destroy (0.4ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 2]] + ↳ app/controllers/tasks_controller.rb:56 +  (33.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 38ms (ActiveRecord: 33.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 13:32:40 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:6 + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 20ms (Views: 17.9ms | ActiveRecord: 0.2ms) + + +Started DELETE "/tasks/1" for ::1 at 2019-04-12 13:32:41 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"pqVz8wgW1XRX5PNEI3WxYkysZ24icE4G6aWdN/k9LuMshHUyl0tTl8fGcEHIct0JKZlXgGBtPCA8FAUYm23Stw==", "id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Destroy (0.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (2.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 13:32:41 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:6 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 23ms (Views: 20.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 13:32:43 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (3.8ms) + Rendered tasks/new.html.erb within layouts/application (7.0ms) +Completed 200 OK in 36ms (Views: 32.4ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for ::1 at 2019-04-12 13:32:53 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"SJs+0vsvQC/RtGxVWpukhhoca7MdCQOCz9FX1mCE1BrKyEx6M3dIley0CzdnDuP1nF2y8q3Zi2K3wzQq0PknIg==", "task"=>{"name"=>"Call Ma", "description"=>"Fam First"}, "commit"=>"Add Task"} +  (0.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:25 + Task Create (0.7ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Call Ma"], ["description", "Fam First"], ["created_at", "2019-04-12 20:32:53.107804"], ["updated_at", "2019-04-12 20:32:53.107804"]] + ↳ app/controllers/tasks_controller.rb:25 +  (0.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:25 +Redirected to http://localhost:3000/tasks/7 +Completed 302 Found in 6ms (ActiveRecord: 1.8ms) + + +Started GET "/tasks/7" for ::1 at 2019-04-12 13:32:53 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"7"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 22ms (Views: 19.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 13:32:58 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:6 + Rendered tasks/index.html.erb within layouts/application (5.1ms) +Completed 200 OK in 35ms (Views: 29.7ms | ActiveRecord: 1.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 13:33:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:6 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 21ms (Views: 18.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:00:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:6 + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 29ms (Views: 26.2ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks/7" for ::1 at 2019-04-12 14:00:51 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"7"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.3ms) +Completed 200 OK in 42ms (Views: 33.4ms | ActiveRecord: 3.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:00:54 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:6 + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 40ms (Views: 36.9ms | ActiveRecord: 0.8ms) + + +Started GET "/tasks/7" for ::1 at 2019-04-12 14:00:55 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"7"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 38ms (Views: 33.5ms | ActiveRecord: 0.9ms) + + +Started DELETE "/tasks/7" for ::1 at 2019-04-12 14:00:57 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"xcTe9qfqBSEZcdP2mP0ZfnbhOdlgo+9J9tYFgFxULelP5dg3OLeDwolTUPNz+nUVE9QJNyK+nW8jZ52vPgTRvQ==", "id"=>"7"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Destroy (0.5ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 7]] + ↳ app/controllers/tasks_controller.rb:56 +  (0.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 2.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:00:57 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:6 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 20ms (Views: 17.5ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:01:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:16 + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 21ms (Views: 18.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:01:35 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:16 + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 26ms (Views: 23.1ms | ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2019-04-12 14:01:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:16 + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 25ms (Views: 22.3ms | ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2019-04-12 14:01:46 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:6 + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 23ms (Views: 20.7ms | ActiveRecord: 0.2ms) + + +Started GET "/" for ::1 at 2019-04-12 14:02:22 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:6 + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 21ms (Views: 18.0ms | ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2019-04-12 14:02:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 27ms (Views: 24.7ms | ActiveRecord: 0.2ms) + + +Started GET "/" for ::1 at 2019-04-12 14:04:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 29ms (Views: 25.9ms | ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2019-04-12 14:05:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 20ms (Views: 17.8ms | ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2019-04-12 14:05:13 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 21ms (Views: 18.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 14:05:17 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.9ms) + Rendered tasks/new.html.erb within layouts/application (7.2ms) +Completed 200 OK in 32ms (Views: 25.4ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for ::1 at 2019-04-12 14:05:27 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"gc9EHiuQkT0BDaDT6VfpYlzRKOggaOADogHUa9fqnxcDnDa248iZhzwNx7HUwq4R2pDxqZC4aOPaE7eXZ5dsLw==", "task"=>{"name"=>"Call Ma", "description"=>"Mommy wants to hear from me"}, "commit"=>"Add Task"} +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:25 + Task Create (0.6ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Call Ma"], ["description", "Mommy wants to hear from me"], ["created_at", "2019-04-12 21:05:27.132789"], ["updated_at", "2019-04-12 21:05:27.132789"]] + ↳ app/controllers/tasks_controller.rb:25 +  (0.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:25 +Redirected to http://localhost:3000/tasks/8 +Completed 302 Found in 7ms (ActiveRecord: 1.9ms) + + +Started GET "/tasks/8" for ::1 at 2019-04-12 14:05:27 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"8"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 23ms (Views: 18.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/8/edit" for ::1 at 2019-04-12 14:05:31 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"8"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:35 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.8ms) + Rendered tasks/edit.html.erb within layouts/application (5.7ms) +Completed 200 OK in 38ms (Views: 32.6ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/8" for ::1 at 2019-04-12 14:05:36 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"RUswVrr24gG1lj+eUXjzsfGkyp5oYX+HcSYdVmAr6p4g1TQW1tWPyvVdnfe9ehgaSGKPnspPrcNvesxiBG6+qQ==", "task"=>{"name"=>"Call Ma", "description"=>"Mommy wants to hear from me!!!"}, "commit"=>"Edit Task", "id"=>"8"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:39 +  (0.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:41 + Task Update (0.5ms) UPDATE "tasks" SET "description" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["description", "Mommy wants to hear from me!!!"], ["updated_at", "2019-04-12 21:05:36.947310"], ["id", 8]] + ↳ app/controllers/tasks_controller.rb:41 +  (0.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:41 +Redirected to http://localhost:3000/tasks/8 +Completed 302 Found in 8ms (ActiveRecord: 2.4ms) + + +Started GET "/tasks/8" for ::1 at 2019-04-12 14:05:36 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"8"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 21ms (Views: 18.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:05:42 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.2ms) +Completed 200 OK in 31ms (Views: 28.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:06:15 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 28ms (Views: 25.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:06:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 21ms (Views: 18.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14: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" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 21ms (Views: 18.6ms | ActiveRecord: 0.2ms) + + +Started GET "/" for ::1 at 2019-04-12 14:07:53 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 23ms (Views: 20.2ms | ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2019-04-12 14:10:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (15.1ms) +Completed 200 OK in 53ms (Views: 41.9ms | ActiveRecord: 5.6ms) + + +Started GET "/" for ::1 at 2019-04-12 14:10:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 21ms (Views: 18.5ms | ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2019-04-12 14:12:19 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.9ms) +Completed 200 OK in 42ms (Views: 38.7ms | ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2019-04-12 14:16:10 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (12.0ms) +Completed 200 OK in 40ms (Views: 30.4ms | ActiveRecord: 4.3ms) + + +Started GET "/" for ::1 at 2019-04-12 14:21:12 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (11.4ms) +Completed 200 OK in 56ms (Views: 47.2ms | ActiveRecord: 3.7ms) + + +Started GET "/" for ::1 at 2019-04-12 14:22:22 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 23ms (Views: 20.5ms | ActiveRecord: 0.2ms) + + +Started GET "/" for ::1 at 2019-04-12 14:22:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.5ms) +Completed 200 OK in 33ms (Views: 29.6ms | ActiveRecord: 0.7ms) + + +Started GET "/" for ::1 at 2019-04-12 14:23:10 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 30ms (Views: 27.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/8" for ::1 at 2019-04-12 14:23:13 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"8"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 42ms (Views: 36.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/8" for ::1 at 2019-04-12 14:25:38 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"8"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 27ms (Views: 23.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:25:48 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.9ms) +Completed 200 OK in 31ms (Views: 27.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/8" for ::1 at 2019-04-12 14:25:57 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"8"} + Task Load (2.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 41ms (Views: 31.4ms | ActiveRecord: 2.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:26:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (11.2ms) +Completed 200 OK in 31ms (Views: 23.7ms | ActiveRecord: 3.0ms) + + +Started GET "/tasks/8" for ::1 at 2019-04-12 14:26:30 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"8"} + Task Load (1.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.6ms) +Completed 200 OK in 40ms (Views: 32.1ms | ActiveRecord: 1.6ms) + + +Started GET "/tasks/8" for ::1 at 2019-04-12 14:28:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"8"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 39ms (Views: 35.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/8/edit" for ::1 at 2019-04-12 14:28:48 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"8"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:35 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (4.1ms) + Rendered tasks/edit.html.erb within layouts/application (7.3ms) +Completed 200 OK in 39ms (Views: 34.0ms | ActiveRecord: 0.4ms) + + +Started PATCH "/tasks/8" for ::1 at 2019-04-12 14:28:49 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"9hpu1owIuEleOs+4czh7vWNIqpVeRRLhJ74cYiTkmriThGqW4CvVgh7xbdGfOpAW2o7vlfxrwKU54s1WQKHOjw==", "task"=>{"name"=>"Call Ma", "description"=>"Mommy wants to hear from me!!!"}, "commit"=>"Edit Task", "id"=>"8"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:39 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:41 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:41 +Redirected to http://localhost:3000/tasks/8 +Completed 302 Found in 12ms (ActiveRecord: 0.9ms) + + +Started GET "/tasks/8" for ::1 at 2019-04-12 14:28:49 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"8"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 22ms (Views: 18.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:28:50 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.5ms) +Completed 200 OK in 31ms (Views: 26.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/8" for ::1 at 2019-04-12 14:28:52 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"8"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 38ms (Views: 34.8ms | ActiveRecord: 0.2ms) + + +Started GET "/" for ::1 at 2019-04-12 14:29:11 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (206.9ms) +Completed 200 OK in 289ms (Views: 231.6ms | ActiveRecord: 6.4ms) + + +Started GET "/" for ::1 at 2019-04-12 14:29:31 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 21ms (Views: 18.3ms | ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2019-04-12 14:29:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 29ms (Views: 25.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/8" for ::1 at 2019-04-12 14:29:33 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"8"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.2ms) +Completed 200 OK in 58ms (Views: 32.5ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:30:10 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.0ms) +Completed 200 OK in 40ms (Views: 36.7ms | ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2019-04-12 14:30:13 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 25ms (Views: 22.4ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/8" for ::1 at 2019-04-12 14:30:15 -0700 +Processing by TasksController#update as HTML + Parameters: {"authenticity_token"=>"fqP+GEnls2X2qv7dQDbMHrc0e0xe8L+6/Dh3161uhqL0gvjZ1rg1hmaIfdirMaB10gFLohztzZwpie/4zz569g==", "id"=>"8"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:39 +Completed 400 Bad Request in 2ms (ActiveRecord: 0.3ms) + + + +ActionController::ParameterMissing - param is missing or the value is empty: task: + app/controllers/tasks_controller.rb:70:in `task_params' + app/controllers/tasks_controller.rb:41:in `update' + +Started POST "/__better_errors/bae9c4733ae22a2a/variables" for ::1 at 2019-04-12 14:30:15 -0700 +Started PATCH "/tasks/8" for ::1 at 2019-04-12 14:30:24 -0700 +Processing by TasksController#update as HTML + Parameters: {"authenticity_token"=>"fqP+GEnls2X2qv7dQDbMHrc0e0xe8L+6/Dh3161uhqL0gvjZ1rg1hmaIfdirMaB10gFLohztzZwpie/4zz569g==", "id"=>"8"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:39 +Completed 400 Bad Request in 2ms (ActiveRecord: 0.6ms) + + + +ActionController::ParameterMissing - param is missing or the value is empty: task: + app/controllers/tasks_controller.rb:70:in `task_params' + app/controllers/tasks_controller.rb:41:in `update' + +Started POST "/__better_errors/40f6ce8978645e81/variables" for ::1 at 2019-04-12 14:30:24 -0700 +Started POST "/__better_errors/40f6ce8978645e81/variables" for ::1 at 2019-04-12 14:30:42 -0700 +Started POST "/__better_errors/40f6ce8978645e81/variables" for ::1 at 2019-04-12 14:30:43 -0700 +Started GET "/tasks/8" for ::1 at 2019-04-12 14:31:18 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"8"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.3ms) +Completed 200 OK in 34ms (Views: 17.6ms | ActiveRecord: 4.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:31:20 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 32ms (Views: 28.3ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks/8" for ::1 at 2019-04-12 14:31:21 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"8"} + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 29ms (Views: 24.5ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:31:22 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.7ms) +Completed 200 OK in 34ms (Views: 30.3ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 14:31:23 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (9.7ms) + Rendered tasks/new.html.erb within layouts/application (13.3ms) +Completed 200 OK in 44ms (Views: 41.5ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for ::1 at 2019-04-12 14:31:36 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"5Gxwj1w6owthM/Dhfceeu2YVr2PWbAzkSgqU7bgfQLBmPwInlGKrsVwzl4NAUtnI4FR2Ima8hAQyGPcRCGKziA==", "task"=>{"name"=>"Clean house", "description"=>"Mess must go away"}, "commit"=>"Add Task"} +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:25 + Task Create (1.6ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Clean house"], ["description", "Mess must go away"], ["created_at", "2019-04-12 21:31:36.086082"], ["updated_at", "2019-04-12 21:31:36.086082"]] + ↳ app/controllers/tasks_controller.rb:25 +  (1.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:25 +Redirected to http://localhost:3000/tasks/9 +Completed 302 Found in 9ms (ActiveRecord: 3.4ms) + + +Started GET "/tasks/9" for ::1 at 2019-04-12 14:31:36 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"9"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 29ms (Views: 25.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:32:40 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (10.3ms) +Completed 200 OK in 32ms (Views: 25.3ms | ActiveRecord: 3.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:33:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.8ms) +Completed 200 OK in 34ms (Views: 31.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:33:13 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 35ms (Views: 32.2ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/8" for ::1 at 2019-04-12 14:33:19 -0700 +Processing by TasksController#update as HTML + Parameters: {"authenticity_token"=>"z4zJtVcWtxYTvNyH1wlo2Ll/5wxg3xNt0AJq5vgUH3lFrc90yEsx9YOeX4I8DgSz3ErX4iLCYUsFs/LJmkTjLQ==", "id"=>"8"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:39 +Completed 400 Bad Request in 4ms (ActiveRecord: 0.6ms) + + + +ActionController::ParameterMissing - param is missing or the value is empty: task: + app/controllers/tasks_controller.rb:68:in `task_params' + app/controllers/tasks_controller.rb:41:in `update' + +Started POST "/__better_errors/0aa9e8dee17b4a74/variables" for ::1 at 2019-04-12 14:33:19 -0700 +Started GET "/tasks/8" for ::1 at 2019-04-12 14:33:22 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"8"} + Task Load (3.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.2ms) +Completed 200 OK in 36ms (Views: 28.6ms | ActiveRecord: 3.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:37:58 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (12.1ms) +Completed 200 OK in 41ms (Views: 33.2ms | ActiveRecord: 3.1ms) + + +Started GET "/" for ::1 at 2019-04-12 14:38:01 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 22ms (Views: 19.4ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/8" for ::1 at 2019-04-12 14:38:03 -0700 +Processing by TasksController#update as HTML + Parameters: {"authenticity_token"=>"3RVdmHaUYHK17UXKQQccvQoJakpU0kSPULUnFP0KCp9XNFtZ6cnmkSXPxs+qAHDWbzxapBbPNqmFBL87n1r2yw==", "id"=>"8"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:39 +Completed 400 Bad Request in 3ms (ActiveRecord: 0.2ms) + + + +ActionController::ParameterMissing - param is missing or the value is empty: task: + app/controllers/tasks_controller.rb:69:in `task_params' + app/controllers/tasks_controller.rb:41:in `update' + +Started POST "/__better_errors/2210e084999f72a2/variables" for ::1 at 2019-04-12 14:38:03 -0700 +Started GET "/tasks/8" for ::1 at 2019-04-12 14:40:50 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"8"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 47ms (Views: 31.9ms | ActiveRecord: 3.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:40:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.4ms) +Completed 200 OK in 30ms (Views: 26.5ms | ActiveRecord: 0.6ms) + + +Started PATCH "/tasks/8" for ::1 at 2019-04-12 14:40:54 -0700 +Processing by TasksController#update as HTML + Parameters: {"authenticity_token"=>"3bmoLd9lnVy9J5g72tgudGFx+bNQouX0saKXHo3gEvNXmK7sQDgbvy0FGz4x30IfBETJXRK/l9JkEw8x77Dupw==", "id"=>"8"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:39 +Completed 400 Bad Request in 2ms (ActiveRecord: 0.2ms) + + + +ActionController::ParameterMissing - param is missing or the value is empty: task: + app/controllers/tasks_controller.rb:69:in `task_params' + app/controllers/tasks_controller.rb:41:in `update' + +Started POST "/__better_errors/4488814519731251/variables" for ::1 at 2019-04-12 14:40:54 -0700 +Started GET "/tasks/8" for ::1 at 2019-04-12 14:42:41 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"8"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 43ms (Views: 26.7ms | ActiveRecord: 3.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:42:43 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.8ms) +Completed 200 OK in 43ms (Views: 38.0ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 14:42:46 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (5.4ms) + Rendered tasks/new.html.erb within layouts/application (9.8ms) +Completed 200 OK in 41ms (Views: 37.3ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/8" for ::1 at 2019-04-12 14:42:48 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"8"} + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 33ms (Views: 28.0ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks/8/edit" for ::1 at 2019-04-12 14:42:56 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"8"} + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:35 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.1ms) + Rendered tasks/edit.html.erb within layouts/application (5.5ms) +Completed 200 OK in 35ms (Views: 28.5ms | ActiveRecord: 1.0ms) + + +Started PATCH "/tasks/8" for ::1 at 2019-04-12 14:42:58 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"qk7vS2MfE/mp1sT22dseFkTohe6Ys4+DqrKnFI4qqNXP0OsLDzx+MukdZp812fW9/S7A7jqdXce07nYg6m/84g==", "task"=>{"name"=>"Call Ma", "description"=>"Mommy wants to hear from me!!!"}, "commit"=>"Edit Task", "id"=>"8"} + Task Load (2.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:39 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:41 +  (0.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:41 +Redirected to http://localhost:3000/tasks/8 +Completed 302 Found in 7ms (ActiveRecord: 3.2ms) + + +Started GET "/tasks/8" for ::1 at 2019-04-12 14:42:58 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"8"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 24ms (Views: 21.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:43:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.3ms) +Completed 200 OK in 37ms (Views: 32.0ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 14:43:02 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.4ms) + Rendered tasks/new.html.erb within layouts/application (5.0ms) +Completed 200 OK in 40ms (Views: 36.4ms | ActiveRecord: 0.0ms) + + +Started DELETE "/tasks/9" for ::1 at 2019-04-12 14:43:08 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"XvpOArmG0H5W704/lDiq0lb/2M6w3BZQsoSTtKNetbnU20jDJttWncbNzTp/P8a5M8roIPLBZHZnNQubwQ5J7Q==", "id"=>"9"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:61 + Task Destroy (0.4ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 9]] + ↳ app/controllers/tasks_controller.rb:61 +  (3.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:61 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:43:08 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 33ms (Views: 29.5ms | ActiveRecord: 0.3ms) + + +Started DELETE "/tasks/8" for ::1 at 2019-04-12 14:43:09 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"xJrcaZvstwoBw5wuKIn/b+auLHIMnnQaIZBDZhv52EVOu9qoBLEx6ZHhHyvDjpMEg5scnE6DBjz0IdtJeakkEQ==", "id"=>"8"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:61 + Task Destroy (0.4ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 8]] + ↳ app/controllers/tasks_controller.rb:61 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:61 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:43:09 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 23ms (Views: 21.3ms | ActiveRecord: 0.2ms) + + +  (2.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (203.4ms) DROP DATABASE IF EXISTS "TaskList_development" + ↳ bin/rails:9 +  (203.4ms) DROP DATABASE IF EXISTS "TaskList_test" + ↳ bin/rails:9 +  (783.0ms) CREATE DATABASE "TaskList_development" ENCODING = 'unicode' + ↳ bin/rails:9 +  (412.0ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + ↳ bin/rails:9 + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (6.7ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) + ↳ db/schema.rb:18 +  (2.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) + ↳ db/schema.rb:13 +  (1.9ms) 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) + ↳ db/schema.rb:13 + 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]] + ↳ db/schema.rb:13 +  (0.2ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-04-12 21:43:26.192057"], ["updated_at", "2019-04-12 21:43:26.192057"]] + ↳ db/schema.rb:13 +  (0.4ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 +  (0.1ms) COMMIT + ↳ bin/rails:9 + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (6.6ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) + ↳ db/schema.rb:18 +  (2.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) + ↳ db/schema.rb:13 +  (3.3ms) 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) + ↳ db/schema.rb:13 + 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]] + ↳ db/schema.rb:13 +  (0.2ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-04-12 21:43:26.251079"], ["updated_at", "2019-04-12 21:43:26.251079"]] + ↳ db/schema.rb:13 +  (0.4ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 + ActiveRecord::InternalMetadata Update (0.4ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2019-04-12 21:43:26.254999"], ["key", "environment"]] + ↳ bin/rails:9 +  (0.3ms) COMMIT + ↳ bin/rails:9 +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +Started GET "/" for ::1 at 2019-04-12 14:43:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (185.2ms) +Completed 200 OK in 249ms (Views: 217.5ms | ActiveRecord: 3.5ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 14:43:41 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (13.9ms) + Rendered tasks/new.html.erb within layouts/application (16.9ms) +Completed 200 OK in 57ms (Views: 34.9ms | ActiveRecord: 7.9ms) + + +Started GET "/" for ::1 at 2019-04-12 14:44:21 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 34ms (Views: 30.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 14:44:24 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (4.2ms) + Rendered tasks/new.html.erb within layouts/application (8.1ms) +Completed 200 OK in 41ms (Views: 35.6ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for ::1 at 2019-04-12 14:44:31 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"tag5T2dG8zhNtuuuCW8wekN5vW97vn/xNDV57maAlEA3+0vnrx77gnC2jMw0+ncJxThkLstu9xFMJxoS1v1neA==", "task"=>{"name"=>"Call Ma", "description"=>"Mommy wants to hear from me"}, "commit"=>"Add Task"} +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:25 + Task Create (0.7ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Call Ma"], ["description", "Mommy wants to hear from me"], ["created_at", "2019-04-12 21:44:31.408463"], ["updated_at", "2019-04-12 21:44:31.408463"]] + ↳ app/controllers/tasks_controller.rb:25 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:25 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 5ms (ActiveRecord: 1.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 14:44:31 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 23ms (Views: 16.6ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:44:33 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.0ms) +Completed 200 OK in 33ms (Views: 28.5ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:45:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 42ms (Views: 39.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:47:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (9.9ms) +Completed 200 OK in 39ms (Views: 32.3ms | ActiveRecord: 2.6ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 14:47:27 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.2ms) + Rendered tasks/new.html.erb within layouts/application (5.4ms) +Completed 200 OK in 32ms (Views: 29.2ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:48:40 -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 7ms (ActiveRecord: 0.0ms) + + + +SyntaxError - syntax error, unexpected tIDENTIFIER, expecting ')' +...", mark_complete_path(task.id)h );@output_buffer.safe_append... +... ^: + app/views/tasks/index.html.erb:17:in `' + +Started POST "/__better_errors/65485216d66d62a0/variables" for ::1 at 2019-04-12 14:48:40 -0700 + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" LIMIT $1 [["LIMIT", 11]] + ↳ /Users/jillianne.ramirez/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98 +Started GET "/tasks" for ::1 at 2019-04-12 14:49:20 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (12.6ms) +Completed 200 OK in 49ms (Views: 41.9ms | ActiveRecord: 3.2ms) + + +Started GET "/tasks/1/read" for ::1 at 2019-04-12 14:49:22 -0700 + +ActionController::RoutingError (No route matches [GET] "/tasks/1/read"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/1/read" for ::1 at 2019-04-12 14:50:16 -0700 + +ActionController::RoutingError (No route matches [GET] "/tasks/1/read"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/1/read" for ::1 at 2019-04-12 14:50:18 -0700 + +ActionController::RoutingError (No route matches [GET] "/tasks/1/read"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/1/read" for ::1 at 2019-04-12 14:50:36 -0700 + +ActionController::RoutingError (No route matches [GET] "/tasks/1/read"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/1/read" for ::1 at 2019-04-12 14:50:37 -0700 + +ActionController::RoutingError (No route matches [GET] "/tasks/1/read"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/" for ::1 at 2019-04-12 14:51:03 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (12.3ms) +Completed 200 OK in 43ms (Views: 33.8ms | ActiveRecord: 3.2ms) + + +Started GET "/" for ::1 at 2019-04-12 14:51:15 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 28ms (Views: 24.3ms | ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2019-04-12 14:51:16 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 26ms (Views: 22.7ms | ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2019-04-12 14:51:18 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 23ms (Views: 20.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/read" for ::1 at 2019-04-12 14:51:41 -0700 + +ActionController::RoutingError (No route matches [GET] "/tasks/1/read"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/1/read" for ::1 at 2019-04-12 14:52:47 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.2ms) +Completed 200 OK in 45ms (Views: 26.5ms | ActiveRecord: 2.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:53:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 37ms (Views: 32.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/read" for ::1 at 2019-04-12 14:53:25 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 40ms (Views: 34.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:53:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 31ms (Views: 26.7ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 14:53:27 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 30ms (Views: 24.1ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:53:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (2.0ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.7ms) +Completed 200 OK in 40ms (Views: 33.1ms | ActiveRecord: 2.0ms) + + +Started DELETE "/tasks/1" for ::1 at 2019-04-12 14:53:29 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"Z9UY5dj42snt8YajP942WX9htbJ60OsfydtGgDbv2wzt9B4kR6VcKn3TBabU2VoyGlSFXDjNmTkcat6vVL8nWA==", "id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:58 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Destroy (0.5ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 14:53:29 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.0ms) +Completed 200 OK in 24ms (Views: 20.3ms | ActiveRecord: 0.8ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 14:53:30 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (1.8ms) + Rendered tasks/new.html.erb within layouts/application (4.6ms) +Completed 200 OK in 27ms (Views: 23.1ms | ActiveRecord: 0.0ms) + + +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (210.6ms) DROP DATABASE IF EXISTS "TaskList_development" + ↳ bin/rails:9 +  (221.6ms) DROP DATABASE IF EXISTS "TaskList_test" + ↳ bin/rails:9 +  (467.0ms) CREATE DATABASE "TaskList_development" ENCODING = 'unicode' + ↳ bin/rails:9 +  (397.5ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + ↳ bin/rails:9 + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (5.9ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) + ↳ db/schema.rb:18 +  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) + ↳ db/schema.rb:13 +  (2.8ms) 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) + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ db/schema.rb:13 +  (0.2ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-04-12 21:53:43.762286"], ["updated_at", "2019-04-12 21:53:43.762286"]] + ↳ db/schema.rb:13 +  (0.4ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.2ms) BEGIN + ↳ bin/rails:9 +  (0.2ms) COMMIT + ↳ bin/rails:9 + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (7.2ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) + ↳ db/schema.rb:18 +  (3.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) + ↳ db/schema.rb:13 +  (5.0ms) 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) + ↳ db/schema.rb:13 + 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]] + ↳ db/schema.rb:13 +  (0.1ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (1.0ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-04-12 21:53:43.815267"], ["updated_at", "2019-04-12 21:53:43.815267"]] + ↳ db/schema.rb:13 +  (1.2ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 + ActiveRecord::InternalMetadata Update (0.3ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2019-04-12 21:53:43.822040"], ["key", "environment"]] + ↳ bin/rails:9 +  (0.3ms) COMMIT + ↳ bin/rails:9 +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +Started GET "/tasks" for ::1 at 2019-04-12 14:54:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (184.0ms) +Completed 200 OK in 246ms (Views: 203.9ms | ActiveRecord: 12.1ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 14:54:10 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (13.5ms) + Rendered tasks/new.html.erb within layouts/application (15.8ms) +Completed 200 OK in 55ms (Views: 31.6ms | ActiveRecord: 10.3ms) + + +Started POST "/tasks" for ::1 at 2019-04-12 14:54:18 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"If+S5oQ7zU7qvvmaN3fZrQWzoLNg3ZVtvpD75j+1zVejrOBOTGPF9Ne+nvgK4p7eg/J58tANHY3Ggpgaj8g+bw==", "task"=>{"name"=>"Call Ma", "description"=>"Mommy wants to hear from me"}, "commit"=>"Add Task"} +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:25 + Task Create (1.0ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Call Ma"], ["description", "Mommy wants to hear from me"], ["created_at", "2019-04-12 21:54:18.864419"], ["updated_at", "2019-04-12 21:54:18.864419"]] + ↳ app/controllers/tasks_controller.rb:25 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:25 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 7ms (ActiveRecord: 1.6ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 14:54:18 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 26ms (Views: 17.8ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 14:58:20 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 37ms (Views: 33.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 15:00: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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 40ms (Views: 25.9ms | ActiveRecord: 3.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 15:01:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (7.1ms) +Completed 200 OK in 39ms (Views: 30.9ms | ActiveRecord: 1.6ms) + + +Started GET "/" for ::1 at 2019-04-12 15:01:18 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 26ms (Views: 20.9ms | ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2019-04-12 15:02:09 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 22ms (Views: 19.5ms | ActiveRecord: 0.5ms) + + +Started GET "/" for ::1 at 2019-04-12 15:02:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (10.9ms) +Completed 200 OK in 28ms (Views: 22.2ms | ActiveRecord: 3.1ms) + + +Started GET "/" for ::1 at 2019-04-12 15:04:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (9.4ms) +Completed 200 OK in 29ms (Views: 23.0ms | ActiveRecord: 2.5ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-12 15:04:25 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.9ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-12 22:04:25.882892"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (2.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 6.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 15:04:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 37ms (Views: 33.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-12 15:04:27 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 +  (0.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 3ms (ActiveRecord: 0.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 15:04:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 35ms (Views: 31.2ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-12 15:04:27 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (3.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 +  (1.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 4.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 15:04:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.4ms) +Completed 200 OK in 23ms (Views: 19.2ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 15:04:29 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 24ms (Views: 21.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-12 15:04:35 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 +  (0.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 3ms (ActiveRecord: 0.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 15:04:35 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 28ms (Views: 24.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-12 15:05:58 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 +  (0.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 3.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 15:05:58 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 21ms (Views: 18.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-12 15:05:58 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 +  (0.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 3ms (ActiveRecord: 0.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 15:05:58 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 31ms (Views: 27.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 15:06:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (10.3ms) +Completed 200 OK in 30ms (Views: 23.9ms | ActiveRecord: 2.8ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-12 15:06:43 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (5.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 +  (1.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 15:06:43 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 34ms (Views: 30.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-12 15:06:46 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-12 22:06:46.278630"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (11.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 15ms (ActiveRecord: 11.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 15:06:46 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.9ms) +Completed 200 OK in 25ms (Views: 22.0ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-12 15:06:47 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-12 22:06:47.454208"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (2.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 5.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 15:06:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 30ms (Views: 26.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-12 15:06:47 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (5.9ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-12 22:06:47.890015"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (5.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 16ms (ActiveRecord: 11.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 15:06:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 30ms (Views: 25.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-12 15:06:48 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-12 22:06:48.278799"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (3.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 6.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 15:06:48 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 32ms (Views: 28.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-12 15:06:48 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-12 22:06:48.760447"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (9.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 10.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 15:06:48 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 30ms (Views: 26.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-12 15:06:49 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (2.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (2.8ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-12 22:06:49.166786"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (0.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 7.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 15:06:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 27ms (Views: 24.4ms | ActiveRecord: 0.8ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-12 15:06:49 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-12 22:06:49.550570"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (2.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 15:06:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.2ms) +Completed 200 OK in 29ms (Views: 24.4ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-12 15:06:49 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (1.8ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-12 22:06:49.974435"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (0.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 15:06:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 26ms (Views: 23.2ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-12 15:06:50 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (1.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-12 22:06:50.342856"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 15:06:50 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 28ms (Views: 25.1ms | ActiveRecord: 0.6ms) + + +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (213.5ms) DROP DATABASE IF EXISTS "TaskList_development" + ↳ bin/rails:9 +  (206.1ms) DROP DATABASE IF EXISTS "TaskList_test" + ↳ bin/rails:9 +  (488.9ms) CREATE DATABASE "TaskList_development" ENCODING = 'unicode' + ↳ bin/rails:9 +  (419.4ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + ↳ bin/rails:9 + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (7.1ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) + ↳ db/schema.rb:18 +  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) + ↳ db/schema.rb:13 +  (4.3ms) 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) + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ db/schema.rb:13 +  (0.2ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-04-12 22:08:53.923274"], ["updated_at", "2019-04-12 22:08:53.923274"]] + ↳ db/schema.rb:13 +  (0.3ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.2ms) BEGIN + ↳ bin/rails:9 +  (0.1ms) COMMIT + ↳ bin/rails:9 + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (7.3ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) + ↳ db/schema.rb:18 +  (3.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) + ↳ db/schema.rb:13 +  (3.7ms) 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) + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ db/schema.rb:13 +  (0.1ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-04-12 22:08:53.973317"], ["updated_at", "2019-04-12 22:08:53.973317"]] + ↳ db/schema.rb:13 +  (0.2ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 + ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2019-04-12 22:08:53.976950"], ["key", "environment"]] + ↳ bin/rails:9 +  (0.2ms) COMMIT + ↳ bin/rails:9 +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +Started GET "/tasks" for ::1 at 2019-04-12 15:09:13 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (184.2ms) +Completed 200 OK in 249ms (Views: 215.7ms | ActiveRecord: 4.5ms) + + diff --git a/log/test.log b/log/test.log index a80ae6c72..d82e89577 100644 --- a/log/test.log +++ b/log/test.log @@ -1888,3 +1888,485 @@ Processing by TasksController#new as HTML Rendered tasks/new.html.erb within layouts/application (10.9ms) Completed 200 OK in 14ms (Views: 12.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK +  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (212.8ms) DROP DATABASE IF EXISTS "TaskList_test" +  (471.3ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (5.4ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.7ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-11 17:12:00.574959"], ["updated_at", "2019-04-11 17:12:00.574959"]] +  (0.3ms) COMMIT + 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 +  (0.1ms) COMMIT +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (2.7ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (1.3ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-11 17:12:00.848608', '2019-04-11 17:12:00.848608', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-11 17:12:00.848608', '2019-04-11 17:12:00.848608', 'MyString') +  (0.6ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.2ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-11 10:12: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 (9.9ms) +Completed 200 OK in 145ms (Views: 137.9ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-11 10:12:01 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.1ms) +Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.6ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-11 10:12:01 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-11 17:12:01.035707"], ["updated_at", "2019-04-11 17:12:01.035707"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 3ms (ActiveRecord: 0.7ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-11 17:12:01.045616"], ["updated_at", "2019-04-11 17:12:01.045616"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-11 10:12:01 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190964]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", "f"], ["created_at", "2019-04-11 17:12:01.055203"], ["updated_at", "2019-04-11 17:12:01.055203"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-11 10:12:01 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 5ms (Views: 2.0ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-11 10:12:01 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 10:12:01 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (13.2ms) +Completed 200 OK in 17ms (Views: 14.4ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (228.0ms) DROP DATABASE IF EXISTS "TaskList_test" +  (480.1ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.1ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (16.9ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.0ms) 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) + 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.2ms) BEGIN + ActiveRecord::InternalMetadata Create (4.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-11 17:17:45.391654"], ["updated_at", "2019-04-11 17:17:45.391654"]] +  (0.5ms) COMMIT + ActiveRecord::InternalMetadata Load (0.3ms) 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.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.7ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-11 17:17:45.675784', '2019-04-11 17:17:45.675784', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-11 17:17:45.675784', '2019-04-11 17:17:45.675784', 'MyString') +  (0.2ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-11 10:17:45 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-11 17:17:45.721900"], ["updated_at", "2019-04-11 17:17:45.721900"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 25ms (ActiveRecord: 0.9ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-11 10:17:45 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-11 17:17:45.745323"], ["updated_at", "2019-04-11 17:17:45.745323"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-11 10:17:45 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190964]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.8ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", "f"], ["created_at", "2019-04-11 17:17:45.756871"], ["updated_at", "2019-04-11 17:17:45.756871"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-11 10:17:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.8ms) +Completed 200 OK in 145ms (Views: 140.9ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-11 10:17:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"-1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 2ms (ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 10:17:45 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (13.1ms) +Completed 200 OK in 17ms (Views: 14.4ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-11 10:17:45 -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 (2.0ms) +Completed 200 OK in 30ms (Views: 26.1ms | ActiveRecord: 0.5ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-11 10:17: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.1ms) +Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms) +  (0.6ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (190.7ms) DROP DATABASE IF EXISTS "TaskList_test" +  (441.5ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.3ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (6.2ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.0ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) BEGIN + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-11 17:18:27.781883"], ["updated_at", "2019-04-11 17:18:27.781883"]] +  (0.4ms) COMMIT + 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.2ms) BEGIN +  (0.1ms) COMMIT +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-11 17:18:28.055579', '2019-04-11 17:18:28.055579', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-11 17:18:28.055579', '2019-04-11 17:18:28.055579', 'MyString') +  (0.5ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 10:18:28 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (13.1ms) +Completed 200 OK in 205ms (Views: 199.3ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-11 17:18:28.301039"], ["updated_at", "2019-04-11 17:18:28.301039"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-11 10:18:28 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190963]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 3ms (ActiveRecord: 0.8ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-11 10:18:28 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-11 10:18:28 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", "f"], ["created_at", "2019-04-11 17:18:28.323404"], ["updated_at", "2019-04-11 17:18:28.323404"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-11 10:18:28 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-11 10:18: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 (1.5ms) +Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.3ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-11 10:18: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.1ms) +Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-11 10:18:28 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>""}} +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-11 17:18:28.347337"], ["updated_at", "2019-04-11 17:18:28.347337"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190965 +Completed 302 Found in 2ms (ActiveRecord: 0.4ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK diff --git a/test/controllers/tasks_controller_test.rb b/test/controllers/tasks_controller_test.rb index 9c7bc7a5a..5f24f9347 100644 --- a/test/controllers/tasks_controller_test.rb +++ b/test/controllers/tasks_controller_test.rb @@ -1,129 +1,3 @@ -# require "test_helper" - -# describe TasksController do -# let (:task) { -# Task.create name: "sample task", description: "this is an example for a test", -# completed_at_at: Time.now + 5.days -# } - -# # Tests for Wave 1 -# describe "index" do -# it "can get the index path" do -# # Act -# get tasks_path - -# # Assert -# must_respond_with :success -# end - -# it "can get the root path" do -# # Act -# get root_path - -# # Assert -# must_respond_with :success -# end -# end - -# # Unskip these tests for Wave 2 -# describe "show" do -# it "can get a valid task" do -# # Act -# get task_path(task.id) - -# # Assert -# must_respond_with :success -# end - -# it "will redirect for an invalid task" do -# # Act -# get task_path(-1) - -# # Assert -# must_respond_with :redirect -# expect(flash[:error]).must_equal "Could not find task with id: -1" -# end -# end - -# describe "new" do -# it "can get the new task page" do - -# # Act -# get new_task_path - -# # Assert -# must_respond_with :success -# end -# end - -# describe "create" do -# it "can create a new task" do - -# # Arrange -# task_hash = { -# task: { -# name: "new task", -# description: "new task description", -# completed_at_at: nil, -# }, -# } - -# # Act-Assert -# expect { -# post tasks_path, params: task_hash -# }.must_change "Task.count", 1 - -# new_task = Task.find_by(name: task_hash[:task][:name]) -# expect(new_task.description).must_equal task_hash[:task][:description] -# expect(new_task.due_date.to_time.to_i).must_equal task_hash[:task][:due_date].to_i -# expect(new_task.completed_at).must_equal task_hash[:task][:completed_at] - -# must_respond_with :redirect -# must_redirect_to task_path(new_task.id) -# end -# end - -# # # Unskip and complete these tests for Wave 3 -# # describe "edit" do -# # it "can get the edit page for an existing task" do -# # skip -# # # Your code here -# # end - -# # it "will respond with redirect when attempting to edit a nonexistant task" do -# # skip -# # # Your code here -# # end -# # end - -# # # Uncomment and complete these tests for Wave 3 -# # describe "update" do -# # # Note: If there was a way to fail to save the changes to a task, that would be a great -# # # thing to test. -# # it "can update an existing task" do -# # skip -# # # Your code here -# # end - -# # it "will redirect to the root page if given an invalid id" do -# # skip -# # # Your code here -# # end -# # end - -# # # Complete these tests for Wave 4 -# # describe "destroy" do -# # # Your tests go here - -# # end - -# # # Complete for Wave 4 -# # describe "toggle_complete" do -# # # Your tests go here -# # end -# end - - require "test_helper" describe TasksController do @@ -244,7 +118,36 @@ # Complete these tests for Wave 4 describe "destroy" do # Your tests go here + it "returns a 404 if the task if not found" do + invalid_id = "NOT A VALID ID" + + # Act + # try to do tasks destroy action + + expect { + delete task_path(invalid_id) + }.wont_change "Task.count" + must_respond_with :not_found + + # Assert + # should respond with not found + # the count will change by 0 OR wont_change tasks.count + + end + + it "can delete a book" do + # Arrange + new_task = Task.create(name: "Call Sister") + expect { + # Act + delete task_path(new_task.id) + # Assert + }.must_change "Task.count", -1 + + must_respond_with :redirect + must_redirect_to tasks_path + end end # Complete for Wave 4 From 441ba907089367cba20be0e502cd24ff534ca5e1 Mon Sep 17 00:00:00 2001 From: Jillianne Ramirez Date: Sat, 13 Apr 2019 14:17:48 -0700 Subject: [PATCH 09/23] delete verification function added --- app/controllers/tasks_controller.rb | 4 + app/views/tasks/index.html.erb | 2 +- app/views/tasks/show.html.erb | 10 +- app/views/tasks/verify.html.erb | 3 + config/routes.rb | 5 +- log/development.log | 1860 +++++++++++++++++++++++++++ 6 files changed, 1878 insertions(+), 6 deletions(-) create mode 100644 app/views/tasks/verify.html.erb diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb index 5a7900205..9a445e5eb 100644 --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -76,6 +76,10 @@ def destroy end end + def verify + @task = Task.find_by(id: params[:id]) + end + private def task_params diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb index 157d50b36..0bd7e3748 100644 --- a/app/views/tasks/index.html.erb +++ b/app/views/tasks/index.html.erb @@ -17,7 +17,7 @@ <%= link_to "Mark Complete", mark_complete_path(task.id) %> <%= link_to "Unmark Complete", unmark_complete_path(task.id) %> <%= link_to "Show", task_path(task.id) %> - <%= link_to "Delete", task_path(task.id), method: :delete %> + <%= link_to "Delete #{task.name}", verify_path(task.id) %>
<% end %> <% end %>
diff --git a/app/views/tasks/show.html.erb b/app/views/tasks/show.html.erb index 2ac4b53d7..7a79498be 100644 --- a/app/views/tasks/show.html.erb +++ b/app/views/tasks/show.html.erb @@ -7,10 +7,14 @@

- Status: <%= @task.completed_at %> + Status: <% if @task.completed_at.nil? %> + <% @task.completed_at = "Incomplete" %> + <%= @task.completed_at %> + <% else %> + <%= @task.completed_at %> + <% end %>

<%= link_to "Edit #{@task.name}", edit_task_path(@task.id) %> <%= link_to "Back to All Tasks", tasks_path %> -<%= link_to "Delete #{@task.name}", task_path(@task.id), method: :delete %> -<%# delete requires method clarification for path verb %> \ No newline at end of file +<%= link_to "Delete #{@task.name}", verify_path(@task.id) %>x \ No newline at end of file diff --git a/app/views/tasks/verify.html.erb b/app/views/tasks/verify.html.erb new file mode 100644 index 000000000..375235c1f --- /dev/null +++ b/app/views/tasks/verify.html.erb @@ -0,0 +1,3 @@ +

Are you sure you want to delete <%=@task.name%>?

+<%= link_to "Nevermind", tasks_path %> +<%= link_to "Delete #{@task.name}", task_path(@task.id), method: :delete %> \ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index a084ebf00..22d08538d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -6,7 +6,7 @@ get '/tasks/new', to: 'tasks#new', as: 'new_task' post '/tasks', to: 'tasks#create' - get 'tasks/:id', to: 'tasks#show', as: 'task' #id does not have to be a number, it can be a word ORDER MATTERS OF ROUTES + get '/tasks/:id', to: 'tasks#show', as: 'task' #id does not have to be a number, it can be a word ORDER MATTERS OF ROUTES get '/tasks/:id/edit', to: 'tasks#edit', as: 'edit_task' patch '/tasks/:id', to: 'tasks#update' @@ -17,7 +17,8 @@ get '/tasks/:id/incomplete', to: 'tasks#unmark_complete', as: 'unmark_complete' patch '/tasks/:id/incomplete', to: 'tasks#unmark_complete' - delete '/tasks/:id', to: 'tasks#destroy' + get '/tasks/:id/verify', to: 'tasks#verify', as: 'verify' + delete '/tasks/:id/', to: 'tasks#destroy' root to: 'tasks#index' # makes homepage to site go to the index, also get '/', to: 'tasks#index' end diff --git a/log/development.log b/log/development.log index 15885e46b..c16e2b77e 100644 --- a/log/development.log +++ b/log/development.log @@ -9089,3 +9089,1863 @@ Processing by TasksController#index as HTML Completed 200 OK in 249ms (Views: 215.7ms | ActiveRecord: 4.5ms) +Started GET "/tasks" for ::1 at 2019-04-12 19:34:19 -0700 +Started GET "/" for ::1 at 2019-04-12 19:34:38 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (5.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (198.5ms) +Completed 200 OK in 281ms (Views: 217.5ms | ActiveRecord: 18.8ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 19:34:40 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (12.6ms) + Rendered tasks/new.html.erb within layouts/application (15.3ms) +Completed 200 OK in 52ms (Views: 31.1ms | ActiveRecord: 10.6ms) + + +Started POST "/tasks" for ::1 at 2019-04-12 19:34:46 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"XZhIsTTN0GIcDzIICiDekC/6x1gnXn88Mbx23J9zdyzfyzoZ/JXY2CEPVWo3tZnjqbseGZeO99xJrhUgLw6EFA==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy wants to hear from me"}, "commit"=>"Add Task"} +  (0.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:25 + Task Create (1.1ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Call Mom"], ["description", "Mommy wants to hear from me"], ["created_at", "2019-04-13 02:34:46.376089"], ["updated_at", "2019-04-13 02:34:46.376089"]] + ↳ app/controllers/tasks_controller.rb:25 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:25 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 8ms (ActiveRecord: 1.9ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-12 19:34:46 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 26ms (Views: 18.6ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 19:34:51 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.6ms) +Completed 200 OK in 37ms (Views: 32.9ms | ActiveRecord: 0.9ms) + + +Started DELETE "/tasks/1" for ::1 at 2019-04-12 19:35:00 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"YIaoteKLBoJ6PaI7zZSL2dDXkBBOFzqhYghYwEjwqC3qp650fdaAYeofIT4mk+eyteKg/gwKSIe3ucDvKqBUeQ==", "id"=>"1"} + Task Load (1.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:69 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:74 + Task Destroy (0.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 1]] + ↳ app/controllers/tasks_controller.rb:74 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:74 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 19:35:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 22ms (Views: 19.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 19:36:59 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.2ms) + Rendered tasks/new.html.erb within layouts/application (4.4ms) +Completed 200 OK in 31ms (Views: 25.6ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for ::1 at 2019-04-12 19:37:15 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"1nj7V/0hM6hWsgC6boW7Vm3Xl2Vl5gU7btGnjhX9GMpUK4n/NXk7EmuyZ9hTEPwl65ZOJNU2jdsWw8RypYDr8g==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy wants to hear from me"}, "commit"=>"Add Task"} +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:25 + Task Create (0.5ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Call Mom"], ["description", "Mommy wants to hear from me"], ["created_at", "2019-04-13 02:37:15.021924"], ["updated_at", "2019-04-13 02:37:15.021924"]] + ↳ app/controllers/tasks_controller.rb:25 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:25 +Redirected to http://localhost:3000/tasks/2 +Completed 302 Found in 5ms (ActiveRecord: 1.2ms) + + +Started GET "/tasks/2" for ::1 at 2019-04-12 19:37:15 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 21ms (Views: 18.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 19:37:18 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 29ms (Views: 26.1ms | ActiveRecord: 0.3ms) + + + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" +Started DELETE "/tasks/2" for ::1 at 2019-04-12 19:38:21 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"AfQbX/79Zu3YKVL8OLj37wP4KIG6KwEsM7e1j5pZ+M2L1R2eYaDgDkgL0fnTv5uEZs0Yb/g2cwrmBi2g+AkEmQ==", "id"=>"2"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:69 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:74 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 2]] + ↳ app/controllers/tasks_controller.rb:74 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:74 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-12 19:38:21 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 21ms (Views: 18.6ms | ActiveRecord: 0.3ms) + + + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" +Started GET "/tasks" for ::1 at 2019-04-12 19:43:06 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (11.5ms) +Completed 200 OK in 30ms (Views: 27.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-12 19:43:08 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (3.0ms) + Rendered tasks/new.html.erb within layouts/application (5.7ms) +Completed 200 OK in 33ms (Views: 27.5ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for ::1 at 2019-04-12 19:43:13 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"SY2lusOBWvPar2hbLgX7dRQxsSMGChVxl5eLVmNfTK3L3tcSC9lSSeevDzkTkLwGknBoYrbanZHvheiq0yK/lQ==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy wants to hear from me"}, "commit"=>"Add Task"} +  (0.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:25 + Task Create (0.8ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Call Mom"], ["description", "Mommy wants to hear from me"], ["created_at", "2019-04-13 02:43:13.283384"], ["updated_at", "2019-04-13 02:43:13.283384"]] + ↳ app/controllers/tasks_controller.rb:25 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:25 +Redirected to http://localhost:3000/tasks/3 +Completed 302 Found in 6ms (ActiveRecord: 1.9ms) + + +Started GET "/tasks/3" for ::1 at 2019-04-12 19:43:13 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 20ms (Views: 17.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3/edit" for ::1 at 2019-04-12 19:43:15 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:35 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.0ms) + Rendered tasks/edit.html.erb within layouts/application (5.4ms) +Completed 200 OK in 36ms (Views: 27.1ms | ActiveRecord: 1.0ms) + + +Started PATCH "/tasks/3" for ::1 at 2019-04-12 19:43:16 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"c/D1cEky9tTlFsOyA85aL4IuwLQZqJfbqzn0dXgkSS612OoSFAc8M1hjzR9udkj7uk+Vibn/FmOeLjbt2erKJQ==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy wants to hear from me"}, "commit"=>"Edit Task", "id"=>"3"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:39 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:41 +  (0.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:41 +Redirected to http://localhost:3000/tasks/3 +Completed 302 Found in 4ms (ActiveRecord: 0.8ms) + + +Started GET "/tasks/3" for ::1 at 2019-04-12 19:43: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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 20ms (Views: 17.6ms | ActiveRecord: 0.2ms) + + +Started GET "/" for ::1 at 2019-04-13 13:43:57 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (45.8ms) +Completed 200 OK in 92ms (Views: 58.5ms | ActiveRecord: 24.2ms) + + +Started GET "/" for ::1 at 2019-04-13 13:46:44 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.8ms) +Completed 200 OK in 43ms (Views: 40.4ms | ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2019-04-13 13:47:20 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 43ms (Views: 39.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3/complete" for ::1 at 2019-04-13 13:47:21 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"3"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (6.9ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 20:47:21.550005"], ["id", 3]] + ↳ app/controllers/tasks_controller.rb:54 +  (1.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 26ms (ActiveRecord: 13.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:47:21 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 39ms (Views: 35.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3/incomplete" for ::1 at 2019-04-13 13:47:22 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (2.1ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 20:47:22.578551"], ["id", 3]] + ↳ app/controllers/tasks_controller.rb:63 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 4.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:47:22 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 32ms (Views: 28.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3/complete" for ::1 at 2019-04-13 13:47:23 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"3"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 20:47:23.201913"], ["id", 3]] + ↳ app/controllers/tasks_controller.rb:54 +  (0.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 2.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:47:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 32ms (Views: 29.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3/incomplete" for ::1 at 2019-04-13 13:47:23 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"3"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (2.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 20:47:23.589043"], ["id", 3]] + ↳ app/controllers/tasks_controller.rb:63 +  (1.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:47:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 30ms (Views: 26.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3/complete" for ::1 at 2019-04-13 13:47:24 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"3"} + Task Load (3.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.9ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.9ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 20:47:24.096566"], ["id", 3]] + ↳ app/controllers/tasks_controller.rb:54 +  (5.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 18ms (ActiveRecord: 11.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:47:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 28ms (Views: 23.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3/incomplete" for ::1 at 2019-04-13 13:47:25 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"3"} + Task Load (2.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.6ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (3.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 20:47:25.267289"], ["id", 3]] + ↳ app/controllers/tasks_controller.rb:63 +  (1.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 8.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:47:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 23ms (Views: 20.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3/complete" for ::1 at 2019-04-13 13:47:26 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"3"} + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (1.1ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 20:47:26.630224"], ["id", 3]] + ↳ app/controllers/tasks_controller.rb:54 +  (2.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:47:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 28ms (Views: 25.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3/incomplete" for ::1 at 2019-04-13 13:47:27 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"3"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.9ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (1.7ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 20:47:27.518861"], ["id", 3]] + ↳ app/controllers/tasks_controller.rb:63 +  (0.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 4.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:47:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 24ms (Views: 22.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3/complete" for ::1 at 2019-04-13 13:47:28 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"3"} + Task Load (1.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (1.8ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 20:47:28.708060"], ["id", 3]] + ↳ app/controllers/tasks_controller.rb:54 +  (2.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 6.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:47:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 25ms (Views: 21.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/3/incomplete" for ::1 at 2019-04-13 13:47:29 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 20:47:29.228983"], ["id", 3]] + ↳ app/controllers/tasks_controller.rb:63 +  (9.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 10.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:47:29 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 28ms (Views: 24.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3/complete" for ::1 at 2019-04-13 13:47:30 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"3"} + Task Load (2.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (3.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 20:47:30.055470"], ["id", 3]] + ↳ app/controllers/tasks_controller.rb:54 +  (0.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 20ms (ActiveRecord: 6.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:47:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 22ms (Views: 20.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3/incomplete" for ::1 at 2019-04-13 13:47:30 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 20:47:30.680096"], ["id", 3]] + ↳ app/controllers/tasks_controller.rb:63 +  (12.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 18ms (ActiveRecord: 13.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:47:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 25ms (Views: 22.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/3/complete" for ::1 at 2019-04-13 13:47:31 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"3"} + Task Load (3.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (1.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 20:47:31.721055"], ["id", 3]] + ↳ app/controllers/tasks_controller.rb:54 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 5.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:47:31 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 29ms (Views: 26.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3/incomplete" for ::1 at 2019-04-13 13:47:32 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 20:47:32.652991"], ["id", 3]] + ↳ app/controllers/tasks_controller.rb:63 +  (6.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 6.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:47:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.4ms) +Completed 200 OK in 27ms (Views: 24.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/3/complete" for ::1 at 2019-04-13 13:47:33 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"3"} + Task Load (6.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (4.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.8ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 20:47:33.503171"], ["id", 3]] + ↳ app/controllers/tasks_controller.rb:54 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 18ms (ActiveRecord: 13.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:47:33 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 23ms (Views: 20.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3/incomplete" for ::1 at 2019-04-13 13:47:33 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (3.1ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 20:47:33.919835"], ["id", 3]] + ↳ app/controllers/tasks_controller.rb:63 +  (2.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 5.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:47:33 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 29ms (Views: 25.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3" for ::1 at 2019-04-13 13:47:47 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (2.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 32ms (Views: 25.6ms | ActiveRecord: 2.9ms) + + +Started GET "/tasks/3/edit" for ::1 at 2019-04-13 13:47:51 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:35 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (7.0ms) + Rendered tasks/edit.html.erb within layouts/application (10.8ms) +Completed 200 OK in 44ms (Views: 38.4ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/3" for ::1 at 2019-04-13 13:47:57 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"DayoZJlBkEKWlC2ixKniNL45pXVNlSTjsw9Ia4r+qq7LhLcGxHRapSvhIw+pEfDghljwSO3CpVuGGIrzKzAppQ==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy wants to hear from me!!!!"}, "commit"=>"Edit Task", "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:39 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:41 + Task Update (0.6ms) UPDATE "tasks" SET "description" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["description", "Mommy wants to hear from me!!!!"], ["updated_at", "2019-04-13 20:47:57.036912"], ["id", 3]] + ↳ app/controllers/tasks_controller.rb:41 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:41 +Redirected to http://localhost:3000/tasks/3 +Completed 302 Found in 7ms (ActiveRecord: 1.4ms) + + +Started GET "/tasks/3" for ::1 at 2019-04-13 13:47:57 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 21ms (Views: 17.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:47:58 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.3ms) +Completed 200 OK in 34ms (Views: 32.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3/complete" for ::1 at 2019-04-13 13:48:00 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"3"} + Task Load (2.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.9ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 20:48:00.281762"], ["id", 3]] + ↳ app/controllers/tasks_controller.rb:54 +  (5.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 22ms (ActiveRecord: 9.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:48:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 25ms (Views: 22.4ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks/3" for ::1 at 2019-04-13 13:48:01 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.1ms) +Completed 200 OK in 37ms (Views: 33.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:48:12 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 31ms (Views: 25.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3/incomplete" for ::1 at 2019-04-13 13:48:14 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 20:48:14.241085"], ["id", 3]] + ↳ app/controllers/tasks_controller.rb:63 +  (3.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 4.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:48:14 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 27ms (Views: 23.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3" for ::1 at 2019-04-13 13:48:15 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.5ms) +Completed 200 OK in 32ms (Views: 28.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:48:19 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.4ms) +Completed 200 OK in 40ms (Views: 36.9ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/3/complete" for ::1 at 2019-04-13 13:48:25 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"3"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 20:48:25.105885"], ["id", 3]] + ↳ app/controllers/tasks_controller.rb:54 +  (3.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 4.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:48:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 26ms (Views: 23.0ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/3/incomplete" for ::1 at 2019-04-13 13:48:26 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (1.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 20:48:26.026270"], ["id", 3]] + ↳ app/controllers/tasks_controller.rb:63 +  (2.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:48:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 26ms (Views: 22.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3/complete" for ::1 at 2019-04-13 13:48:26 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"3"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.7ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 20:48:26.866433"], ["id", 3]] + ↳ app/controllers/tasks_controller.rb:54 +  (3.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 5.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:48:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 28ms (Views: 25.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3" for ::1 at 2019-04-13 13:48:27 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.2ms) +Completed 200 OK in 37ms (Views: 33.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:48:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.1ms) +Completed 200 OK in 44ms (Views: 39.4ms | ActiveRecord: 1.6ms) + + +Started GET "/tasks/3/incomplete" for ::1 at 2019-04-13 13:48:31 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (1.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 20:48:31.142574"], ["id", 3]] + ↳ app/controllers/tasks_controller.rb:63 +  (3.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 4.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:48:31 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.4ms) +Completed 200 OK in 27ms (Views: 23.5ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/3" for ::1 at 2019-04-13 13:48:32 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (1.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 32ms (Views: 25.3ms | ActiveRecord: 1.7ms) + + +Started GET "/tasks/3/edit" for ::1 at 2019-04-13 13:49:58 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (7.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:35 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.5ms) + Rendered tasks/edit.html.erb within layouts/application (6.7ms) +Completed 200 OK in 43ms (Views: 32.0ms | ActiveRecord: 7.2ms) + + +Started PATCH "/tasks/3" for ::1 at 2019-04-13 13:49:59 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"lgfwXI6gn91LAfYivZhyXrQLg7K4Z7sgjBrmhiVSQr5QL+8+05VVOvZ0+I/QIGCKjGrWjxgwOpi5DSQehJzBtQ==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy wants to hear from me!!!!"}, "commit"=>"Edit Task", "id"=>"3"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:39 +  (2.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:41 +  (0.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:41 +Redirected to http://localhost:3000/tasks/3 +Completed 302 Found in 8ms (ActiveRecord: 3.0ms) + + +Started GET "/tasks/3" for ::1 at 2019-04-13 13:49:59 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 29ms (Views: 26.7ms | ActiveRecord: 0.2ms) + + +Started DELETE "/tasks/3" for ::1 at 2019-04-13 13:50:43 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"pAlSuw6C6Cr9oRy2pZbM1kyO6Hv3aAawGPhn8svdXSIuKFR6kd9uyW2Dn7NOkaC9KbvYlbV1dJbNSf/dqY2hdg==", "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:69 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:74 + Task Destroy (0.7ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 3]] + ↳ app/controllers/tasks_controller.rb:74 +  (0.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:74 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 1.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 13:50:43 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 21ms (Views: 18.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:05:38 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (12.7ms) +Completed 200 OK in 50ms (Views: 37.6ms | ActiveRecord: 3.6ms) + + +Started GET "//" for ::1 at 2019-04-13 14:05:42 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 24ms (Views: 21.7ms | ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2019-04-13 14:05:44 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 35ms (Views: 31.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-13 14:05:49 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (1.9ms) + Rendered tasks/new.html.erb within layouts/application (4.2ms) +Completed 200 OK in 41ms (Views: 21.1ms | ActiveRecord: 8.5ms) + + +Started POST "/tasks" for ::1 at 2019-04-13 14:05:56 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"fMdi+lC5N8IamLOY5qplkWB9JCmsWTahqU5SceD3sbH+lBBSmOE/eCeY1PrbPyLi5jz9aByJvkHRXDGNUIpCiQ==", "task"=>{"name"=>"Call Ma", "description"=>"Mommy wants to hear from me"}, "commit"=>"Add Task"} +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:25 + Task Create (2.4ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Call Ma"], ["description", "Mommy wants to hear from me"], ["created_at", "2019-04-13 21:05:56.472799"], ["updated_at", "2019-04-13 21:05:56.472799"]] + ↳ app/controllers/tasks_controller.rb:25 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:25 +Redirected to http://localhost:3000/tasks/4 +Completed 302 Found in 9ms (ActiveRecord: 3.1ms) + + +Started GET "/tasks/4" for ::1 at 2019-04-13 14:05:56 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"4"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 23ms (Views: 17.6ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:06:08 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (2.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.4ms) +Completed 200 OK in 33ms (Views: 27.3ms | ActiveRecord: 2.5ms) + + +Started GET "/tasks/4" for ::1 at 2019-04-13 14:06:11 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"4"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 34ms (Views: 28.9ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:06:13 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.7ms) +Completed 200 OK in 31ms (Views: 26.7ms | ActiveRecord: 1.6ms) + + +Started GET "/tasks/4/incomplete" for ::1 at 2019-04-13 14:06:15 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"4"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (0.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:06:15.769070"], ["id", 4]] + ↳ app/controllers/tasks_controller.rb:63 +  (0.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 1.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:06:15 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 26ms (Views: 22.4ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/4" for ::1 at 2019-04-13 14:06:17 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"4"} + Task Load (5.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.9ms) +Completed 200 OK in 43ms (Views: 33.0ms | ActiveRecord: 5.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:06:18 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.4ms) +Completed 200 OK in 36ms (Views: 32.3ms | ActiveRecord: 1.0ms) + + +Started DELETE "/tasks/4" for ::1 at 2019-04-13 14:06:22 -0700 + +ActionController::RoutingError (No route matches [DELETE] "/tasks/4"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/" for ::1 at 2019-04-13 14:06:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.9ms) +Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.3ms) + + + +NoMethodError - undefined method `name' for nil:NilClass: + app/views/tasks/index.html.erb:20:in `block in _app_views_tasks_index_html_erb___992673827646867713_70327667971640' + app/views/tasks/index.html.erb:10:in `_app_views_tasks_index_html_erb___992673827646867713_70327667971640' + +Started POST "/__better_errors/7bdde8657f878b90/variables" for ::1 at 2019-04-13 14:06:52 -0700 +Started GET "/" for ::1 at 2019-04-13 14:07:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 23ms (Views: 20.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/4/complete" for ::1 at 2019-04-13 14:07:26 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"4"} + Task Load (7.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (2.9ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (1.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:07:26.251944"], ["id", 4]] + ↳ app/controllers/tasks_controller.rb:54 +  (1.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 18ms (ActiveRecord: 12.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:07:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.7ms) +Completed 200 OK in 26ms (Views: 23.1ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/4/incomplete" for ::1 at 2019-04-13 14:07:26 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"4"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:07:26.977698"], ["id", 4]] + ↳ app/controllers/tasks_controller.rb:63 +  (3.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 4.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:07:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 25ms (Views: 21.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/4/complete" for ::1 at 2019-04-13 14:07:27 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"4"} + Task Load (6.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (2.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:07:27.581136"], ["id", 4]] + ↳ app/controllers/tasks_controller.rb:54 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 9.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14: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" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 23ms (Views: 19.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/4/incomplete" for ::1 at 2019-04-13 14:07:28 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"4"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:07:28.004906"], ["id", 4]] + ↳ app/controllers/tasks_controller.rb:63 +  (6.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 7.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:07:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 28ms (Views: 25.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/4" for ::1 at 2019-04-13 14:07:28 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"4"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 35ms (Views: 30.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:07:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.1ms) +Completed 200 OK in 48ms (Views: 44.2ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks/4/complete" for ::1 at 2019-04-13 14:07:30 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"4"} + Task Load (3.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (2.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:07:30.931052"], ["id", 4]] + ↳ app/controllers/tasks_controller.rb:54 +  (2.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 8.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:07:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.8ms) +Completed 200 OK in 27ms (Views: 23.8ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/4" for ::1 at 2019-04-13 14:07:31 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"4"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.5ms) +Completed 200 OK in 37ms (Views: 33.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:07:33 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.2ms) +Completed 200 OK in 41ms (Views: 36.0ms | ActiveRecord: 1.3ms) + + +Started GET "/tasks/4/verify" for ::1 at 2019-04-13 14:07:34 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"4"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:80 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (1.0ms) +Completed 200 OK in 52ms (Views: 46.7ms | ActiveRecord: 0.2ms) + + +Started DELETE "/tasks/4" for ::1 at 2019-04-13 14:07:37 -0700 + +ActionController::RoutingError (No route matches [DELETE] "/tasks/4"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/4" for ::1 at 2019-04-13 14:07:54 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"4"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 31ms (Views: 15.9ms | ActiveRecord: 4.1ms) + + +Started GET "/tasks/4/verify" for ::1 at 2019-04-13 14:07:56 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"4"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:80 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (0.8ms) +Completed 200 OK in 38ms (Views: 32.7ms | ActiveRecord: 0.2ms) + + +Started DELETE "/tasks/4" for ::1 at 2019-04-13 14:07:57 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"2a65zs6/dEkONM+IPdF6jzWpfNKLPvxdKg0RAPlcPMZTj78PUeLyqp4WTI3W1hbkUJxMPMkjjnv/vIkvmwzAkg==", "id"=>"4"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:69 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:74 + Task Destroy (0.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 4]] + ↳ app/controllers/tasks_controller.rb:74 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:74 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 1.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:07:57 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 21ms (Views: 18.4ms | ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2019-04-13 14:09:12 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.5ms) +Completed 200 OK in 27ms (Views: 22.4ms | ActiveRecord: 1.8ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-13 14:09:14 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (3.1ms) + Rendered tasks/new.html.erb within layouts/application (5.5ms) +Completed 200 OK in 39ms (Views: 22.5ms | ActiveRecord: 3.5ms) + + +Started POST "/tasks" for ::1 at 2019-04-13 14:09:23 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"i77ItRqypFtJpUQpmRr9iehvVFLR3A1IH4OPh0b5H6IJ7bod0uqs4XSlI0ukj7r6bi6NE2EMhahnkex79oTsmg==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy wants to hear from me"}, "commit"=>"Add Task"} +  (0.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:25 + Task Create (0.5ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Call Mom"], ["description", "Mommy wants to hear from me"], ["created_at", "2019-04-13 21:09:23.683979"], ["updated_at", "2019-04-13 21:09:23.683979"]] + ↳ app/controllers/tasks_controller.rb:25 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:25 +Redirected to http://localhost:3000/tasks/5 +Completed 302 Found in 7ms (ActiveRecord: 1.3ms) + + +Started GET "/tasks/5" for ::1 at 2019-04-13 14:09:23 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"5"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 32ms (Views: 27.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/5" for ::1 at 2019-04-13 14:11:54 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"5"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (11.6ms) +Completed 500 Internal Server Error in 19ms (ActiveRecord: 0.2ms) + + + +NoMethodError - undefined method `completed=' for # +Did you mean? completed_at= + completed_at: + app/views/tasks/show.html.erb:11:in `_app_views_tasks_show_html_erb__3656784423932290918_70327677766660' + +Started POST "/__better_errors/95ddb8969c583943/variables" for ::1 at 2019-04-13 14:11:54 -0700 +Started GET "/tasks/5" for ::1 at 2019-04-13 14:12:05 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"5"} + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 33ms (Views: 27.1ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks/5" for ::1 at 2019-04-13 14:12:31 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"5"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 24ms (Views: 20.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:12:33 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (7.0ms) +Completed 200 OK in 38ms (Views: 28.5ms | ActiveRecord: 1.4ms) + + +Started GET "/tasks/5/incomplete" for ::1 at 2019-04-13 14:12:35 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"5"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:12:35.703234"], ["id", 5]] + ↳ app/controllers/tasks_controller.rb:63 +  (1.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 2.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:12:35 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 28ms (Views: 22.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/5/complete" for ::1 at 2019-04-13 14:12:37 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"5"} + Task Load (1.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.9ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (1.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:12:37.024793"], ["id", 5]] + ↳ app/controllers/tasks_controller.rb:54 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:12:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 24ms (Views: 21.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/5" for ::1 at 2019-04-13 14:12:37 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"5"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 32ms (Views: 28.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:12:38 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.2ms) +Completed 200 OK in 34ms (Views: 29.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/5/incomplete" for ::1 at 2019-04-13 14:12:39 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"5"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:12:39.690719"], ["id", 5]] + ↳ app/controllers/tasks_controller.rb:63 +  (3.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:12:39 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 22ms (Views: 19.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/5" for ::1 at 2019-04-13 14:12:40 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"5"} + Task Load (6.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.4ms) +Completed 200 OK in 41ms (Views: 30.4ms | ActiveRecord: 6.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:12:41 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 36ms (Views: 33.8ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/5/complete" for ::1 at 2019-04-13 14:12:42 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"5"} + Task Load (2.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:12:42.278387"], ["id", 5]] + ↳ app/controllers/tasks_controller.rb:54 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 3.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:12:42 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 29ms (Views: 24.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/5" for ::1 at 2019-04-13 14:12:43 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"5"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 36ms (Views: 32.4ms | ActiveRecord: 0.2ms) + + +Started GET "/" for ::1 at 2019-04-13 14: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" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (10.0ms) +Completed 200 OK in 39ms (Views: 30.6ms | ActiveRecord: 2.5ms) + + +Started GET "/" for ::1 at 2019-04-13 14:13:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 22ms (Views: 19.0ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/5/incomplete" for ::1 at 2019-04-13 14:13:29 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"5"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (3.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:13:29.397003"], ["id", 5]] + ↳ app/controllers/tasks_controller.rb:63 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 5.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:13:29 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.4ms) +Completed 200 OK in 26ms (Views: 22.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/5/complete" for ::1 at 2019-04-13 14:13:30 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"5"} + Task Load (2.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.0ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:13:30.619368"], ["id", 5]] + ↳ app/controllers/tasks_controller.rb:54 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:13:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 24ms (Views: 21.1ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/5/incomplete" for ::1 at 2019-04-13 14:13:31 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"5"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (2.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:13:31.081504"], ["id", 5]] + ↳ app/controllers/tasks_controller.rb:63 +  (3.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 6.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:13:31 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 31ms (Views: 27.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/5/verify" for ::1 at 2019-04-13 14:13:32 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"5"} + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:80 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (1.0ms) +Completed 200 OK in 29ms (Views: 21.7ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:13:33 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 35ms (Views: 32.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/5/verify" for ::1 at 2019-04-13 14:13:35 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"5"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:80 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (1.8ms) +Completed 200 OK in 33ms (Views: 28.5ms | ActiveRecord: 0.9ms) + + +Started DELETE "/tasks/5" for ::1 at 2019-04-13 14:13:35 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"qXMaEC3wMjkx94ryERe3qtcu+oaclMoGqC8yqwMCZSsjUhzRsq202qHVCff6ENvBshvKaN6JuCB9nqqEYVKZfw==", "id"=>"5"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:69 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:74 + Task Destroy (0.4ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 5]] + ↳ app/controllers/tasks_controller.rb:74 +  (0.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:74 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 1.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:13:35 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 21ms (Views: 19.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-13 14:13:37 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (3.2ms) + Rendered tasks/new.html.erb within layouts/application (6.5ms) +Completed 200 OK in 31ms (Views: 27.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:13:43 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 24ms (Views: 20.9ms | ActiveRecord: 0.3ms) + + +  (2.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (6.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (7595.4ms) DROP DATABASE IF EXISTS "TaskList_development" + ↳ bin/rails:9 +  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (233.7ms) DROP DATABASE IF EXISTS "TaskList_development" + ↳ bin/rails:9 +  (217.3ms) DROP DATABASE IF EXISTS "TaskList_test" + ↳ bin/rails:9 +  (486.0ms) CREATE DATABASE "TaskList_development" ENCODING = 'unicode' + ↳ bin/rails:9 +  (430.5ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + ↳ bin/rails:9 + SQL (1.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (1.0ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (15.2ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) + ↳ db/schema.rb:18 +  (4.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) + ↳ db/schema.rb:13 +  (4.7ms) 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) + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ db/schema.rb:13 +  (0.2ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-04-13 21:14:30.482688"], ["updated_at", "2019-04-13 21:14:30.482688"]] + ↳ db/schema.rb:13 +  (0.4ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.2ms) BEGIN + ↳ bin/rails:9 +  (0.1ms) COMMIT + ↳ bin/rails:9 + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (7.1ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) + ↳ db/schema.rb:18 +  (3.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) + ↳ db/schema.rb:13 +  (2.3ms) 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) + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ db/schema.rb:13 +  (0.1ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (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", "2019-04-13 21:14:30.531218"], ["updated_at", "2019-04-13 21:14:30.531218"]] + ↳ db/schema.rb:13 +  (0.3ms) COMMIT + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 + ActiveRecord::InternalMetadata Update (0.3ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2019-04-13 21:14:30.535009"], ["key", "environment"]] + ↳ bin/rails:9 +  (0.3ms) COMMIT + ↳ bin/rails:9 +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 From eeacdc632c5d52daa0a6c83e9ac3aa811c2eb522 Mon Sep 17 00:00:00 2001 From: Jillianne Ramirez Date: Sat, 13 Apr 2019 14:46:02 -0700 Subject: [PATCH 10/23] corrected incomplete variable naming --- app/controllers/tasks_controller.rb | 2 +- app/views/tasks/index.html.erb | 23 +- app/views/tasks/show.html.erb | 2 +- app/views/tasks/verify.html.erb | 3 +- config/routes.rb | 4 +- log/development.log | 1706 +++++++++++++++++++++++++++ 6 files changed, 1714 insertions(+), 26 deletions(-) diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb index 9a445e5eb..487b074e9 100644 --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -56,7 +56,7 @@ def mark_complete end end - def unmark_complete + def mark_incomplete task = Task.find_by(id: params[:id]) if task.completed_at = "Complete" task.completed_at = "Incomplete" diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb index 0bd7e3748..9a836e6fe 100644 --- a/app/views/tasks/index.html.erb +++ b/app/views/tasks/index.html.erb @@ -15,7 +15,7 @@ <%= task.completed_at %> <% end %> <%= link_to "Mark Complete", mark_complete_path(task.id) %> - <%= link_to "Unmark Complete", unmark_complete_path(task.id) %> + <%= link_to "Mark Incomplete", mark_incomplete_path(task.id) %> <%= link_to "Show", task_path(task.id) %> <%= link_to "Delete #{task.name}", verify_path(task.id) %>
@@ -24,23 +24,4 @@ <%= link_to "Add New Task", new_task_path %>

<%= image_tag "tasklist.jpg", alt: "Stock image of to-do list with pen and coffee" %> - - - - -<%# -table { - font-family: arial, sans-serif; - border-collapse: collapse; - width: 100%; -} - -td, th { - border: 1px solid #dddddd; - text-align: left; - padding: 8px; -} - -tr:nth-child(even) { - background-color: #dddddd; -} %> \ No newline at end of file + \ No newline at end of file diff --git a/app/views/tasks/show.html.erb b/app/views/tasks/show.html.erb index 7a79498be..8efdd3881 100644 --- a/app/views/tasks/show.html.erb +++ b/app/views/tasks/show.html.erb @@ -17,4 +17,4 @@ <%= link_to "Edit #{@task.name}", edit_task_path(@task.id) %> <%= link_to "Back to All Tasks", tasks_path %> -<%= link_to "Delete #{@task.name}", verify_path(@task.id) %>x \ No newline at end of file +<%= link_to "Delete #{@task.name}", verify_path(@task.id) %> \ No newline at end of file diff --git a/app/views/tasks/verify.html.erb b/app/views/tasks/verify.html.erb index 375235c1f..2cddb1f6b 100644 --- a/app/views/tasks/verify.html.erb +++ b/app/views/tasks/verify.html.erb @@ -1,3 +1,4 @@ -

Are you sure you want to delete <%=@task.name%>?

+

You chose to delete <%=@task.name%>

+

Are you sure?

<%= link_to "Nevermind", tasks_path %> <%= link_to "Delete #{@task.name}", task_path(@task.id), method: :delete %> \ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index 22d08538d..d30e2437c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -14,8 +14,8 @@ get '/tasks/:id/complete', to: 'tasks#mark_complete', as: 'mark_complete' patch '/tasks/:id/complete', to: 'tasks#mark_complete' - get '/tasks/:id/incomplete', to: 'tasks#unmark_complete', as: 'unmark_complete' - patch '/tasks/:id/incomplete', to: 'tasks#unmark_complete' + get '/tasks/:id/incomplete', to: 'tasks#mark_incomplete', as: 'mark_incomplete' + patch '/tasks/:id/incomplete', to: 'tasks#mark_incomplete' get '/tasks/:id/verify', to: 'tasks#verify', as: 'verify' delete '/tasks/:id/', to: 'tasks#destroy' diff --git a/log/development.log b/log/development.log index c16e2b77e..b57c4eb18 100644 --- a/log/development.log +++ b/log/development.log @@ -10949,3 +10949,1709 @@ Completed 200 OK in 24ms (Views: 20.9ms | ActiveRecord: 0.3ms) ↳ bin/rails:9  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:9 +Started GET "/" for ::1 at 2019-04-13 14:20:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (2.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (209.0ms) +Completed 200 OK in 306ms (Views: 227.9ms | ActiveRecord: 16.8ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-13 14:20:34 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (13.7ms) + Rendered tasks/new.html.erb within layouts/application (17.3ms) +Completed 200 OK in 56ms (Views: 33.3ms | ActiveRecord: 12.1ms) + + +Started POST "/tasks" for ::1 at 2019-04-13 14:20:40 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"CBBoB13dluDdueIYnWny3ftD09U78qF54HQWUkhblFaKQxqvlYWeWuC5hXqg/LWufQIKlIsiKZmYZnWu+CZnbg==", "task"=>{"name"=>"Call Ma", "description"=>"Mommy wants to hear from me"}, "commit"=>"Add Task"} +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:25 + Task Create (1.1ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Call Ma"], ["description", "Mommy wants to hear from me"], ["created_at", "2019-04-13 21:20:40.530976"], ["updated_at", "2019-04-13 21:20:40.530976"]] + ↳ app/controllers/tasks_controller.rb:25 +  (0.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:25 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 7ms (ActiveRecord: 2.1ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 14:20:40 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 24ms (Views: 18.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:20:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.4ms) +Completed 200 OK in 37ms (Views: 31.9ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:20:53 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (4.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (3.8ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:20:53.131092"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 15ms (ActiveRecord: 8.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:20:53 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.0ms) +Completed 200 OK in 27ms (Views: 23.9ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:20:55 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:20:55.763022"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (6.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 16ms (ActiveRecord: 10.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:20:55 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 26ms (Views: 23.5ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:20:56 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:20:56.319875"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 3.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:20:56 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 25ms (Views: 21.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:20:56 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (3.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:20:56.676807"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (3.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 15ms (ActiveRecord: 7.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:20:56 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 25ms (Views: 22.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:20:57 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (4.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:20:57.042153"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 7.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:20:57 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.3ms) +Completed 200 OK in 23ms (Views: 19.9ms | ActiveRecord: 1.5ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:20:57 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (2.8ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:20:57.349013"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 7.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:20:57 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 25ms (Views: 22.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:20:57 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (15.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.7ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:20:57.710759"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (5.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 29ms (ActiveRecord: 22.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:20:57 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 22ms (Views: 18.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:21:00 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 +  (0.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 1.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:21:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 25ms (Views: 23.1ms | ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2019-04-13 14:24:29 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (12.0ms) +Completed 200 OK in 36ms (Views: 28.7ms | ActiveRecord: 4.6ms) + + +Started GET "/" for ::1 at 2019-04-13 14:29:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (9.3ms) +Completed 200 OK in 26ms (Views: 20.7ms | ActiveRecord: 2.8ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:29:29 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (1.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:29:29.913967"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (3.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 5.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:29:29 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 25ms (Views: 21.6ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:29:31 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:29:31.827527"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (1.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 3.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:29:31 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 25ms (Views: 21.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:29:32 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.6ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (3.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:29:32.765597"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (1.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:29:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 24ms (Views: 20.0ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 14:29:33 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (3.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.3ms) +Completed 200 OK in 32ms (Views: 25.2ms | ActiveRecord: 3.0ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 14:31:54 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 21ms (Views: 17.9ms | ActiveRecord: 0.2ms) + + +Started GET "/" for ::1 at 2019-04-13 14:31:58 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 30ms (Views: 26.9ms | ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2019-04-13 14:38:03 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (15.2ms) +Completed 200 OK in 47ms (Views: 34.5ms | ActiveRecord: 5.5ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:38:05 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 +  (0.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 17ms (ActiveRecord: 8.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:38:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 23ms (Views: 20.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:38:06 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (2.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:38:06.199025"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (1.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:38:06 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 25ms (Views: 21.3ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:38:07 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:38:07.152711"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (2.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 6.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:38:07 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 23ms (Views: 20.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:38:07 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (8.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:38:07.745368"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 10.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:38:07 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 22ms (Views: 19.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:38:08 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (5.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:38:08.266965"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 8.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:38:08 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 32ms (Views: 29.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:38:08 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (2.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:38:08.835992"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (5.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 8.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:38:08 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 27ms (Views: 23.0ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:38:09 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (1.8ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:38:09.276901"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 4.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:38:09 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 24ms (Views: 21.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:38:09 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (2.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:38:09.792113"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (2.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 5.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:38:09 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 25ms (Views: 21.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:38:10 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (0.7ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:38:10.294172"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (2.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 7.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:38:10 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 26ms (Views: 22.9ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:38:10 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:38:10.730064"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (9.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 10.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:38:10 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 25ms (Views: 21.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/verify" for ::1 at 2019-04-13 14:38:14 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"1"} + Task Load (1.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:80 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (1.0ms) +Completed 200 OK in 34ms (Views: 27.4ms | ActiveRecord: 1.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:38:15 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (2.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (7.1ms) +Completed 200 OK in 39ms (Views: 31.5ms | ActiveRecord: 2.2ms) + + +Started GET "/tasks/1/verify" for ::1 at 2019-04-13 14:38:16 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"1"} + Task Load (2.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:80 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (0.9ms) +Completed 200 OK in 44ms (Views: 37.5ms | ActiveRecord: 2.5ms) + + +Started GET "/tasks/1/verify" for ::1 at 2019-04-13 14:38:41 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:80 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (0.6ms) +Completed 200 OK in 22ms (Views: 18.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/verify" for ::1 at 2019-04-13 14:40:14 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:80 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (0.7ms) +Completed 200 OK in 30ms (Views: 26.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/verify" for ::1 at 2019-04-13 14:40:27 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:80 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (0.5ms) +Completed 200 OK in 24ms (Views: 20.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/verify" for ::1 at 2019-04-13 14:40:51 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:80 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (0.6ms) +Completed 200 OK in 21ms (Views: 18.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:41:01 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (12.7ms) +Completed 200 OK in 38ms (Views: 29.9ms | ActiveRecord: 2.7ms) + + +Started GET "/" for ::1 at 2019-04-13 14:41:06 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.9ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.1ms) +Completed 200 OK in 41ms (Views: 35.9ms | ActiveRecord: 1.9ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:41:10 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:41:10.235539"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (0.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 17ms (ActiveRecord: 1.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:41:10 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 22ms (Views: 19.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:41:10 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (2.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:41:10.913573"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (0.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 3.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:41:10 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 28ms (Views: 24.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:42:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (10.9ms) +Completed 200 OK in 45ms (Views: 37.8ms | ActiveRecord: 2.8ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:42:32 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (1.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:42:32.282911"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (0.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 4.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:42:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 24ms (Views: 21.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:42:32 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (2.8ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:42:32.738331"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (0.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 3.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:42:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 28ms (Views: 23.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:42:33 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (1.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:42:33.217284"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 6.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:42:33 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 30ms (Views: 26.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:42:33 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:42:33.930128"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (2.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 3.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:42:33 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 28ms (Views: 23.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:42:34 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (0.7ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:42:34.338995"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:42:34 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.5ms) +Completed 200 OK in 23ms (Views: 20.3ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:42:34 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (1.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:42:34.991917"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:42:35 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 27ms (Views: 24.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:42:35 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:42:35.573262"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (2.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 6.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:42:35 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.4ms) +Completed 200 OK in 24ms (Views: 21.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:42:36 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (1.7ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:42:36.249757"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (2.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 4.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:42:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 31ms (Views: 25.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:42:37 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (5.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (1.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:42:37.780767"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 15ms (ActiveRecord: 10.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:42:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 28ms (Views: 25.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:42:39 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:42:39.141085"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 3.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:42:39 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 28ms (Views: 24.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:42:41 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (3.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:42:41.938318"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:42:41 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 22ms (Views: 19.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:42:47 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (2.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:42:47.530426"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 4.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:42:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 30ms (Views: 26.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:42:49 -0700 +Processing by TasksController#unmark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.6ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (1.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:42:49.721358"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 4.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:42:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.8ms) +Completed 200 OK in 26ms (Views: 22.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:43:46 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (11.2ms) +Completed 200 OK in 50ms (Views: 41.1ms | ActiveRecord: 3.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:43:50 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (3.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:43:50.071791"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 5.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:43:50 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 26ms (Views: 23.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:43:57 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 25ms (Views: 21.8ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:43:59 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 +  (0.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 2.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:43:59 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 27ms (Views: 23.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:43:59 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.0ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (0.7ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:43:59.927206"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 2.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:43:59 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 27ms (Views: 23.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:44:02 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (5.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.9ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.7ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:44:02.837239"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (3.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 15ms (ActiveRecord: 9.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:44:02 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 27ms (Views: 23.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:44:03 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (2.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:44:03.956074"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:44:03 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 31ms (Views: 26.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:44:04 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:44:04.435748"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 5.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:44:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 30ms (Views: 22.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:44:04 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (1.7ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:44:04.927364"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (4.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 6.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:44:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.2ms) +Completed 200 OK in 29ms (Views: 25.6ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:44:05 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:44:05.489349"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 3.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:44:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 27ms (Views: 24.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:44:05 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (1.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:44:05.928199"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (5.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 7.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:44:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.0ms) +Completed 200 OK in 25ms (Views: 21.9ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:44:06 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (6.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (1.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:44:06.681383"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 9.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:44:06 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 24ms (Views: 20.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:44:07 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.9ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (0.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:44:07.550209"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (4.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:44:07 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.6ms) +Completed 200 OK in 28ms (Views: 25.2ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:44:08 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (1.9ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:44:08.214858"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (1.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:44:08 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (11.3ms) +Completed 200 OK in 30ms (Views: 27.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:44:08 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (7.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:44:08.969934"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 8.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:44:08 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 26ms (Views: 22.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 14:44:09 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.4ms) +Completed 200 OK in 35ms (Views: 29.6ms | ActiveRecord: 0.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:44:12 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.2ms) +Completed 200 OK in 43ms (Views: 38.7ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1/verify" for ::1 at 2019-04-13 14:44:13 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:80 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (1.1ms) +Completed 200 OK in 32ms (Views: 28.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:44:14 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.0ms) +Completed 200 OK in 40ms (Views: 36.8ms | ActiveRecord: 1.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:44:15 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 26ms (Views: 23.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:44:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 20ms (Views: 18.5ms | ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2019-04-13 14:44:59 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 24ms (Views: 21.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:45:01 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 +  (2.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 2.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:45:01 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 26ms (Views: 22.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:45:01 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.9ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:45:01.773094"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 4.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:45:01 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 22ms (Views: 19.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:45:02 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (1.1ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:45:02.209884"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (6.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 7.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:45:02 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 22ms (Views: 20.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:45:02 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (5.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (0.7ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:45:02.604054"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (6.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 18ms (ActiveRecord: 12.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:45:02 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 26ms (Views: 22.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:45:02 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (2.7ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:45:02.979042"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (4.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 7.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:45:02 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 32ms (Views: 28.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:45:03 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.0ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (1.9ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:45:03.366840"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (3.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 8.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:45:03 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.3ms) +Completed 200 OK in 25ms (Views: 22.4ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:45:03 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (5.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:45:03.711668"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (3.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 9.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:45:03 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 30ms (Views: 26.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:45:04 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (3.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (10.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:54 + Task Update (2.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:45:04.072481"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:54 +  (10.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:54 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 32ms (ActiveRecord: 26.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:45:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 23ms (Views: 20.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 14:45:04 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (11.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:63 + Task Update (6.8ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 21:45:04.401801"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:63 +  (7.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:63 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 31ms (ActiveRecord: 26.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:45:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 23ms (Views: 19.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 14:45:05 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 33ms (Views: 28.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:45:06 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.7ms) +Completed 200 OK in 41ms (Views: 37.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/verify" for ::1 at 2019-04-13 14:45:07 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:80 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (0.7ms) +Completed 200 OK in 28ms (Views: 23.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:45:11 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (3.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (7.5ms) +Completed 200 OK in 43ms (Views: 33.6ms | ActiveRecord: 3.5ms) + + From 6ed7ed8e712dd17c26a034c8db2642fe7144ef9a Mon Sep 17 00:00:00 2001 From: Jillianne Ramirez Date: Sat, 13 Apr 2019 15:07:45 -0700 Subject: [PATCH 11/23] corrected completion date and show functionality --- app/controllers/tasks_controller.rb | 1 + app/views/tasks/show.html.erb | 7 + log/development.log | 540 ++++++++++++++++++++++++++++ 3 files changed, 548 insertions(+) diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb index 487b074e9..353be3764 100644 --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -51,6 +51,7 @@ def mark_complete task = Task.find_by(id: params[:id]) if task.completed_at = "Incomplete" task.completed_at = "Complete" + task.completion_date = Time.now task.save redirect_to tasks_path end diff --git a/app/views/tasks/show.html.erb b/app/views/tasks/show.html.erb index 8efdd3881..d3fda3452 100644 --- a/app/views/tasks/show.html.erb +++ b/app/views/tasks/show.html.erb @@ -1,3 +1,5 @@ +<% Time.zone = "Pacific Time (US & Canada)" %> +

Task: <%= @task.name %>

@@ -15,6 +17,11 @@ <% end %> +<% if @task.completed_at == "Complete" %> +

Completion Time: <%=@task.completion_date %>

+<% end %> + + <%= link_to "Edit #{@task.name}", edit_task_path(@task.id) %> <%= link_to "Back to All Tasks", tasks_path %> <%= link_to "Delete #{@task.name}", verify_path(@task.id) %> \ No newline at end of file diff --git a/log/development.log b/log/development.log index b57c4eb18..704d28e65 100644 --- a/log/development.log +++ b/log/development.log @@ -12655,3 +12655,543 @@ Processing by TasksController#index as HTML Completed 200 OK in 43ms (Views: 33.6ms | ActiveRecord: 3.5ms) +Started GET "/" for ::1 at 2019-04-13 14:59:21 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (189.7ms) +Completed 200 OK in 272ms (Views: 217.9ms | ActiveRecord: 6.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 14:59:27 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.5ms) +Completed 500 Internal Server Error in 24ms (ActiveRecord: 4.6ms) + + + +SyntaxError - syntax error, unexpected keyword_ensure, expecting keyword_end + ensure + ^~~~~~ +/Users/jillianne.ramirez/Ada/rails/TaskList/app/views/tasks/show.html.erb:30: syntax error, unexpected end-of-input, expecting keyword_end + end + ^: + app/views/tasks/show.html.erb:28:in `' + +Started POST "/__better_errors/a0162ee8c31927f6/variables" for ::1 at 2019-04-13 14:59:27 -0700 +Started GET "/tasks/1" for ::1 at 2019-04-13 14:59:46 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (3.6ms) +Completed 200 OK in 27ms (Views: 24.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:59:51 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.5ms) +Completed 200 OK in 34ms (Views: 30.0ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 14:59:53 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:55 + Task Update (5.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 21:59:53.151233"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:55 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 7.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 14:59:53 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 27ms (Views: 24.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 14:59:54 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (2.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.2ms) +Completed 200 OK in 32ms (Views: 25.7ms | ActiveRecord: 2.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 15:00:11 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (8.9ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (14.4ms) +Completed 200 OK in 51ms (Views: 35.1ms | ActiveRecord: 8.9ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 15:00:15 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (1.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.3ms) +Completed 200 OK in 31ms (Views: 26.4ms | ActiveRecord: 1.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 15:00:22 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (27.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (30.8ms) +Completed 200 OK in 66ms (Views: 33.7ms | ActiveRecord: 27.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 15:00:45 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (3.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:61 +  (1.0ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 22:00:45.376661"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (3.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 8.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 15:00:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 25ms (Views: 21.4ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 15:00:46 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 32ms (Views: 27.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 15:00:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (7.3ms) +Completed 200 OK in 35ms (Views: 30.5ms | ActiveRecord: 1.2ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 15:00:48 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:55 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-13 22:00:48.458789"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:55 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 15:00:48 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 22ms (Views: 19.0ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 15:00:49 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.6ms) +Completed 200 OK in 34ms (Views: 29.2ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-13 15:00:54 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (6.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:35 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (22.9ms) + Rendered tasks/edit.html.erb within layouts/application (26.9ms) +Completed 200 OK in 57ms (Views: 44.8ms | ActiveRecord: 6.3ms) + + +Started PATCH "/tasks/1" for ::1 at 2019-04-13 15:00:57 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"6w7xMYxaqmZb34UV6Ds7Uy4aY6idp6qivb2CwIVpqjnXVa6G5aCXryRRaSz0C9sVkaPZV5tZ7BA8X6tc0LON6g==", "task"=>{"name"=>"Call Ma", "description"=>"Mommy wants to hear from me"}, "commit"=>"Edit Task", "id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:39 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:41 +  (0.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:41 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 5ms (ActiveRecord: 0.6ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 15:00:57 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 20ms (Views: 17.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-13 15:01:09 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (23.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:35 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.2ms) + Rendered tasks/edit.html.erb within layouts/application (5.1ms) +Completed 200 OK in 58ms (Views: 30.6ms | ActiveRecord: 23.2ms) + + +Started PATCH "/tasks/1" for ::1 at 2019-04-13 15:01:10 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"a697DVXHLilxH8JKujhOtFtomt/YF6GzfPIBDqHBwgtX9CS6PD0T4A6RLnOmCK7y5NEgIN7p5wH9ECiS9Bvl2A==", "task"=>{"name"=>"Call Ma", "description"=>"Mommy wants to hear from me"}, "commit"=>"Edit Task", "id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:39 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:41 +  (0.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:41 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 5ms (ActiveRecord: 0.8ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 15:01:10 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 20ms (Views: 17.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-13 15:01:14 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:35 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.7ms) + Rendered tasks/edit.html.erb within layouts/application (6.1ms) +Completed 200 OK in 38ms (Views: 33.6ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1" for ::1 at 2019-04-13 15:01:17 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"z2BUai3/NQq95Rz4mrmRfdb5halh2p4dWIymmIV3FHPzOwvdRAUIw8Jr8MGGiXE7aUA/Vmck2K/Zbo8E0K0zoA==", "task"=>{"name"=>"Call Ma", "description"=>"Mommy wasdfnts to hear from me"}, "commit"=>"Edit Task", "id"=>"1"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:39 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:41 + Task Update (0.6ms) UPDATE "tasks" SET "description" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["description", "Mommy wasdfnts to hear from me"], ["updated_at", "2019-04-13 22:01:17.211224"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:41 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:41 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 8ms (ActiveRecord: 2.1ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 15:01:17 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 24ms (Views: 20.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-13 15:01:40 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:35 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (4.0ms) + Rendered tasks/edit.html.erb within layouts/application (6.7ms) +Completed 200 OK in 37ms (Views: 32.4ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1" for ::1 at 2019-04-13 15:01:45 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"rtfcnUae8jNtnonUWIVCsMuQBQpGOXMY/hFO5hHiQRmSjIMqL2TP+hIQZe1EtaL2dCm/9UDHNap/82d6RDhmyg==", "task"=>{"name"=>"Call Ma", "description"=>"Mommy wants to hear from me"}, "commit"=>"Edit Task", "id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:39 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:41 + Task Update (0.4ms) UPDATE "tasks" SET "description" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["description", "Mommy wants to hear from me"], ["updated_at", "2019-04-13 22:01:45.663769"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:41 +  (0.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:41 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 6ms (ActiveRecord: 1.5ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 15:01:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 21ms (Views: 17.7ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 15:01:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.0ms) +Completed 200 OK in 34ms (Views: 30.0ms | ActiveRecord: 1.1ms) + + +  (2.9ms) SELECT pg_try_advisory_lock(4169262226251541860) + ↳ bin/rails:9 +  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +Migrating to AddCompletionDate (20190413220349) +  (0.2ms) BEGIN + ↳ bin/rails:9 +  (11.2ms) ALTER TABLE "tasks" ADD "completion_date" character varying + ↳ db/migrate/20190413220349_add_completion_date.rb:3 +  (0.3ms) ROLLBACK + ↳ bin/rails:9 +  (0.4ms) SELECT pg_advisory_unlock(4169262226251541860) + ↳ bin/rails:9 +Started GET "/" for ::1 at 2019-04-13 15:06:08 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (197.2ms) +Completed 200 OK in 281ms (Views: 225.9ms | ActiveRecord: 7.5ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 15:06:10 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (3.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:55 + Task Update (6.6ms) UPDATE "tasks" SET "completion_date" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completion_date", "2019-04-13 15:06:10 -0700"], ["updated_at", "2019-04-13 22:06:10.270172"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:55 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 21ms (ActiveRecord: 12.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 15:06:10 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 29ms (Views: 24.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 15:06:11 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (2.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:61 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-13 22:06:11.193536"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (0.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 4.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 15:06:11 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 23ms (Views: 20.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 15:06:12 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (5.1ms) +Completed 200 OK in 34ms (Views: 28.3ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 15:06:14 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 23ms (Views: 19.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 15:06:15 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:55 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 15:06:15 -0700"], ["updated_at", "2019-04-13 22:06:15.011212"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (6.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:55 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 15:06:15 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.5ms) +Completed 200 OK in 28ms (Views: 24.5ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 15:06:15 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (1.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.3ms) +Completed 200 OK in 30ms (Views: 25.0ms | ActiveRecord: 1.3ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-13 15:06:18 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (3.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:35 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (12.8ms) + Rendered tasks/edit.html.erb within layouts/application (16.6ms) +Completed 200 OK in 47ms (Views: 38.1ms | ActiveRecord: 3.2ms) + + +Started PATCH "/tasks/1" for ::1 at 2019-04-13 15:06:20 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"C7AUWwpTqeygr7jkMKFYBnlSKOJvYO6sEAxSaWylHX8360vsY6mUJd8hVN0skbhAxuuSHWmeqB6R7nv1OX86rA==", "task"=>{"name"=>"Call Ma", "description"=>"rgg"}, "commit"=>"Edit Task", "id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:39 +  (0.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:41 + Task Update (0.4ms) UPDATE "tasks" SET "description" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["description", "rgg"], ["updated_at", "2019-04-13 22:06:20.869943"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:41 +  (0.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:41 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 7ms (ActiveRecord: 2.2ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 15:06:20 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 22ms (Views: 19.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for ::1 at 2019-04-13 15:07:02 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (8.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:35 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.7ms) + Rendered tasks/edit.html.erb within layouts/application (19.4ms) +Completed 200 OK in 61ms (Views: 47.3ms | ActiveRecord: 8.9ms) + + +Started PATCH "/tasks/1" for ::1 at 2019-04-13 15:07:08 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"hMxcheUqfPE8k158+N/dA2iFRy7XPbZzliOR+Zel7JK4lwMyjNBBOEMdskXk7z1F1zz90dHD8MEXwbhlwn/LQQ==", "task"=>{"name"=>"Call Ma", "description"=>"Mommy wants to hear from me"}, "commit"=>"Edit Task", "id"=>"1"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:39 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:41 + Task Update (0.4ms) UPDATE "tasks" SET "description" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["description", "Mommy wants to hear from me"], ["updated_at", "2019-04-13 22:07:08.050175"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:41 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:41 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 6ms (ActiveRecord: 1.6ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 15:07:08 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 21ms (Views: 18.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 15:07:11 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.2ms) +Completed 200 OK in 36ms (Views: 30.4ms | ActiveRecord: 1.5ms) + + From 73b7c7c825923ce42d3a90c8097d91b5fcf372df Mon Sep 17 00:00:00 2001 From: Jillianne Ramirez Date: Sat, 13 Apr 2019 17:55:50 -0700 Subject: [PATCH 12/23] corrected further formatting on index page --- app/controllers/tasks_controller.rb | 4 +- app/views/tasks/index.html.erb | 2 +- log/development.log | 831 ++++++++++++++++++++++ log/test.log | 310 ++++++++ test/controllers/tasks_controller_test.rb | 28 +- 5 files changed, 1162 insertions(+), 13 deletions(-) diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb index 353be3764..92f952d2c 100644 --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -34,7 +34,7 @@ def create def edit @task = Task.find_by(id: params[:id]) end - + def update task = Task.find_by(id: params[:id]) @@ -51,7 +51,7 @@ def mark_complete task = Task.find_by(id: params[:id]) if task.completed_at = "Incomplete" task.completed_at = "Complete" - task.completion_date = Time.now + task.completion_date = Time.now.strftime("%F %T") task.save redirect_to tasks_path end diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb index 9a836e6fe..f7718f0f8 100644 --- a/app/views/tasks/index.html.erb +++ b/app/views/tasks/index.html.erb @@ -17,7 +17,7 @@ <%= link_to "Mark Complete", mark_complete_path(task.id) %> <%= link_to "Mark Incomplete", mark_incomplete_path(task.id) %> <%= link_to "Show", task_path(task.id) %> - <%= link_to "Delete #{task.name}", verify_path(task.id) %> + <%= link_to "Delete", verify_path(task.id) %>
<% end %> <% end %>
diff --git a/log/development.log b/log/development.log index 704d28e65..0594e88e0 100644 --- a/log/development.log +++ b/log/development.log @@ -13195,3 +13195,834 @@ Processing by TasksController#index as HTML Completed 200 OK in 36ms (Views: 30.4ms | ActiveRecord: 1.5ms) +Started GET "/" for ::1 at 2019-04-13 17:35:08 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (2.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (229.9ms) +Completed 200 OK in 327ms (Views: 262.5ms | ActiveRecord: 17.6ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 17:35:11 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:55 + Task Update (1.6ms) UPDATE "tasks" SET "completion_date" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completion_date", "2019-04-13 17:35:11 -0700"], ["updated_at", "2019-04-14 00:35:11.678759"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:55 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 3.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:35:11 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 23ms (Views: 19.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 17:35:13 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (4.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:61 +  (0.9ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.9ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 00:35:13.447428"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 7.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:35:13 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 23ms (Views: 19.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 17:35:14 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (2.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (3.4ms) +Completed 200 OK in 35ms (Views: 26.6ms | ActiveRecord: 2.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:35:18 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.6ms) +Completed 200 OK in 33ms (Views: 29.0ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 17:35:19 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:55 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 17:35:19 -0700"], ["updated_at", "2019-04-14 00:35:19.596795"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (2.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:55 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 7.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:35:19 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 25ms (Views: 22.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 17:35:20 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (4.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 36ms (Views: 26.7ms | ActiveRecord: 4.9ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 17:50:59 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 60ms (Views: 41.9ms | ActiveRecord: 6.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:51:01 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.8ms) +Completed 200 OK in 32ms (Views: 28.5ms | ActiveRecord: 0.8ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 17:51:02 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (3.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:61 +  (1.9ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (2.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 00:51:02.673591"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 15ms (ActiveRecord: 8.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:51:02 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 25ms (Views: 22.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 17:51:03 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:55 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 17:51:03"], ["updated_at", "2019-04-14 00:51:03.499642"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (3.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:55 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 7.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:51:03 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 21ms (Views: 19.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 17:51:04 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 25ms (Views: 20.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:51:15 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 33ms (Views: 29.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 17:51:25 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.8ms) +Completed 200 OK in 35ms (Views: 15.6ms | ActiveRecord: 8.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:51:41 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.5ms) +Completed 200 OK in 34ms (Views: 31.0ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 17:51:42 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (1.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:61 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.9ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 00:51:42.385876"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 6.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:51:42 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.5ms) +Completed 200 OK in 29ms (Views: 25.7ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 17:51:43 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (6.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (2.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:55 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 17:51:43 -0700"], ["updated_at", "2019-04-14 00:51:43.064977"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:55 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 16ms (ActiveRecord: 10.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:51:43 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 25ms (Views: 22.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 17:51:43 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.6ms) +Completed 200 OK in 34ms (Views: 28.2ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:52:03 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (9.6ms) +Completed 200 OK in 27ms (Views: 20.5ms | ActiveRecord: 2.9ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 17:52:05 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (3.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:61 +  (0.9ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.8ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 00:52:05.119407"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (3.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 16ms (ActiveRecord: 8.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:52:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 26ms (Views: 22.5ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 17:52:05 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:55 + Task Update (2.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13"], ["updated_at", "2019-04-14 00:52:05.626309"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:55 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 7.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:52:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 27ms (Views: 24.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 17:52:06 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.4ms) +Completed 200 OK in 34ms (Views: 29.1ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:52:20 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (10.5ms) +Completed 200 OK in 30ms (Views: 24.4ms | ActiveRecord: 2.6ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 17:52:21 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:61 +  (1.6ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 00:52:21.673500"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 5.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:52:21 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 26ms (Views: 23.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 17:52:22 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:55 + Task Update (1.9ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 17:52:22"], ["updated_at", "2019-04-14 00:52:22.106004"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:55 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 5.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:52:22 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.8ms) +Completed 200 OK in 34ms (Views: 29.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 17:52:22 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (1.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.3ms) +Completed 200 OK in 30ms (Views: 26.1ms | ActiveRecord: 1.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:52:48 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (9.3ms) +Completed 200 OK in 27ms (Views: 21.4ms | ActiveRecord: 2.3ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 17:53:04 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 38ms (Views: 23.9ms | ActiveRecord: 2.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:53:13 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (9.9ms) +Completed 200 OK in 31ms (Views: 23.5ms | ActiveRecord: 2.5ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 17:53:14 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (1.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:61 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.9ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 00:53:14.785452"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 5.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:53:14 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 26ms (Views: 23.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 17:53:15 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:55 + Task Update (3.2ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 17:53:15 -0700"], ["updated_at", "2019-04-14 00:53:15.176040"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (2.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:55 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 7.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:53:15 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.1ms) +Completed 200 OK in 26ms (Views: 23.0ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 17:53:16 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (4.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.5ms) +Completed 200 OK in 39ms (Views: 31.6ms | ActiveRecord: 4.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:53:44 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (11.2ms) +Completed 200 OK in 29ms (Views: 23.8ms | ActiveRecord: 2.6ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 17:53:45 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:61 +  (3.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 00:53:45.447168"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 6.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:53:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 25ms (Views: 21.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 17:53:45 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +Completed 500 Internal Server Error in 9ms (ActiveRecord: 2.2ms) + + + +NoMethodError - undefined method `nowstrftime' for Time:Class +Did you mean? strptime: + app/controllers/tasks_controller.rb:54:in `mark_complete' + +Started POST "/__better_errors/4d533c2b45e80eec/variables" for ::1 at 2019-04-13 17:53:45 -0700 +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 17:53:57 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:55 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 17:53:57"], ["updated_at", "2019-04-14 00:53:57.868826"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:55 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 20ms (ActiveRecord: 4.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:53:57 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 33ms (Views: 30.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:54:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 24ms (Views: 20.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:54:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 31ms (Views: 27.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 17:54:36 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:55 + Task Update (1.1ms) UPDATE "tasks" SET "completion_date" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completion_date", "2019-04-13 17:54:36"], ["updated_at", "2019-04-14 00:54:36.072802"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (2.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:55 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 15ms (ActiveRecord: 6.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:54:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 33ms (Views: 30.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 17:54:36 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:61 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 00:54:36.884019"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (4.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 5.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:54:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.2ms) +Completed 200 OK in 31ms (Views: 28.0ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 17:54:37 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:55 + Task Update (1.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 17:54:37"], ["updated_at", "2019-04-14 00:54:37.444175"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (4.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:55 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 6.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:54:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 32ms (Views: 29.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 17:54:37 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (1.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:61 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.8ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 00:54:37.880413"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 5.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:54:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.0ms) +Completed 200 OK in 39ms (Views: 34.6ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 17:54:38 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.6ms) BEGIN + ↳ app/controllers/tasks_controller.rb:55 + Task Update (2.5ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 17:54:38"], ["updated_at", "2019-04-14 00:54:38.230851"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:55 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 5.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:54:38 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 30ms (Views: 25.5ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 17:54:38 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (2.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:61 +  (1.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 00:54:38.827160"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (5.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 15ms (ActiveRecord: 9.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:54:38 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 27ms (Views: 24.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 17:54:39 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (3.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:55 + Task Update (1.7ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 17:54:39"], ["updated_at", "2019-04-14 00:54:39.220874"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:55 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 8.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:54:39 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 25ms (Views: 21.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 17:54:39 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:61 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 00:54:39.743978"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (0.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 1.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:54:39 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 28ms (Views: 25.0ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 17:54:40 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (6.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:55 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 17:54:40"], ["updated_at", "2019-04-14 00:54:40.275762"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:55 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 15ms (ActiveRecord: 8.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:54:40 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 29ms (Views: 27.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 17:54:40 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:61 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 00:54:40.711549"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 4.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:54:40 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 26ms (Views: 23.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:55:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 27ms (Views: 24.3ms | ActiveRecord: 0.3ms) + + diff --git a/log/test.log b/log/test.log index d82e89577..b9ab86965 100644 --- a/log/test.log +++ b/log/test.log @@ -2370,3 +2370,313 @@ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)  (0.2ms) SELECT COUNT(*) FROM "tasks" Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]]  (0.1ms) ROLLBACK +  (1.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (194.9ms) DROP DATABASE IF EXISTS "TaskList_test" +  (394.9ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (7.0ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (3.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (4.2ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) BEGIN + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 00:24:11.921374"], ["updated_at", "2019-04-14 00:24:11.921374"]] +  (0.2ms) COMMIT + 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.2ms) BEGIN +  (0.1ms) COMMIT +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (1.2ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.2ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (1.6ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 00:24:12.272309', '2019-04-14 00:24:12.272309', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 00:24:12.272309', '2019-04-14 00:24:12.272309', 'MyString') +  (0.5ms) COMMIT +  (0.2ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 17:24:12 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 9ms (ActiveRecord: 0.5ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.6ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", "f"], ["created_at", "2019-04-14 00:24:12.334282"], ["updated_at", "2019-04-14 00:24:12.334282"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-13 17:24:12 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (23.9ms) +Completed 200 OK in 247ms (Views: 238.4ms | ActiveRecord: 0.4ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 17:24:12 -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.2ms) +Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 17:24:12 -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 (1.6ms) +Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.4ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (1.0ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 17:24:12 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 00:24:12.635157"], ["updated_at", "2019-04-14 00:24:12.635157"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190964 +Completed 302 Found in 2ms (ActiveRecord: 0.5ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 17:24:12 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (8.0ms) + Rendered tasks/new.html.erb within layouts/application (10.4ms) +Completed 200 OK in 14ms (Views: 11.4ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 00:24:12.659183"], ["updated_at", "2019-04-14 00:24:12.659183"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190965" for 127.0.0.1 at 2019-04-13 17:24:12 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190965]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 3ms (ActiveRecord: 0.9ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 17:24:12 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.3ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (179.7ms) DROP DATABASE IF EXISTS "TaskList_test" +  (379.1ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (5.7ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.1ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 00:26:01.196655"], ["updated_at", "2019-04-14 00:26:01.196655"]] +  (0.4ms) COMMIT + 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 +  (0.1ms) COMMIT +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 00:26:01.480688', '2019-04-14 00:26:01.480688', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 00:26:01.480688', '2019-04-14 00:26:01.480688', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 17:26:01 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 00:26:01.525878"], ["updated_at", "2019-04-14 00:26:01.525878"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 21ms (ActiveRecord: 0.6ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 17:26:01 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (14.4ms) + Rendered tasks/new.html.erb within layouts/application (18.4ms) +Completed 200 OK in 226ms (Views: 223.6ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 17:26:01 -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 7ms (Views: 3.8ms | ActiveRecord: 0.3ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 17:26:01 -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 (1.2ms) +Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 17:26:01 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", "f"], ["created_at", "2019-04-14 00:26:01.789343"], ["updated_at", "2019-04-14 00:26:01.789343"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-13 17:26:01 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (21.9ms) +Completed 200 OK in 25ms (Views: 23.0ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 17:26:01 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 00:26:01.825928"], ["updated_at", "2019-04-14 00:26:01.825928"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190965" for 127.0.0.1 at 2019-04-13 17:26:01 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190965]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK diff --git a/test/controllers/tasks_controller_test.rb b/test/controllers/tasks_controller_test.rb index 5f24f9347..34e72fc3f 100644 --- a/test/controllers/tasks_controller_test.rb +++ b/test/controllers/tasks_controller_test.rb @@ -89,15 +89,24 @@ # Unskip and complete these tests for Wave 3 describe "edit" do - it "can get the edit page for an existing task" do - skip - # Your code here - end + # it "can get the edit page for an existing task" do + # task = { + # name: "new task", + # description: "new task description", + # completed_at: "Complete", + # } - it "will respond with redirect when attempting to edit a nonexistant task" do - skip - # Your code here - end + # expect { + # get '/tasks/:id/edit', params: task + # }.must_change "Task.count", 1 + + + # # Your code here + # end + + # it "will respond with redirect when attempting to edit a nonexistant task" do + # # Your code here + # end end # Uncomment and complete these tests for Wave 3 @@ -105,12 +114,10 @@ # Note: If there was a way to fail to save the changes to a task, that would be a great # thing to test. it "can update an existing task" do - skip # Your code here end it "will redirect to the root page if given an invalid id" do - skip # Your code here end end @@ -139,6 +146,7 @@ it "can delete a book" do # Arrange new_task = Task.create(name: "Call Sister") + expect { # Act delete task_path(new_task.id) From f42585d2fa6e690308e79aa9664a211d217affea Mon Sep 17 00:00:00 2001 From: Jillianne Ramirez Date: Sat, 13 Apr 2019 18:09:47 -0700 Subject: [PATCH 13/23] toggle_complete function refactored --- app/controllers/tasks_controller.rb | 14 +- app/views/tasks/index.html.erb | 3 +- config/routes.rb | 7 +- log/development.log | 2781 +++++++++++++++++++++ test/controllers/tasks_controller_test.rb | 3 - 5 files changed, 2789 insertions(+), 19 deletions(-) diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb index 92f952d2c..0a0b6e902 100644 --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -4,7 +4,7 @@ class TasksController < ApplicationController ] def index - @tasks = Task.all + @tasks = Task.all.order(:created_at) end def show @@ -47,19 +47,15 @@ def update end end - def mark_complete + def toggle_complete task = Task.find_by(id: params[:id]) - if task.completed_at = "Incomplete" + + if task.completed_at == "Incomplete" task.completed_at = "Complete" task.completion_date = Time.now.strftime("%F %T") task.save redirect_to tasks_path - end - end - - def mark_incomplete - task = Task.find_by(id: params[:id]) - if task.completed_at = "Complete" + elsif task.completed_at == "Complete" task.completed_at = "Incomplete" task.save redirect_to tasks_path diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb index f7718f0f8..c79533382 100644 --- a/app/views/tasks/index.html.erb +++ b/app/views/tasks/index.html.erb @@ -14,8 +14,7 @@ <% else %> <%= task.completed_at %> <% end %> - <%= link_to "Mark Complete", mark_complete_path(task.id) %> - <%= link_to "Mark Incomplete", mark_incomplete_path(task.id) %> + <%= link_to "Change Status", toggle_complete_path(task.id) %> <%= link_to "Show", task_path(task.id) %> <%= link_to "Delete", verify_path(task.id) %>
diff --git a/config/routes.rb b/config/routes.rb index d30e2437c..553469ea3 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -11,11 +11,8 @@ get '/tasks/:id/edit', to: 'tasks#edit', as: 'edit_task' patch '/tasks/:id', to: 'tasks#update' - get '/tasks/:id/complete', to: 'tasks#mark_complete', as: 'mark_complete' - patch '/tasks/:id/complete', to: 'tasks#mark_complete' - - get '/tasks/:id/incomplete', to: 'tasks#mark_incomplete', as: 'mark_incomplete' - patch '/tasks/:id/incomplete', to: 'tasks#mark_incomplete' + get '/tasks/:id/toggle_complete', to: 'tasks#toggle_complete', as: 'toggle_complete' + patch '/tasks/:id/toggle_complete', to: 'tasks#toggle_complete' get '/tasks/:id/verify', to: 'tasks#verify', as: 'verify' delete '/tasks/:id/', to: 'tasks#destroy' diff --git a/log/development.log b/log/development.log index 0594e88e0..8f2e6c195 100644 --- a/log/development.log +++ b/log/development.log @@ -14026,3 +14026,2784 @@ Processing by TasksController#index as HTML Completed 200 OK in 27ms (Views: 24.3ms | ActiveRecord: 0.3ms) +Started GET "/" for ::1 at 2019-04-13 17:56:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (188.4ms) +Completed 200 OK in 261ms (Views: 209.1ms | ActiveRecord: 5.9ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 17:56:27 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:61 +  (0.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 +  (0.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 1.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:56:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 28ms (Views: 24.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 17:56:29 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (3.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:55 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 17:56:29"], ["updated_at", "2019-04-14 00:56:29.208289"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (3.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:55 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 7.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:56:29 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 24ms (Views: 21.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/incomplete" for ::1 at 2019-04-13 17:56:30 -0700 +Processing by TasksController#mark_incomplete as HTML + Parameters: {"id"=>"1"} + Task Load (5.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:61 +  (1.0ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 00:56:30.068420"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 8.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:56:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 26ms (Views: 22.5ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1/complete" for ::1 at 2019-04-13 17:56:30 -0700 +Processing by TasksController#mark_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:55 + Task Update (1.0ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 17:56:30"], ["updated_at", "2019-04-14 00:56:30.963836"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:55 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 5.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:56:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 25ms (Views: 21.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-13 17:56:41 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (13.3ms) + Rendered tasks/new.html.erb within layouts/application (16.4ms) +Completed 200 OK in 39ms (Views: 35.8ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for ::1 at 2019-04-13 17:56:52 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"0Nvp034iYy9uj59l6vnE69x1rhyvXg1M86h9zLbZNL1SiJt7tnprlVOP+AfXbIOYWjR3XR+OhayLuh4wBqTHhQ==", "task"=>{"name"=>"Clean Room", "description"=>"Room is messy"}, "commit"=>"Add Task"} +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:25 + Task Create (1.0ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Clean Room"], ["description", "Room is messy"], ["created_at", "2019-04-14 00:56:52.596481"], ["updated_at", "2019-04-14 00:56:52.596481"]] + ↳ app/controllers/tasks_controller.rb:25 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:25 +Redirected to http://localhost:3000/tasks/2 +Completed 302 Found in 4ms (ActiveRecord: 1.6ms) + + +Started GET "/tasks/2" for ::1 at 2019-04-13 17:56:52 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (3.2ms) +Completed 200 OK in 21ms (Views: 18.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:56:56 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.9ms) +Completed 200 OK in 33ms (Views: 28.5ms | ActiveRecord: 1.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 17:57:12 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 34ms (Views: 30.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:01:20 -0700 + +SyntaxError - syntax error, unexpected keyword_end, expecting end-of-input: + app/controllers/tasks_controller.rb:95:in `' + +Started POST "/__better_errors/2e84081b9a1137b0/variables" for ::1 at 2019-04-13 18:01:20 -0700 +Started GET "/tasks" for ::1 at 2019-04-13 18:01:40 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (11.1ms) +Completed 200 OK in 41ms (Views: 32.8ms | ActiveRecord: 2.8ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:02:13 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (2.0ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.6ms) UPDATE "tasks" SET "completion_date" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completion_date", "2019-04-13 18:02:13"], ["updated_at", "2019-04-14 01:02:13.567665"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 6.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:13 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 28ms (Views: 25.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:02:15 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.7ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:02:15"], ["updated_at", "2019-04-14 01:02:15.218184"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:15 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 26ms (Views: 23.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:02:16 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (2.0ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.8ms) UPDATE "tasks" SET "completion_date" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completion_date", "2019-04-13 18:02:16"], ["updated_at", "2019-04-14 01:02:16.442163"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 4.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:16 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 24ms (Views: 20.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:02:18 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (2.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (3.2ms) UPDATE "tasks" SET "completion_date" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completion_date", "2019-04-13 18:02:18"], ["updated_at", "2019-04-14 01:02:18.398613"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:18 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 29ms (Views: 23.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:02:19 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.8ms) UPDATE "tasks" SET "completion_date" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completion_date", "2019-04-13 18:02:19"], ["updated_at", "2019-04-14 01:02:19.750848"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 7.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:19 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 32ms (Views: 28.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:02:20 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (6.0ms) UPDATE "tasks" SET "completion_date" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completion_date", "2019-04-13 18:02:20"], ["updated_at", "2019-04-14 01:02:20.721389"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 8.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:20 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 31ms (Views: 27.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:02:21 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (2.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completion_date" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completion_date", "2019-04-13 18:02:21"], ["updated_at", "2019-04-14 01:02:21.315252"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 6.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:21 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 27ms (Views: 23.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:02:21 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (2.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 +  (5.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 8.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:21 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 26ms (Views: 21.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:02:22 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (2.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (2.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.4ms) UPDATE "tasks" SET "completion_date" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completion_date", "2019-04-13 18:02:22"], ["updated_at", "2019-04-14 01:02:22.247482"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 9.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:22 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 25ms (Views: 22.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:02:22 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 +  (1.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 1.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:22 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 26ms (Views: 22.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:02:23 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.4ms) UPDATE "tasks" SET "completion_date" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completion_date", "2019-04-13 18:02:23"], ["updated_at", "2019-04-14 01:02:23.146151"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 5.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 24ms (Views: 20.8ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:02:23 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 +  (2.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 2.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 30ms (Views: 25.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:02:23 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (3.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 6.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 26ms (Views: 22.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:02:24 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completion_date" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completion_date", "2019-04-13 18:02:24"], ["updated_at", "2019-04-14 01:02:24.288052"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 3.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 27ms (Views: 23.5ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:02:24 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 33ms (Views: 29.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:02:24 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 +  (2.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 3.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.1ms) +Completed 200 OK in 29ms (Views: 26.1ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:02:25 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (2.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.4ms) UPDATE "tasks" SET "completion_date" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completion_date", "2019-04-13 18:02:25"], ["updated_at", "2019-04-14 01:02:25.713465"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 16ms (ActiveRecord: 7.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.8ms) +Completed 200 OK in 25ms (Views: 22.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:02:26 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (4.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (3.6ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completion_date" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completion_date", "2019-04-13 18:02:26"], ["updated_at", "2019-04-14 01:02:26.436743"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 16ms (ActiveRecord: 11.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 23ms (Views: 19.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:43 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (15.2ms) +Completed 200 OK in 37ms (Views: 29.5ms | ActiveRecord: 3.9ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:02:44 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (3.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:02:44.889436"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 16ms (ActiveRecord: 9.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:44 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.5ms) +Completed 200 OK in 25ms (Views: 22.0ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:02:45 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:02:45.963433"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 3.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.4ms) +Completed 200 OK in 26ms (Views: 23.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:02:46 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:02:46"], ["updated_at", "2019-04-14 01:02:46.676639"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 4.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:46 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 25ms (Views: 23.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:02:48 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:02:48"], ["updated_at", "2019-04-14 01:02:48.355252"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:48 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.1ms) +Completed 200 OK in 33ms (Views: 27.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:02:49 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (4.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:02:49.722420"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 8.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 24ms (Views: 20.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:02:50 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.9ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:02:50"], ["updated_at", "2019-04-14 01:02:50.649059"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (9.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 17ms (ActiveRecord: 12.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:50 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 25ms (Views: 22.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:02:52 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (3.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:02:52.253641"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 6.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 25ms (Views: 21.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:02:52 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.1ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:02:52"], ["updated_at", "2019-04-14 01:02:52.989577"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 4.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:53 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 30ms (Views: 24.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:02:54 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (3.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:02:54.367708"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:54 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.9ms) +Completed 200 OK in 30ms (Views: 25.7ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:02:57 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (4.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:02:57.887971"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 7.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:57 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 29ms (Views: 25.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:02:58 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.9ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:02:58"], ["updated_at", "2019-04-14 01:02:58.968089"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 5.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:58 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 25ms (Views: 21.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:02:59 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.7ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:02:59.648682"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (4.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 7.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:02:59 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 27ms (Views: 23.8ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:03:00 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.7ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:03:00"], ["updated_at", "2019-04-14 01:03:00.333663"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 5.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 27ms (Views: 23.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:03:00 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:03:00.787742"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (4.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 24ms (Views: 21.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:03:01 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (3.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:03:01"], ["updated_at", "2019-04-14 01:03:01.396341"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 6.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:01 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 25ms (Views: 22.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:03:02 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.2ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:03:02"], ["updated_at", "2019-04-14 01:03:02.547983"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:02 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.0ms) +Completed 200 OK in 30ms (Views: 26.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:34 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (10.4ms) +Completed 200 OK in 28ms (Views: 23.0ms | ActiveRecord: 2.5ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:03:36 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (7.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.8ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:03:36.134999"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 17ms (ActiveRecord: 10.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 24ms (Views: 21.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:03:37 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:03:37.011514"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (4.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 27ms (Views: 23.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:03:38 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (3.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (2.9ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:03:38"], ["updated_at", "2019-04-14 01:03:38.692203"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (5.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 20ms (ActiveRecord: 11.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:38 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (7.4ms) +Completed 200 OK in 29ms (Views: 25.9ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:03:39 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:03:39.704985"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (5.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 5.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:39 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.7ms) +Completed 200 OK in 33ms (Views: 29.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:03:40 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (4.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:03:40"], ["updated_at", "2019-04-14 01:03:40.249059"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 7.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:40 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 25ms (Views: 20.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:03:40 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:03:40.888288"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (5.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 7.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:40 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 23ms (Views: 20.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:03:41 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (4.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.6ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (0.8ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:03:41"], ["updated_at", "2019-04-14 01:03:41.831921"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:56 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 7.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:41 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 26ms (Views: 22.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:03:43 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (0.9ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:03:43"], ["updated_at", "2019-04-14 01:03:43.841845"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (6.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 8.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:43 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 27ms (Views: 23.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:03:45 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:03:45.041868"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 3.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 25ms (Views: 21.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:03:46 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (6.1ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:03:46.093776"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 8.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:46 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 28ms (Views: 24.6ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:03:46 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (1.7ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:03:46"], ["updated_at", "2019-04-14 01:03:46.995690"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:56 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 4.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 25ms (Views: 21.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:03:47 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (1.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:03:47"], ["updated_at", "2019-04-14 01:03:47.840334"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (2.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.5ms) +Completed 200 OK in 30ms (Views: 24.6ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:03:48 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (3.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:03:48.671825"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 7.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:48 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 30ms (Views: 25.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:03:49 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:03:49.342544"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 28ms (Views: 24.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:03:49 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (6.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:03:49"], ["updated_at", "2019-04-14 01:03:49.930765"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:56 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 8.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 23ms (Views: 19.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:03:50 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (1.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:03:50"], ["updated_at", "2019-04-14 01:03:50.416065"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:50 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.5ms) +Completed 200 OK in 29ms (Views: 25.3ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:03:50 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:03:50.762598"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 5.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:50 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 21ms (Views: 18.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:03:51 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:03:51.032075"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:51 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 29ms (Views: 25.7ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:03:51 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (4.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (6.0ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:03:51"], ["updated_at", "2019-04-14 01:03:51.262990"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:56 +  (2.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 18ms (ActiveRecord: 13.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:51 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 23ms (Views: 19.7ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:03:51 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (0.7ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:03:51"], ["updated_at", "2019-04-14 01:03:51.456518"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (2.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:51 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 27ms (Views: 23.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:03:51 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:03:51.661930"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 16ms (ActiveRecord: 3.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:51 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 22ms (Views: 19.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:03:51 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:03:51.839575"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 22ms (ActiveRecord: 4.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:51 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 22ms (Views: 19.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:03:52 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (3.0ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:03:52"], ["updated_at", "2019-04-14 01:03:52.035104"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:56 +  (3.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 22ms (ActiveRecord: 7.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 22ms (Views: 20.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:03:52 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (1.5ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:03:52"], ["updated_at", "2019-04-14 01:03:52.215302"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 3.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 26ms (Views: 22.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:03:52 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:03:52.396887"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.4ms) +Completed 200 OK in 25ms (Views: 21.4ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:03:52 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:03:52.569455"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.6ms) +Completed 200 OK in 28ms (Views: 25.1ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:03:52 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (0.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-14 01:03:52.752195"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:56 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 3.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 24ms (Views: 21.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:03:52 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.6ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (0.8ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-14 01:03:52.927935"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (1.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 2.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 29ms (Views: 25.4ms | ActiveRecord: 0.8ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:03:53 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:03:53.443477"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 4.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:53 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 27ms (Views: 22.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:03:54 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:03:54.009899"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 4.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:54 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 36ms (Views: 30.9ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:03:54 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (1.1ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:03:54"], ["updated_at", "2019-04-14 01:03:54.618394"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:56 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 4.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:54 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 22ms (Views: 18.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:03:55 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (2.7ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:03:55"], ["updated_at", "2019-04-14 01:03:55.179556"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (3.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 6.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:55 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 29ms (Views: 26.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:03:55 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (10.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:03:55.668486"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 15ms (ActiveRecord: 11.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:55 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 34ms (Views: 29.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:03:56 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:03:56.136391"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 5.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:03:56 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.4ms) +Completed 200 OK in 26ms (Views: 22.9ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:04:42 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (12.9ms) +Completed 200 OK in 43ms (Views: 35.0ms | ActiveRecord: 3.0ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:04:43 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (3.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (5.6ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:04:43"], ["updated_at", "2019-04-14 01:04:43.995721"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:56 +  (2.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Completed 406 Not Acceptable in 113ms (ActiveRecord: 11.9ms) + + + +ActionController::UnknownFormat - TasksController#toggle_complete is missing a template for this request format and variant. + +request.formats: ["text/html"] +request.variant: [] + +NOTE! For XHR/Ajax or API requests, this action would normally respond with 204 No Content: an empty white screen. Since you're loading it in a web browser, we assume that you expected to actually render a template, not nothing, so we're showing an error to be extra-clear. If you expect 204 No Content, carry on. That's what you'll get from an XHR or API request. Give it a shot.: + +Started POST "/__better_errors/3e74304a833fdb95/variables" for ::1 at 2019-04-13 18:04:44 -0700 +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:04:59 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:04:59.125231"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 22ms (ActiveRecord: 6.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:04:59 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 29ms (Views: 26.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:05:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 28ms (Views: 24.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:05:01 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:05:01"], ["updated_at", "2019-04-14 01:05:01.681991"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (8.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 8.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:05:01 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 31ms (Views: 27.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:05:02 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (0.8ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:05:02"], ["updated_at", "2019-04-14 01:05:02.447340"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:56 +  (2.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 5.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:05:02 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 25ms (Views: 22.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:05:03 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (3.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:05:03.066247"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (4.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 8.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:05:03 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 35ms (Views: 30.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:05:03 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (2.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:05:03.782294"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 5.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:05:03 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 31ms (Views: 26.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:05:04 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (7.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (2.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (10.5ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:05:04"], ["updated_at", "2019-04-14 01:05:04.315240"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 27ms (ActiveRecord: 20.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:05:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.4ms) +Completed 200 OK in 39ms (Views: 35.7ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:05:04 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (7.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:05:04"], ["updated_at", "2019-04-14 01:05:04.928542"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:56 +  (1.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 16ms (ActiveRecord: 10.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:05:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 30ms (Views: 27.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:05:05 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.7ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:05:05.507550"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 5.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:05:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.1ms) +Completed 200 OK in 33ms (Views: 29.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:05:06 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:05:06.077626"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 1.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:05:06 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 38ms (Views: 34.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:05:06 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (3.1ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:05:06"], ["updated_at", "2019-04-14 01:05:06.410531"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (3.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 7.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:05:06 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 27ms (Views: 22.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:05:06 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (6.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (2.1ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:05:06"], ["updated_at", "2019-04-14 01:05:06.753095"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:56 +  (1.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 17ms (ActiveRecord: 11.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:05:06 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 22ms (Views: 19.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:05:07 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.8ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:05:07.064961"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (4.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:05:07 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 29ms (Views: 25.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:05:07 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:05:07.344046"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 6.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:05:07 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 24ms (Views: 20.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:05:07 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (1.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:05:07"], ["updated_at", "2019-04-14 01:05:07.560287"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (8.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 15ms (ActiveRecord: 10.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:05:07 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 28ms (Views: 23.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:05:07 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (2.6ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:05:07"], ["updated_at", "2019-04-14 01:05:07.846871"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:56 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 7.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:05:07 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 26ms (Views: 22.5ms | ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2019-04-13 18:08:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (12.4ms) +Completed 200 OK in 52ms (Views: 42.7ms | ActiveRecord: 3.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:08:26 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (2.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:08:26.125679"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 6.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:08:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 31ms (Views: 29.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:08:27 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:08:27"], ["updated_at", "2019-04-14 01:08:27.042925"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:56 +  (2.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 3.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:08:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 26ms (Views: 22.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:08:27 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:08:27.562198"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 2.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:08:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 25ms (Views: 22.1ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:08:28 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:08:28"], ["updated_at", "2019-04-14 01:08:28.014084"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (2.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:08:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 25ms (Views: 20.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:08:28 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (3.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:08:28.591380"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 7.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:08:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 25ms (Views: 22.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:08:28 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (1.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:08:28"], ["updated_at", "2019-04-14 01:08:28.963179"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:56 +  (3.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:08:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 27ms (Views: 24.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:08:29 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:08:29.516269"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:08:29 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 26ms (Views: 23.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:08:29 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (2.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:08:29"], ["updated_at", "2019-04-14 01:08:29.843056"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 5.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:08:29 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.7ms) +Completed 200 OK in 27ms (Views: 23.6ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:08:30 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (6.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.6ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:08:30.382116"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 15ms (ActiveRecord: 9.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:08:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.8ms) +Completed 200 OK in 24ms (Views: 21.4ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:08:30 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (2.1ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:08:30"], ["updated_at", "2019-04-14 01:08:30.686601"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:56 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 5.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:08:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 31ms (Views: 26.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:08:31 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (2.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:08:31.286216"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:08:31 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 24ms (Views: 20.2ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:08:31 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (1.0ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:08:31"], ["updated_at", "2019-04-14 01:08:31.605729"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:08:31 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 30ms (Views: 23.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:08:32 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:08:32.245894"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 5.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:08:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 24ms (Views: 20.2ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:08:32 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (8.0ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (4.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:08:32"], ["updated_at", "2019-04-14 01:08:32.524716"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:56 +  (8.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 25ms (ActiveRecord: 20.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:08:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 25ms (Views: 22.2ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:08:33 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:08:33.076706"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:08:33 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 24ms (Views: 20.9ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:08:33 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (1.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:08:33"], ["updated_at", "2019-04-14 01:08:33.270541"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (2.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 3.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:08:33 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 29ms (Views: 25.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:09:19 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:09:19.747605"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 15ms (ActiveRecord: 3.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:09:19 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 32ms (Views: 29.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:09:20 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (1.8ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:09:20"], ["updated_at", "2019-04-14 01:09:20.023712"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 4.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:09:20 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 23ms (Views: 19.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:09:20 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (2.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:09:20.640821"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 5.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:09:20 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.6ms) +Completed 200 OK in 29ms (Views: 25.0ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:09:20 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (6.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (11.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (2.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:09:20"], ["updated_at", "2019-04-14 01:09:20.908463"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:56 +  (3.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 29ms (ActiveRecord: 23.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:09:20 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 22ms (Views: 19.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 18:09:21 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.5ms) +Completed 200 OK in 30ms (Views: 25.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:09:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.6ms) +Completed 200 OK in 32ms (Views: 28.0ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:09:27 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (4.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:09:27.187321"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 7.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:09:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 27ms (Views: 23.7ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:09:27 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (2.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:09:27"], ["updated_at", "2019-04-14 01:09:27.834606"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:56 +  (5.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 8.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:09:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 29ms (Views: 24.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2" for ::1 at 2019-04-13 18:09:28 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"2"} + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 35ms (Views: 21.3ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:09:29 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.6ms) +Completed 200 OK in 41ms (Views: 37.4ms | ActiveRecord: 0.3ms) + + diff --git a/test/controllers/tasks_controller_test.rb b/test/controllers/tasks_controller_test.rb index 34e72fc3f..b10bb7532 100644 --- a/test/controllers/tasks_controller_test.rb +++ b/test/controllers/tasks_controller_test.rb @@ -122,9 +122,7 @@ end end - # Complete these tests for Wave 4 describe "destroy" do - # Your tests go here it "returns a 404 if the task if not found" do invalid_id = "NOT A VALID ID" @@ -158,7 +156,6 @@ end end - # Complete for Wave 4 describe "toggle_complete" do # Your tests go here end From 34818542ace0a2eb850244ba0feb52d51ec5e494 Mon Sep 17 00:00:00 2001 From: Jillianne Ramirez Date: Sat, 13 Apr 2019 19:12:02 -0700 Subject: [PATCH 14/23] comments removed --- app/controllers/tasks_controller.rb | 4 +- log/development.log | 833 +++++++++ log/test.log | 1888 +++++++++++++++++++++ test/controllers/tasks_controller_test.rb | 14 +- 4 files changed, 2732 insertions(+), 7 deletions(-) diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb index 0a0b6e902..f89e4ad1a 100644 --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -43,7 +43,7 @@ def update if is_successful redirect_to task_path(task.id) else - head :not_found + redirect_to tasks_path end end @@ -80,7 +80,7 @@ def verify private def task_params - return params.require(:task).permit(:name, :description, :completed_at) + return params.require(:task).permit(:name, :description, :completed_at, :completion_date) end end diff --git a/log/development.log b/log/development.log index 8f2e6c195..0ac7fce79 100644 --- a/log/development.log +++ b/log/development.log @@ -16807,3 +16807,836 @@ Processing by TasksController#index as HTML Completed 200 OK in 41ms (Views: 37.4ms | ActiveRecord: 0.3ms) +Started GET "/tasks/1" for ::1 at 2019-04-13 18:10:20 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (5.9ms) +Completed 200 OK in 272ms (Views: 206.6ms | ActiveRecord: 6.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:10:21 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.3ms) +Completed 200 OK in 40ms (Views: 35.2ms | ActiveRecord: 0.8ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:10:22 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:10:22.075981"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:10:22 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 25ms (Views: 22.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:10:23 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (2.8ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:10:23"], ["updated_at", "2019-04-14 01:10:23.085258"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (2.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 6.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:10:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (7.2ms) +Completed 200 OK in 30ms (Views: 26.0ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:10:23 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:10:23.841529"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 5.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:10:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 26ms (Views: 23.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:10:24 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (1.7ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:10:24"], ["updated_at", "2019-04-14 01:10:24.121648"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:56 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:10:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.1ms) +Completed 200 OK in 29ms (Views: 25.5ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:10:24 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (3.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:10:24.711533"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 6.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:10:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 25ms (Views: 21.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:10:24 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (1.7ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:10:24"], ["updated_at", "2019-04-14 01:10:24.971680"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (5.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 7.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:10:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 27ms (Views: 21.9ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:10:25 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (10.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:10:25.683034"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 17ms (ActiveRecord: 12.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:10:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 47ms (Views: 42.6ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:10:25 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:10:25"], ["updated_at", "2019-04-14 01:10:25.884677"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:56 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 2.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:10:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (7.2ms) +Completed 200 OK in 34ms (Views: 31.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:10:26 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.9ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.8ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:10:26.328126"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 5.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:10:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.0ms) +Completed 200 OK in 27ms (Views: 23.8ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:10:26 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:10:26"], ["updated_at", "2019-04-14 01:10:26.525107"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (2.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 3.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:10:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 28ms (Views: 24.6ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:10:26 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:10:26.990233"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:10:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.4ms) +Completed 200 OK in 30ms (Views: 27.7ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:10:27 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:10:27.826152"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 5.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:10:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (4.0ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (10.2ms) +Completed 200 OK in 39ms (Views: 31.7ms | ActiveRecord: 4.0ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:10:28 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:10:28"], ["updated_at", "2019-04-14 01:10:28.372151"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (3.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 5.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:10:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.3ms) +Completed 200 OK in 33ms (Views: 30.8ms | ActiveRecord: 0.4ms) + + +Started GET "/" for ::1 at 2019-04-13 18:47:34 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (23.2ms) +Completed 200 OK in 76ms (Views: 55.7ms | ActiveRecord: 10.0ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:47:35 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:47:35.671129"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 22ms (ActiveRecord: 8.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:47:35 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.4ms) +Completed 200 OK in 64ms (Views: 60.0ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 18:47:36 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (6.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (1.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (0.5ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:47:36"], ["updated_at", "2019-04-14 01:47:36.418482"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (2.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 16ms (ActiveRecord: 11.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:47:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.1ms) +Completed 200 OK in 28ms (Views: 24.6ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:47:37 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (2.5ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 18:47:37"], ["updated_at", "2019-04-14 01:47:37.037248"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:56 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 4.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:47:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.8ms) +Completed 200 OK in 33ms (Views: 28.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 18:47:37 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (3.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 01:47:37.491977"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (4.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 15ms (ActiveRecord: 9.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:47:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.7ms) +Completed 200 OK in 29ms (Views: 26.2ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 18:47:38 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (1.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.3ms) +Completed 200 OK in 36ms (Views: 29.5ms | ActiveRecord: 1.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:47:39 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.2ms) +Completed 200 OK in 36ms (Views: 31.8ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/2" for ::1 at 2019-04-13 18:47:40 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"2"} + Task Load (2.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.7ms) +Completed 200 OK in 35ms (Views: 28.1ms | ActiveRecord: 2.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:47:41 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.8ms) +Completed 200 OK in 31ms (Views: 27.0ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks/1/verify" for ::1 at 2019-04-13 18:47:43 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:77 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (0.6ms) +Completed 200 OK in 27ms (Views: 22.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:47:44 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 35ms (Views: 31.9ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/verify" for ::1 at 2019-04-13 18:47:45 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:77 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (0.9ms) +Completed 200 OK in 36ms (Views: 32.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:47:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.8ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (8.3ms) +Completed 200 OK in 43ms (Views: 38.1ms | ActiveRecord: 1.8ms) + + +Started GET "/" for ::1 at 2019-04-13 18:48:56 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (186.6ms) +Completed 200 OK in 252ms (Views: 218.2ms | ActiveRecord: 5.7ms) + + +Started GET "/tasks/new" for ::1 at 2019-04-13 18:48:59 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (11.5ms) + Rendered tasks/new.html.erb within layouts/application (15.0ms) +Completed 200 OK in 42ms (Views: 38.9ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for ::1 at 2019-04-13 18:49:01 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"8RXf7UXhuTTLljsGAPDXtOIL7AmVG8AjurMMlM8t0d1zRq1FjbmxjvaWXGQ9ZZDHZEo1SCXLSMPCoW9of1Ai5Q==", "task"=>{"name"=>"Default Name", "description"=>""}, "commit"=>"Add Task"} +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:25 + Task Create (2.0ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Default Name"], ["description", ""], ["created_at", "2019-04-14 01:49:01.025994"], ["updated_at", "2019-04-14 01:49:01.025994"]] + ↳ app/controllers/tasks_controller.rb:25 +  (0.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:25 +Redirected to http://localhost:3000/tasks/3 +Completed 302 Found in 7ms (ActiveRecord: 2.8ms) + + +Started GET "/tasks/3" for ::1 at 2019-04-13 18:49:01 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (3.0ms) +Completed 200 OK in 24ms (Views: 19.4ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:49:02 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.5ms) +Completed 200 OK in 40ms (Views: 34.2ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 18:49:07 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (2.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 34ms (Views: 26.1ms | ActiveRecord: 2.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:49:08 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.4ms) +Completed 200 OK in 35ms (Views: 30.6ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks/3" for ::1 at 2019-04-13 18:49:09 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (26.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 53ms (Views: 22.6ms | ActiveRecord: 26.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 18:49:10 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.9ms) +Completed 200 OK in 36ms (Views: 32.2ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 19:03:40 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.3ms) +Completed 200 OK in 81ms (Views: 29.4ms | ActiveRecord: 6.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:03:44 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (2.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (7.7ms) +Completed 200 OK in 42ms (Views: 35.2ms | ActiveRecord: 2.5ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 19:03:45 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 02:03:45.639414"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 4.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:03:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.8ms) +Completed 200 OK in 31ms (Views: 26.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 19:03:46 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (3.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (2.1ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 19:03:46"], ["updated_at", "2019-04-14 02:03:46.696469"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 7.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:03:46 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 25ms (Views: 22.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 19:03:47 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.4ms) +Completed 200 OK in 42ms (Views: 36.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:03:50 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (2.8ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (7.6ms) +Completed 200 OK in 35ms (Views: 29.3ms | ActiveRecord: 2.8ms) + + +Started GET "/" for ::1 at 2019-04-13 19:10:07 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (13.7ms) +Completed 200 OK in 51ms (Views: 35.4ms | ActiveRecord: 6.8ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 19:10:09 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (3.0ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 02:10:09.483783"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 28ms (ActiveRecord: 19.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:10:09 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 23ms (Views: 20.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 19:10:10 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (2.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.7ms) +Completed 200 OK in 41ms (Views: 34.2ms | ActiveRecord: 2.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:10:11 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (7.0ms) +Completed 200 OK in 32ms (Views: 28.0ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 19:10:12 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (2.8ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 19:10:12"], ["updated_at", "2019-04-14 02:10:12.432043"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:56 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 5.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:10:12 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.8ms) +Completed 200 OK in 28ms (Views: 24.2ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 19:10:12 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:56 + Task Update (0.9ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 19:10:12"], ["updated_at", "2019-04-14 02:10:12.897628"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:56 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:56 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 4.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:10:12 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 28ms (Views: 25.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 19:10:13 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 02:10:13.396372"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 3.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:10:13 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 26ms (Views: 22.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 19:10:13 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (5.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:51 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 02:10:13.891333"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 7.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:10:13 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 27ms (Views: 22.2ms | ActiveRecord: 0.3ms) + + diff --git a/log/test.log b/log/test.log index b9ab86965..e2f3b3d5d 100644 --- a/log/test.log +++ b/log/test.log @@ -2680,3 +2680,1891 @@ Redirected to http://www.example.com/tasks Completed 302 Found in 2ms (ActiveRecord: 0.6ms)  (0.2ms) SELECT COUNT(*) FROM "tasks"  (0.1ms) ROLLBACK +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (237.7ms) DROP DATABASE IF EXISTS "TaskList_test" +  (427.6ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.1ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (14.6ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (8.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (1.9ms) 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) + 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.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 01:13:18.032942"], ["updated_at", "2019-04-14 01:13:18.032942"]] +  (0.3ms) COMMIT + 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.2ms) BEGIN +  (0.1ms) COMMIT +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.8ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.3ms) COMMIT +  (0.4ms) BEGIN + Fixtures Load (2.6ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 01:13:18.277920', '2019-04-14 01:13:18.277920', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 01:13:18.277920', '2019-04-14 01:13:18.277920', 'MyString') +  (0.8ms) COMMIT +  (0.3ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.2ms) COMMIT +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 18:13:18 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (200.1ms) +Completed 200 OK in 217ms (Views: 207.1ms | ActiveRecord: 0.7ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 18:13:18 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 18:13:18 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>""}} +  (0.3ms) SAVEPOINT active_record_1 + Task Create (0.5ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 01:13:18.565872"], ["updated_at", "2019-04-14 01:13:18.565872"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 5ms (ActiveRecord: 0.9ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 01:13:18.576258"], ["updated_at", "2019-04-14 01:13:18.576258"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-13 18:13:18 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (20.9ms) +Completed 200 OK in 25ms (Views: 22.0ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 18:13: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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 18:13:18 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 01:13:18.614449"], ["updated_at", "2019-04-14 01:13:18.614449"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190965" for 127.0.0.1 at 2019-04-13 18:13:18 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190965]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 18:13:18 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (12.8ms) + Rendered tasks/new.html.erb within layouts/application (15.3ms) +Completed 200 OK in 19ms (Views: 16.4ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (211.0ms) DROP DATABASE IF EXISTS "TaskList_test" +  (500.9ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (8.2ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.0ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) BEGIN + ActiveRecord::InternalMetadata Create (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 01:40:47.950850"], ["updated_at", "2019-04-14 01:40:47.950850"]] +  (0.3ms) COMMIT + 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.2ms) BEGIN +  (0.1ms) COMMIT +  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 01:40:48.272481', '2019-04-14 01:40:48.272481', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 01:40:48.272481', '2019-04-14 01:40:48.272481', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 18:40:48 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 7ms (ActiveRecord: 0.5ms) +  (0.4ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 01:40:48.324076"], ["updated_at", "2019-04-14 01:40:48.324076"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-13 18:40:48 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190963]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 18:40:48 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (195.1ms) +Completed 200 OK in 205ms (Views: 201.7ms | ActiveRecord: 0.9ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 18:40:48 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 18:40:48 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (10.7ms) + Rendered tasks/new.html.erb within layouts/application (13.8ms) +Completed 200 OK in 18ms (Views: 15.0ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 18:40:48 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 01:40:48.572579"], ["updated_at", "2019-04-14 01:40:48.572579"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190964 +Completed 302 Found in 2ms (ActiveRecord: 0.5ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 18:40:48 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"-1"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 01:40:48.583404"], ["updated_at", "2019-04-14 01:40:48.583404"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-13 18:40:48 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (21.0ms) +Completed 200 OK in 25ms (Views: 22.0ms | ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (201.9ms) DROP DATABASE IF EXISTS "TaskList_test" +  (481.9ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (6.2ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.3ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 01:41:28.766204"], ["updated_at", "2019-04-14 01:41:28.766204"]] +  (0.3ms) 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.2ms) BEGIN +  (0.1ms) COMMIT +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.6ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 01:41:29.059116', '2019-04-14 01:41:29.059116', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 01:41:29.059116', '2019-04-14 01:41:29.059116', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 18:41:29 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (197.1ms) +Completed 200 OK in 211ms (Views: 204.3ms | ActiveRecord: 0.7ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 18:41:29 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 18:41:29 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 3ms (ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 01:41:29.308401"], ["updated_at", "2019-04-14 01:41:29.308401"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-13 18:41:29 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (21.2ms) +Completed 200 OK in 25ms (Views: 22.3ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 01:41:29.339869"], ["updated_at", "2019-04-14 01:41:29.339869"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-13 18:41:29 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190964]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 18:41:29 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 18:41:29 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (10.7ms) + Rendered tasks/new.html.erb within layouts/application (13.1ms) +Completed 200 OK in 16ms (Views: 14.3ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 18:41:29 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>""}} +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 01:41:29.381878"], ["updated_at", "2019-04-14 01:41:29.381878"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190965 +Completed 302 Found in 2ms (ActiveRecord: 0.5ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (198.8ms) DROP DATABASE IF EXISTS "TaskList_test" +  (456.1ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.3ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (7.3ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (1.9ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 01:42:16.689821"], ["updated_at", "2019-04-14 01:42:16.689821"]] +  (0.4ms) COMMIT + 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.2ms) BEGIN +  (0.1ms) COMMIT +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 01:42:17.001714', '2019-04-14 01:42:17.001714', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 01:42:17.001714', '2019-04-14 01:42:17.001714', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 18:42:17 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (17.7ms) + Rendered tasks/new.html.erb within layouts/application (21.7ms) +Completed 200 OK in 229ms (Views: 222.8ms | ActiveRecord: 0.0ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 18:42:17 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 2ms (ActiveRecord: 0.4ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 01:42:17.275548"], ["updated_at", "2019-04-14 01:42:17.275548"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-13 18:42:17 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190963]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 18:42:17 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 01:42:17.287849"], ["updated_at", "2019-04-14 01:42:17.287849"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190964 +Completed 302 Found in 3ms (ActiveRecord: 0.7ms) +  (0.4ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 18:42:17 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.7ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 18:42:17 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 01:42:17.315648"], ["updated_at", "2019-04-14 01:42:17.315648"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-13 18:42:17 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (20.2ms) +Completed 200 OK in 24ms (Views: 21.2ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 18:42:17 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (202.1ms) DROP DATABASE IF EXISTS "TaskList_test" +  (419.9ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (7.6ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (1.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (1.8ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 01:43:25.242916"], ["updated_at", "2019-04-14 01:43:25.242916"]] +  (0.4ms) COMMIT + 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 +  (0.1ms) COMMIT +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.6ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 01:43:25.539921', '2019-04-14 01:43:25.539921', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 01:43:25.539921', '2019-04-14 01:43:25.539921', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 18:43:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (185.8ms) +Completed 200 OK in 200ms (Views: 193.6ms | ActiveRecord: 0.7ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 18:43:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 01:43:25.791490"], ["updated_at", "2019-04-14 01:43:25.791490"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-13 18:43:25 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190963]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 3ms (ActiveRecord: 0.7ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 18:43:25 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 01:43:25.816747"], ["updated_at", "2019-04-14 01:43:25.816747"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-13 18:43:25 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (23.4ms) +Completed 200 OK in 28ms (Views: 25.0ms | ActiveRecord: 0.3ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 18:43:25 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 18:43:25 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (11.3ms) + Rendered tasks/new.html.erb within layouts/application (14.6ms) +Completed 200 OK in 18ms (Views: 15.8ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 18:43:25 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>""}} +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 01:43:25.878795"], ["updated_at", "2019-04-14 01:43:25.878795"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190965 +Completed 302 Found in 2ms (ActiveRecord: 0.5ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (161.2ms) DROP DATABASE IF EXISTS "TaskList_test" +  (485.2ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (5.6ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (6.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.0ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.3ms) BEGIN + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 01:43:42.704063"], ["updated_at", "2019-04-14 01:43:42.704063"]] +  (0.4ms) COMMIT + 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 +  (0.1ms) COMMIT +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 01:43:42.963802', '2019-04-14 01:43:42.963802', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 01:43:42.963802', '2019-04-14 01:43:42.963802', 'MyString') +  (0.7ms) COMMIT +  (0.2ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 18:43:42 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 01:43:43.014436"], ["updated_at", "2019-04-14 01:43:43.014436"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 28ms (ActiveRecord: 0.6ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 18:43:43 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (147.3ms) +Completed 200 OK in 156ms (Views: 152.0ms | ActiveRecord: 0.5ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 18:43:43 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.4ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 18:43:43 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (4.6ms) + Rendered tasks/new.html.erb within layouts/application (6.4ms) +Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 18:43:43 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 01:43:43.222136"], ["updated_at", "2019-04-14 01:43:43.222136"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-13 18:43:43 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] +  (0.2ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190964]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.7ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 01:43:43.230132"], ["updated_at", "2019-04-14 01:43:43.230132"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-13 18:43:43 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (20.9ms) +Completed 200 OK in 24ms (Views: 21.9ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 18:43:43 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.6ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (202.8ms) DROP DATABASE IF EXISTS "TaskList_test" +  (491.3ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.1ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (5.8ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.8ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 01:44:22.737958"], ["updated_at", "2019-04-14 01:44:22.737958"]] +  (0.3ms) COMMIT + 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 +  (0.1ms) COMMIT +  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 01:44:23.026289', '2019-04-14 01:44:23.026289', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 01:44:23.026289', '2019-04-14 01:44:23.026289', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started GET "/tasks/NOT%20A%20VALID%20ID/edit" for 127.0.0.1 at 2019-04-13 18:44:23 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (13.5ms) + Rendered tasks/edit.html.erb within layouts/application (17.4ms) +Completed 200 OK in 189ms (Views: 181.0ms | ActiveRecord: 0.4ms) +Started PATCH "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 18:44:23 -0700 +Processing by TasksController#update as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 400 Bad Request in 2ms (ActiveRecord: 0.4ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 01:44:23.253646"], ["updated_at", "2019-04-14 01:44:23.253646"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-13 18:44:23 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (19.9ms) +Completed 200 OK in 24ms (Views: 21.0ms | ActiveRecord: 0.2ms) +  (0.4ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 18:44:23 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 18:44:23 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 01:44:23.294125"], ["updated_at", "2019-04-14 01:44:23.294125"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-13 18:44:23 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190964]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 18:44:23 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (1.3ms) + Rendered tasks/new.html.erb within layouts/application (1.8ms) +Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 18:44:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.5ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 18:44:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.5ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 18:44:23 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 01:44:23.325557"], ["updated_at", "2019-04-14 01:44:23.325557"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190965 +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (140.3ms) DROP DATABASE IF EXISTS "TaskList_test" +  (490.5ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (5.7ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.2ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 01:46:23.916889"], ["updated_at", "2019-04-14 01:46:23.916889"]] +  (0.4ms) COMMIT + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN +  (0.2ms) COMMIT +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 01:46:24.183298', '2019-04-14 01:46:24.183298', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 01:46:24.183298', '2019-04-14 01:46:24.183298', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 18:46:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (182.3ms) +Completed 200 OK in 196ms (Views: 189.7ms | ActiveRecord: 0.6ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 18:46:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 18:46:24 -0700 +Processing by TasksController#update as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 400 Bad Request in 2ms (ActiveRecord: 0.4ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 18:46:24 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>""}} +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 01:46:24.426035"], ["updated_at", "2019-04-14 01:46:24.426035"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 3ms (ActiveRecord: 0.5ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 18:46:24 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 01:46:24.437491"], ["updated_at", "2019-04-14 01:46:24.437491"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-13 18:46:24 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190964]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.8ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 01:46:24.445820"], ["updated_at", "2019-04-14 01:46:24.445820"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-13 18:46:24 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (21.2ms) +Completed 200 OK in 25ms (Views: 22.3ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 18:46:24 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 18:46:24 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (9.4ms) + Rendered tasks/new.html.erb within layouts/application (11.4ms) +Completed 200 OK in 15ms (Views: 12.4ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (153.1ms) DROP DATABASE IF EXISTS "TaskList_test" +  (465.3ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (6.6ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (1.8ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 01:47:59.679187"], ["updated_at", "2019-04-14 01:47:59.679187"]] +  (0.3ms) COMMIT + 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 +  (0.1ms) COMMIT +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 01:47:59.937612', '2019-04-14 01:47:59.937612', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 01:47:59.937612', '2019-04-14 01:47:59.937612', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 18:47:59 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 6ms (ActiveRecord: 0.3ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 01:47:59.983431"], ["updated_at", "2019-04-14 01:47:59.983431"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-13 18:47:59 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190963]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 3ms (ActiveRecord: 0.7ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 18:47:59 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (14.2ms) + Rendered tasks/new.html.erb within layouts/application (18.3ms) +Completed 200 OK in 201ms (Views: 198.6ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 18:48:00 -0700 +Processing by TasksController#update as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 400 Bad Request in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 18:48:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 8ms (Views: 4.2ms | ActiveRecord: 0.7ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 18:48:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 18:48:00 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 01:48:00.223606"], ["updated_at", "2019-04-14 01:48:00.223606"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190964 +Completed 302 Found in 2ms (ActiveRecord: 0.5ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 01:48:00.230543"], ["updated_at", "2019-04-14 01:48:00.230543"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-13 18:48:00 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (21.3ms) +Completed 200 OK in 25ms (Views: 22.5ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 18:48: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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (239.1ms) DROP DATABASE IF EXISTS "TaskList_test" +  (401.3ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.3ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (8.0ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (1.8ms) 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) + 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.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 01:57:26.320360"], ["updated_at", "2019-04-14 01:57:26.320360"]] +  (0.4ms) COMMIT + 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.2ms) BEGIN +  (0.2ms) COMMIT +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.6ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 01:57:26.621535', '2019-04-14 01:57:26.621535', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 01:57:26.621535', '2019-04-14 01:57:26.621535', 'MyString') +  (0.5ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 18:57:26 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 6ms (ActiveRecord: 0.4ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 01:57:26.671444"], ["updated_at", "2019-04-14 01:57:26.671444"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-13 18:57:26 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190963]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 3ms (ActiveRecord: 0.9ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 18:57:26 -0700 +Processing by TasksController#update as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 400 Bad Request in 1ms (ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 18:57:26 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 01:57:26.701879"], ["updated_at", "2019-04-14 01:57:26.701879"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-13 18:57:26 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (21.4ms) +Completed 200 OK in 163ms (Views: 159.4ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 18:57:26 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (11.9ms) + Rendered tasks/new.html.erb within layouts/application (14.7ms) +Completed 200 OK in 18ms (Views: 15.9ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 18:57:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.6ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 18:57:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 18:57:26 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 01:57:26.910391"], ["updated_at", "2019-04-14 01:57:26.910391"], ["completion_date", ""]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190965 +Completed 302 Found in 4ms (ActiveRecord: 0.7ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (156.8ms) DROP DATABASE IF EXISTS "TaskList_test" +  (485.3ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (5.8ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (3.1ms) 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) + 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 + ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 02:00:50.566696"], ["updated_at", "2019-04-14 02:00:50.566696"]] +  (0.3ms) COMMIT + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) BEGIN +  (0.2ms) COMMIT +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:00:50.879050', '2019-04-14 02:00:50.879050', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:00:50.879050', '2019-04-14 02:00:50.879050', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:00:50 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 7ms (ActiveRecord: 0.4ms) +  (0.4ms) SELECT COUNT(*) FROM "tasks" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 02:00:50.923465"], ["updated_at", "2019-04-14 02:00:50.923465"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-13 19:00:50 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190963]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 3ms (ActiveRecord: 0.8ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 02:00:50.933090"], ["updated_at", "2019-04-14 02:00:50.933090"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-13 19:00:50 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (22.8ms) +Completed 200 OK in 236ms (Views: 232.6ms | ActiveRecord: 0.2ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:00:51 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 19:00:51 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (11.7ms) + Rendered tasks/new.html.erb within layouts/application (14.2ms) +Completed 200 OK in 17ms (Views: 15.2ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:00:51 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 02:00:51.203166"], ["updated_at", "2019-04-14 02:00:51.203166"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190965 +Completed 302 Found in 4ms (ActiveRecord: 0.7ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:00:51 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 7ms (Views: 3.2ms | ActiveRecord: 0.7ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 19:00:51 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (181.4ms) DROP DATABASE IF EXISTS "TaskList_test" +  (487.0ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (6.7ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (1.8ms) 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) + 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.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 02:01:37.682596"], ["updated_at", "2019-04-14 02:01:37.682596"]] +  (0.4ms) COMMIT + 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.2ms) BEGIN +  (0.1ms) COMMIT +  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:01:37.995599', '2019-04-14 02:01:37.995599', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:01:37.995599', '2019-04-14 02:01:37.995599', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.7ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 19:01:38 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (194.3ms) +Completed 200 OK in 210ms (Views: 203.3ms | ActiveRecord: 0.6ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:01:38 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.5ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.4ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:01:38 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 02:01:38.290201"], ["updated_at", "2019-04-14 02:01:38.290201"], ["completion_date", ""]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 3ms (ActiveRecord: 0.7ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:01:38 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 02:01:38.300802"], ["updated_at", "2019-04-14 02:01:38.300802"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-13 19:01:38 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (21.7ms) +Completed 200 OK in 25ms (Views: 22.9ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 19:01:38 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (11.7ms) + Rendered tasks/new.html.erb within layouts/application (14.0ms) +Completed 200 OK in 17ms (Views: 15.1ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:01:38 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 02:01:38.355330"], ["updated_at", "2019-04-14 02:01:38.355330"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190965" for 127.0.0.1 at 2019-04-13 19:01:38 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190965]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.8ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK diff --git a/test/controllers/tasks_controller_test.rb b/test/controllers/tasks_controller_test.rb index b10bb7532..15ac75328 100644 --- a/test/controllers/tasks_controller_test.rb +++ b/test/controllers/tasks_controller_test.rb @@ -5,7 +5,7 @@ # you may need to modify this. let (:task) { Task.create name: "sample task", description: "this is an example for a test", - completed_at: false + completed_at: "", completion_date: "" } # Tests for Wave 1 @@ -61,13 +61,12 @@ it "can create a new task" do # Arrange - # Note to students: Your Task model **may** be different and - # you may need to modify this. task_hash = { task: { name: "new task", description: "new task description", - completed_at: "" + completed_at: "", + completion_date: "" }, } @@ -78,7 +77,6 @@ new_task = Task.find_by(name: task_hash[:task][:name]) - # binding.pry expect(new_task.description).must_equal task_hash[:task][:description] expect(new_task.completed_at).must_equal task_hash[:task][:completed_at] @@ -118,6 +116,12 @@ end it "will redirect to the root page if given an invalid id" do + invalid_id = "NOT A VALID ID" + + get edit_task(1) + patch task_path(invalid_id) + + must_respond_with :redirect # Your code here end end From 5e5c4276fc576cc1724e660e1a9402a4400fdcc2 Mon Sep 17 00:00:00 2001 From: Jillianne Ramirez Date: Sat, 13 Apr 2019 19:13:07 -0700 Subject: [PATCH 15/23] routes resource update --- config/routes.rb | 15 ++------------- log/development.log | 9 +++++++++ 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index 553469ea3..abc2acbaa 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,21 +1,10 @@ Rails.application.routes.draw do - get '/tasks', to: 'tasks#index', as: 'tasks' - # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html - # method path-URL, to: Controller#action (order of routes matter, need #new before #show) + root to: 'tasks#index' - get '/tasks/new', to: 'tasks#new', as: 'new_task' - post '/tasks', to: 'tasks#create' - - get '/tasks/:id', to: 'tasks#show', as: 'task' #id does not have to be a number, it can be a word ORDER MATTERS OF ROUTES - - get '/tasks/:id/edit', to: 'tasks#edit', as: 'edit_task' - patch '/tasks/:id', to: 'tasks#update' + resources :tasks get '/tasks/:id/toggle_complete', to: 'tasks#toggle_complete', as: 'toggle_complete' patch '/tasks/:id/toggle_complete', to: 'tasks#toggle_complete' get '/tasks/:id/verify', to: 'tasks#verify', as: 'verify' - delete '/tasks/:id/', to: 'tasks#destroy' - - root to: 'tasks#index' # makes homepage to site go to the index, also get '/', to: 'tasks#index' end diff --git a/log/development.log b/log/development.log index 0ac7fce79..02500134d 100644 --- a/log/development.log +++ b/log/development.log @@ -17640,3 +17640,12 @@ Processing by TasksController#index as HTML Completed 200 OK in 27ms (Views: 22.2ms | ActiveRecord: 0.3ms) +Started GET "/" for ::1 at 2019-04-13 19:12:40 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (189.8ms) +Completed 200 OK in 277ms (Views: 224.8ms | ActiveRecord: 6.0ms) + + From 01b7a4108455dce849eeb0634e20e985ce79f683 Mon Sep 17 00:00:00 2001 From: Jillianne Ramirez Date: Sun, 14 Apr 2019 20:33:14 -0700 Subject: [PATCH 16/23] tests added --- app/controllers/tasks_controller.rb | 14 +- log/development.log | 6439 +++++++++++++++++ log/test.log | 7715 +++++++++++++++++++++ test/controllers/tasks_controller_test.rb | 120 +- 4 files changed, 14219 insertions(+), 69 deletions(-) diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb index f89e4ad1a..798c8ac19 100644 --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -1,6 +1,6 @@ class TasksController < ApplicationController TASKS = [ - {name: "Call Ma", description: "Family First", completed_at: ""} + {name: "Call Ma", description: "Family First", completed_at: "", completion_date: ""} ] def index @@ -33,17 +33,23 @@ def create def edit @task = Task.find_by(id: params[:id]) + + if @task.nil? + redirect_to tasks_path + end end def update task = Task.find_by(id: params[:id]) - is_successful = task.update(task_params) + if task.nil? + redirect_to tasks_path + else + is_successful = task.update(task_params) + end if is_successful redirect_to task_path(task.id) - else - redirect_to tasks_path end end diff --git a/log/development.log b/log/development.log index 02500134d..4661f8479 100644 --- a/log/development.log +++ b/log/development.log @@ -17649,3 +17649,6442 @@ Processing by TasksController#index as HTML Completed 200 OK in 277ms (Views: 224.8ms | ActiveRecord: 6.0ms) +Started GET "/" for ::1 at 2019-04-13 19:13:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (188.6ms) +Completed 200 OK in 273ms (Views: 218.9ms | ActiveRecord: 7.1ms) + + +Started GET "/tasks/3/verify" for ::1 at 2019-04-13 19:13:25 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"3"} + Task Load (2.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:77 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (0.8ms) +Completed 200 OK in 39ms (Views: 20.3ms | ActiveRecord: 5.0ms) + + +Started DELETE "/tasks/3" for ::1 at 2019-04-13 19:13:27 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"x1OUV/0xl8UhWYZC5Ocb5iQkS1K8pKGdeRfbQ1qUoQpNcpKWYmwRJrF7BUcP4HeNQRF7vP6507uspkNsOMRdXg==", "id"=>"3"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:66 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:71 + Task Destroy (0.4ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 3]] + ↳ app/controllers/tasks_controller.rb:71 +  (1.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:71 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:13:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 20ms (Views: 17.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:13:29 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 26ms (Views: 22.8ms | ActiveRecord: 0.6ms) + + +Started GET "/" for ::1 at 2019-04-13 19:30:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (13.9ms) +Completed 200 OK in 44ms (Views: 31.9ms | ActiveRecord: 6.6ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 19:30:32 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.8ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 19:30:32"], ["updated_at", "2019-04-14 02:30:32.772608"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 4.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:30:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 29ms (Views: 25.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 19:30:34 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 02:30:34.197263"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (3.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 5.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:30:34 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.5ms) +Completed 200 OK in 33ms (Views: 29.3ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 19:30:34 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.1ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 19:30:34"], ["updated_at", "2019-04-14 02:30:34.877788"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 33ms (ActiveRecord: 3.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:30:34 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 21ms (Views: 18.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 19:30:35 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (3.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 02:30:35.460987"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (4.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 8.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:30:35 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.6ms) +Completed 200 OK in 25ms (Views: 23.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 19:30:36 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (2.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (6.6ms) +Completed 200 OK in 37ms (Views: 29.2ms | ActiveRecord: 2.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:30:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (3.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (7.2ms) +Completed 200 OK in 40ms (Views: 33.4ms | ActiveRecord: 3.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:33:43 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 34ms (Views: 30.9ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 19:33:45 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (3.1ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 19:33:45"], ["updated_at", "2019-04-14 02:33:45.355837"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 4.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:33:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.8ms) +Completed 200 OK in 34ms (Views: 30.5ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 19:33:45 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 02:33:45.907161"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:33:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 26ms (Views: 23.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 19:33:46 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 19:33:46"], ["updated_at", "2019-04-14 02:33:46.630385"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:33:46 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 26ms (Views: 23.0ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 19:33:47 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (2.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 02:33:47.183136"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 5.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:33:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 24ms (Views: 20.9ms | ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2019-04-13 19:34:13 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 32ms (Views: 28.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 19:34:15 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.7ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 19:34:15"], ["updated_at", "2019-04-14 02:34:15.608257"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 6.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:34:15 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 26ms (Views: 23.6ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 19:34:16 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (2.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 02:34:16.145594"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (3.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 7.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:34:16 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.0ms) +Completed 200 OK in 30ms (Views: 26.7ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 19:34:17 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.0ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 19:34:17"], ["updated_at", "2019-04-14 02:34:17.173205"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 4.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:34:17 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 26ms (Views: 22.9ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 19:34:17 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 02:34:17.693240"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (6.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 7.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:34:17 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 27ms (Views: 23.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 19:34:18 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.6ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.5ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 19:34:18"], ["updated_at", "2019-04-14 02:34:18.603870"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:34:18 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 23ms (Views: 20.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 19:34:19 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (2.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 02:34:19.015730"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 4.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:34:19 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.2ms) +Completed 200 OK in 30ms (Views: 26.5ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 19:34:20 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 19:34:20"], ["updated_at", "2019-04-14 02:34:20.702389"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 6.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:34:20 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.7ms) +Completed 200 OK in 28ms (Views: 24.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 19:34:21 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (5.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 02:34:21.278127"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 7.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:34:21 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 29ms (Views: 24.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 19:34:22 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (2.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 19:34:22"], ["updated_at", "2019-04-14 02:34:22.843068"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 7.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:34:22 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 25ms (Views: 21.8ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 19:34:23 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (2.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 02:34:23.399308"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (3.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 6.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:34:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.9ms) +Completed 200 OK in 31ms (Views: 27.3ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 19:34:24 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (2.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.5ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 19:34:24"], ["updated_at", "2019-04-14 02:34:24.491815"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (4.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 7.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:34:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.5ms) +Completed 200 OK in 28ms (Views: 25.2ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 19:34:24 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (2.1ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 02:34:24.772272"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (4.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 7.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:34:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 25ms (Views: 22.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 19:34:25 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.5ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 19:34:25"], ["updated_at", "2019-04-14 02:34:25.863808"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 3.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:34:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 25ms (Views: 23.2ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 19:34:26 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (2.8ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 02:34:26.390436"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (3.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 8.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:34:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.8ms) +Completed 200 OK in 26ms (Views: 22.2ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 19:34:27 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (2.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.8ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 19:34:27"], ["updated_at", "2019-04-14 02:34:27.433921"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (4.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 8.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:34:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 26ms (Views: 22.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 19:34:28 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 02:34:28.013567"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:34:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 28ms (Views: 24.7ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 19:35:23 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.0ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 19:35:23"], ["updated_at", "2019-04-14 02:35:23.973379"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:35:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 34ms (Views: 30.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 19:35:24 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (2.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 02:35:24.543963"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 5.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:35:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 27ms (Views: 24.2ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 19:35:25 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (2.0ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.9ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 19:35:25"], ["updated_at", "2019-04-14 02:35:25.416300"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 4.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:35:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 24ms (Views: 20.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 19:35:25 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (2.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (5.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 02:35:25.828669"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (9.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 23ms (ActiveRecord: 17.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:35:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 42ms (Views: 39.8ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 19:35:26 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.7ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 19:35:26"], ["updated_at", "2019-04-14 02:35:26.677478"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 5.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:35:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 24ms (Views: 21.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 19:35:27 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 02:35:27.055059"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 4.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:35:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 24ms (Views: 20.7ms | ActiveRecord: 0.4ms) + + +Started GET "/" for ::1 at 2019-04-13 19:38:02 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (13.2ms) +Completed 200 OK in 53ms (Views: 39.9ms | ActiveRecord: 5.7ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 19:38:04 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 19:38:04"], ["updated_at", "2019-04-14 02:38:04.285056"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (7.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 8.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:38:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.4ms) +Completed 200 OK in 35ms (Views: 31.3ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 19:38:48 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (3.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (2.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 02:38:48.982042"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (6.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 20ms (ActiveRecord: 13.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:38:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 38ms (Views: 33.9ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 19:38:49 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 19:38:49"], ["updated_at", "2019-04-14 02:38:49.536544"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (5.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 7.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:38:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 28ms (Views: 25.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 19:38:50 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (2.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.6ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.6ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 19:38:50"], ["updated_at", "2019-04-14 02:38:50.151618"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 5.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:38:50 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 27ms (Views: 24.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 19:38:50 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (13.1ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 02:38:50.491161"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (3.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 21ms (ActiveRecord: 16.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 19:38:50 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.3ms) +Completed 200 OK in 36ms (Views: 33.5ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:04:52 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:04:52.349022"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (0.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 32ms (ActiveRecord: 7.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:04:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.9ms) +Completed 200 OK in 42ms (Views: 37.7ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:04:52 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.0ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:04:52"], ["updated_at", "2019-04-14 03:04:52.861608"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 6.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:04:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.9ms) +Completed 200 OK in 34ms (Views: 29.2ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:04:53 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:04:53"], ["updated_at", "2019-04-14 03:04:53.546923"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 1.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:04:53 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 27ms (Views: 25.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:04:54 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (2.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:04:54.130098"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 6.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:04:54 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.7ms) +Completed 200 OK in 35ms (Views: 32.2ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:06:30 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:06:30.140501"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (4.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 7.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:06:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 34ms (Views: 30.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:06:30 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.6ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:06:30"], ["updated_at", "2019-04-14 03:06:30.622494"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (7.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 9.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:06:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 29ms (Views: 25.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:06:31 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.8ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:06:31"], ["updated_at", "2019-04-14 03:06:31.115409"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 6.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:06:31 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 39ms (Views: 36.0ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:06:31 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (3.8ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:06:31.552793"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (4.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 8.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:06:31 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 25ms (Views: 22.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:06:32 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:06:32.255366"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 3.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:06:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 27ms (Views: 22.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:06:32 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:06:32"], ["updated_at", "2019-04-14 03:06:32.541229"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:06:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 26ms (Views: 22.7ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:06:33 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (2.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.6ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.0ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:06:33"], ["updated_at", "2019-04-14 03:06:33.507358"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:06:33 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 25ms (Views: 21.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:06:34 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (2.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:06:34.735729"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 4.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:06:34 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.8ms) +Completed 200 OK in 33ms (Views: 29.7ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:06:35 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (2.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:06:35.507085"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 6.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:06:35 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 24ms (Views: 21.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:06:36 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (4.9ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:06:36"], ["updated_at", "2019-04-14 03:06:36.287112"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 7.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:06:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.6ms) +Completed 200 OK in 32ms (Views: 27.5ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:06:37 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (4.0ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.8ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:06:37"], ["updated_at", "2019-04-14 03:06:37.035534"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 7.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:06:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 26ms (Views: 22.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:06:37 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:06:37.594438"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 4.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:06:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.4ms) +Completed 200 OK in 34ms (Views: 30.6ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:06:38 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.9ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (3.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:06:38.263565"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:06:38 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 24ms (Views: 21.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:06:38 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.2ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:06:38"], ["updated_at", "2019-04-14 03:06:38.803636"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:06:38 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 27ms (Views: 22.9ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:06:39 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (7.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.1ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:06:39"], ["updated_at", "2019-04-14 03:06:39.321570"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 17ms (ActiveRecord: 11.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:06:39 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 23ms (Views: 20.0ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:07:23 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (16.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (2.9ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (2.8ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:07:23.826345"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 30ms (ActiveRecord: 24.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:07:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 27ms (Views: 24.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:07:24 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.9ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:07:24.551332"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 5.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:07:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 25ms (Views: 21.6ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 20:07:25 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (7.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.4ms) +Completed 200 OK in 42ms (Views: 28.7ms | ActiveRecord: 7.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:07:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.3ms) +Completed 200 OK in 39ms (Views: 32.7ms | ActiveRecord: 1.5ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:07:27 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.6ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:07:27"], ["updated_at", "2019-04-14 03:07:27.870713"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 5.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20: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" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 27ms (Views: 23.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:07:28 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (3.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:07:28.576750"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 7.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:07:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 30ms (Views: 27.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 20:07:28 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 35ms (Views: 31.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:07:29 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.7ms) +Completed 200 OK in 36ms (Views: 29.7ms | ActiveRecord: 1.5ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:07:30 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.6ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:07:30"], ["updated_at", "2019-04-14 03:07:30.784970"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 5.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:07:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 30ms (Views: 26.7ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-13 20:07:31 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.4ms) +Completed 200 OK in 32ms (Views: 27.2ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:07:33 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.5ms) +Completed 200 OK in 41ms (Views: 37.6ms | ActiveRecord: 1.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:07:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 24ms (Views: 21.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:45:03 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:45:03.666745"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 21ms (ActiveRecord: 3.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:45:03 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (17.1ms) +Completed 200 OK in 79ms (Views: 73.0ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:45:04 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:45:04"], ["updated_at", "2019-04-14 03:45:04.124068"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:45:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 40ms (Views: 35.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:45:04 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.9ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:45:04"], ["updated_at", "2019-04-14 03:45:04.911398"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (6.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 16ms (ActiveRecord: 10.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:45:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 71ms (Views: 67.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:45:05 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.8ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:45:05.331762"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (3.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 5.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:45:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 29ms (Views: 24.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:48:05 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (5.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.5ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:48:05"], ["updated_at", "2019-04-14 03:48:05.584919"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 15ms (ActiveRecord: 8.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:48:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.6ms) +Completed 200 OK in 40ms (Views: 35.8ms | ActiveRecord: 1.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:48:06 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:48:06.061774"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:48:06 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 26ms (Views: 22.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:48:06 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (2.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:48:06.556728"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 5.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:48:06 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 27ms (Views: 23.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:48:07 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:48:07"], ["updated_at", "2019-04-14 03:48:07.146737"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (6.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 7.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:48:07 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 32ms (Views: 27.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:48:07 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:48:07"], ["updated_at", "2019-04-14 03:48:07.897561"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 4.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:48:07 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 25ms (Views: 22.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:48:08 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:48:08.607436"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:48:08 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 27ms (Views: 23.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:48:09 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.9ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:48:09.477452"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 3.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:48:09 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 25ms (Views: 22.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:48:10 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.8ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:48:10"], ["updated_at", "2019-04-14 03:48:10.825737"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 4.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:48:10 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.7ms) +Completed 200 OK in 43ms (Views: 39.4ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:48:11 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.5ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:48:11"], ["updated_at", "2019-04-14 03:48:11.798073"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:48:11 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 28ms (Views: 23.6ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:48:12 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:48:12.823837"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:48:12 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.8ms) +Completed 200 OK in 32ms (Views: 27.7ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:48:14 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.9ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:48:14.154996"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 3.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:48:14 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.3ms) +Completed 200 OK in 27ms (Views: 23.6ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:48:42 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:48:42"], ["updated_at", "2019-04-14 03:48:42.221529"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 19ms (ActiveRecord: 6.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:48:42 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 27ms (Views: 25.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:48:43 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.6ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (3.7ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:48:43.279652"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (6.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 17ms (ActiveRecord: 12.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:48:43 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 22ms (Views: 19.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:48:44 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.5ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:48:44"], ["updated_at", "2019-04-14 03:48:44.121676"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 4.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:48:44 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.2ms) +Completed 200 OK in 33ms (Views: 29.8ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:48:45 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:48:45.041051"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (3.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 15ms (ActiveRecord: 8.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:48:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 32ms (Views: 28.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:48:45 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.0ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:48:45"], ["updated_at", "2019-04-14 03:48:45.664146"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 4.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:48:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.6ms) +Completed 200 OK in 28ms (Views: 24.1ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:48:46 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:48:46.222862"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20: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" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 23ms (Views: 20.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:48:46 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.9ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:48:46"], ["updated_at", "2019-04-14 03:48:46.675415"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (7.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 9.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:48:46 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 27ms (Views: 23.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:48:47 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:48:47"], ["updated_at", "2019-04-14 03:48:47.342742"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 1.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:48:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 28ms (Views: 24.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:48:47 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:48:47.924281"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (13.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 28ms (ActiveRecord: 14.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:48:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 23ms (Views: 20.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:48:48 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (2.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.9ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.2ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:48:48"], ["updated_at", "2019-04-14 03:48:48.540319"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 6.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:48:48 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 29ms (Views: 25.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:48:49 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:48:49.114837"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (4.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:48:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.4ms) +Completed 200 OK in 29ms (Views: 25.8ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:48:49 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.9ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:48:49"], ["updated_at", "2019-04-14 03:48:49.675133"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:48:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.4ms) +Completed 200 OK in 30ms (Views: 26.6ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:49:41 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (184.3ms) +Completed 200 OK in 264ms (Views: 213.3ms | ActiveRecord: 6.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:49:42 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:49:42.707492"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 3.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:49:42 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 27ms (Views: 24.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:49:43 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.0ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:49:43.855169"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (4.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 6.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:49:43 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 26ms (Views: 23.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:49:44 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:49:44"], ["updated_at", "2019-04-14 03:49:44.733721"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 5.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:49:44 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.4ms) +Completed 200 OK in 29ms (Views: 24.7ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:49:45 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:49:45.658444"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:49:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 26ms (Views: 23.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:49:46 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.1ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:49:46"], ["updated_at", "2019-04-14 03:49:46.601029"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:49:46 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (2.0ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.5ms) +Completed 200 OK in 32ms (Views: 23.9ms | ActiveRecord: 2.0ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:49:47 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.8ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:49:47"], ["updated_at", "2019-04-14 03:49:47.337470"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (5.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 8.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:49:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 25ms (Views: 22.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:49:48 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:49:48.004270"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (3.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:49:48 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.7ms) +Completed 200 OK in 28ms (Views: 24.7ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:49:48 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.7ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:49:48.636271"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (6.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 7.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:49:48 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 43ms (Views: 40.1ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:49:49 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.2ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:49:49"], ["updated_at", "2019-04-14 03:49:49.220791"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 5.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:49:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.7ms) +Completed 200 OK in 34ms (Views: 29.2ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:49:49 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (2.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:49:49.875726"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 5.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:49:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.9ms) +Completed 200 OK in 30ms (Views: 25.2ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:49:50 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.2ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:49:50"], ["updated_at", "2019-04-14 03:49:50.452068"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:49:50 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 42ms (Views: 37.8ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:49:50 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (2.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:49:50.992860"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (8.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 19ms (ActiveRecord: 11.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:49:51 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 24ms (Views: 19.8ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:49:51 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.5ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:49:51"], ["updated_at", "2019-04-14 03:49:51.462732"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:49:51 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.6ms) +Completed 200 OK in 34ms (Views: 30.9ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:49:52 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:49:52"], ["updated_at", "2019-04-14 03:49:52.114528"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 1.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:49:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 33ms (Views: 29.9ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:49:52 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:49:52.710517"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (3.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:49:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.4ms) +Completed 200 OK in 33ms (Views: 29.6ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:49:53 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (3.6ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:49:53"], ["updated_at", "2019-04-14 03:49:53.206109"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 7.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:49:53 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 32ms (Views: 28.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:49:53 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (5.7ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:49:53.642533"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (4.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 10.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:49:53 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 33ms (Views: 28.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:49:54 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (3.0ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:49:54"], ["updated_at", "2019-04-14 03:49:54.082944"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 6.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:49:54 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 34ms (Views: 17.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:49:55 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:49:55.076201"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:49:55 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.9ms) +Completed 200 OK in 30ms (Views: 24.2ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:49:56 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:49:56"], ["updated_at", "2019-04-14 03:49:56.164739"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 4.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:49:56 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 25ms (Views: 22.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:49:56 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:49:56.953057"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 4.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:49:56 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.2ms) +Completed 200 OK in 30ms (Views: 26.7ms | ActiveRecord: 0.8ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:49:57 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.6ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:49:57"], ["updated_at", "2019-04-14 03:49:57.591175"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:49:57 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (3.0ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (7.0ms) +Completed 200 OK in 30ms (Views: 25.2ms | ActiveRecord: 3.0ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:49:58 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:49:58.078186"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (5.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 5.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:49:58 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 25ms (Views: 21.9ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:49:58 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.7ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:49:58"], ["updated_at", "2019-04-14 03:49:58.508923"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 3.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:49:58 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 26ms (Views: 22.7ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:50:19 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:50:19.819798"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 16ms (ActiveRecord: 4.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:19 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 28ms (Views: 25.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:50:22 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (2.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:50:22.654110"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (5.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 8.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:22 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 31ms (Views: 27.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:50:23 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:50:23"], ["updated_at", "2019-04-14 03:50:23.564287"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.8ms) +Completed 200 OK in 31ms (Views: 28.0ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:50:24 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (2.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:50:24.398309"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (7.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 16ms (ActiveRecord: 11.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 23ms (Views: 19.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:50:24 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:50:24"], ["updated_at", "2019-04-14 03:50:24.992043"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 3.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 29ms (Views: 24.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:50:25 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:50:25.567816"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (3.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 4.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 26ms (Views: 22.6ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:50:26 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:50:26"], ["updated_at", "2019-04-14 03:50:26.304666"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.6ms) +Completed 200 OK in 29ms (Views: 23.2ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:50:27 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (2.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:50:27.065080"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 25ms (Views: 23.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:50:27 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:50:27"], ["updated_at", "2019-04-14 03:50:27.740846"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 3.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 34ms (Views: 26.8ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:50:28 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:50:28.298616"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 6.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 22ms (Views: 19.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:50:28 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:50:28"], ["updated_at", "2019-04-14 03:50:28.793562"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 3.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 34ms (Views: 27.5ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:50:29 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (3.9ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:50:29.228850"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 7.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:29 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 25ms (Views: 21.0ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:50:29 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.6ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:50:29"], ["updated_at", "2019-04-14 03:50:29.696331"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:29 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 20ms (Views: 17.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:50:30 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (3.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.0ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:50:30.120426"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 8.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 27ms (Views: 24.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:50:30 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (9.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:50:30"], ["updated_at", "2019-04-14 03:50:30.429618"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 17ms (ActiveRecord: 13.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 23ms (Views: 21.0ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:50:30 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (3.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:50:30.781376"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 8.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 27ms (Views: 22.9ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:50:30 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (3.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-14 03:50:30.962382"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 8.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.2ms) +Completed 200 OK in 28ms (Views: 24.3ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:50:31 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (2.7ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:50:31.146522"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 5.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:31 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 26ms (Views: 21.4ms | ActiveRecord: 0.8ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:50:31 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.1ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:50:31"], ["updated_at", "2019-04-14 03:50:31.316012"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (4.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 36ms (ActiveRecord: 5.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:31 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 23ms (Views: 20.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:50:31 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:50:31.656301"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 5.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:31 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 28ms (Views: 24.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:50:31 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (10.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (3.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-14 03:50:31.873346"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 32ms (ActiveRecord: 17.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:31 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 21ms (Views: 17.7ms | ActiveRecord: 0.8ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:50:32 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:50:32.049509"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 3.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 29ms (Views: 25.9ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:50:32 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:50:32"], ["updated_at", "2019-04-14 03:50:32.372378"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (4.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 6.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.1ms) +Completed 200 OK in 28ms (Views: 24.0ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:50:32 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:50:32.539444"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (7.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 17ms (ActiveRecord: 11.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 24ms (Views: 20.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:50:32 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-14 03:50:32.709769"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 26ms (Views: 23.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:50:33 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:50:33.039841"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 5.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:33 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 27ms (Views: 24.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:50:33 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:50:33"], ["updated_at", "2019-04-14 03:50:33.925357"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:33 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 30ms (Views: 26.7ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:50:34 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.9ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:50:34.222403"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 5.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:34 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 28ms (Views: 24.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:50:34 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.2ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:50:34"], ["updated_at", "2019-04-14 03:50:34.472499"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 3.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:34 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 28ms (Views: 24.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:50:59 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:50:59"], ["updated_at", "2019-04-14 03:50:59.972683"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 6.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:50:59 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (8.6ms) +Completed 200 OK in 29ms (Views: 26.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:51:00 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:51:00.780706"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:51:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.7ms) +Completed 200 OK in 30ms (Views: 24.6ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:51:01 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (10.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:51:01"], ["updated_at", "2019-04-14 03:51:01.511802"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (11.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 49ms (ActiveRecord: 22.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:51:01 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 19ms (Views: 16.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:51:02 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:51:02.183894"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (3.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 3.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:51:02 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 28ms (Views: 24.3ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:51:02 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (2.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:51:02"], ["updated_at", "2019-04-14 03:51:02.765362"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 6.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:51:02 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.9ms) +Completed 200 OK in 29ms (Views: 25.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:51:03 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:51:03.351498"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 4.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:51:03 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 25ms (Views: 22.0ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:51:04 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.9ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:51:04"], ["updated_at", "2019-04-14 03:51:04.029783"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 5.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:51:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 26ms (Views: 22.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:51:04 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (5.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:51:04.698069"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 8.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:51:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.1ms) +Completed 200 OK in 29ms (Views: 25.3ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:51:05 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.2ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:51:05"], ["updated_at", "2019-04-14 03:51:05.298957"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 5.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:51:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 24ms (Views: 20.8ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:51:05 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (4.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.7ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:51:05.821963"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 8.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:51:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.5ms) +Completed 200 OK in 32ms (Views: 28.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:51:06 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (4.7ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:51:06"], ["updated_at", "2019-04-14 03:51:06.257986"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (17.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 26ms (ActiveRecord: 22.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:51:06 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 22ms (Views: 19.2ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:51:06 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (2.9ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:51:06.753082"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 5.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:51:06 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.6ms) +Completed 200 OK in 27ms (Views: 22.7ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:51:07 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.9ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.8ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:51:07"], ["updated_at", "2019-04-14 03:51:07.279108"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 6.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:51:07 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 26ms (Views: 22.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:51:07 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:51:07.748566"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (6.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:51:07 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.6ms) +Completed 200 OK in 32ms (Views: 28.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:51:08 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (3.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:51:08"], ["updated_at", "2019-04-14 03:51:08.213714"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (6.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 10.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:51:08 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 24ms (Views: 20.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:51:08 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:51:08.720082"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 1.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:51:08 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.6ms) +Completed 200 OK in 33ms (Views: 29.6ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:51:09 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.7ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:51:09"], ["updated_at", "2019-04-14 03:51:09.164135"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:51:09 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 27ms (Views: 22.7ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:51:09 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:51:09.591169"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (3.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 4.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:51:09 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.8ms) +Completed 200 OK in 34ms (Views: 30.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:51:09 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-14 03:51:09.851937"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (5.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 7.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:51:09 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 29ms (Views: 26.4ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:55:52 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (2.1ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:55:52.947635"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (9.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 17ms (ActiveRecord: 11.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:55:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.3ms) +Completed 200 OK in 43ms (Views: 37.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:55:53 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:55:53"], ["updated_at", "2019-04-14 03:55:53.531593"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (5.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 5.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:55:53 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 28ms (Views: 25.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:55:54 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.1ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:55:54.259706"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (0.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:55:54 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.6ms) +Completed 200 OK in 31ms (Views: 27.0ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:55:54 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.7ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:55:54"], ["updated_at", "2019-04-14 03:55:54.790115"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (7.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 9.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:55:54 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 28ms (Views: 24.0ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:55:55 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.6ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.8ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:55:55.215005"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:55:55 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.7ms) +Completed 200 OK in 30ms (Views: 26.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:55:55 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.2ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:55:55"], ["updated_at", "2019-04-14 03:55:55.686458"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (6.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 15ms (ActiveRecord: 9.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:55:55 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 28ms (Views: 24.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:55:56 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (3.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:55:56.074973"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 5.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:55:56 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 27ms (Views: 23.2ms | ActiveRecord: 0.3ms) + + +Started GET "/" for ::1 at 2019-04-13 20:55:59 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 29ms (Views: 25.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:56:00 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:56:00.371159"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 15ms (ActiveRecord: 5.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:56:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 32ms (Views: 29.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:56:01 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (3.6ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:56:01"], ["updated_at", "2019-04-14 03:56:01.716672"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (4.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 8.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:56:01 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.1ms) +Completed 200 OK in 29ms (Views: 25.9ms | ActiveRecord: 0.8ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:56:03 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.5ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:56:03"], ["updated_at", "2019-04-14 03:56:03.802183"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 3.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:56:03 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 26ms (Views: 22.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:56:06 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:56:06.348712"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 3.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:56:06 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.4ms) +Completed 200 OK in 31ms (Views: 24.1ms | ActiveRecord: 1.2ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:56:07 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.1ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:56:07"], ["updated_at", "2019-04-14 03:56:07.802537"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 5.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:56:07 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 32ms (Views: 27.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:56:08 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:56:08.584432"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 3.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:56:08 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.5ms) +Completed 200 OK in 30ms (Views: 24.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 20:56:09 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.8ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:56:09"], ["updated_at", "2019-04-14 03:56:09.167618"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 4.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:56:09 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 28ms (Views: 24.5ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:56:09 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:56:09.904707"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 3.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:56:09 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.8ms) +Completed 200 OK in 30ms (Views: 24.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:56:10 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.2ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:56:10"], ["updated_at", "2019-04-14 03:56:10.357196"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:56:10 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 26ms (Views: 21.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:56:10 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:56:10.876301"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (3.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 4.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:56:10 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 27ms (Views: 24.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:56:11 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.5ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:56:11"], ["updated_at", "2019-04-14 03:56:11.453759"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 6.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:56:11 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 24ms (Views: 20.5ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:56:11 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 03:56:11.947225"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:56:11 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 26ms (Views: 23.2ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 20:56:12 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.5ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 20:56:12"], ["updated_at", "2019-04-14 03:56:12.343901"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 20:56:12 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 26ms (Views: 22.3ms | ActiveRecord: 0.4ms) + + +Started GET "/" for ::1 at 2019-04-13 21:00:01 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (7.2ms) +Completed 200 OK in 44ms (Views: 40.0ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:03 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (3.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:00:03.670026"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 7.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:03 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 22ms (Views: 19.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:04 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (23.9ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (3.5ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:00:04"], ["updated_at", "2019-04-14 04:00:04.277610"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 35ms (ActiveRecord: 30.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 29ms (Views: 26.6ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:00:04 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:00:05.005939"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (4.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 5.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 26ms (Views: 22.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:00:05 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:00:05"], ["updated_at", "2019-04-14 04:00:05.569354"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (4.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 4.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.4ms) +Completed 200 OK in 31ms (Views: 27.2ms | ActiveRecord: 0.8ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:06 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:00:06.549663"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 5.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:06 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 30ms (Views: 26.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:07 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:00:07"], ["updated_at", "2019-04-14 04:00:07.031261"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (4.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 5.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:07 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.7ms) +Completed 200 OK in 29ms (Views: 24.9ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:00:07 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (2.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:00:07.560300"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (14.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 24ms (ActiveRecord: 18.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:07 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 23ms (Views: 20.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:00:07 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.9ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:00:07"], ["updated_at", "2019-04-14 04:00:07.970206"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 4.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:07 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 26ms (Views: 22.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:08 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:00:08.682535"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 5.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:08 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 26ms (Views: 22.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:09 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:00:09"], ["updated_at", "2019-04-14 04:00:09.126054"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (4.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 5.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:09 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 25ms (Views: 22.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:00:09 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (2.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:00:09.615466"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 5.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:09 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 27ms (Views: 23.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:00:10 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.6ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:00:10"], ["updated_at", "2019-04-14 04:00:10.148947"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 4.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:10 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 27ms (Views: 24.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:10 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:00:10.798509"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 5.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:10 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 26ms (Views: 23.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:11 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:00:11"], ["updated_at", "2019-04-14 04:00:11.144172"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (7.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 8.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:11 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (11.5ms) +Completed 200 OK in 33ms (Views: 28.0ms | ActiveRecord: 1.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:00:11 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (2.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:00:11.762019"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (3.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 25ms (ActiveRecord: 8.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:11 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 23ms (Views: 20.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:00:12 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.6ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:00:12"], ["updated_at", "2019-04-14 04:00:12.188705"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 6.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:12 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.8ms) +Completed 200 OK in 33ms (Views: 26.9ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:12 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (32.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (5.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:00:12.703029"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (0.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 45ms (ActiveRecord: 40.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:12 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 19ms (Views: 16.7ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:12 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.1ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:00:13"], ["updated_at", "2019-04-14 04:00:13.003174"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:13 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 31ms (Views: 26.5ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:13 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.7ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:00:13.355063"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (0.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 4.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:13 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 24ms (Views: 20.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:13 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (3.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Complete"], ["updated_at", "2019-04-14 04:00:13.742296"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 6.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:13 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 28ms (Views: 25.1ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:00:14 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (3.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.6ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:00:14.481185"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 6.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:14 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 28ms (Views: 24.5ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:00:14 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.1ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:00:14"], ["updated_at", "2019-04-14 04:00:14.847037"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 5.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:14 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 32ms (Views: 28.7ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:15 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (2.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:00:15.735830"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 4.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:15 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 25ms (Views: 21.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:16 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.7ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:00:16"], ["updated_at", "2019-04-14 04:00:16.087297"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (4.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 7.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:16 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.7ms) +Completed 200 OK in 28ms (Views: 24.0ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:00:17 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (2.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:00:17.023184"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (3.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 14ms (ActiveRecord: 8.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:17 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 23ms (Views: 19.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:00:17 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (5.1ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:00:17"], ["updated_at", "2019-04-14 04:00:17.423968"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 7.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:17 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.0ms) +Completed 200 OK in 27ms (Views: 24.1ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:18 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.0ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:00:18.106037"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 5.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:18 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 27ms (Views: 23.3ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:18 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.2ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:00:18"], ["updated_at", "2019-04-14 04:00:18.501565"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 4.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:18 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.4ms) +Completed 200 OK in 32ms (Views: 28.6ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:00:19 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.9ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:00:19.452870"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:19 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 28ms (Views: 24.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:00:19 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:00:19"], ["updated_at", "2019-04-14 04:00:19.872144"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:19 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.8ms) +Completed 200 OK in 29ms (Views: 25.6ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:20 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:00:20.773582"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 5.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:20 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 31ms (Views: 27.8ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:21 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:00:21"], ["updated_at", "2019-04-14 04:00:21.337890"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 7.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:21 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 23ms (Views: 19.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:00:22 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (13.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (5.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:00:22.059804"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 29ms (ActiveRecord: 22.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:22 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 22ms (Views: 19.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:00:22 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:00:22"], ["updated_at", "2019-04-14 04:00:22.376120"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 4.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:22 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.5ms) +Completed 200 OK in 36ms (Views: 32.0ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:23 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (4.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.8ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:00:23.289769"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 7.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 23ms (Views: 20.1ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:23 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.1ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:00:23"], ["updated_at", "2019-04-14 04:00:23.706503"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.4ms) +Completed 200 OK in 29ms (Views: 25.5ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:00:24 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (5.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:00:24.534227"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (0.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 7.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 25ms (Views: 20.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:00:24 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.1ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:00:24"], ["updated_at", "2019-04-14 04:00:24.904718"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 4.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 27ms (Views: 23.8ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:25 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:00:25.450230"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 5.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 28ms (Views: 24.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:25 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (3.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.7ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:00:25"], ["updated_at", "2019-04-14 04:00:25.816944"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (4.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 15ms (ActiveRecord: 10.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (7.1ms) +Completed 200 OK in 30ms (Views: 25.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:00:27 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (2.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:00:27.263281"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 29ms (Views: 24.1ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:00:27 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.7ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:00:27"], ["updated_at", "2019-04-14 04:00:27.727627"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 5.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 30ms (Views: 25.9ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:28 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.6ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:00:28.241254"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 29ms (Views: 25.5ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:28 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.0ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:00:28"], ["updated_at", "2019-04-14 04:00:28.799501"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (4.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 27ms (Views: 23.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:40 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (5.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:00:40.726431"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 7.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:40 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 23ms (Views: 19.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:00:41 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (3.1ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:00:41"], ["updated_at", "2019-04-14 04:00:41.117658"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:41 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 26ms (Views: 22.6ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:00:42 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:00:42.059379"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (6.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 17ms (ActiveRecord: 10.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:42 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 23ms (Views: 19.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:00:42 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:00:42"], ["updated_at", "2019-04-14 04:00:42.593814"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (9.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 9.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:42 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.8ms) +Completed 200 OK in 33ms (Views: 30.0ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2" for ::1 at 2019-04-13 21:00:43 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (7.7ms) +Completed 200 OK in 34ms (Views: 29.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.9ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.9ms) +Completed 200 OK in 38ms (Views: 33.9ms | ActiveRecord: 1.9ms) + + +Started GET "/tasks/2" for ::1 at 2019-04-13 21:00:47 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.9ms) +Completed 200 OK in 34ms (Views: 28.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:48 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 39ms (Views: 35.3ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:00:49 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:00:49.617749"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 26ms (Views: 22.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:00:50 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.0ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:00:50"], ["updated_at", "2019-04-14 04:00:50.155389"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 4.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:00:50 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 30ms (Views: 23.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:01:52 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:01:52.698343"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 16ms (ActiveRecord: 4.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:01:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 20ms (Views: 17.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:01:53 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (5.7ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:01:53"], ["updated_at", "2019-04-14 04:01:53.166353"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 7.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:01:53 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 33ms (Views: 29.7ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:01:53 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (3.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:01:53.652354"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 13ms (ActiveRecord: 7.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:01:53 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 24ms (Views: 21.2ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:01:54 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.0ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.8ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:01:54"], ["updated_at", "2019-04-14 04:01:54.188523"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 3.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:01:54 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 33ms (Views: 27.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:07:47 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.9ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:07:47.464778"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 2.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:07:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 28ms (Views: 25.6ms | ActiveRecord: 0.8ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:07:48 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (5.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:07:48.182118"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 8.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:07:48 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 25ms (Views: 20.8ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:07:48 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.8ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:07:48"], ["updated_at", "2019-04-14 04:07:48.786596"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:07:48 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 24ms (Views: 20.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:07:49 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (2.2ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:07:49.806609"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (3.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 6.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:07:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 32ms (Views: 28.2ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:07:50 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.9ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:07:50"], ["updated_at", "2019-04-14 04:07:50.447347"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:07:50 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 30ms (Views: 25.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:07:51 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (2.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:07:51.030343"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 4.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:07:51 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 30ms (Views: 27.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:07:51 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:07:51"], ["updated_at", "2019-04-14 04:07:51.607644"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:07:51 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 25ms (Views: 22.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:07:52 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (3.5ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:07:52.115742"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (3.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:07:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 26ms (Views: 22.0ms | ActiveRecord: 0.8ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:07:52 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:07:52"], ["updated_at", "2019-04-14 04:07:52.823354"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 6.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:07:52 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 27ms (Views: 23.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:07:53 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:07:53.412975"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:07:53 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 25ms (Views: 21.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:07:53 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (2.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:07:53"], ["updated_at", "2019-04-14 04:07:53.925329"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 4.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:07:53 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 27ms (Views: 23.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:07:54 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:07:54.391896"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 3.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:07:54 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.8ms) +Completed 200 OK in 30ms (Views: 26.3ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:07:55 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.8ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:07:55"], ["updated_at", "2019-04-14 04:07:55.181358"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:07:55 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 27ms (Views: 23.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:07:55 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (3.1ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:07:55"], ["updated_at", "2019-04-14 04:07:55.657397"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (3.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 6.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:07:55 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 34ms (Views: 30.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-13 21:07:56 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (1.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.4ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:07:56.338248"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (3.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 5.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:07:56 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.3ms) +Completed 200 OK in 29ms (Views: 24.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:07:56 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (2.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:07:56.983106"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 6.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:07:56 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 28ms (Views: 25.1ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:07:57 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 21:07:57"], ["updated_at", "2019-04-14 04:07:57.586847"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:07:57 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 27ms (Views: 24.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 21:07:58 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.9ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 04:07:58.170921"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 4.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 21:07:58 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 27ms (Views: 22.2ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-13 22:22:27 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.5ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-13 22:22:27"], ["updated_at", "2019-04-14 05:22:27.127159"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (1.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 24ms (ActiveRecord: 2.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-13 22:22:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.8ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (18.0ms) +Completed 200 OK in 80ms (Views: 73.3ms | ActiveRecord: 1.8ms) + + +Started GET "/" for ::1 at 2019-04-14 14:49:20 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (212.1ms) +Completed 200 OK in 325ms (Views: 249.0ms | ActiveRecord: 25.1ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-14 14:49:23 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.0ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 21:49:23.062025"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (3.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 20ms (ActiveRecord: 7.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-14 14:49:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 22ms (Views: 19.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-14 14:49:23 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (1.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-14 14:49:23"], ["updated_at", "2019-04-14 21:49:23.966504"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 2.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-14 14:49:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 28ms (Views: 24.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-14 14:49:24 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 21:49:24.752643"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (4.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 5.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-14 14:49:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 29ms (Views: 25.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-14 14:49:25 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.7ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (1.4ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-14 14:49:25"], ["updated_at", "2019-04-14 21:49:25.564675"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 11ms (ActiveRecord: 5.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-14 14:49:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 31ms (Views: 25.8ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1/toggle_complete" for ::1 at 2019-04-14 14:49:26 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (1.1ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 21:49:26.369561"], ["id", 1]] + ↳ app/controllers/tasks_controller.rb:64 +  (3.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 4.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-14 14:49:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (4.6ms) +Completed 200 OK in 27ms (Views: 24.1ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-14 14:49:27 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:60 + Task Update (2.5ms) UPDATE "tasks" SET "completed_at" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["completed_at", "Complete"], ["completion_date", "2019-04-14 14:49:27"], ["updated_at", "2019-04-14 21:49:27.025393"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:60 +  (2.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:60 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 5.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-14 14:49:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (5.3ms) +Completed 200 OK in 28ms (Views: 24.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/toggle_complete" for ::1 at 2019-04-14 14:49:27 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:55 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:64 + Task Update (0.3ms) UPDATE "tasks" SET "completed_at" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3 [["completed_at", "Incomplete"], ["updated_at", "2019-04-14 21:49:27.609197"], ["id", 2]] + ↳ app/controllers/tasks_controller.rb:64 +  (2.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:64 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.1ms) + + +Started GET "/tasks" for ::1 at 2019-04-14 14:49:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (2.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:7 + Rendered tasks/index.html.erb within layouts/application (6.1ms) +Completed 200 OK in 36ms (Views: 31.2ms | ActiveRecord: 2.1ms) + + diff --git a/log/test.log b/log/test.log index e2f3b3d5d..f882d398e 100644 --- a/log/test.log +++ b/log/test.log @@ -4568,3 +4568,7718 @@ Redirected to http://www.example.com/tasks Completed 302 Found in 2ms (ActiveRecord: 0.8ms)  (0.2ms) SELECT COUNT(*) FROM "tasks"  (0.1ms) ROLLBACK +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (216.2ms) DROP DATABASE IF EXISTS "TaskList_test" +  (528.2ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (5.3ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.1ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 02:14:26.718807"], ["updated_at", "2019-04-14 02:14:26.718807"]] +  (0.4ms) COMMIT + ActiveRecord::InternalMetadata Load (0.3ms) 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.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (1.1ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:14:27.029435', '2019-04-14 02:14:27.029435', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:14:27.029435', '2019-04-14 02:14:27.029435', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 02:14:27.055489"], ["updated_at", "2019-04-14 02:14:27.055489"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-13 19:14:27 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (22.1ms) +Completed 200 OK in 175ms (Views: 166.1ms | ActiveRecord: 0.4ms) +  (0.5ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:14:27 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 5ms (ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 19:14:27 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (11.4ms) + Rendered tasks/new.html.erb within layouts/application (14.6ms) +Completed 200 OK in 19ms (Views: 15.8ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 19:14:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.5ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:14:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 17ms (Views: 16.2ms | ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:14:27 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 02:14:27.320678"], ["updated_at", "2019-04-14 02:14:27.320678"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-13 19:14:27 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] +  (0.2ms) SAVEPOINT active_record_1 + Task Destroy (0.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190964]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 3ms (ActiveRecord: 0.9ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:14:27 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 02:14:27.334232"], ["updated_at", "2019-04-14 02:14:27.334232"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190965 +Completed 302 Found in 3ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (195.1ms) DROP DATABASE IF EXISTS "TaskList_test" +  (474.5ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.1ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (5.9ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.4ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 02:17:28.282001"], ["updated_at", "2019-04-14 02:17:28.282001"]] +  (0.3ms) COMMIT + 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.2ms) BEGIN +  (0.1ms) COMMIT +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.7ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:17:28.587277', '2019-04-14 02:17:28.587277', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:17:28.587277', '2019-04-14 02:17:28.587277', 'MyString') +  (0.4ms) COMMIT +  (0.4ms) BEGIN +  (0.2ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.2ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started GET "/tasks/1/edit" for 127.0.0.1 at 2019-04-13 19:17:28 -0700 +Processing by TasksController#edit 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/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (15.3ms) + Rendered tasks/edit.html.erb within layouts/application (19.6ms) +Completed 200 OK in 229ms (Views: 220.7ms | ActiveRecord: 0.3ms) +Started PATCH "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:17:28 -0700 +Processing by TasksController#update as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 400 Bad Request in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 02:17:28.858386"], ["updated_at", "2019-04-14 02:17:28.858386"], ["completion_date", ""]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-13 19:17:28 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (20.7ms) +Completed 200 OK in 27ms (Views: 22.0ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:17:28 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.4ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:17:28 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 02:17:28.899633"], ["updated_at", "2019-04-14 02:17:28.899633"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190964 +Completed 302 Found in 2ms (ActiveRecord: 0.5ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:17:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.5ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 19:17:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:17:28 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.3ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 02:17:28.921762"], ["updated_at", "2019-04-14 02:17:28.921762"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190965" for 127.0.0.1 at 2019-04-13 19:17:28 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190965]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 19:17:28 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (1.3ms) + Rendered tasks/new.html.erb within layouts/application (1.8ms) +Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (215.4ms) DROP DATABASE IF EXISTS "TaskList_test" +  (475.7ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (6.0ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.0ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) BEGIN + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 02:20:35.871619"], ["updated_at", "2019-04-14 02:20:35.871619"]] +  (0.3ms) COMMIT + 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 +  (0.1ms) COMMIT +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.6ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:20:36.155411', '2019-04-14 02:20:36.155411', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:20:36.155411', '2019-04-14 02:20:36.155411', 'MyString') +  (0.5ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 02:20:36.178720"], ["updated_at", "2019-04-14 02:20:36.178720"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-13 19:20:36 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (21.1ms) +Completed 200 OK in 221ms (Views: 212.3ms | ActiveRecord: 0.4ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:20: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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 19:20:36 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (11.8ms) + Rendered tasks/new.html.erb within layouts/application (14.2ms) +Completed 200 OK in 17ms (Views: 15.2ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started GET "/tasks/1/edit" for 127.0.0.1 at 2019-04-13 19:20:36 -0700 +Processing by TasksController#edit 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/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (1.1ms) + Rendered tasks/edit.html.erb within layouts/application (1.6ms) +Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.2ms) +Started PATCH "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:20:36 -0700 +Processing by TasksController#update as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 400 Bad Request in 2ms (ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:20:36 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 02:20:36.455605"], ["updated_at", "2019-04-14 02:20:36.455605"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190964 +Completed 302 Found in 3ms (ActiveRecord: 0.6ms) +Started GET "/tasks/1/edit" for 127.0.0.1 at 2019-04-13 19:20:36 -0700 +Processing by TasksController#edit 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/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (0.6ms) + Rendered tasks/edit.html.erb within layouts/application (0.7ms) +Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:20:36 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 02:20:36.466201"], ["updated_at", "2019-04-14 02:20:36.466201"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190965 +Completed 302 Found in 2ms (ActiveRecord: 0.5ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:20:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.5ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 19:20:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:20:36 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 02:20:36.488209"], ["updated_at", "2019-04-14 02:20:36.488209"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190966" for 127.0.0.1 at 2019-04-13 19:20:36 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190966"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190966], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190966]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (219.1ms) DROP DATABASE IF EXISTS "TaskList_test" +  (471.9ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (5.6ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (1.9ms) 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) + 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 + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 02:22:59.589522"], ["updated_at", "2019-04-14 02:22:59.589522"]] +  (0.3ms) COMMIT + 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.2ms) BEGIN +  (0.1ms) COMMIT +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.7ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:22:59.883200', '2019-04-14 02:22:59.883200', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:22:59.883200', '2019-04-14 02:22:59.883200', 'MyString') +  (0.5ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:22:59 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 9ms (ActiveRecord: 0.4ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 02:22:59.937687"], ["updated_at", "2019-04-14 02:22:59.937687"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-13 19:22:59 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190963]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 11ms (ActiveRecord: 0.8ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:22:59 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 02:22:59.958348"], ["updated_at", "2019-04-14 02:22:59.958348"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190964 +Completed 302 Found in 2ms (ActiveRecord: 0.5ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started GET "/tasks/1/edit" for 127.0.0.1 at 2019-04-13 19:22:59 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +Started PATCH "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:22:59 -0700 +Processing by TasksController#update as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 400 Bad Request in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:22:59 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 02:22:59.974596"], ["updated_at", "2019-04-14 02:22:59.974596"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190965 +Completed 302 Found in 2ms (ActiveRecord: 0.4ms) +Started GET "/tasks/1/edit" for 127.0.0.1 at 2019-04-13 19:22:59 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 19:22:59 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:22:59 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (183.6ms) +Completed 200 OK in 196ms (Views: 193.4ms | ActiveRecord: 0.5ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 19:23:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 19:23:00 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (12.0ms) + Rendered tasks/new.html.erb within layouts/application (14.3ms) +Completed 200 OK in 18ms (Views: 15.3ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 02:23:00.210462"], ["updated_at", "2019-04-14 02:23:00.210462"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-13 19:23:00 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190966"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190966], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (24.1ms) +Completed 200 OK in 29ms (Views: 25.5ms | ActiveRecord: 0.3ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:23:00 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"-1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) +  (0.1ms) ROLLBACK +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (184.7ms) DROP DATABASE IF EXISTS "TaskList_test" +  (494.3ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (5.6ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.9ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 02:28:04.240541"], ["updated_at", "2019-04-14 02:28:04.240541"]] +  (0.3ms) 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.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.6ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:28:04.540572', '2019-04-14 02:28:04.540572', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:28:04.540572', '2019-04-14 02:28:04.540572', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started GET "/tasks/1/edit" for 127.0.0.1 at 2019-04-13 19:28:04 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 6ms (ActiveRecord: 0.4ms) +Started PATCH "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:28:04 -0700 +Processing by TasksController#update as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 400 Bad Request in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 19:28:04 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (13.7ms) + Rendered tasks/new.html.erb within layouts/application (17.6ms) +Completed 200 OK in 210ms (Views: 201.5ms | ActiveRecord: 0.0ms) +  (0.4ms) ROLLBACK +  (0.2ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:28:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.5ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 19:28:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:28:04 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 02:28:04.813575"], ["updated_at", "2019-04-14 02:28:04.813575"], ["completion_date", ""]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 4ms (ActiveRecord: 0.7ms) +  (0.4ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:28:04 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 02:28:04.826102"], ["updated_at", "2019-04-14 02:28:04.826102"], ["completion_date", ""]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190964 +Completed 302 Found in 4ms (ActiveRecord: 0.9ms) +Started GET "/tasks/1/edit" for 127.0.0.1 at 2019-04-13 19:28:04 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.3ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 19:28:04 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:28:04 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 2ms (ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 02:28:04.846601"], ["updated_at", "2019-04-14 02:28:04.846601"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-13 19:28:04 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (22.0ms) +Completed 200 OK in 29ms (Views: 26.5ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:28:04 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.3ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 02:28:04.902776"], ["updated_at", "2019-04-14 02:28:04.902776"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190966" for 127.0.0.1 at 2019-04-13 19:28:04 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190966"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190966], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.5ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190966]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 3ms (ActiveRecord: 1.0ms) +  (0.4ms) SELECT COUNT(*) FROM "tasks" +  (0.2ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (199.3ms) DROP DATABASE IF EXISTS "TaskList_test" +  (433.1ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (6.2ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (1.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (3.0ms) 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) + 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.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 02:42:02.050106"], ["updated_at", "2019-04-14 02:42:02.050106"]] +  (0.2ms) COMMIT + ActiveRecord::InternalMetadata Load (0.3ms) 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.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:42:02.307465', '2019-04-14 02:42:02.307465', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:42:02.307465', '2019-04-14 02:42:02.307465', 'MyString') +  (0.5ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 02:42:02.333660"], ["updated_at", "2019-04-14 02:42:02.333660"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-13 19:42:02 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (22.0ms) +Completed 200 OK in 228ms (Views: 218.0ms | ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:42:02 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.3ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 19:42:02 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (10.3ms) + Rendered tasks/new.html.erb within layouts/application (12.6ms) +Completed 200 OK in 16ms (Views: 13.7ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 19:42:02 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:42:02 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 9ms (Views: 4.4ms | ActiveRecord: 1.5ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 19:42:02 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.4ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started GET "/tasks/1/edit" for 127.0.0.1 at 2019-04-13 19:42:02 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +Started PATCH "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:42:02 -0700 +Processing by TasksController#update as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 400 Bad Request in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:42:02 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 02:42:02.708608"], ["updated_at", "2019-04-14 02:42:02.708608"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190964 +Completed 302 Found in 2ms (ActiveRecord: 0.5ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:42:02 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.3ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 02:42:02.718976"], ["updated_at", "2019-04-14 02:42:02.718976"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190965" for 127.0.0.1 at 2019-04-13 19:42:02 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190965]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (232.4ms) DROP DATABASE IF EXISTS "TaskList_test" +  (464.9ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.6ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (6.2ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (1.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.3ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) BEGIN + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 02:43:15.931174"], ["updated_at", "2019-04-14 02:43:15.931174"]] +  (0.3ms) COMMIT + ActiveRecord::InternalMetadata Load (0.3ms) 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.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:43:16.246760', '2019-04-14 02:43:16.246760', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:43:16.246760', '2019-04-14 02:43:16.246760', 'MyString') +  (0.5ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 19:43:16 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 14ms (ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 02:43:16.294856"], ["updated_at", "2019-04-14 02:43:16.294856"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-13 19:43:16 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190963]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 3ms (ActiveRecord: 0.7ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:43:16 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:43:16 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (172.7ms) +Completed 200 OK in 183ms (Views: 180.2ms | ActiveRecord: 0.5ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 19:43:16 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:43:16 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 02:43:16.505240"], ["updated_at", "2019-04-14 02:43:16.505240"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190964 +Completed 302 Found in 3ms (ActiveRecord: 0.5ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 19:43:16 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (11.2ms) + Rendered tasks/new.html.erb within layouts/application (13.7ms) +Completed 200 OK in 18ms (Views: 15.0ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 02:43:16.536048"], ["updated_at", "2019-04-14 02:43:16.536048"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-13 19:43:16 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (21.9ms) +Completed 200 OK in 26ms (Views: 23.2ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:43:16 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"-1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.4ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started GET "/tasks/NOT%20A%20VALID%20ID/edit" for 127.0.0.1 at 2019-04-13 19:43:16 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.3ms) +Started PATCH "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:43:16 -0700 +Processing by TasksController#update as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 400 Bad Request in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (191.4ms) DROP DATABASE IF EXISTS "TaskList_test" +  (478.1ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.6ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.1ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (6.7ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.5ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) BEGIN + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 02:45:07.877063"], ["updated_at", "2019-04-14 02:45:07.877063"]] +  (0.4ms) COMMIT + ActiveRecord::InternalMetadata Load (0.3ms) 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.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.7ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:45:08.178571', '2019-04-14 02:45:08.178571', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:45:08.178571', '2019-04-14 02:45:08.178571', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:45:08 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 6ms (ActiveRecord: 0.3ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 02:45:08.224516"], ["updated_at", "2019-04-14 02:45:08.224516"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-13 19:45:08 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190963]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 3ms (ActiveRecord: 0.8ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 19:45:08 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 19:45:08 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (176.8ms) +Completed 200 OK in 186ms (Views: 182.6ms | ActiveRecord: 0.6ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:45:08 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:45:08 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 2ms (ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 02:45:08.443656"], ["updated_at", "2019-04-14 02:45:08.443656"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-13 19:45:08 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (20.0ms) +Completed 200 OK in 24ms (Views: 21.1ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 19:45:08 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (12.2ms) + Rendered tasks/new.html.erb within layouts/application (14.6ms) +Completed 200 OK in 18ms (Views: 15.7ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-13 19:45:08 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Update (0.3ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-14 02:45:08.500322"], ["id", 298486374]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 4ms (ActiveRecord: 0.7ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started GET "/tasks/NOT%20A%20VALID%20ID/edit" for 127.0.0.1 at 2019-04-13 19:45:08 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +Started PATCH "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:45:08 -0700 +Processing by TasksController#update as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 400 Bad Request in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:45:08 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 02:45:08.515240"], ["updated_at", "2019-04-14 02:45:08.515240"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190965 +Completed 302 Found in 2ms (ActiveRecord: 0.5ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (186.7ms) DROP DATABASE IF EXISTS "TaskList_test" +  (410.8ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (6.2ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (3.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.7ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) BEGIN + ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 02:45:30.390448"], ["updated_at", "2019-04-14 02:45:30.390448"]] +  (0.4ms) 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.2ms) COMMIT +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:45:30.550887', '2019-04-14 02:45:30.550887', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:45:30.550887', '2019-04-14 02:45:30.550887', 'MyString') +  (0.5ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 19:45:30 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 6ms (ActiveRecord: 0.4ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:45:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (179.5ms) +Completed 200 OK in 187ms (Views: 184.7ms | ActiveRecord: 0.5ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 19:45:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.5ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.5ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:45:30 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.3ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 02:45:30.790124"], ["updated_at", "2019-04-14 02:45:30.790124"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-13 19:45:30 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190963]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-13 19:45:30 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Update (0.3ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-14 02:45:30.801549"], ["id", 298486374]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 4ms (ActiveRecord: 0.8ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started GET "/tasks/2/edit" for 127.0.0.1 at 2019-04-13 19:45:30 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +Started PATCH "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:45:30 -0700 +Processing by TasksController#update as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 400 Bad Request in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:45:30 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 02:45:30.815437"], ["updated_at", "2019-04-14 02:45:30.815437"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190964 +Completed 302 Found in 2ms (ActiveRecord: 0.4ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 02:45:30.821017"], ["updated_at", "2019-04-14 02:45:30.821017"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-13 19:45:30 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (20.0ms) +Completed 200 OK in 24ms (Views: 21.8ms | ActiveRecord: 0.1ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:45:30 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 19:45:30 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (4.5ms) + Rendered tasks/new.html.erb within layouts/application (6.1ms) +Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (170.7ms) DROP DATABASE IF EXISTS "TaskList_test" +  (412.7ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.1ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (5.9ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.7ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 02:47:05.061090"], ["updated_at", "2019-04-14 02:47:05.061090"]] +  (0.4ms) COMMIT + ActiveRecord::InternalMetadata Load (0.3ms) 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.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:47:05.219394', '2019-04-14 02:47:05.219394', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:47:05.219394', '2019-04-14 02:47:05.219394', 'MyString') +  (1.9ms) COMMIT +  (0.2ms) BEGIN +  (0.2ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.2ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.4ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-13 19:47:05 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.2ms) SAVEPOINT active_record_1 + Task Update (0.4ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-14 02:47:05.260145"], ["id", 298486374]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 11ms (ActiveRecord: 0.8ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started GET "/tasks/1/edit" for 127.0.0.1 at 2019-04-13 19:47:05 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +Started PATCH "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:47:05 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"NOT A VALID ID"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 02:47:05.275717"], ["updated_at", "2019-04-14 02:47:05.275717"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-13 19:47:05 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (21.2ms) +Completed 200 OK in 208ms (Views: 206.0ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:47:05 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 2ms (ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:47:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 7ms (Views: 3.7ms | ActiveRecord: 0.9ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 19:47:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:47:05 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 02:47:05.513865"], ["updated_at", "2019-04-14 02:47:05.513865"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190964 +Completed 302 Found in 3ms (ActiveRecord: 0.7ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 19:47:05 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 19:47:05 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (4.4ms) + Rendered tasks/new.html.erb within layouts/application (6.1ms) +Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 02:47:05.536775"], ["updated_at", "2019-04-14 02:47:05.536775"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190965" for 127.0.0.1 at 2019-04-13 19:47:05 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190965]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:47:05 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (205.4ms) DROP DATABASE IF EXISTS "TaskList_test" +  (482.7ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (6.1ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (1.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.0ms) 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) + 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 + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 02:49:27.195462"], ["updated_at", "2019-04-14 02:49:27.195462"]] +  (0.3ms) COMMIT + 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 +  (0.1ms) COMMIT +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:49:27.478551', '2019-04-14 02:49:27.478551', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:49:27.478551', '2019-04-14 02:49:27.478551', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:49:27 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 02:49:27.516483"], ["updated_at", "2019-04-14 02:49:27.516483"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 15ms (ActiveRecord: 0.7ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 19:49:27 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:49:27 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 02:49:27.539673"], ["updated_at", "2019-04-14 02:49:27.539673"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-13 19:49:27 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190964]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 02:49:27.548222"], ["updated_at", "2019-04-14 02:49:27.548222"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-13 19:49:27 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (23.8ms) +Completed 200 OK in 214ms (Views: 210.6ms | ActiveRecord: 0.2ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:49:27 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:49:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 7ms (Views: 3.8ms | ActiveRecord: 1.0ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 19:49:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 19:49:27 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (10.3ms) + Rendered tasks/new.html.erb within layouts/application (12.2ms) +Completed 200 OK in 15ms (Views: 13.2ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-13 19:49:27 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Update (0.2ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-14 02:49:27.814256"], ["id", 298486374]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 5ms (ActiveRecord: 0.7ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:49:27 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"NOT A VALID ID"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms) +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (183.6ms) DROP DATABASE IF EXISTS "TaskList_test" +  (471.7ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (7.3ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.1ms) 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) + 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 + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 02:51:47.078396"], ["updated_at", "2019-04-14 02:51:47.078396"]] +  (0.4ms) COMMIT + 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 +  (0.1ms) COMMIT +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.6ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:51:47.355558', '2019-04-14 02:51:47.355558', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:51:47.355558', '2019-04-14 02:51:47.355558', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:51:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (184.9ms) +Completed 200 OK in 199ms (Views: 193.2ms | ActiveRecord: 0.7ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 19:51:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-13 19:51:47 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.2ms) SAVEPOINT active_record_1 + Task Update (0.3ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-14 02:51:47.619463"], ["id", 298486374]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 6ms (ActiveRecord: 0.8ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:51:47 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 02:51:47.627420"], ["updated_at", "2019-04-14 02:51:47.627420"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 2ms (ActiveRecord: 0.4ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:51:47 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 02:51:47.636514"], ["updated_at", "2019-04-14 02:51:47.636514"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-13 19:51:47 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190964]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:51:47 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 02:51:47.648951"], ["updated_at", "2019-04-14 02:51:47.648951"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-13 19:51:47 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (23.3ms) +Completed 200 OK in 27ms (Views: 24.4ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 19:51:47 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (12.0ms) + Rendered tasks/new.html.erb within layouts/application (14.1ms) +Completed 200 OK in 17ms (Views: 15.3ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 19:51:47 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (192.8ms) DROP DATABASE IF EXISTS "TaskList_test" +  (474.2ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (5.6ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.3ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 02:52:07.418086"], ["updated_at", "2019-04-14 02:52:07.418086"]] +  (0.4ms) COMMIT + 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 +  (0.1ms) COMMIT +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) BEGIN +  (0.5ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.6ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:52:07.719388', '2019-04-14 02:52:07.719388', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:52:07.719388', '2019-04-14 02:52:07.719388', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.4ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-13 19:52:07 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Update (0.3ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-14 02:52:07.761779"], ["id", 298486374]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 10ms (ActiveRecord: 0.8ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 02:52:07.775010"], ["updated_at", "2019-04-14 02:52:07.775010"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-13 19:52:07 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190963]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:52:07 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 02:52:07.788804"], ["updated_at", "2019-04-14 02:52:07.788804"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-13 19:52:07 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (23.1ms) +Completed 200 OK in 191ms (Views: 188.0ms | ActiveRecord: 0.2ms) +  (0.4ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:52:07 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 2ms (ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 19:52:07 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:52:07 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 7ms (Views: 3.8ms | ActiveRecord: 0.8ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 19:52:08 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 19:52:08 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (12.8ms) + Rendered tasks/new.html.erb within layouts/application (15.3ms) +Completed 200 OK in 34ms (Views: 32.2ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:52:08 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 02:52:08.054421"], ["updated_at", "2019-04-14 02:52:08.054421"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190965 +Completed 302 Found in 3ms (ActiveRecord: 0.5ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (169.2ms) DROP DATABASE IF EXISTS "TaskList_test" +  (432.9ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (6.9ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.0ms) 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) + 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 + ActiveRecord::InternalMetadata Create (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 02:56:27.752628"], ["updated_at", "2019-04-14 02:56:27.752628"]] +  (0.4ms) COMMIT + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN +  (0.2ms) COMMIT +  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:56:28.058690', '2019-04-14 02:56:28.058690', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:56:28.058690', '2019-04-14 02:56:28.058690', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.4ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-13 19:56:28 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Update (0.5ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-14 02:56:28.098907"], ["id", 298486374]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 11ms (ActiveRecord: 1.1ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +Started PATCH "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:56:28 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"NOT A VALID ID"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 19:56:28 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (15.9ms) + Rendered tasks/new.html.erb within layouts/application (19.8ms) +Completed 200 OK in 210ms (Views: 207.3ms | ActiveRecord: 0.0ms) +  (0.5ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 19:56:28 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:56:28 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 02:56:28.342187"], ["updated_at", "2019-04-14 02:56:28.342187"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-13 19:56:28 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] +  (0.2ms) SAVEPOINT active_record_1 + Task Destroy (0.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190963]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 3ms (ActiveRecord: 1.0ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.4ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:56:28 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 02:56:28.358238"], ["updated_at", "2019-04-14 02:56:28.358238"], ["completion_date", ""]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190964 +Completed 302 Found in 3ms (ActiveRecord: 0.7ms) +  (0.4ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:56:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 0.5ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 19:56:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 02:56:28.379629"], ["updated_at", "2019-04-14 02:56:28.379629"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-13 19:56:28 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (22.2ms) +Completed 200 OK in 26ms (Views: 23.4ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:56:28 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (200.5ms) DROP DATABASE IF EXISTS "TaskList_test" +  (470.5ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (5.6ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.0ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 02:58:13.734476"], ["updated_at", "2019-04-14 02:58:13.734476"]] +  (0.3ms) COMMIT + 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 +  (0.1ms) COMMIT +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.7ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:58:14.012951', '2019-04-14 02:58:14.012951', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 02:58:14.012951', '2019-04-14 02:58:14.012951', 'MyString') +  (0.5ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 19:58:14 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 8ms (ActiveRecord: 0.4ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 02:58:14.056428"], ["updated_at", "2019-04-14 02:58:14.056428"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-13 19:58:14 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190963]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.7ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 02:58:14.065080"], ["updated_at", "2019-04-14 02:58:14.065080"], ["completion_date", ""]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-13 19:58:14 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (23.9ms) +Completed 200 OK in 221ms (Views: 217.7ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:58:14 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 2ms (ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 19:58:14 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:58:14 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 02:58:14.308117"], ["updated_at", "2019-04-14 02:58:14.308117"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190965 +Completed 302 Found in 2ms (ActiveRecord: 0.5ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-13 19:58:14 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Update (0.3ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-14 02:58:14.316866"], ["id", 298486374]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 4ms (ActiveRecord: 0.8ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:58:14 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 19:58:14 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (11.8ms) + Rendered tasks/new.html.erb within layouts/application (14.5ms) +Completed 200 OK in 18ms (Views: 15.8ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:58:14 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.6ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-13 19:58:14 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (219.6ms) DROP DATABASE IF EXISTS "TaskList_test" +  (515.4ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (8.4ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (3.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.2ms) 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) + 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.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 21:50:31.866941"], ["updated_at", "2019-04-14 21:50:31.866941"]] +  (0.3ms) COMMIT + 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.2ms) BEGIN +  (0.1ms) COMMIT +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (1.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.3ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (1.8ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 21:50:32.175679', '2019-04-14 21:50:32.175679', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 21:50:32.175679', '2019-04-14 21:50:32.175679', 'MyString') +  (0.8ms) COMMIT +  (0.2ms) BEGIN +  (0.2ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.2ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 21:50:32.203052"], ["updated_at", "2019-04-14 21:50:32.203052"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-14 14:50:32 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (21.1ms) +Completed 200 OK in 181ms (Views: 172.5ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 14:50:32 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 14:50:32 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.7ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 14:50:32 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 21:50:32.411441"], ["updated_at", "2019-04-14 21:50:32.411441"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190964 +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 14:50:32 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.3ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 21:50:32.421247"], ["updated_at", "2019-04-14 21:50:32.421247"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190965" for 127.0.0.1 at 2019-04-14 14:50:32 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190965]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-14 14:50:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 0.6ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-14 14:50:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 14:50:32 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (13.3ms) + Rendered tasks/new.html.erb within layouts/application (15.9ms) +Completed 200 OK in 19ms (Views: 17.1ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.4ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-14 14:50:32 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Update (0.3ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-14 21:50:32.473611"], ["id", 298486374]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 5ms (ActiveRecord: 0.8ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 14:50:32 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"-1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms) +  (0.2ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (217.9ms) DROP DATABASE IF EXISTS "TaskList_test" +  (517.1ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (12.7ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (4.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (3.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) + 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.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 21:54:00.199177"], ["updated_at", "2019-04-14 21:54:00.199177"]] +  (0.3ms) COMMIT + 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.2ms) BEGIN +  (0.1ms) COMMIT +  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) BEGIN +  (0.7ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.3ms) COMMIT +  (0.2ms) BEGIN + Fixtures Load (1.6ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 21:54:00.458062', '2019-04-14 21:54:00.458062', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 21:54:00.458062', '2019-04-14 21:54:00.458062', 'MyString') +  (0.6ms) COMMIT +  (0.2ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.2ms) COMMIT +  (0.2ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 21:54:00.503135"], ["updated_at", "2019-04-14 21:54:00.503135"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-14 14:54:00 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (21.7ms) +Completed 200 OK in 261ms (Views: 248.3ms | ActiveRecord: 0.5ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 14:54: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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 14:54:00 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 21:54:00.786284"], ["updated_at", "2019-04-14 21:54:00.786284"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190964 +Completed 302 Found in 2ms (ActiveRecord: 0.5ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-14 14:54:00 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.2ms) SAVEPOINT active_record_1 + Task Update (0.5ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-14 21:54:00.799223"], ["id", 298486374]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 7ms (ActiveRecord: 1.1ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 14:54:00 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 14:54:00 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.7ms) +  (0.2ms) ROLLBACK +  (0.3ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 14:54:00 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (10.7ms) + Rendered tasks/new.html.erb within layouts/application (13.0ms) +Completed 200 OK in 16ms (Views: 14.0ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 14:54:00 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 21:54:00.846889"], ["updated_at", "2019-04-14 21:54:00.846889"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190965" for 127.0.0.1 at 2019-04-14 14:54:00 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190965]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.7ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-14 14:54:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.5ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-14 14:54:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (182.5ms) DROP DATABASE IF EXISTS "TaskList_test" +  (429.7ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.1ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (5.6ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (3.2ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.3ms) BEGIN + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 21:55:00.665786"], ["updated_at", "2019-04-14 21:55:00.665786"]] +  (0.4ms) COMMIT + 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.2ms) BEGIN +  (0.1ms) COMMIT +  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.6ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 21:55:00.951459', '2019-04-14 21:55:00.951459', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 21:55:00.951459', '2019-04-14 21:55:00.951459', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 14:55:00 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 21:55:00.992286"], ["updated_at", "2019-04-14 21:55:00.992286"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 18ms (ActiveRecord: 0.7ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 21:55:01.003038"], ["updated_at", "2019-04-14 21:55:01.003038"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-14 14:55:01 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190964]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 3ms (ActiveRecord: 0.7ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 14:55:01 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.3ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 14:55:01 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (10.9ms) + Rendered tasks/new.html.erb within layouts/application (14.8ms) +Completed 200 OK in 213ms (Views: 210.7ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-14 14:55:01 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Update (0.3ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-14 21:55:01.241392"], ["id", 298486374]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 5ms (ActiveRecord: 0.9ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 14:55:01 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"-1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Redirected to +Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 21:55:01.252764"], ["updated_at", "2019-04-14 21:55:01.252764"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-14 14:55:01 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (24.4ms) +Completed 200 OK in 29ms (Views: 25.6ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 14:55:01 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 14:55:01 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-14 14:55:01 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.5ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-14 14:55:01 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (224.7ms) DROP DATABASE IF EXISTS "TaskList_test" +  (489.5ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (6.1ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.7ms) 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) + ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 21:55:40.335806"], ["updated_at", "2019-04-14 21:55:40.335806"]] +  (0.4ms) COMMIT + 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.2ms) BEGIN +  (0.1ms) COMMIT +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.7ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 21:55:40.624778', '2019-04-14 21:55:40.624778', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 21:55:40.624778', '2019-04-14 21:55:40.624778', 'MyString') +  (0.5ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 21:55:40.647428"], ["updated_at", "2019-04-14 21:55:40.647428"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-14 14:55:40 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (23.9ms) +Completed 200 OK in 224ms (Views: 215.4ms | ActiveRecord: 0.4ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 14:55:40 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 14:55:40 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.3ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 21:55:40.895781"], ["updated_at", "2019-04-14 21:55:40.895781"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-14 14:55:40 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] +  (0.2ms) SAVEPOINT active_record_1 + Task Destroy (0.5ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190964]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 3ms (ActiveRecord: 1.1ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 14:55:40 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (9.6ms) + Rendered tasks/new.html.erb within layouts/application (12.5ms) +Completed 200 OK in 17ms (Views: 13.7ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 14:55:40 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-14 14:55:40 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.5ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-14 14:55:40 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 14:55:40 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 21:55:40.949980"], ["updated_at", "2019-04-14 21:55:40.949980"], ["completion_date", ""]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190965 +Completed 302 Found in 3ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-14 14:55:40 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Update (0.4ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-14 21:55:40.958492"], ["id", 298486374]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 5ms (ActiveRecord: 0.9ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 14:55:40 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (247.0ms) DROP DATABASE IF EXISTS "TaskList_test" +  (407.3ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (11.6ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (1.9ms) 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) + 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 + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 21:57:09.962823"], ["updated_at", "2019-04-14 21:57:09.962823"]] +  (0.3ms) COMMIT + 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 +  (0.1ms) COMMIT +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.6ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 21:57:10.259586', '2019-04-14 21:57:10.259586', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 21:57:10.259586', '2019-04-14 21:57:10.259586', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-14 14:57:10 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Update (0.4ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-14 21:57:10.304554"], ["id", 298486374]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 14ms (ActiveRecord: 0.9ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 14:57:10 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"-1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 14:57:10 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 21:57:10.331204"], ["updated_at", "2019-04-14 21:57:10.331204"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-14 14:57:10 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] +  (0.3ms) SAVEPOINT active_record_1 + Task Destroy (0.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190963]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 6ms (ActiveRecord: 1.0ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 14:57:10 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (11.7ms) + Rendered tasks/new.html.erb within layouts/application (14.8ms) +Completed 200 OK in 207ms (Views: 204.2ms | ActiveRecord: 0.0ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 21:57:10.571479"], ["updated_at", "2019-04-14 21:57:10.571479"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-14 14:57:10 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (28.7ms) +Completed 200 OK in 33ms (Views: 30.2ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 14:57:10 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-14 14:57:10 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 8ms (Views: 4.0ms | ActiveRecord: 0.7ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-14 14:57:10 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 14:57:10 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 14:57:10 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 21:57:10.638328"], ["updated_at", "2019-04-14 21:57:10.638328"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190965 +Completed 302 Found in 2ms (ActiveRecord: 0.5ms) +Started GET "/tasks/1/edit" for 127.0.0.1 at 2019-04-14 14:57:10 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 14:57:10 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 21:57:10.648130"], ["updated_at", "2019-04-14 21:57:10.648130"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190966 +Completed 302 Found in 3ms (ActiveRecord: 0.7ms) +  (0.4ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (201.8ms) DROP DATABASE IF EXISTS "TaskList_test" +  (467.7ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (6.2ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.7ms) 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) + 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.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 21:58:16.506077"], ["updated_at", "2019-04-14 21:58:16.506077"]] +  (0.4ms) COMMIT + 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.2ms) BEGIN +  (0.1ms) COMMIT +  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) BEGIN +  (0.5ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.6ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 21:58:16.736584', '2019-04-14 21:58:16.736584', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 21:58:16.736584', '2019-04-14 21:58:16.736584', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 14:58:16 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 7ms (ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 14:58:16 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.5ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 21:58:16.781326"], ["updated_at", "2019-04-14 21:58:16.781326"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 11ms (ActiveRecord: 0.9ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.4ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-14 14:58:16 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Update (0.4ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-14 21:58:16.792445"], ["id", 298486374]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 5ms (ActiveRecord: 0.9ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 14:58:16 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 14:58:16 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 2ms (ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 21:58:16.808605"], ["updated_at", "2019-04-14 21:58:16.808605"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-14 14:58:16 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (24.9ms) +Completed 200 OK in 214ms (Views: 210.6ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 14:58:17 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 21:58:17.032198"], ["updated_at", "2019-04-14 21:58:17.032198"], ["completion_date", ""]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190965 +Completed 302 Found in 3ms (ActiveRecord: 0.7ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 14:58:17 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.3ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 21:58:17.048001"], ["updated_at", "2019-04-14 21:58:17.048001"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190966" for 127.0.0.1 at 2019-04-14 14:58:17 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190966"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190966], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190966]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.5ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 14:58:17 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (9.2ms) + Rendered tasks/new.html.erb within layouts/application (11.1ms) +Completed 200 OK in 14ms (Views: 12.2ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-14 14:58:17 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.5ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-14 14:58:17 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (219.2ms) DROP DATABASE IF EXISTS "TaskList_test" +  (468.1ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (21.7ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.0ms) 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) + 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.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 22:00:46.833850"], ["updated_at", "2019-04-14 22:00:46.833850"]] +  (0.4ms) COMMIT + 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.2ms) BEGIN +  (0.1ms) COMMIT +  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.2ms) BEGIN + Fixtures Load (0.7ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 22:00:47.072196', '2019-04-14 22:00:47.072196', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 22:00:47.072196', '2019-04-14 22:00:47.072196', 'MyString') +  (0.3ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 15:00:47 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (12.8ms) + Rendered tasks/new.html.erb within layouts/application (16.4ms) +Completed 200 OK in 251ms (Views: 236.0ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 15:00:47 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 22:00:47.355746"], ["updated_at", "2019-04-14 22:00:47.355746"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 3ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 15:00:47 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 2ms (ActiveRecord: 0.2ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 22:00:47.371240"], ["updated_at", "2019-04-14 22:00:47.371240"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-14 15:00:47 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] +  (0.2ms) SAVEPOINT active_record_1 + Task Destroy (0.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190964]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 3ms (ActiveRecord: 1.0ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 15:00:47 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 22:00:47.385599"], ["updated_at", "2019-04-14 22:00:47.385599"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190965 +Completed 302 Found in 3ms (ActiveRecord: 0.7ms) +Started GET "/tasks/1/edit" for 127.0.0.1 at 2019-04-14 15:00:47 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 15:00:47 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-14 15:00:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.5ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-14 15:00:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.0ms) +Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 22:00:47.410465"], ["updated_at", "2019-04-14 22:00:47.410465"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-14 15:00:47 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190966"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190966], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (24.5ms) +Completed 200 OK in 28ms (Views: 25.5ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 15:00:47 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 15:00:47 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"-1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-14 15:00:47 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Update (0.2ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-14 22:00:47.452420"], ["id", 298486374]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 4ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (204.6ms) DROP DATABASE IF EXISTS "TaskList_test" +  (481.5ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.3ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (6.3ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.5ms) 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) + 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.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 22:01:37.106621"], ["updated_at", "2019-04-14 22:01:37.106621"]] +  (0.4ms) COMMIT + 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.2ms) BEGIN +  (0.2ms) COMMIT +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.7ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 22:01:37.322260', '2019-04-14 22:01:37.322260', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 22:01:37.322260', '2019-04-14 22:01:37.322260', 'MyString') +  (0.3ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 15:01:37 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 22:01:37.360791"], ["updated_at", "2019-04-14 22:01:37.360791"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 16ms (ActiveRecord: 0.7ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-14 15:01:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (194.3ms) +Completed 200 OK in 205ms (Views: 202.4ms | ActiveRecord: 0.6ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-14 15:01:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 15:01:37 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-14 15:01:37 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Update (0.3ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-14 22:01:37.598974"], ["id", 298486374]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 4ms (ActiveRecord: 0.8ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 22:01:37.605496"], ["updated_at", "2019-04-14 22:01:37.605496"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-14 15:01:37 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (22.8ms) +Completed 200 OK in 26ms (Views: 23.7ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 15:01:37 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 15:01:37 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 22:01:37.643954"], ["updated_at", "2019-04-14 22:01:37.643954"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190965" for 127.0.0.1 at 2019-04-14 15:01:37 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190965]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.8ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 15:01:37 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 15:01:37 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (10.1ms) + Rendered tasks/new.html.erb within layouts/application (12.3ms) +Completed 200 OK in 16ms (Views: 13.5ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (217.9ms) DROP DATABASE IF EXISTS "TaskList_test" +  (428.8ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (12.5ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.1ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-14 22:03:55.737573"], ["updated_at", "2019-04-14 22:03:55.737573"]] +  (0.2ms) COMMIT + 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.2ms) BEGIN +  (0.1ms) COMMIT +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.6ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-14 22:03:56.018919', '2019-04-14 22:03:56.018919', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-14 22:03:56.018919', '2019-04-14 22:03:56.018919', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-14 15:03:56 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (204.6ms) +Completed 200 OK in 223ms (Views: 214.7ms | ActiveRecord: 0.6ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-14 15:03:56 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 15:03:56 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 22:03:56.280777"], ["updated_at", "2019-04-14 22:03:56.280777"], ["completion_date", ""]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 4ms (ActiveRecord: 0.7ms) +Started GET "/tasks/1/edit" for 127.0.0.1 at 2019-04-14 15:03:56 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 3ms (ActiveRecord: 0.5ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 15:03:56 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 15:03:56 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-14 22:03:56.300658"], ["updated_at", "2019-04-14 22:03:56.300658"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-14 15:03:56 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (20.3ms) +Completed 200 OK in 24ms (Views: 21.4ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 15:03:56 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-14 22:03:56.333851"], ["updated_at", "2019-04-14 22:03:56.333851"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190965 +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-14 22:03:56.340627"], ["updated_at", "2019-04-14 22:03:56.340627"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190966" for 127.0.0.1 at 2019-04-14 15:03:56 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190966"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190966], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190966]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 15:03:56 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 15:03:56 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (11.8ms) + Rendered tasks/new.html.erb within layouts/application (14.6ms) +Completed 200 OK in 18ms (Views: 15.9ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-14 15:03:56 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Update (0.3ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-14 22:03:56.378170"], ["id", 298486374]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 4ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 15:03:56 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"-1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) +  (0.1ms) ROLLBACK +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (197.5ms) DROP DATABASE IF EXISTS "TaskList_test" +  (497.7ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (7.5ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.5ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-15 03:03:14.946156"], ["updated_at", "2019-04-15 03:03:14.946156"]] +  (0.4ms) COMMIT + 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.2ms) BEGIN +  (0.1ms) COMMIT +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:03:15.256442', '2019-04-15 03:03:15.256442', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:03:15.256442', '2019-04-15 03:03:15.256442', 'MyString') +  (0.3ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-14 20:03:15 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (216.6ms) +Completed 200 OK in 232ms (Views: 224.7ms | ActiveRecord: 0.6ms) +  (0.4ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-14 20:03:15 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:03:15 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-14 20:03:15 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.2ms) SAVEPOINT active_record_1 + Task Update (0.8ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-15 03:03:15.536562"], ["id", 298486374]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 7ms (ActiveRecord: 1.4ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 20:03:15 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.4ms) +  (0.4ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-15 03:03:15.552191"], ["updated_at", "2019-04-15 03:03:15.552191"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-14 20:03:15 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] +  (0.2ms) SAVEPOINT active_record_1 + Task Destroy (0.5ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190963]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 3ms (ActiveRecord: 1.1ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 20:03:15 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-15 03:03:15.563814"], ["updated_at", "2019-04-15 03:03:15.563814"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190964 +Completed 302 Found in 2ms (ActiveRecord: 0.4ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:03:15.568268"], ["updated_at", "2019-04-15 03:03:15.568268"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-14 20:03:15 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (22.9ms) +Completed 200 OK in 27ms (Views: 24.1ms | ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:03:15 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 20:03:15 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (11.2ms) + Rendered tasks/new.html.erb within layouts/application (13.8ms) +Completed 200 OK in 18ms (Views: 15.1ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 20:03:15 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-15 03:03:15.627654"], ["updated_at", "2019-04-15 03:03:15.627654"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190966 +Completed 302 Found in 2ms (ActiveRecord: 0.5ms) +Started GET "/tasks/1/edit" for 127.0.0.1 at 2019-04-14 20:03:15 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 20:03:15 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (206.4ms) DROP DATABASE IF EXISTS "TaskList_test" +  (532.6ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.3ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (9.8ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.3ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) BEGIN + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-15 03:05:04.561370"], ["updated_at", "2019-04-15 03:05:04.561370"]] +  (0.3ms) COMMIT + ActiveRecord::InternalMetadata Load (0.3ms) 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.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.6ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:05:04.825188', '2019-04-15 03:05:04.825188', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:05:04.825188', '2019-04-15 03:05:04.825188', 'MyString') +  (0.5ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-14 20:05:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (203.9ms) +Completed 200 OK in 220ms (Views: 212.6ms | ActiveRecord: 0.6ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-14 20:05:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:05:05 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.5ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-14 20:05:05 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.2ms) SAVEPOINT active_record_1 + Task Update (0.5ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-15 03:05:05.090585"], ["id", 298486374]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 7ms (ActiveRecord: 1.1ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 20:05:05 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (11.2ms) + Rendered tasks/new.html.erb within layouts/application (14.2ms) +Completed 200 OK in 18ms (Views: 15.6ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 20:05:05 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-15 03:05:05.121237"], ["updated_at", "2019-04-15 03:05:05.121237"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 2ms (ActiveRecord: 0.5ms) +Started GET "/tasks/1/edit" for 127.0.0.1 at 2019-04-14 20:05:05 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.7ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 20:05:05 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 20:05:05 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-15 03:05:05.136003"], ["updated_at", "2019-04-15 03:05:05.136003"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-14 20:05:05 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190964]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.9ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 20:05:05 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-15 03:05:05.146152"], ["updated_at", "2019-04-15 03:05:05.146152"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190965 +Completed 302 Found in 2ms (ActiveRecord: 0.5ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:05:05.151722"], ["updated_at", "2019-04-15 03:05:05.151722"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-14 20:05:05 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190966"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190966], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (21.3ms) +Completed 200 OK in 25ms (Views: 22.4ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:05:05 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"-1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (204.2ms) DROP DATABASE IF EXISTS "TaskList_test" +  (484.0ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (6.4ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.8ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) BEGIN + ActiveRecord::InternalMetadata Create (1.0ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-15 03:11:12.173983"], ["updated_at", "2019-04-15 03:11:12.173983"]] +  (0.4ms) COMMIT + 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.2ms) BEGIN +  (0.2ms) COMMIT +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.5ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.9ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:11:12.473116', '2019-04-15 03:11:12.473116', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:11:12.473116', '2019-04-15 03:11:12.473116', 'MyString') +  (0.2ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-15 03:11:12.498971"], ["updated_at", "2019-04-15 03:11:12.498971"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-14 20:11:12 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.6ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190963]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 9ms (ActiveRecord: 1.3ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 20:11:12 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.4ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-14 20:11:12 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (234.5ms) +Completed 200 OK in 252ms (Views: 247.8ms | ActiveRecord: 0.9ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-14 20:11:12 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 20:11:12 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (10.8ms) + Rendered tasks/new.html.erb within layouts/application (12.9ms) +Completed 200 OK in 17ms (Views: 14.1ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-14 20:11:12 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.2ms) SAVEPOINT active_record_1 + Task Update (0.4ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-15 03:11:12.830087"], ["id", 298486374]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 7ms (ActiveRecord: 1.1ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:11:12 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"-1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.4ms) +  (0.8ms) ROLLBACK +  (0.2ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.4ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 20:11:12 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-15 03:11:12.848204"], ["updated_at", "2019-04-15 03:11:12.848204"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190964 +Completed 302 Found in 3ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 20:11:12 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-15 03:11:12.855519"], ["updated_at", "2019-04-15 03:11:12.855519"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190965 +Completed 302 Found in 2ms (ActiveRecord: 0.4ms) + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +Started GET "/tasks/980190965/edit" for 127.0.0.1 at 2019-04-14 20:11:12 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (1.0ms) + Rendered tasks/edit.html.erb within layouts/application (1.6ms) +Completed 200 OK in 12ms (Views: 3.8ms | ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 20:11:12 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.5ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:11:12.897331"], ["updated_at", "2019-04-15 03:11:12.897331"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-14 20:11:12 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190966"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190966], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (28.7ms) +Completed 200 OK in 33ms (Views: 30.6ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:11:12 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"-1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (203.2ms) DROP DATABASE IF EXISTS "TaskList_test" +  (501.2ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (1.1ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (10.7ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.2ms) 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) + 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.4ms) BEGIN + ActiveRecord::InternalMetadata Create (1.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-15 03:11:40.185847"], ["updated_at", "2019-04-15 03:11:40.185847"]] +  (0.3ms) COMMIT + 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.2ms) BEGIN +  (0.1ms) COMMIT +  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.7ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:11:40.452404', '2019-04-15 03:11:40.452404', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:11:40.452404', '2019-04-15 03:11:40.452404', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:11:40 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"-1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 9ms (ActiveRecord: 0.8ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.5ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-14 20:11:40 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.2ms) SAVEPOINT active_record_1 + Task Update (0.3ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-15 03:11:40.503530"], ["id", 298486374]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 6ms (ActiveRecord: 0.8ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:11:40.511913"], ["updated_at", "2019-04-15 03:11:40.511913"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-14 20:11:40 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (27.3ms) +Completed 200 OK in 213ms (Views: 209.5ms | ActiveRecord: 0.3ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:11:40 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 2ms (ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 20:11:40 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (11.0ms) + Rendered tasks/new.html.erb within layouts/application (13.9ms) +Completed 200 OK in 18ms (Views: 15.3ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 20:11:40 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-15 03:11:40.762714"], ["updated_at", "2019-04-15 03:11:40.762714"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190964 +Completed 302 Found in 2ms (ActiveRecord: 0.4ms) + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +Started GET "/tasks/980190964/edit" for 127.0.0.1 at 2019-04-14 20:11:40 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (0.9ms) + Rendered tasks/edit.html.erb within layouts/application (1.3ms) +Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 20:11:40 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-15 03:11:40.779030"], ["updated_at", "2019-04-15 03:11:40.779030"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190965" for 127.0.0.1 at 2019-04-14 20:11:40 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190965]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 20:11:40 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-14 20:11:40 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.7ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-14 20:11:40 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 20:11:40 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-15 03:11:40.807758"], ["updated_at", "2019-04-15 03:11:40.807758"], ["completion_date", ""]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190966 +Completed 302 Found in 2ms (ActiveRecord: 0.5ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (215.1ms) DROP DATABASE IF EXISTS "TaskList_test" +  (475.9ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (5.8ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.5ms) 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) + 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 + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-15 03:15:03.102375"], ["updated_at", "2019-04-15 03:15:03.102375"]] +  (0.3ms) COMMIT + 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 +  (0.1ms) COMMIT +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.7ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.6ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:15:03.384127', '2019-04-15 03:15:03.384127', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:15:03.384127', '2019-04-15 03:15:03.384127', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.2ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 20:15:03 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-15 03:15:03.425354"], ["updated_at", "2019-04-15 03:15:03.425354"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 15ms (ActiveRecord: 0.6ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-15 03:15:03.438318"], ["updated_at", "2019-04-15 03:15:03.438318"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964/edit" for 127.0.0.1 at 2019-04-14 20:15:03 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (15.0ms) + Rendered tasks/edit.html.erb within layouts/application (19.1ms) +Completed 200 OK in 233ms (Views: 228.2ms | ActiveRecord: 0.2ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 20:15:03 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-14 20:15:03 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 7ms (Views: 3.0ms | ActiveRecord: 0.7ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-14 20:15:03 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-14 20:15:03 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.2ms) SAVEPOINT active_record_1 + Task Update (1.0ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-15 03:15:03.706089"], ["id", 298486374]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 7ms (ActiveRecord: 1.7ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:15:03 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"-1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 20:15:03 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (0.9ms) + Rendered tasks/new.html.erb within layouts/application (1.4ms) +Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 20:15:03 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-15 03:15:03.732627"], ["updated_at", "2019-04-15 03:15:03.732627"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190965" for 127.0.0.1 at 2019-04-14 20:15:03 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190965]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:15:03.739663"], ["updated_at", "2019-04-15 03:15:03.739663"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-14 20:15:03 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190966"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190966], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (22.6ms) +Completed 200 OK in 28ms (Views: 23.7ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:15:03 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"-1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) +  (0.1ms) ROLLBACK +  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (209.6ms) DROP DATABASE IF EXISTS "TaskList_test" +  (404.0ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.1ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (12.6ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.3ms) 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) + ActiveRecord::InternalMetadata Load (0.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-15 03:15:36.905677"], ["updated_at", "2019-04-15 03:15:36.905677"]] +  (0.4ms) COMMIT + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) BEGIN +  (0.2ms) COMMIT +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) BEGIN +  (0.3ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.5ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:15:37.124757', '2019-04-15 03:15:37.124757', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:15:37.124757', '2019-04-15 03:15:37.124757', 'MyString') +  (0.8ms) COMMIT +  (0.2ms) BEGIN +  (0.2ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 20:15:37 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (6.3ms) + Rendered tasks/new.html.erb within layouts/application (8.7ms) +Completed 200 OK in 192ms (Views: 179.2ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.4ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 20:15:37 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 3ms (ActiveRecord: 0.5ms) +  (0.4ms) SELECT COUNT(*) FROM "tasks" +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-15 03:15:37.356254"], ["updated_at", "2019-04-15 03:15:37.356254"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-14 20:15:37 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190963]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 3ms (ActiveRecord: 1.1ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:15:37 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:15:37.372444"], ["updated_at", "2019-04-15 03:15:37.372444"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-14 20:15:37 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (24.0ms) +Completed 200 OK in 28ms (Views: 25.1ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-14 20:15:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.5ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-14 20:15:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 20:15:37 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-15 03:15:37.420388"], ["updated_at", "2019-04-15 03:15:37.420388"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190965 +Completed 302 Found in 2ms (ActiveRecord: 0.5ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-14 20:15:37 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Update (0.3ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-15 03:15:37.429223"], ["id", 298486374]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 4ms (ActiveRecord: 0.6ms) +  (0.5ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:15:37 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:15:37.438319"], ["updated_at", "2019-04-15 03:15:37.438319"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190966/edit" for 127.0.0.1 at 2019-04-14 20:15:37 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"980190966"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190966], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (0.9ms) + Rendered tasks/edit.html.erb within layouts/application (1.3ms) +Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 20:15:37 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) +  (0.1ms) ROLLBACK +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (202.6ms) DROP DATABASE IF EXISTS "TaskList_test" +  (466.2ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.1ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (6.7ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.3ms) 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) + 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.7ms) BEGIN + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-15 03:16:37.463950"], ["updated_at", "2019-04-15 03:16:37.463950"]] +  (0.6ms) COMMIT + 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.2ms) BEGIN +  (0.1ms) COMMIT +  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.6ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:16:37.732091', '2019-04-15 03:16:37.732091', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:16:37.732091', '2019-04-15 03:16:37.732091', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.4ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-14 20:16:37 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.2ms) SAVEPOINT active_record_1 + Task Update (0.9ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-15 03:16:37.777134"], ["id", 298486374]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 12ms (ActiveRecord: 1.5ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:16:37 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-14 20:16:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (209.8ms) +Completed 200 OK in 220ms (Views: 217.5ms | ActiveRecord: 0.8ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-14 20:16:38 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 20:16:38 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-15 03:16:38.027845"], ["updated_at", "2019-04-15 03:16:38.027845"], ["completion_date", ""]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 5ms (ActiveRecord: 1.2ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.4ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 20:16:38 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-15 03:16:38.042032"], ["updated_at", "2019-04-15 03:16:38.042032"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-14 20:16:38 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190964]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:16:38.051571"], ["updated_at", "2019-04-15 03:16:38.051571"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-14 20:16:38 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (20.8ms) +Completed 200 OK in 25ms (Views: 21.8ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:16:38 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 20:16:38 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (17.0ms) + Rendered tasks/new.html.erb within layouts/application (19.5ms) +Completed 200 OK in 22ms (Views: 20.6ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:16:38.111151"], ["updated_at", "2019-04-15 03:16:38.111151"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190966/edit" for 127.0.0.1 at 2019-04-14 20:16:38 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"980190966"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190966], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (0.9ms) + Rendered tasks/edit.html.erb within layouts/application (1.4ms) +Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 20:16:38 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (217.1ms) DROP DATABASE IF EXISTS "TaskList_test" +  (488.4ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (11.5ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (9.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.0ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-15 03:19:35.741277"], ["updated_at", "2019-04-15 03:19:35.741277"]] +  (0.2ms) COMMIT + 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.2ms) BEGIN +  (0.1ms) COMMIT +  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.6ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:19:36.008099', '2019-04-15 03:19:36.008099', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:19:36.008099', '2019-04-15 03:19:36.008099', 'MyString') +  (0.3ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-14 20:19:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (227.1ms) +Completed 200 OK in 241ms (Views: 234.0ms | ActiveRecord: 0.5ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-14 20:19:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.3ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.5ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 20:19:36 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-15 03:19:36.286915"], ["updated_at", "2019-04-15 03:19:36.286915"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 3ms (ActiveRecord: 0.5ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 20:19:36 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (9.2ms) + Rendered tasks/new.html.erb within layouts/application (11.9ms) +Completed 200 OK in 16ms (Views: 13.0ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 20:19:36 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:19:36.318913"], ["updated_at", "2019-04-15 03:19:36.318913"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964/edit" for 127.0.0.1 at 2019-04-14 20:19:36 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (0.9ms) + Rendered tasks/edit.html.erb within layouts/application (1.4ms) +Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-15 03:19:36.328612"], ["updated_at", "2019-04-15 03:19:36.328612"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190965" for 127.0.0.1 at 2019-04-14 20:19:36 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190965]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.5ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 20:19:36 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-14 20:19:36 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Update (0.2ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-15 03:19:36.342505"], ["id", 298486374]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 4ms (ActiveRecord: 0.6ms) +  (0.7ms) SELECT COUNT(*) FROM "tasks" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:19:36 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:19:36 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"-1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:19:36.356669"], ["updated_at", "2019-04-15 03:19:36.356669"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-14 20:19:36 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190966"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190966], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (21.6ms) +Completed 200 OK in 25ms (Views: 22.7ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------- +TasksController::toggle_complete: test_0001_will change completion status +------------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:19:36.387121"], ["updated_at", "2019-04-15 03:19:36.387121"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started PATCH "/tasks/980190967/toggle_complete" for 127.0.0.1 at 2019-04-14 20:19:36 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"980190967"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190967], ["LIMIT", 1]] +No template found for TasksController#toggle_complete, rendering head :no_content +Completed 204 No Content in 92ms (ActiveRecord: 0.1ms) +  (0.1ms) ROLLBACK +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (219.9ms) DROP DATABASE IF EXISTS "TaskList_test" +  (477.8ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.1ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (7.6ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.5ms) 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) + 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.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.8ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-15 03:21:56.737099"], ["updated_at", "2019-04-15 03:21:56.737099"]] +  (0.2ms) COMMIT + 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.2ms) BEGIN +  (0.2ms) COMMIT +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.6ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:21:57.006796', '2019-04-15 03:21:57.006796', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:21:57.006796', '2019-04-15 03:21:57.006796', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 20:21:57 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.3ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-15 03:21:57.053526"], ["updated_at", "2019-04-15 03:21:57.053526"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 18ms (ActiveRecord: 0.7ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 20:21:57 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (13.6ms) + Rendered tasks/new.html.erb within layouts/application (17.6ms) +Completed 200 OK in 231ms (Views: 226.2ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:21:57 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-14 20:21:57 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Update (0.3ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-15 03:21:57.323475"], ["id", 298486374]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 5ms (ActiveRecord: 0.8ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:21:57 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:21:57.336508"], ["updated_at", "2019-04-15 03:21:57.336508"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-14 20:21:57 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (23.3ms) +Completed 200 OK in 28ms (Views: 24.5ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 20:21:57 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-15 03:21:57.374538"], ["updated_at", "2019-04-15 03:21:57.374538"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190965" for 127.0.0.1 at 2019-04-14 20:21:57 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190965]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-14 20:21:57 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.5ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-14 20:21:57 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------- +TasksController::toggle_complete: test_0001_will change completion status +------------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:21:57.397414"], ["updated_at", "2019-04-15 03:21:57.397414"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started PATCH "/tasks/980190966/toggle_complete" for 127.0.0.1 at 2019-04-14 20:21:57 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"980190966"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190966], ["LIMIT", 1]] +No template found for TasksController#toggle_complete, rendering head :no_content +Completed 204 No Content in 111ms (ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:21:57.515635"], ["updated_at", "2019-04-15 03:21:57.515635"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190967/edit" for 127.0.0.1 at 2019-04-14 20:21:57 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"980190967"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190967], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (0.9ms) + Rendered tasks/edit.html.erb within layouts/application (1.3ms) +Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 20:21:57 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) +  (0.1ms) ROLLBACK +  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (207.5ms) DROP DATABASE IF EXISTS "TaskList_test" +  (488.7ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.3ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (22.5ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (5.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.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) + 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.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-15 03:22:39.607104"], ["updated_at", "2019-04-15 03:22:39.607104"]] +  (0.3ms) COMMIT + 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.2ms) BEGIN +  (0.5ms) COMMIT +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.7ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.9ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:22:39.994368', '2019-04-15 03:22:39.994368', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:22:39.994368', '2019-04-15 03:22:39.994368', 'MyString') +  (0.3ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.2ms) COMMIT +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 20:22:40 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (11.3ms) + Rendered tasks/new.html.erb within layouts/application (15.2ms) +Completed 200 OK in 258ms (Views: 241.4ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------- +TasksController::toggle_complete: test_0001_will change completion status +------------------------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:22:40.312383"], ["updated_at", "2019-04-15 03:22:40.312383"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started PATCH "/tasks/980190963/toggle_complete" for 127.0.0.1 at 2019-04-14 20:22:40 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] +No template found for TasksController#toggle_complete, rendering head :no_content +Completed 204 No Content in 137ms (ActiveRecord: 0.5ms) +  (0.4ms) SELECT COUNT(*) FROM "tasks" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 20:22:40 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:22:40.472140"], ["updated_at", "2019-04-15 03:22:40.472140"], ["completion_date", ""]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964/edit" for 127.0.0.1 at 2019-04-14 20:22:40 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (1.3ms) + Rendered tasks/edit.html.erb within layouts/application (2.4ms) +Completed 200 OK in 8ms (Views: 4.4ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-14 20:22:40 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Update (0.6ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-15 03:22:40.513695"], ["id", 298486374]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 6ms (ActiveRecord: 1.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:22:40 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-14 20:22:40 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.7ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-14 20:22:40 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 20:22:40 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-15 03:22:40.550690"], ["updated_at", "2019-04-15 03:22:40.550690"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190965 +Completed 302 Found in 3ms (ActiveRecord: 0.6ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (1.0ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-15 03:22:40.577602"], ["updated_at", "2019-04-15 03:22:40.577602"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190966" for 127.0.0.1 at 2019-04-14 20:22:40 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190966"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190966], ["LIMIT", 1]] +  (0.4ms) SAVEPOINT active_record_1 + Task Destroy (0.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190966]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 4ms (ActiveRecord: 1.0ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.4ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 20:22:40 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 2ms (ActiveRecord: 0.7ms) +  (0.4ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:22:40.602661"], ["updated_at", "2019-04-15 03:22:40.602661"], ["completion_date", ""]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190967" for 127.0.0.1 at 2019-04-14 20:22:40 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190967"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190967], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (29.9ms) +Completed 200 OK in 35ms (Views: 32.4ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:22:40 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (212.6ms) DROP DATABASE IF EXISTS "TaskList_test" +  (492.3ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (19.5ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (2.4ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.3ms) 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) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-15 03:24:34.087958"], ["updated_at", "2019-04-15 03:24:34.087958"]] +  (0.5ms) COMMIT + ActiveRecord::InternalMetadata Load (0.3ms) 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.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.7ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:24:34.421128', '2019-04-15 03:24:34.421128', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:24:34.421128', '2019-04-15 03:24:34.421128', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:24:34.449243"], ["updated_at", "2019-04-15 03:24:34.449243"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190963/edit" for 127.0.0.1 at 2019-04-14 20:24:34 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (13.5ms) + Rendered tasks/edit.html.erb within layouts/application (17.9ms) +Completed 200 OK in 239ms (Views: 230.1ms | ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 20:24:34 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------- +TasksController::toggle_complete: test_0001_will change completion status +------------------------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:24:34.706368"], ["updated_at", "2019-04-15 03:24:34.706368"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started PATCH "/tasks/980190964/toggle_complete" for 127.0.0.1 at 2019-04-14 20:24:34 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] +No template found for TasksController#toggle_complete, rendering head :no_content +Completed 204 No Content in 101ms (ActiveRecord: 0.3ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 20:24:34 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.9ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-15 03:24:34.822089"], ["updated_at", "2019-04-15 03:24:34.822089"], ["completion_date", ""]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190965 +Completed 302 Found in 4ms (ActiveRecord: 1.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:24:34.829541"], ["updated_at", "2019-04-15 03:24:34.829541"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started PATCH "/tasks/980190966" for 127.0.0.1 at 2019-04-14 20:24:34 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"980190966"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190966], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Update (0.3ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4 [["name", "new task"], ["description", "new task description"], ["updated_at", "2019-04-15 03:24:34.833073"], ["id", 980190966]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190966 +Completed 302 Found in 4ms (ActiveRecord: 0.7ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:24:34 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"-1"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.6ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 20:24:34 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (1.5ms) + Rendered tasks/new.html.erb within layouts/application (2.1ms) +Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-14 20:24:34 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 8ms (Views: 3.2ms | ActiveRecord: 0.8ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-14 20:24:34 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.0ms) +Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 20:24:34 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.5ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-15 03:24:34.874765"], ["updated_at", "2019-04-15 03:24:34.874765"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190967" for 127.0.0.1 at 2019-04-14 20:24:34 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190967"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190967], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190967]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.5ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:24:34.882551"], ["updated_at", "2019-04-15 03:24:34.882551"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190968" for 127.0.0.1 at 2019-04-14 20:24:34 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190968"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190968], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (24.8ms) +Completed 200 OK in 28ms (Views: 25.8ms | ActiveRecord: 0.1ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:24:34 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (220.0ms) DROP DATABASE IF EXISTS "TaskList_test" +  (481.5ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (7.2ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.3ms) 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) + 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.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-15 03:25:33.415069"], ["updated_at", "2019-04-15 03:25:33.415069"]] +  (0.2ms) COMMIT + ActiveRecord::InternalMetadata Load (0.3ms) 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.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (208.6ms) DROP DATABASE IF EXISTS "TaskList_test" +  (482.4ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.7ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (1.6ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (7.4ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (8.8ms) 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) + ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.3ms) BEGIN + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-15 03:26:22.510154"], ["updated_at", "2019-04-15 03:26:22.510154"]] +  (0.4ms) COMMIT + 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.2ms) BEGIN +  (0.2ms) COMMIT +  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.5ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.7ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:26:22.801700', '2019-04-15 03:26:22.801700', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:26:22.801700', '2019-04-15 03:26:22.801700', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.9ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.4ms) COMMIT +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.6ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:26:22.831485"], ["updated_at", "2019-04-15 03:26:22.831485"], ["completion_date", ""]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-14 20:26:22 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (27.4ms) +Completed 200 OK in 208ms (Views: 198.4ms | ActiveRecord: 0.3ms) +  (0.5ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:26:23 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-14 20:26:23 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Update (0.3ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-15 03:26:23.065110"], ["id", 298486374]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 4ms (ActiveRecord: 0.7ms) +  (0.4ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:26:23 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-14 20:26:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (5.7ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (8.4ms) +Completed 200 OK in 20ms (Views: 4.4ms | ActiveRecord: 5.7ms) +  (0.4ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-14 20:26:23 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.4ms) +  (2.0ms) ROLLBACK +  (0.2ms) BEGIN +------------------------------------------------------------------------- +TasksController::toggle_complete: test_0001_will change completion status +------------------------------------------------------------------------- + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.7ms) SELECT COUNT(*) FROM "tasks" +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.4ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 20:26:23 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.4ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-15 03:26:23.210689"], ["updated_at", "2019-04-15 03:26:23.210689"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190964 +Completed 302 Found in 3ms (ActiveRecord: 0.7ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:26:23.215821"], ["updated_at", "2019-04-15 03:26:23.215821"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190965/edit" for 127.0.0.1 at 2019-04-14 20:26:23 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (10.7ms) + Rendered tasks/edit.html.erb within layouts/application (13.1ms) +Completed 200 OK in 18ms (Views: 14.6ms | ActiveRecord: 0.9ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 20:26:23 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.3ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 20:26:23 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.5ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-15 03:26:23.252189"], ["updated_at", "2019-04-15 03:26:23.252189"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190966" for 127.0.0.1 at 2019-04-14 20:26:23 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190966"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190966], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.4ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190966]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 3ms (ActiveRecord: 0.9ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 20:26:23 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (0.9ms) + Rendered tasks/new.html.erb within layouts/application (1.6ms) +Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (206.1ms) DROP DATABASE IF EXISTS "TaskList_test" +  (490.2ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.1ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (7.9ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (3.3ms) 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) + ActiveRecord::InternalMetadata Load (1.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.6ms) BEGIN + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-15 03:27:28.506047"], ["updated_at", "2019-04-15 03:27:28.506047"]] +  (0.3ms) COMMIT + 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 +  (0.1ms) COMMIT +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) BEGIN +  (0.4ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.7ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:27:28.807980', '2019-04-15 03:27:28.807980', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:27:28.807980', '2019-04-15 03:27:28.807980', 'MyString') +  (0.3ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.5ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-14 20:27:28 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.2ms) SAVEPOINT active_record_1 + Task Update (0.4ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-15 03:27:28.856687"], ["id", 298486374]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 11ms (ActiveRecord: 0.9ms) +  (0.7ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:27:28 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"-1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------- +TasksController::toggle_complete: test_0001_will change completion status +------------------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374/toggle_complete" for 127.0.0.1 at 2019-04-14 20:27:28 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +No template found for TasksController#toggle_complete, rendering head :no_content +Completed 204 No Content in 99ms (ActiveRecord: 0.2ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 20:27:28 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (14.6ms) + Rendered tasks/new.html.erb within layouts/application (18.1ms) +Completed 200 OK in 264ms (Views: 262.0ms | ActiveRecord: 0.0ms) +  (0.7ms) ROLLBACK +  (0.2ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 20:27:29 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-15 03:27:29.251710"], ["updated_at", "2019-04-15 03:27:29.251710"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190963 +Completed 302 Found in 4ms (ActiveRecord: 0.7ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 20:27:29 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 2ms (ActiveRecord: 0.3ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-15 03:27:29.266297"], ["updated_at", "2019-04-15 03:27:29.266297"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-14 20:27:29 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190964]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.7ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.9ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:27:29.276897"], ["updated_at", "2019-04-15 03:27:29.276897"], ["completion_date", ""]] +  (1.4ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190965/edit" for 127.0.0.1 at 2019-04-14 20:27:29 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (1.5ms) + Rendered tasks/edit.html.erb within layouts/application (2.1ms) +Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 20:27:29 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-14 20:27:29 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (2.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (5.3ms) +Completed 200 OK in 9ms (Views: 4.6ms | ActiveRecord: 2.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-14 20:27:29 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:27:29.317106"], ["updated_at", "2019-04-15 03:27:29.317106"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-14 20:27:29 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190966"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190966], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (25.9ms) +Completed 200 OK in 29ms (Views: 26.9ms | ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:27:29 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"-1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (238.7ms) DROP DATABASE IF EXISTS "TaskList_test" +  (482.1ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (6.6ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (2.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.2ms) 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) + 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.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-15 03:32:02.818207"], ["updated_at", "2019-04-15 03:32:02.818207"]] +  (0.3ms) COMMIT + 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.2ms) BEGIN +  (0.2ms) COMMIT +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) BEGIN +  (0.5ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.8ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:32:03.113580', '2019-04-15 03:32:03.113580', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:32:03.113580', '2019-04-15 03:32:03.113580', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:32:03.151341"], ["updated_at", "2019-04-15 03:32:03.151341"], ["completion_date", ""]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190963/edit" for 127.0.0.1 at 2019-04-14 20:32:03 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (11.9ms) + Rendered tasks/edit.html.erb within layouts/application (17.7ms) +Completed 200 OK in 272ms (Views: 259.5ms | ActiveRecord: 0.4ms) +  (0.4ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 20:32:03 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-14 20:32:03 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Update (0.3ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-15 03:32:03.458655"], ["id", 298486374]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 9ms (ActiveRecord: 0.8ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.4ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:32:03 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"-1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 20:32:03 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.2ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-15 03:32:03.506580"], ["updated_at", "2019-04-15 03:32:03.506580"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190964 +Completed 302 Found in 3ms (ActiveRecord: 0.7ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-15 03:32:03.514629"], ["updated_at", "2019-04-15 03:32:03.514629"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190965" for 127.0.0.1 at 2019-04-14 20:32:03 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Destroy (0.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190965]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.8ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 20:32:03 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.9ms) BEGIN +--------------------------------------------------------------------------------------------- +TasksController::toggle_complete: test_0001_will change completion status of an existing task +--------------------------------------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.6ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374/toggle_complete" for 127.0.0.1 at 2019-04-14 20:32:03 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +No template found for TasksController#toggle_complete, rendering head :no_content +Completed 204 No Content in 98ms (ActiveRecord: 0.2ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------- +TasksController::toggle_complete: test_0002_will change completion status +------------------------------------------------------------------------- + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +Started PATCH "/tasks/298486374/toggle_complete" for 127.0.0.1 at 2019-04-14 20:32:03 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +No template found for TasksController#toggle_complete, rendering head :no_content +Completed 204 No Content in 1ms (ActiveRecord: 0.1ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 20:32:03 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (1.9ms) + Rendered tasks/new.html.erb within layouts/application (2.4ms) +Completed 200 OK in 7ms (Views: 3.5ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-14 20:32:03 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.7ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-14 20:32:03 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 6ms (Views: 5.8ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:32:03.667445"], ["updated_at", "2019-04-15 03:32:03.667445"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-14 20:32:03 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190966"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190966], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (25.4ms) +Completed 200 OK in 30ms (Views: 26.4ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:32:03 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"-1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) +  (0.1ms) ROLLBACK +  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] +  (139.7ms) DROP DATABASE IF EXISTS "TaskList_test" +  (500.4ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE +  (6.5ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) +  (4.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) +  (2.8ms) 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) + ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) BEGIN + ActiveRecord::InternalMetadata Create (0.8ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-04-15 03:32:56.125940"], ["updated_at", "2019-04-15 03:32:56.125940"]] +  (0.4ms) COMMIT + 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 +  (0.2ms) COMMIT +  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) BEGIN +  (0.7ms) ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Fixtures Load (0.7ms) DELETE FROM "tasks"; +INSERT INTO "tasks" ("id", "name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES (980190962, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:32:56.425727', '2019-04-15 03:32:56.425727', 'MyString'), (298486374, 'MyString', 'MyString', DEFAULT, '2019-04-15 03:32:56.425727', '2019-04-15 03:32:56.425727', 'MyString') +  (0.4ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL +  (0.1ms) COMMIT +  (0.1ms) BEGIN +--------------------------------------------------------- +TasksController::new: test_0001_can get the new task page +--------------------------------------------------------- +Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 20:32:56 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (11.4ms) + Rendered tasks/new.html.erb within layouts/application (14.6ms) +Completed 200 OK in 215ms (Views: 199.9ms | ActiveRecord: 0.0ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------------------- +TasksController::destroy: test_0001_returns a 404 if the task if not found +-------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 20:32:56 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"NOT A VALID ID"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 2ms (ActiveRecord: 0.3ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::destroy: test_0002_can delete a book +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.3ms) INSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Call Sister"], ["created_at", "2019-04-15 03:32:56.682397"], ["updated_at", "2019-04-15 03:32:56.682397"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-14 20:32:56 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"id"=>"980190963"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190963], ["LIMIT", 1]] +  (0.2ms) SAVEPOINT active_record_1 + Task Destroy (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 980190963]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks +Completed 302 Found in 3ms (ActiveRecord: 0.7ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------------- +TasksController::update: test_0001_can update an existing task +-------------------------------------------------------------- + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374" for 127.0.0.1 at 2019-04-14 20:32:56 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Task Update (0.4ms) UPDATE "tasks" SET "name" = $1, "description" = $2, "completed_at" = $3, "completion_date" = $4, "updated_at" = $5 WHERE "tasks"."id" = $6 [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["completion_date", ""], ["updated_at", "2019-04-15 03:32:56.697236"], ["id", 298486374]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/298486374 +Completed 302 Found in 6ms (ActiveRecord: 0.9ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +TasksController::update: test_0002_will redirect to the root page if given an invalid id +---------------------------------------------------------------------------------------- +Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:32:56 -0700 +Processing by TasksController#update as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"-1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.3ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------------------------------------ +TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task +------------------------------------------------------------------------------------------------------ +Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 20:32:56 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"-1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", -1], ["LIMIT", 1]] +Redirected to http://www.example.com/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------- +TasksController::edit: test_0001_can get the edit page for an existing task +--------------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:32:56.713717"], ["updated_at", "2019-04-15 03:32:56.713717"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190964/edit" for 127.0.0.1 at 2019-04-14 20:32:56 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"980190964"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190964], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (1.1ms) + Rendered tasks/edit.html.erb within layouts/application (1.5ms) +Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +-------------------------------------------------------- +TasksController::index: test_0001_can get the index path +-------------------------------------------------------- +Started GET "/tasks" for 127.0.0.1 at 2019-04-14 20:32:56 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------- +TasksController::index: test_0002_can get the root path +------------------------------------------------------- +Started GET "/" for 127.0.0.1 at 2019-04-14 20:32:56 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + Rendered tasks/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------------------------------- +TasksController::show: test_0001_can get a valid task +----------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "sample task"], ["description", "this is an example for a test"], ["completed_at", ""], ["created_at", "2019-04-15 03:32:56.736967"], ["updated_at", "2019-04-15 03:32:56.736967"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-14 20:32:56 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"980190965"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 980190965], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (25.9ms) +Completed 200 OK in 30ms (Views: 26.9ms | ActiveRecord: 0.1ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------ +TasksController::show: test_0002_will redirect for an invalid task +------------------------------------------------------------------ +Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 20:32:56 -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]] +Redirected to http://www.example.com/tasks/-1 +Completed 302 Found in 1ms (ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------------------------------- +TasksController::create: test_0001_can create a new task +-------------------------------------------------------- +  (0.3ms) SELECT COUNT(*) FROM "tasks" +Started POST "/tasks" for 127.0.0.1 at 2019-04-14 20:32:56 -0700 +Processing by TasksController#create as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}} +  (0.1ms) SAVEPOINT active_record_1 + Task Create (0.2ms) INSERT INTO "tasks" ("name", "description", "completed_at", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "new task"], ["description", "new task description"], ["completed_at", ""], ["created_at", "2019-04-15 03:32:56.777653"], ["updated_at", "2019-04-15 03:32:56.777653"], ["completion_date", ""]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/tasks/980190966 +Completed 302 Found in 2ms (ActiveRecord: 0.5ms) +  (0.2ms) SELECT COUNT(*) FROM "tasks" + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2 [["name", "new task"], ["LIMIT", 1]] +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------------- +Task: test_0001_must be valid +----------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +--------------------------------------------------------------------------------------------- +TasksController::toggle_complete: test_0001_will change completion status of an existing task +--------------------------------------------------------------------------------------------- + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "tasks" +Started PATCH "/tasks/298486374/toggle_complete" for 127.0.0.1 at 2019-04-14 20:32:56 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +No template found for TasksController#toggle_complete, rendering head :no_content +Completed 204 No Content in 89ms (ActiveRecord: 0.2ms) +  (0.3ms) SELECT COUNT(*) FROM "tasks" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------------------------------------------------- +TasksController::toggle_complete: test_0002_will change completion status +------------------------------------------------------------------------- + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1 [["LIMIT", 1]] +Started PATCH "/tasks/298486374/toggle_complete" for 127.0.0.1 at 2019-04-14 20:32:56 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"", "completion_date"=>""}, "id"=>"298486374"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 298486374], ["LIMIT", 1]] +No template found for TasksController#toggle_complete, rendering head :no_content +Completed 204 No Content in 1ms (ActiveRecord: 0.2ms) +  (0.1ms) ROLLBACK diff --git a/test/controllers/tasks_controller_test.rb b/test/controllers/tasks_controller_test.rb index 15ac75328..32f7c83c6 100644 --- a/test/controllers/tasks_controller_test.rb +++ b/test/controllers/tasks_controller_test.rb @@ -1,47 +1,35 @@ require "test_helper" describe TasksController do - # Note to students: Your Task model **may** be different and - # you may need to modify this. let (:task) { Task.create name: "sample task", description: "this is an example for a test", completed_at: "", completion_date: "" } - # Tests for Wave 1 describe "index" do it "can get the index path" do - # Act get tasks_path - # Assert must_respond_with :success end it "can get the root path" do - # Act get root_path - # Assert must_respond_with :success end end - # Unskip these tests for Wave 2 describe "show" do it "can get a valid task" do - # Act get task_path(task.id) - # Assert must_respond_with :success end it "will redirect for an invalid task" do - # Act get task_path(-1) - # Assert must_respond_with :redirect end end @@ -49,18 +37,14 @@ describe "new" do it "can get the new task page" do - # Act get new_task_path - # Assert must_respond_with :success end end describe "create" do it "can create a new task" do - - # Arrange task_hash = { task: { name: "new task", @@ -70,7 +54,6 @@ }, } - # Act-Assert expect { post tasks_path, params: task_hash }.must_change "Task.count", 1 @@ -85,44 +68,39 @@ end end - # Unskip and complete these tests for Wave 3 describe "edit" do - # it "can get the edit page for an existing task" do - # task = { - # name: "new task", - # description: "new task description", - # completed_at: "Complete", - # } - - # expect { - # get '/tasks/:id/edit', params: task - # }.must_change "Task.count", 1 - - - # # Your code here - # end + it "can get the edit page for an existing task" do + get edit_task_path(task.id) + must_respond_with :success + end - # it "will respond with redirect when attempting to edit a nonexistant task" do - # # Your code here - # end + it "will respond with redirect when attempting to edit a nonexistant task" do + get edit_task_path(-1) + must_respond_with :redirect + end end - # Uncomment and complete these tests for Wave 3 describe "update" do - # Note: If there was a way to fail to save the changes to a task, that would be a great - # thing to test. + task_hash = { + task: { + name: "new task", + description: "new task description", + completed_at: "", + completion_date: "" + }, + } + it "can update an existing task" do - # Your code here + id = Task.first.id + expect { + patch task_path(id), params: task_hash + }.wont_change "Task.count" end it "will redirect to the root page if given an invalid id" do - invalid_id = "NOT A VALID ID" - - get edit_task(1) - patch task_path(invalid_id) - - must_respond_with :redirect - # Your code here + patch task_path(-1), params: task_hash + + must_respond_with :redirect end end @@ -130,37 +108,49 @@ it "returns a 404 if the task if not found" do invalid_id = "NOT A VALID ID" - # Act - # try to do tasks destroy action - expect { delete task_path(invalid_id) }.wont_change "Task.count" must_respond_with :not_found - - # Assert - # should respond with not found - # the count will change by 0 OR wont_change tasks.count - end it "can delete a book" do - # Arrange - new_task = Task.create(name: "Call Sister") + new_task = Task.create(name: "Call Sister") - expect { - # Act - delete task_path(new_task.id) - # Assert - }.must_change "Task.count", -1 + expect { + delete task_path(new_task.id) + }.must_change "Task.count", -1 - must_respond_with :redirect - must_redirect_to tasks_path + must_respond_with :redirect + must_redirect_to tasks_path end end describe "toggle_complete" do - # Your tests go here + task_hash = { + task: { + name: "new task", + description: "new task description", + completed_at: "", + completion_date: "" + }, + } + + it "will change completion status of an existing task" do + id = Task.first.id + expect { + patch toggle_complete_path(id), params: task_hash + }.wont_change "Task.count" + end + + it "will change completion status" do + task = Task.first + status = Task.first.completed_at + + expect { + patch toggle_complete_path(task.id), params: task_hash + }.must_change task.completed_at + end end -end +end \ No newline at end of file From 98e99f27f9ea3f2e11b1908863231a5379d34bce Mon Sep 17 00:00:00 2001 From: Jillianne Ramirez Date: Sun, 14 Apr 2019 23:27:55 -0700 Subject: [PATCH 17/23] tests added, functionality corrected and css --- app/assets/images/tasklist.jpg | Bin 18432 -> 51580 bytes app/assets/stylesheets/index.css | 36 +++++++++++++++++++++++++++++++ app/views/tasks/index.html.erb | 29 +++++++++++++++++-------- 3 files changed, 56 insertions(+), 9 deletions(-) create mode 100644 app/assets/stylesheets/index.css diff --git a/app/assets/images/tasklist.jpg b/app/assets/images/tasklist.jpg index 6ffbcd7ba9221923d3c956739c06b4ec3c60bab1..abf406c2fbc6073b71085ffa6d32962c636a5c4b 100644 GIT binary patch literal 51580 zcmb5Vby$?&);E6BDN+MSGlVeYP!iG&(lbMMcMT~hA|TyEcQbTJBO)OnA{~M#DXD;< zAm}^#J?H$+^IpIAk7r*O!#(#}>$BHdd+l0#&+nz*9|3YrRSi`D3sd;8_yFMdC%{c5 z$i)!=G&CRpApiha02vlGpn-X!$Nc>%h8{M)NLFuWFHZ+PRy!|8M+eM*ZwF6S8&7*y zPcNi{w~ak(pbOHO73mO!WCgP#y;$wNSlwOxkYGMmUk9YG7posK*xljxCmbPXB+^?- zP|(v)z{cLo)+6(?S z$6wLEW(fWpK+OS(4A$_ladPle(@=%|2LppC;Pi*)@|X74Cr&Po$p2Bhz1@HKz5RXN z|JG@5C+Ohr;Njqj^uzE%|5K5-yT9LmxG|Rb`#Jo1^;gE--cb-!;s3z?V}wc&#y|h^ z_5ZI?7zROMAt4EVAz^-DNlab;@sgC1uY`#qop5EBp(65taP5)zUS z6O)k9k(1rJMaBf8p`c@D;p70bfZ4cs?+J48i1M(3g%qHolG3uWvYZ0S8cO%o@5#tY z{{g`wCLtlaMaD=@&M3_d=9d0nm*0Z`1tC@@wml9O1%OR~g+qb$d+5)wh4W{8`|G2B zKCrNH@Nn@lG`c^8|3LyUG~C}S04WX@fK84=ju`-VcPf-)8LQ#kz$iBkIh8daTu}p; zcst@$Q|X2kF^A1H+3GV_W1JchF02Vbr0RfR9i&9n%}HFXt?IsW=!QE5F%x=}{POZO z5ItP5J2rxsNHG#hXpN_7ATJLHJLCE`qvd@wS?S31NFs`7jGJR@xS=MjP}Vl`TgKr; ztui06#-mxWfH-o1j6R$dgo0qZfYe4EGz6r0CM5t8y)#)SB=I(gz5d28q` zbCqxs6W3JUSd77RBgCn|oMxswphOM~U>gi5(M1Z8-%{rz;06HJCV;R4P+l647s{X` zByI*G0dOP^IiV6j7mY(?Jdnpx%vdK6=+gi=87lH**gP4O&ERsJKYk%*EOiD@`n43|xZzJg;O)|iG(LoR0|=%q#Mo@V6c?V0&kB%} z$^!rrTB2C-lwXa@U!0gL9ezs>_+$Vuns&mud9he=U=iDO&0rb-lC4QxmADvJFu*l} zrzH*@f8FAai$hLIL`R74-*q$|Q#YW#u$?Avt*1Gn9*sL2F?py@rGb|xfE@#KsJlGR zKhKk$GP%f}n9Ry62;$@fU_(!6aF@0buzKb35m>9WB%BZkx8)kRB74}DV{bn`!|zk7 z4~bVW)et4*bm|Dc@S-;%5>4=VAt>|Xqze&K$~)To<9lrDY~9VR!ppEYY~|kTg95>4 z40?l4xcvLwjpHaXODPP7bG0>bm#X7AC~8GoJMw%rO9rWnsoCNLa#-E$NMy_k*LDmi z<3DDNJ2|+9@SX36Kwq%%zvoTkeF6$>WBk_tYUP zd+$qaV||)^RkQoS{%UPw`#`gXRSXjm%;xJ{Vq3$5F7(Pv3mOo9%4QJRP!o8DhG$TG zFGD?oD@BpAB%Hzyf(QsqDm)wCe33Q(DhLxfIO%x!~ z+*qstCSr&(`uW@@^L8gu-Z8bYqS0{Caaa?UB8>CY|4q6rVVpb;VJ<#SX0mNq-~+!d zx6Sjqj&Mv+0V}$-3-?!heEk}k&oWzTtNgx=Hmh^vYLd!FVCcBa_t$B>(&_d1$<=Y8 z+0M_fR09GZ`tCL|NXfI(LFDo4)VC2~9tF5R-uQn-?)(7+m?|F{Tvtlj^r{=puO9nz zs)_E>1oA3iDA;V(08l6y^ke-Q{fyq*i3}omssc~BUCjkkmuBed;yqE5CIDp&;w8s& zT6epjWOm7%gRvY_WGKT5TTdkRP)`EF5Uu5XCiuOcf^=a3bUy~AQAdf2~b$9vhm|Yc1`PHcV^|1zWp%T3Wdk|2L{qq{OCajaf=@eWoQu@_&Vt{g!edJ? z3%O<4Qr+lLt9zE#e=%{x8k$do_I8_%=FETUBvfOkax%Ui82X;@joGiv(r}Iy0EBf@ zKCNqLICm;9doOCx(V5Zs_A$!K#Ljema&rGOwGdce<;dQaf$oL>g(ObyT#&uX1Rm@k z+>%NwiNdDC`k2hK+&~@Z_KNWp=i%~pvi@N)nWrF0mbsK&$%HBrMP;C2E1GDM7sOo1 zN_b=*T-kNn1Ym_@9m`J3vJ~mEnEwR^9vbdbZTfY!&N|I4&qVjLFUv=>0)XUn>W=hX z#xF*cQe5YD66PIe=lz!lqa9`RGvvT)L_$>V##ImigfWd0yWKG!zy)w*Pp1mEXQLMX zK~1i5T-@PQn>LwmUE{WOlPCQ1I(_sG6aBWDWjMvjYPVlt66$S!_m?TpI|aDa8X$3% zLbBCxKuqUmYI3p@AHb1${*dpe!f$=ZOe*}3H1pg~-U0xJ z9dI9dDzRP^Jb!QGVq_mdj$P`4BHg-@z<9BLcfrRIjg=8t_l4-b)SJ8AUg;B$p`Doi z4G@&bPBIly6zqiXUAakp%}NSz`K#q0Onh&VM;?v?=Vu?5J~VM>uyUtRjD7RLbcMhM z$umn0=Zhlkx~mP;XyIFjsY1))-s6x<^prdRkmVP_9gK)2MD)V&3VLJ=!XdcOKX{me zrGN5co!11$eEe`$YF6xtJZ4g%^p#-@2Y@@@0$Jq5C~pc+J|{XoshH0P+A3@f0&z0(5uZcpr=%#5GCfhgc%F z%Wa9PN%!S9uOu-v{Jr;Gm#be60+a1c-m-ppto`@#htxCa=33PVV&x#Bk zBPe*Dj9WVT@50T-_GR#QzDvzlQkmy_P1SAc1-@M??6PhK4CuoDAY$PGPLpSgl+AO8 zt&6@i-J}q~(4YC_5CbY(nZmwzB74V5}rLIH$Q!?xdk-He`wD20O-4eR{^;Xe#m zM>;E^y|b8yCrTN2#IZSGLt)qfhv!;vWh%p|{~a#)pz#IYdQT_A0WyP8{&8MPm7FDmd%88PHN14;-2Yx(VQnSHXF-iBq`GX( zE3DbV2?2S?KhXPkr|-V;+o#kHSK%|^oTzIsZ!eNZkDa2#{sBwjR1ueRp7<|^%OqdqaDlM8jW17i#c0ggR9Tqkr zH4_d{|J}A?DkWgy5tNfUI}ow3zi^m(`!yG#5|c-cM_y-_W#RPZ4;*vk)vIEHG@aYB z{UAGi@@NPFmHlFoaZ00N7`)()Gd?E#M9(iOj)jJcAQ3P5t=V#x!9n1#=u zBH4V#ctv^H5!>4Aw>P=#)PRGl1Ti(>@oRC{c(*q-QzS79;3(}=H3;jFc?lMoW+vLw z@Y!dofV-w)!1T?)n`GM-irN z4B;b33T1oy<4raiWfYh=uG-d=#*5^p9{L{m6eyHyZr7-GRhQgxlWZ^z?nn>||6b%) zEl({^4FKVPfB|wN7PiELiSoOG9rq89%=hD`KIbTuavGz`@xW!n@AD7jwEa#!6u!lN z03@bgZ!gX!uA&?Rydas%&=~s+e7Eh@GcUS*55IGUscum{fL!mN%?f7Ty%TgD&|2Lf zXX$6L5b!})usA%b9HmTIrzo1TS7`L$>i8idB-u8a=hbf4_RKbAG!FTYKA0PO5T*e_ z1-IYN8|y{#))lZj{JV_^u}|2ib`F#mabAc9n$+@6eo)0DO>@ALe@5>b)VBL=)N%Lo zp_7267jvGSdNCFVq^LMPqmPX+FmP5lkoJucvT-S3$n zB0|3ru-jfhcw{nlcJWp(x6_uQz}!F&wdb-~=g*J#zVKL71Ci*e>g2{ThSZETsiNoL zXN5_nQB#0G1=(&AUQoZ|x%~pzIX7mY3=aqBCeA`TKJV7ootO^Nv87@6mQdG({(%g?4jQQmkPlqGIUtjWYr`#9)4+F2%%Y#zPpi{P#UnOt0m+N0;DR9)ZG;8`D&+bu%G@~y zoStGWDgp=x;{%BULBk3s6DieV$wzYZvsq@0K_N~rXN#OnMg;PWB^ov;F@vS&qE?%U3v-oe0bVk4>4+ZU^vsV$tiIlLTW#-q0! z8`RMWZc+hmdA>bj>C)!*-FKF$OHr+EdI@`)d`lAon&d-ZUD-?u8n4`i>6D-lhXO*$ z&jv$y@+uky+9)a=i$p4EVX*%FUX!ka$6{m{|iOb<#`$e^e5V z*n&tMnh)WT3wa>M)xdr3H(!qMFUTEF7C+-^>9XD8K~4sEWXzA#tHbJ+>tf+?dg)Ts z$`I#h`I-^>yzycl&pTXF*~@Jm1#GUu3I^cq8cn?+Jj!&%@?3ikS6KhAka&?M@ay97 zVW%?s_u`p+HOPbm4cie-SX)zOi+0Wu!?r5i#@Z{>pEF@F)^VJozy+&-TmXUD_UOWT@9tNYIPCrclKfZVRk0vPImX+miz9Jg22_S=JT2|l(oW` z{qS&(t4E&iwq@9Mare&A9pYGcqB_FK{vBJADfo5mr0s%#1}iQr9+9STD{p~gOzCz! z*CZF3{En-{3=DTRwk1oQGfzOkq&0M1{A_PHmsUE*xYa}v&vaJ1u&DHva zZ30wl9H;wpGe0+^Ibzs!%}SRu)R%VAAd#z`o*SD0E2x%4uNPbDi|ahf&B1m4dalNx zp^cXLJ!HJ4t`;)BR6pLIHH&fvwJf`Ln2BH5K5q~lHf`#>Fl{~LSb{7}IJhoMJPJUp zNBp9P)#!g;9JcV<-F!dJSSmHs`lUTg@Tc#J+S_P{l>h`S%v zewBo&y>h*>YU%4mesZNHjwlZIFocT*mCf|cwR`Bn+IbDycoo}x`FPd%iKks_Xu4dt zRlHw3n#>&kQsJi+g=jZNTQ!83zDVo)HeW4|HPh`nKLDS}Y^z0$_vc6HsGy^KyOdGY zkcbKe156N<*1t4e$sG2CqucSJul>I6CK@zkw8LsknDE#aqegY$$VPw24^dM;G_+om zkGGB1BVdr<*^<@FXl1@uwVpm+@fL9|O}(j@D@`rDHvb`I!$ZJ6ofcp9v$Hu zsEYl4Q;mVXJX+H5Ml$w?Bq>}K1=&D>R9xXc7KEngPwtIX+)pE?>tS_*JO2i z^B*66s0yf^+U#G5D__%%KcYTVmaIaJqb(tM3WhXK0tSyFdeob&Jlx)v7>P|HD>mAR z>Pb}I?`o<<;Zx0YKe|a`Bm?o{RGc*NBALmz#Tz4E^M~Q?WzSuI9+WMnJ$pB4qg{}s zof7p4;zz>xs7A8E%rwk@5bsILu#lVS$j=xuvfZ8zg%{}#v2T2F`47k2F-R8-OOVcup_pm>2 z*(fe@xOQUq#;Yuff*=Ru{ZBv&H1VZUrptje*ID)B$5I`r%LM($1?|=gs9i++h@=0A+>OJdFs})UF4WM}MQq5*0 zW1C8g;3vfvp*Gs1_R*H)j@i+D~CMnKqd0G zW1gAsXbA|`h>G9`{{{*_zFWw0mJy*$#f9@%Z)5~Jma>R>WXiGW7n*D5?2kUS z@?JS6eEL)nCO!Mr=FnzKYk6cKzBRJApo{eT`0=V#dk}vXB)`W&Cawl+QgE3ts^-E@ zcj=KmL&xT~*53gCZ(zsk=OaWsQkL~>CRT3bp;^@Wp6$(L3S)kNo$meG`TJ!iX%|9U zg2Th;?#G|izA2yoWv#eiIMV<#pRLXzZ!xhk+$Bf4zc;AnsRkxM+9Ph}oR8U7ahiO6rC-%M?hH0PE z>S{ut2rvp4CdSsuvAJoy9{!Tu^cwY+)TvVRH$Yn>)qX5h>jo|LOjvfO1-bb*?_IU% zAA<}YmZc1H)OngSU$nnvCt|{!B4u?;&%iD!1YFB-RGQa+6A{|27 zS9wh!Dp`!5)YY&^Z>`}kR{D=qf9|pTsHiC$ zEUh80vC?wA`XN-cWdCw0z4AU;!L;&gv-zX8FVvj#)8ibT2=Y|fd#Ya^$&#jXm)f&- zIZbTN&a6>UXTKZ&GD;j6$g%(SPH01jF{~Ob!!vA{JV4}Pmy?xrA$7Mpn?1%qYmPNh zS`O@R9lXW&DuLe=$M=DKj4y*=<=szjhgVYgne&oGG9KmdW*B=bK1USZFz`MPRNWY3 zG)~nVLnvfj%EhM~`D_;tEp+V~aou|b|JIl!rDxR&w+Z9@VUzKS_CED=SVxxo8O6|U=miX{620td z!u#1|_fxjDu$im3e*^PGAF9}N-@FdF`T2C5ikgeJ*Raq$xjnmOn1;ik#h=44zi9Yj zk53x^y4&@YG0WHZx-0=HpE+cICc(&P_q_se1AEv~Cq zzu!9v)6^AtcjM&kd#ww(G&*c|ov*zNljd~V3|O1#7YI8V&Xn+BM|D90WDOPxI!=5! zjy0yAx`^CwX`T9Bi>P}f&i6`~=wuBy7Y(aj9&EtT$HI>*ISR+Qce=*t;qCXBg>OM* zz30k~WIV8_W|twyw7+9v{ue&3p_F?y?leCAw40knW}*T*H^!6z4c(pgy&d*N1xZA%e*0E znsuxf?;+I zV#mM`V!!hocUQ_NeP9pS#ham^Pz%GpmB3Gz|1Q}|!_D;p9S2Kl{#DZCO5n=SCM65Y zgN(^3=x*TEs1HX13VQ7IzjmlOkw{qAKd`W8)3#e9^(AB=ZX$7#@uMDN-q%Y0wzFnQY^ zZ~xMr>Hk=qPha#aqcU7-a>PaAAYP>*Ixxa1_WGf{`rGJ0v>y0CZB zr^u2%#5PLvLNb`u*Za&`*PF5d&Q0~ie#A$TG$4GXlLBTp<~(+m%R6uRhvxVh%a=rN z>KfQ%RtYK~yejBT^3x-#8`eiMVI8FBD48q>lIpirpu4&1jsA2VRHoc$#NDpW!(%JjZ>6$VFh_+|{**($u+$neLv=AIoBB~C(v-Bqf?J2m&gFB`NsB~h z0(?F?sG&EikT&t;mI#|)zk#!8%Xtq=lB>mt`SN$BGjsfk)2{6ZIE3{ku3a71gS^u; zsuqzyt(Fw&S9*k*6i_NaKxtRSw?=(8)NAv1+@1BA$40JME_4x4T(g>FF6X&N)v(|u z^=ERl)p^NjHO|`-#Z7oyTfy3Lio{))5|oE`fSs#pg}j zwIoNb;SFsu9B1#s+ODTF?cDZ+SQh5}21*Kp@5r5}34Sv|Q4`;gsWzCR%8X(xxtl=p zWW+~lN1E2W-?+gqUatkxYb-mQ*@B|Fys^%Q zW7%DiF{K`8NX=w4b)=~#OK!sj9EOdr)%FdpoubKL>AX{R9m#K5Dpo+ zm-J8v&yJLybFa1vGhEYQW^BK3GrUl3WRpc5^zo<1>Frxk{XV0J6B6s5B$b7ZUDRL` z&6Bc8*II?1+H)JpBe-*%%D}C0;>DF#Ysx38@-*A8o7k(RSjiI`ES|S{&{+)XZM)Nq ztbYHndM|aY;vw%Xi!Db&srd}^^PM(@k}&?vVagXX;%#_@3(tF?4cK!KZM76zZTCb{ zfm^G*?PUuM#Fj0X^<}Ho63+88l_XR0TppR1Pai7hwIdUvy8`7q_b^MkE8p4*Nl^C^%9Ho) z-h{H4rRZX_=S=)7Bmed_S2AylZSf0i~X#$-$nWm5m|3OGR=R>w_MSi z&3&6OGU6NdmBQ*00z_O+f38_WLOdPioJtcChudpCs@S4?K`Xsqk3O}9t zM*ob^LhP-Yt*8$Ndo@GL&!=v_Ei}XK`P-dl#JKK@?lJyi<&wX68nGJDGZU=M4ONE>Ldiw4$1OGu;yF5u1frn-)L6t{!bHFeY=p>+>Xi{4o zouM{BPBu8!!ic@};o@n;7yb|WoSyKs`dcyHzKa#bbBiVw3Ssp@Y>)b{)&$_FpTrB_ zp0_(=hwtjaea)s0ZjdESCoDbU8df^D81(RS!;Lhe#wHFIIWB3jKb)8DWNeP|yxn-0 z>P{#MY9PLnHgIca8t&|?_wIy&a8>G!oY|-pDcbP`8NR~8D_+8|F{u>}%v}pC9K635 zDgJc~K!HWhDuhkR29?)S(6% zNp-;m2~I3OOon^nh6zuxT1&HjH6UEQU^8}r&9%b zo<$j>e^HfzwMR}SjbG1mxILL3PB(dh%xfwkRHUJnk7Oemh_XYc+dRj^pElqKm~`qj zEB^pp8MUJu{gPAel0&V~y{(?cmpfv_^=Wi0r?NnJt*a+_1V>W;Nrl&cAk(1G0CqX^ZM5H^$DLlLU9>c%`Nq?*|_1 z+f4{5?<{@@y4X8R{i>!oC8TO$m7W{6a!WZkqQQ z%d<_mQjg{>WO*XEcHJrD(ofqiw2?n{2y6TFe*@m#qaC^kmxHkdTKog1` z-I%Jan5DVW)ej~xw`xL0$^DOKwB=lwLf|x_9@L?P`!8N>6ujMmCSQ|=Z0;#Achb;3 zA=%I!L<~E9nq*(Ds!gd}{ytDEI-B|fOvW8$>Aw3>1%rkzJySM(`XoO;W`&Iy4|nus z9(!#{o#I^%7u%;#R9@@p;<7PlL>S zjw%b<`@7S}Ox;s0+GB>XJuJ>Y^Rjob%%ft`(ky+IFgO{NG2&^UZY$k-(uja9C25Ee*Uz6 zf`5<%c_d`7^$(||j&oF0@O&c`-515u_~&`r?RIZl-#P|<^hZ8+2o1_BinU7+_(f3g zP_j8yd`vVRerDv`Oa)3H``oqEB+Zl>GSJkU5KA`-w-t{kz{ED!zhfJdEc{PwW0SK| zvSBiYdI~sTVSVd=q8s~9bbn(b9{;RJ9!0B29?4tF%STI1CE?}h`N+1Po)()tl1-zp zgS<{@~yBdIqu=}jo_y@SvP!S2wHKi)+JQE&X>r5k<9m=I`} znqW_?A|5O~oGR2Dat^GT)eIGQ{7dk}{OstL?l(i4#urErt2f8B8s=WZ%{QTt z`B#ZCS+{e;+J^U^5GsP!8BcZ3vrf^Ux^UT-7Wk-6pS7-O}(sb;g_NK4Nx}1Q<^Xh#`bss{u`i@ zfMa^>o8@bhFDoO^gy5l23AwO#hKgLL9sviG*&xh(kvoZUx%c`BO;K#}xSo#_OsG z>5{OpbGA=uvf5Av8w?E~itbHzHyaRJ(r? z+;-NgUp=S$oMR4}@cyOw7f00_)7$Um9?fAe|2j(2c{*dv8ZXFz{|h(x0^V?#5a@rYAo< z`~gBumm|y{*oo=z&AEz^M42QPY|~!9TqeQwACKfqiDa{bIt&d*Uu#a_vbzmG=Quud zl=k!*xV$&&1})gcj<7ao@N4ZEvY`kbbU%*D+!$1+fj$M_#B*YQQk-x{5JvDzs2@hM znKCVq+TH5`YqVQzMY>R%Sn3l71~s3QSbBa9`bGBsgLMKj?u5n!Y^_N1V9u59sIMRg z(kN2ut9OiDTNhS!TPCGLN-26No0R zq!*D^dcq-Qm_9hOar&3B0N z?#V~gYBZA%m|M+inzhmHZXGHrSvM0rJ1xv^>=`TDDW@iyDG(o1!KeooX4L^=hWC%x z$Ye>r9!c^g{|2<@&${EmuV379Sau^AvW~A?eg;~fYbCRqZS#9bIuA`Ak9o3G|E*uM zPc>_{p&W*QOF)wGc>4s<(+*7g9AsMD2DaBMVp)@(Pba;4zvFekZ0-fuJnQm&`AI?F z;POzTvzUjDPa@{o_kh!_?HTJ=67F7Y(tVzkQ)1lr1GuHw`_wP_C3(=n5J+&1g5d~6 z3!aUx2Px(dyT)ssZVX0Gt|+e|IsAeGOai3m6?AsI3DUS4%eO+@)Y z75lKl(3&8+Mz1kxM8tmgIW(SkOkT1fc@ROM2;mH=;pvv8)%Vs-Kk<3xdF?ZY}AI;*$@>J0HK8n2qVJ!6oWF({ARJ?;F+6 z@07#xVJ9r0q;U?{HMIL)7^0T>d3sN)PFqt|hd#8G0Dr}2fvA4ZV)`i~e&Fcx(c#Kl z+z?*X<^_SzZ%7qi9npyUTqi3WLS0I}Gp5||luL9qKvapn4V`6)4f?%bsFYH|yB#Sk z*nPYE3LHG$WbN><y$U z2Wj;IsdEt@cA(bQwe|HuQhA0h8PWQ;i+3J6^nrB&oaZo0;Q|>(6(7(gE+1Qp z&Mg|HTa&a%0@q(f41HI=p>QZ)6$z;0%4KdZNbk8lE_G3Bwcs^81C44MRhDbJSC%}) zwf5A>7HqEURNCtNda;dp`zCKWcEHKSg&3E98DORGDN{C5_cQJ6EPl^}tczcft(m;I z&u=H!8&E-_=9qA68lS!PVIsI1E?Amyo42@+CSKX0iFqZ8;?t78TO{GZ?awOGjb6UN z8=DWKxw1MZ`(g;Y>hUG8*0x)*!O{pCQBiMfT2r5ZeTS^(WvRLLrXgi|PT z)(eL#hRLx6Ni@8oah&r*-TNB4sSHq#Lkky=ezv#fxH@M-H4(o1L{f87nr!_#~QZgj3J-jAsc{*~Dkxo6p?I zoNVhJA3)6i2By$yZI7D5Ehi73dwyPX0sjWFlII@^H9edxTkE6J%bQUPNg+AG>^XVN zo*$kFEqN4CfrJZcGtBTfd*K3yusl&b>51A_nWoP3S1m3#i)~raHicj? zd03Bv%dgXMkN%a#jxsOr^JF6@=l7n8Zz>OsZid&d+?Hif7X@6r>Rs<5jnrJ(nO(;+ zt14Opj`H3*uDNf#GqYb6UAzRzIbqHsG)b+Ws^A@8r&)}>-4uMW#JUEeDS@qPp*z9i z6IP}Y;L#vv8JM95ehI<(v{YqBY~RnLJx1RPp0?x}>svotGT83;7iUJOkaFiwQ0;5_bj;ZRJS~wIl_$OxA?sk)>Viiq95>F|W{HkVH|&o~fxjO-Oggm? zc|7^^@ROScM0`gsgOAVI`EV(^mO+H90Xq(h(ivMoYIUizO+4tS9WFn=(0ie5yOx`V z@`qIQHD!?N-0+{; z-uhK?ji%9l<{cNmc6$zSB527%#60+-(z<1|>k&g2U(!~EBjWNF$7H9v3AF`Ml z3Mws;(P7h8B(q-?zF3|8==G~?Rc+!9k5JH*mvAxf*THnW`F>8-i#KiJKDUPPW=v_! zOs+4iyq|0a-1lsM=!>kB|M9TZWb^t=uY2t`FwPrTa0izs!?_wnTWq3Pyi+c>S`nIT zG~L5fWxJQBlq0|GJKRd!d9TlNcp~cTeWWc+=T&pB*q4;J#ESeMYrXQ%sE&^hv(7H- zFP_ETph_0@G3;qX&aUsK-~i7RWCb<6#pIN5qXw5jPF2I>#UAI4p?eCK~Jo^)BW zLUCnZHvftOzD#2~-ROST$$6RA_M&^ThyZ(J%dn+#g9Y(ecv;N8(~V_e`i#b}ZN-_pjDsKgt1b=QOJrs?zdOb*6P6Y-YOw6rPjs}$x2bm(G1=I;l9hRn ztAVQ{qcyzx!UGj^e~Z$rIgJp=8Y^rb1n#5e9CNN|I<@?eI)g0|vF?7GLNM4ZNVF&a zMOgHO3d@3FGJ{$eO6CIzOWWhJ?|PK9R3onFC`|}uxAK~bS#29%yt~H=z7Zj_>mrT# z@-=^8Z|_s1V4^VFK0&z(nVW6Vli0KVxB?Y@o2tQ}q}p5AU!?FTFpkJx7ZHyCEDAp} zQ81D37J@t-cJ9+&;W=y(bYr!n)wg|ar*->#re}=8VDzJ}KXp;f#_VZUFA9fif8e?Q zBGqQ37x(Y(aBC()CYJnih7mpi?L*(IBz&qdHWq4gc|`L?#`fV($v2W|H-F;sPAjp} zS;u$76(hzEDd>b$I~`bp?PQ&llU|Aq>scL<9scCC8_`&cCXRBYWr{`P@zw;;e?2<1 zT5;dyKb{_S!^`slCH}l9RQ!<+G%YFL+c8XlW$IPm$1bh;svn(!z19_%o^1c=M_K&nA31CKq5UG?zbUnUo`S>Cb8AB775;(?pQTN| zU)4NfXt@Y*w;gjj^D%aRk9FQJAo8)9Dk>Kbu7bjxK|EX2gnrRutvOU_hd~c{jSoeh z1}66@PuqzF3m$jhTT0^K6(77s!TucvgLN0c+=hHqCr5-+f0j93Mbb}GB1xEfr^YHr z)ogl?c|kStaRu|dqH23E69im4mnjh>AYgyjxbYXS|G>{zPyOV)gK7*_O2e6b1dOj3@%m zTZt2D{NKA?^~vK&K-N+E21lON`u!dAaKzR6;9-Zs(TpPcR~f8m(bP1w1bFzOFwnK6 z{tcoxh3Tb(30xdPljUfF3jI>tAFowe*#^%XI%e?eH!?5^S+AcpT~n!wK&P5DSk1Xk z;*s0Un;8EFwnBeK#MNxoJdS8P3RXIYpkF$knk-ni;_0D5sv}mMxx}@Ja|X0;_k-OZ zjq96a&}1owX3TjuObS5aupTJ&YwaAH%^VUdGF1dzpm{VQsWRy17ybufohWZqx5E2C z5-z17Gz7I5eEi^gA+|#YlC@(QA26LuY`f z=cv6B0=T!)3r8^Zonm^Mm-=-~wZXds3hD|W0_5*mQ%qO-Xr;Dvj^5Fo^De`{>0OFwU*N=22c_CzlvEaFH36)%bJc&r2=HCyd4h&&p!UusnGju!4?4)QFW z9a`hAs|82XtSVW`i)k})C^@sD+q>)G@Oz*8U_w0YIyhZUooMu!hR+w0nZ4>kS%|)Y zo_;D*98@2F@6PJ%OFhkWLql`Lw=@nCX9j5>BG5UsEG<>ipZln@mf@tT5Z0n^HB@7c z#POd_xRqJ(Qpf2STcQe_c3L4X)zd$=g3#y`;_x5bnbitf#3gXwvgD9=5Ve;YXwS47 z80`Z;E8^KSst9!Q$|XZ3F?!y)j~0&{W+O%?KT&GqMVv@QopQAyHcja z;aOY?#B&Q)HK>`N*=!(W7z>GGMGpxOr<&8`qpVvm*HC&jHT=|A=5XqlmhsPj11fZQ z@@-Zv^M<*sW9l_EIAjB5V(8L*+k{M5Ae|HEOLl6>3pqE;eN!uYPI$>9`eV%b z{(LY$97eQ@bPxmAjwzZC7JnJ4JTD+jLs0hgz=mfY=O%R38+n25`RXUYaFt=-AI?oh z(x5f9kTvz1^Kc&++yD|+=$iGQQN@Zsc1>y0wFJ3Q`w=!Th|EN5!9J&zKVB_GN28-0 z^dpWe&^YZ}h{z7J82BVBc_Z^#?K z*pM)t6r;J1wjd{U^N1s{zm>x#AnGCHbu>>+ zlMJW6&jTj__+H(&YrBmTL+abDh`HE&5yip%hEj#TTAdhh(Ie;PFOAoDCV`^L>>cGS zJl%apRlMOG-l*kR`3%%7FKn*07U>s=)rO+%sg8RQjT zJ437SnFhk1<`1N9J;=}q6H3b;Bbm{+5{PF@NUTvS^>m1(m|CjBfX*JF&I zf0_)p#j5kdLl)?*X6JXlSMmUp65&wYD5UB*65C9l$Un2?a;A+bPCb!&`;KxMD}?R% z3-c&Z1=+jrk!jE{hbNDP?l$k>b$VOl)1f3KR;V`cI={RyCf%;UV{!JsU#+}*A|dP8 zh3c&z`XU|c^EBqY?y9^11#hsDiDmrsJi|NIr(||J+$t(@*>>;9(tBdAT2SG4 z-<=zgB6&M}?m5BV;pySN0xG)0sY2jeu9-G3-i|RjFo!HXG2R{ ziqFPxE9Ly4je2Unm(f_l@%2l$>RPZU?NQ{_cf?q*D1UDH+f*;+7&L`XF} zohIdh=D0}px1H@TjAvMY+Ekm$jUq*|QqF>aTF#ZKfD8-8ApJzSoo)=4eO{!)P)OG7 z%&itSj=tBq3CL>2#@F7caw%mov4F^|3$Q?mYIdPRTLa!0*qP{CE_h1A79FCwA~ST< z`P5o^0y2dU?Ds_A)bEl>!}tc+Vgv*S0oioL$K)ShA4VTMC*)4PcS+Z=s?46k#7c7)sq|FBk`)}?)E$2SGAI7H%5qG8 zR~L7+Qspab>}MpYwV*$iR@gk*SCNwM|OpO-teoAm5f~CdF>sqw8Qld+nQflY?=XPZT!eduvh!Rz@1TNy*2;L&b|E- zAK{^6%nxxUWlX}w1@2OR*UQ?*ePPR@R(t0*xrJTZ&sFeax}s1$?3h48!7r) z=z>WicEkn8c^rQKzVX2a^ChJ4n`g!_MT=qpZ&B!JlKvPTXF7-b%D1u1Evx*&qFBmL z9sEbx4=U*CNKJEGf(%oVQkzIR^CLh@-=8|@4|f#I6RJ*?m&+k{WOnh8PZDKz$$vac zxCNWQ8DjrD6a0X^eMB{-Pnl6^NnR|DkY#K1JH!e~60&Hl6UQ0B`ouUXTIjR+u>5T? zVrRyjaOO|)qOPlh%DtCDoH*IoB!2BGj@_zWAGh~FWk+-b<~tSF_^(HW8ay<*!L}D8)M%kTlOtNmLz2x4933ii5Zki z_N0<^?9`C#2}zU+NfLVJ^L>xsdmO*#kNM|3?q}|~?&rCW^FHUg&g(PV4^`FY?LVM{ zv=}K!1pj+xvn!=^S^8hdGoc82aVhktwykn2{S7vqw5xK@R?!;N+WI})a?)nV8KBfi zTKFHBMNt89>Dt7T>u$)&9;OvYMED)+nYGg=v!>BPg-dna?g5yB~Ug z%6s47(6_WMS6jx8Q>76u0SX>>jL!d>((R2d+{4_z!d`*VtraV!KtSiBN}*w@wf!B{;p35eBC)=Aiu=+7)vnc}X$%s@4VAaFrhNxr)Q zYt`23K1(9EEnM*ZE@bRNEj$>PN)|p%rc1iOK=akcphe>jnMP-b$3*xia8i>-O_1Wn z{f!?cC?Sr}n`m4We@8~=?n84yw`w5)Ovy;T6>gxKLe|rmx4X8w1OPYW%54#zM=uo6 z9h9;u`8JL{OAEhIyAHuEz%G5wLra$(3CPect}kO z56f)04vk>WFE;&`18g!bt<;PL?q>KF`lovO;9pD|_wO7*r&Cs4*!n)$EZaKGE-A0RbZQkvJiLZ|-sSsJXCl7eS6 z>k`m58;3&D>VRc;<`^}1MR<`518SU}C6>3%J?SaK+fuF2Yl3+T^tXMQ%M30gcdRAb z&j1$g?$u}i{Rgm-)FR-S;-BCBQFH#$Xl(v0qczulEwas>SCo>ro5nXG60>k0g|DG4^;V;7SF}j}3B)^lW@FEEUc-puAxM1{r0Slf2noy9dGf z{6wE_elyLo)0!IwRyq$7*2i`1M}^%?zay$wILo$WV){}xuQAcp6d#17M8AJ=C9Tme zJJtA`rurm@9<^L-u1lzFYOpIqybq%1%*5Le#Di(*F*bpE%C$YU4vDL2+l#Km$GK?~;AqE3{K;7u&$*2bgpH($M50<%S&v zVZPSE=t%32yed3ZJPr!?wzC3MF9ptO96G}9*t5Qv zPX0mb5eTYj7rynfFT^KJCGk?yPdSUCP55e!=HwSL==@C?ul^@RiZ(KfHr9MJsgDa- z^@;D1+N4m}1G1uxO!+tVZIPWF7s45%KS_{K{^~m+yL)28Ib*gjVMyg{3&1FGEeeho z;bqn>eiDHm5tN9~01w1r`_erx>3o=l)TrPbaGQ7LLA<{|!CK>SmLJKCI&S()Yd3QG zo9F6BggAcriueT9SUxko0=bh+!>w7p0UD31@tpMsNj25zZ7Yv*DKzA?CfcY}DClpa z=q9<(7LqV5v)Jnb`ydsA57ScI$&%%m_m$uO}Ntn zhQp2bM`JG%V36J!QBlP309qJ>_fJ`iXmunPL({NO5?b`N5%TY9{cj29~t9$~{MiSO0 zunKK&k0QQ21zvS>D1HA)c*U?spygur-#CGu(l@o-)1h~g`VrQD$~jCwksRL;Cu^EA znREDwCWsH=Ku;ss$(6mHkKgysl`pYBJF79>D1)c?BeT3TPl=c^}JF=|S4Ynr>B z!&TptDJwT{!jMJS%Tv99x;8DGH{W3tE1>aO^n2>FA!m?$h2(nv%Z2C3+r%h;w`V4n zHt+s^ctcTMQ1M@;7Fqa;Dm5z6?6X7b+N5s}uA&ov8yFI-zyf6S8-kGxl&es!XhU9a zTUh?x+Yym)2FO{BUy?o;ffdkpBxQtM1eVo{bc1?C9lMvZ^ow5S`I2<=^zv_&Jwt52 ze0U~UisQL}u+YgDOe6ysAQGVTWz{ky_pYp z{?u)gGpvI{WvxwH>w}t~om+e)fCzelCY&%a!!C6^+?J$Eu(=wZ?Agk|X`3>UUFJ12 zneWc}8TAP4vt`~|b1=;HdhFxkhflN#!XK6&p1#Y(74xh~fppemI~ z>LGm6%;;~b9E%aX`!O7qYIsF{-& zQWU-#RMG#1mY&s@=JP~7pH$UDLd%r6yt*AS6-w*m_3uEQ6pXmm{2g?uqvevP)co8X zFR@tPSbuX`qp+5xrg3z&gOknn>&_s*Vi5;mCtGJv{@D>~fo8?P^7EyotG&U44+#x) z!t(QFdX&d<0K|7D+3Prb(rJ_An+plm1BfWT0S6afm2XPuA5Ckx6{(s@WVokZbxY2E zB2zFDDaq0JTE=ta?em9R>TJ*HeChIX2iR=4FZi1nE7oMCgk9wu5$JcbpBQLG%qH(p=^{t2Y5cX(xMtVtO?{Qg&l%R*HZ%#W>YWVgQ5pRjsivw4;6KqD$ zNNOyTZ0axJywxD35i;#BY`)&Lw6m6=CRZ#|v?A+qaoGUN@#q&VxMJEC%?=OZ6mZAK zMC*t($B)^sEh_-Tt`;_9Dpp-{^$M#5bv1a)y-}L^jWvB4hr+dCHem{2!1#xAd*Ho6 z;ddjdhss@o}g8a*&^bI!O$?? z+{F)nSi%BXx`EDY;DD1f5BtNU4zw_o1%8;dSsg6yNEU01^U^f{#4tXbe zIYDiWj+eP*{s9_Vxi|C%s7d@3u!N4yc53a$61t1Z*h$WW;nHprr@xp|}P3qGQjjQl{RF?{;`bg)rtf*UbQ zrn#;E&QysUP$SKYl!27$RoM8{sUE_VgvAigzURr-P1VjPoY)yOG6x>%C<@?dcPQRR z=WFWETGlUuTV3`24LZEKwWJg#jT>!+u#j6D$jN?^TIPcTs!1gjjpI?=)&`%y)B{kB zK-kd%BZ4~A`bM}YeIt5Q;s_5BeKL(n6rCS2(2NNPau)C_aZdE7P}DAi_#?09Tt%de z{rD0)1#{Sc=fa8=Wsd&`ID|xiO!i2yw`Dh`zlL^MRk5LL8j~mX8C)=kn%Du{hdI;% zg}kn5)l>TFg!So-{4F<54>H$G+uuAoW7P5TJW~V6V-YTZ%N5Wtu_dls@^ij8B8;(k z3-mp)@rlb}uDRzq!V=|eb-H35{`n+}UfxOXBwhN?1+U+U+-q+aHfYx+sB2L}d-FwB zjkk?p{XamRe!)qu%}(?8_|*dbtDn+-<3%8<4Sxyb4KEV@V~3 zRQLy=|ArAE=tb&Yv5o3Gdj!hF2{yf;qY!-FrJK;WwvC97vzI?WUbxAtfNlkQD2Vo3EFp3$=;$Br3A0>@_g;IOyJEdeD;1MKK?VF8`jN;;URc~>1zcb| zyt&RYAIuIES?QJox9A1~(5{jT7j4m~4IT%5y@;d{KlFVdaUoU6EeD&d-4izzwV&sxDxW9cH9H+|{ZJRFY_T|7?DJ+L&aj3N za#$C@bHj3G9K|}q#(<-&;NNKlTMUmznNyDb+$=k9rm&aV$dhiE3fy^hN0J_GH|x3I zcoo*Cp9seEnZ%B$tv~1hBlK>ae}u6(2@HDDmUey(yCfW~kRQt-6fWpZlgx}ksy0}G z(1Zvs2}NA&&^F%SNdDU$jSth*R0FC}Oq(b1Z%z0bg#I=TT)XOf$Q&HQ_Pcz@%~|9? z(O)*AhO0SR!Jc$$TpzK-R?A3;DB&~)A)+2Hp_5lZ+_J&mvL-)hwJbEb(b@O?vL8i# z;nrP&5Vn6#YB2OMl@T@X2;4dW>BWRI5VpKsf=L=?EuUJ%`ns4A{tRZHhQ0Ab00IvwI{&c68JAL=Cw`z1+%HRkISSN%g0J~m2c&r;(277uEdalit z_dRfL&B;4#hh3Yfh2=!sWG5?s-M;8~3=|S8j^8m-vA4K;+ZIv_Rh#UPF=-u5wlu!M zR(8X9oKMAcb2vkgDGIvIB?G)S^d~ujbXk}P=gC)b-3yBm5I*EC3w#)Xl4dMAz4Mk& z|6zqj1Jf@oKIR9U^GR3I;%Esx@(7o`4wLt~7@ZOvuG|4Cv-yNiz@aQkAq(`Q)isE_ z-J7v`SK`r8UY7ysHXOtvrj410qielB(iB1Ig-OmMmH5isKa-}_jlti_KnrRLZhiWk z95-cbxiE~u*5RiXkckc;K<6M))=OA!BlXL?0_;&ypLnA<2DGFS;HXd#WkdaQ6i5ew zXr@G_*&R*bfKHXWdQ5pD42pUFUw6N2kD$m#Xh?;|yK!!FZ!J{cGuhWQ7a&YWxU^h} zW*-D`H|fM6I9ZNu5BaKM2Y5}62`p$sZ20au3#MynZv@r_;}CPo+&@(rncJU)Sr)gdZ30M&mHeW(j;JiRA$;G2!mJ$4R?db+aTzSgF$u zT?;vv^|<5 zsll9gn&UiItB4G^qp%kMErT#^F4EvO8~kJFQp(J2xDWiR5_jvD-pqJ2V>j)!2%PHe z-wHYDKh=}3gD05P4u8_@`ee850Wg|eeaNBKux^hQe7lZqaaxSwqkC&p#$y%!fSX)$ z?9N7&WWCN6SHSMo1z?UWRXPh=)Wsv~aWZ|dg!$$273_P#rr-Lu}mNx;l zGE2Z5f?hJ2?O9lwADpPr=*O&~KF}$F@3KBGJ_^9Urk6qDT$#|zvn;I}@cw5O74)u=?x2mhP5CH}`@3VTOOAS-VrVlao&4w!}>? zjw2>kxrqV)06u&MIBF$2y^0(=%Kfxud6h@KZ1t)^_78Z6fOmqyDJH@A!x9~)heCs; z@gMOhu;^>s|ajthOsv1`}M{ zeIFhw1r6qwJ-qY_vXhtQQ@Bu#C_2bFg|`&U2~l`-qr~LiOk!2536|W-0Z|uBYA&x* z#Rsyq^#T?Lp`DcIyfpyTqkjS7r;pwZstb5y2ex5G<}`h04JF4Kd(k3*j15Zt(5;K9 zrA|O6ZBK@(F9BM5Ab3otVplT!m-|lR*8n7s6_Ej?#P)b!2E;rQ^-@+OT2n*6wGtey zK&E3On8o}1a!s3K0{mU@lXT`wo~$vm!!oi+kOAlJSH!hQT)9f@hFGVTUNS`SO-F#} z`Lo2*kRXsD(3QK*kHiKoHS!$0Hq@!e8Zg6TBdh@@>EE}?xRg1}57APp5b<<1?b80p ze&_AfAKb$4lpQl5P>Q>T#U4zW!lR1#1JNm@;z!st4eyG9pKRVR7W7bZQcd~=9*6)h$r~_dYNsP) z}rLH$s{N2SMauY>V2$DRT^GcbbULFQ&Kka7EWfumHlbrkFq=h18wRI z=PZ90XhvfkP`f3o=ZsOV8LH6c+CsMO(}YLjzNVQDUC=V`2*(-tabNq&yVfx&IvbS~ zM0+FRkm(oRyl=$YjmwAOUX0O2ek;a@40Kv$IZE$u?5=0xAnY49GW%+V-*^nMtTew5 zrFS2eH5U4;Om0JB71UCF?pO%p)NOzo?b%te zHS~r&o<-3&91bR6Al$9+RAt(HdkcZiCOS~L)vg7*Z+7)FWtHqe<;je$v} z05S_M-mA$<5Qp1huGwbtL9x(NSb_Y59g|{GUjBg}XKebOAtq_AaPZ4#qCu#6JkdvP zQDQ3S2kn=?gOn|#LaaA?>&#v7kvP0X`p5J0X_fT2+13@hy|I+As1oxmCgC2jVHi8C zEfIe?t~OivWdsVx_|~%C#|W9iPsU^Wr)fAeAu4Oe9iyXiu+CTY`Lx`Qm}xj)23S@e zW0rxH)4j&55BDsapkXm1EDGkVF{GVra3?W8PRa2HwXjELS*a=!5lI)jEE2aCu&|C) zFkuyt4rzc@E=@W!ta8(B{=zY`(t7$N-iHB$nNEk@Xs{81HvlS5CpKQHG1CYjd zG+1dcE9T)H>B$%sp>CtG_=ow4n;65p>i%BbTKq8d?pC)EtLlrg!M)mmNE>}E(On;| z+Ymb$Z8=r?M3(QYDOJ~j+v-S0|EU^y2H#R(->nole5m3Ae5GGq5v(a0p~{5R#dp^9 z+){=t--5WgCT1+xf$1pyFWEk6H!_!%a(waQZhe^Kbbz7F_2;wEj}8X7fd3^s@hPx;LLs_@Z; z5_UeEXk8+5b{j~?#WyM$r#MF&A8>OsPu9RHcFN~15W2_IAMld3+(NO(l|@h1bBi?< z=lBJuz`t&rTu#w50B`2W&4q4o% z!3OorRTvU{smS=y4~7pdA9mP8NP^|ezcE4)vkgoA&uNfAWJ3+-b;9^5?S<(FZxuFe zHoKf0+mhP%){uqb>il<8IULymAzdJZr{W59tJ*y zD9fdiLUnBTAgBPLz`~2;U~Fp5D{5s|>&nlt0>03?r}bU%IO4UGZ;iq!^vvu9$SP1t zTTWgJ!4~2P!fkG#%A5$EFFm~gAXs~Y9>bx+!X=x>$O*+HrzGg;4A?M-xGr&!rMKc{ z0rx$zQyh#i$2sn%;;bmp7G@~`(~_`4u7Og~CrH-aWIZc#7(sxYFH?WD!>%N2o@)<3`C&5(PiLTN5Hk#s@whcdN8X!y0JriLY4u7y{}4H zW>R9ArVi*Vupv{*X{VaRu%@Q3Ue~EIutXR5eqf5eKa0-1ZmM!&fI&fe2G!s3TDlDQ z5_eRD({&?4?srJBveK8b^EN&atMdY=iFI7(H@aKKnEw-(ulJdl2$2H&LpEc^mLpV~&?mf_*G5PX=I@)K=xs<{3a0c&*k~FnV_6kQ@so+7%|Lm%}bG zWbpN5?CvW2m82D#vd_#ESNL$t^VSd`P#8xauYqTH>sx)hNexF)&nhr>Dq3tPHYa(4 zQToP&+y0ykLKZPY0ty4QMQRF<`tQrqSlvqMGt+{sl?ht^O}Z2uR5q>BY6Eae_M)Rf zDH8O&8hw5Om1urf($h&jqbyWBdirdYNjCWYGW(7jYWj*qziB{&hgnHx!xiD8)TvKn z;kPbe7MP;5`g%OkB^@~P+k|xIspox>%HW8(1Z>G7H=Y+?a|5#%A^06U%KqI8)Ouf- z4N6U@`k#qCfQDKj2N%W^x!+sfU9u#Ga@g}eE>B=>_~>dHMg!;-dqn?)1C_5Kko(v# z4E^nHip_V?$`U^_+vTFd!85h_rA`}0SlwZX(YL_QqP7|`B`>84$V;YZzHAlwS9G!k z=63p>?3SH))8UyA^kTY4bF1iIv$~}ybKjCHKDMfUZF6@Ey6(0uxLiLfIn+`P6rC~U zTnXu{DDdBSDq6JD>Oe#3@7zL_JeY%y&wW#=e4Z})qL6;FX3V%`l0Crc@DUC9YFO>E z_vHpspxWES1^bPaM0%wAhe?Ih|I3c(hkC*V?^@}sJa(CQ< z=4lQ?VYF?fXydWT4$}m1lVQ*g`~bF zCDg;N+c1;VE` z^z!}zaHHuq1tHG=fdFF#vjwPb=zY;VptMwDSExT=h;_MhIs1QL_PSdOTyJ5$L$g3h zeo4n%7$`My#Z(maKQOj35C|?XS-yTtIIn`I-H`xbiV$7C4gU{Br+60tOhpS!?yi~G z6Q%x!wg6y;lIU{l|3G5}KN)bre<(O3$+EgxtcI$F(s+K%>H`31(Q->`ROmkxLi4-o z^cxNU=_6^B47LCO-oh?*xTOCeQ3RS+jslU#0RTaaVaK-d=|c|ex|ac>1w7yaJ>;Fz z8?l`)sb6JkWn|6trDGb<+FdeWBC2F63@{3}c~0x4Mg>{?7tgNUF%bNC?Xe7=m3mu{ zDDN=9tRpLo3SxqRn{DIgB6rfJoq^Q(2!l)zv>rw5IyO`gAXeZk*7$3#E>5)bzk&L~ zY@59H%)rZgRE*v^xYJ}aT@#vP?)kqT0;Fw-Uc1xtx8}c*6%&4WCeP~HPfPS9sVIO| zB+;Mt^@C--|G?O9bstZe*L9tP0n`ZOLBV5m0_cK}%KtFH#r#l5)FZQ~&LyZYb*1y5 z1q@TIr~0k`VGtnT$+rS*Q9?+||H2O7El~XPs*|@$kE%4|BDYmrg-VT&CIDb+=n9~U zk`YgsC%pXn03Z`k)$^yj4*3i9EpR9`bl{}WgWsa>{8BE40qAgU#BMP^!82WFSpYTc zNf=0h=)TE^0SO@|_#!jNgTQUR_KYd1j~aG;QNSdg?f&)0jLd4N`06GsCe zAZmO7qEb8a!rX?>E#JkC*>E)Gj2$+NV_(Drg{grpVB_-q`YE!uEML2rI7jT&m1-0J zy>Th}Is}jhM2d3*+jo=9FC7~tg4$Boqz;8XbVWtdX;_&6;RROgyP4hk+QBh`h{txc z)sbS^_ez9}t9N1uCZ;MymTs3ZMYD(QbARE=2A%zNN5pck;w5 zC(e(pq_ay}sHadiBDp`~XlUvLBW?!O93dohu4P3AWaKv-v_iU84=+TUXew6KD5RY{ zxyKdEa8IjI{P*Yg$RCuftCkKMqZ2|Bnb3|6|kgLc4_1d7Jrqfc*2>!eNdu#we1e}^pD{QNv zM@^{RBewoOuMPMRd1^qS+_|k%j*FkY;awej*Fb+w$HZCzyV|@F`ECEJbrxc)TJRl7 zb7!;QW~p%uqG{A9IA$|Zd|}4hR%qr9uP#Yc!whL=S5z}^eDcM6&&%-SgU@Tvd-=u3V()oDFuZ6@ zv}5&;lF|9>p&?20b!D@QhIlL%gF$&F;EyoTby%z!S|SAR!nGWVkq82pTlX z<~1D9E!duM?#0y3gKI5T*nX$n`3IO0F$jXHiRR6E-})5G zw0`#I51TvV8a})v603S}pj{zV&wF9}QvgP?-HDL7cCA4iBS}?~Z+cYg#mYQ&7Vm3c zAnRsJnEEr6y$$N${!q-^=#idTO^ouHJY_vDl;cFaMha!v^N3lx<*emQ-OMgjNLi@d z|IT|FnsvRGrF?^Ror|UaG@!vNq<=N(Y;>a@O z8RHY!48g!xg=)p06<&tUopTc6lOD8(OkW*+YvN+eS8AC4tDp%shvG%280Ro%T==7M z89ZO5b~BbPwdEZ{Kt4&&uY5DL~mP3jiCD_7 z;dy#Ds*M9C7jtux<-v=JonP}0oqBj${3{qZ{= zsS<;PU~DfGIG6j}4nkS7$W;5OEi4bh7-|ROnI3qE*jN=p@gD3-;2gT)Qvt5US)H)t zDe4W5J+dE#C~6&S*Gqgzo>4y{`b9+9QunJ;vi#^fwrT;%aPy6^^k4HLZx9i|_b1XS z?21pHz*Nikc0W{da?Lx(@-rJs+BSMLP-ea1crheGL51YpsgiwjZ83gkE}Aj%#;5pN z!Oj%khGYZ#L=>{wzoxou;SKRvDehkE1;#89;c4VWB*ePp^NQh^$q8>LHYHLa%lt6R z#8-W7=*Xd!?!Fr%v4G{+aXX%23;%<>_}YWSpctSUZK&Fhjqg2HIfEPj1K1&YvAZKD zBPAYBA9Xxlc(-}XVP!nVyW3%K_h ztGy~?*pl@ed8Bfeu%{ST^n`D)M1#qNae()jHz^)=Z1)##%fZ2`BJcC0cr~z17Cl`n zYN6ZtGMGA0&KapT<0sj@WOuhzLN%;vs0XS>@IWE!u+}TOt;W8-Qt%Wh5{ACDWHg{> z;wXf{aXWUi@&fz)47*Y;O$}bQ)@ZwzPGv8SWsl}nIE>Q zF+BEhG$WXxpKbX`yif1ph7ug_i-e4Z_Rla5pkQ=-#J^r`XJWOdx&vQXk`v#07qY?e z>e*R~ZAZc0mgK5*(GHY1+Va4S(RWeNwh_sqQZH#sLZML1X$Gozzdy%zZHo6x_WRc4 zz~|#f`d~hRL%a6)jB!`HjiTUsH3tW~OvYqGLqkdP&oGvYUKPk}`Xr^(61?q$)+T=1 z{%J-yfnYwTnTO{ybl(RPu=*s6;Cene`Bv>fuMMA2MrCGHB~rMMn7e)^k+%Cem=Khy zcq-}Qgi&<;ESFDMKTjz;q| z?o-fJ$XO+8WcVuIp&rF6x4*5K`J>mfX=A3!S^lM~7!v}eVcsBqy6*Ban^3>AyWBOW z;ClakMdgvyyiugUX4l#&N0;zDa{S&BuMpnR&k)PO`y5a0J?P}GB1>2Ym#{f)>IjdC zW^UJ>cucB^>>&}gp~=Z74x@(7_ZJRj42)@029izgcS-RbiSHoV5dG&{tPSZX_B-yjKxT+=Z^~6MLqAE&?nt*>Ut=V(8H-lSo>9Il z-LI5(^{{f}*bU-mUN9Y0TBYEg`6qWv(l(A`qtU}pYJjwE*^YgvFf4v-?;3y?-fOE) z5eUZn52dHta;XJ`aHeau@k&~@iX;uYtX1A`nES)dp<|W}i^fXWz9e9jU=036505Wh z_22IgD|Z?n=N&qgs&@*iJ>!&`lJmcwf$mbf!+CFlj+ zsLrx{{&+$@5ngW%@!Rv^M7E3uo3ZacpjoW%tMrpf8B!%=IM@{}x~YYc4Y2~;=auRT zmK<+=hqDiZ%?tBNwkz1CjrPHg$${%et7zdH#_m9&^)^w}-D~+Wv&M!#J(=52s@H7- z^OAheI4)wmU?O)fB~G^*#z^}ly=O5oZG#XDh`V@OiI!zP?+`_?Km?N^TWCS0|CrNU zrzoGn9W{0QyVP<{UW?X>fTV>Jk~|Gbj)2ciLe?E&RlJk+QH-nzB_S$D6h}}`{Qs9D z{(r7j|38kHPbG=d>;I#P|Cv_7$@}HWrun=`B8g2QE5`uCjIC$!-LoXX17R0}MNN`( z$_f`K=}<3baK9+lFsp2KRpmrOb%6g+egGeaU)l^&3)xG+#*ZI5tTP;l??5b&(0vR2 z;-dONKmVx>Uh12NLLFlDQJ2_wQM@93v;Eq19r}haWqJ4Sx#r=~Du$mfqOVJa z$20z-en1J(8@A>_0(04;^OR#iNyHQY4eRmL%*s# zy}T@_f)U(f8YwvbY9m_7s}9-aFqJ(iB{AjA_ObqFGu^V3l)Rr$V>7JQCo!hpeX4X> zcDHAM-9GS8a=Q*ap1Nq8z<|ymltW_EAy^s79mNzm8F&a6v{4h4waC+M7(ed8U|0H@ z`7o5dmwML!t4n&7{?acvYpvM_y>UHt(b=goDxQ;1nx!v}(45GSdEznCBbi`!H@#KO zmKMV+qn*wDKGI3u%&l~TI;vVwCGvbU;Z9si2dlzcqgO9ePM_Ywz#tp)Ul5Bqz<8rrH zZSbb-O0Yzy=KBT7ZZ~$ngYrfT4=SrMg`s4SwcaKR z2?KS3h0B8;f65-L2X)w(8CY_T$YE>njg-%?rw>$O6>BK?GbE22hni6+6P^#LNDEJ$ z%Foa57CvWLOJW!u+s&jDho`BA^qxTqj#oP~FRM+9ER@6`&W!qdC4%o!mU)<2`Wezv zA3@oh~Z1T`KuuEJ5*E_Qd(Ge}L^C$0uuT#bF)s=3Ltwto!w<%v4}YgRrH3S#7qwKK%|1P8CrqKDvj3fHJ* zBIYUa=t~+nLj~#za_l5y?-YuwPM&e4IaV`seLh9P;9Q_5Dd* z>5qOTD}2_qj?Paw2!SztCgFvg(f3t#RLA6Uk9q%;EEz=X;jP`y-_Hv2#S z`6>3L`Gel_K->KykA`md$uN^PCBz0wNoWg&xn~=9u`txA~HxOZj zo{6vven+Vj-L7amZ{_MlE#kvs>^*3O4`a+ffY3Q~eeXue*MZ*lK6p!qCGVvF6o-$= z!`O?BqZel#j%5$T1~Io0(UDElqU;O#3M+dyp}Y5&_F7+fuzV0S-FraSv_D=;#=66D zG7=c0kA31Z)C`X+iNu=I&;e&N>5xoGjdS)(Ju}yb zazN|+bgQG*(@06twH)%D6Sg(#t|Oi#zZlCnNFl0PvJJrT;*)1vMZI+0l=pvA#zuYd zNTDFMFPHSGOn_8e3JMOHVe>y_6<>-O-~7<8tW4eFUZ*i%gj0waf7uSB)K4x15d|fB z{fEL@M`L6jFJi|pXHv=3cEohFBC3fzvlu9lo{>7Lek|M#Kc5()OS%OyJW9dtoaZyX z)`?*VxW4Q1saS4Q%BA-&`|lKwBkwx*B+R(*`RfflmFX1vgeY=&h1G{GwtLG@u5jy5 z+uCeMMTxpHTYI&wg$~c54>FIajW{gUb8=wW-#!`|dK?us^kkf6+uGahT6pAx?!tcS zVlpmoTR-7Tm{ljSS-~GumaP+?5p{`br_>ouGDLf=-Qa#9>Fi+<+WPcOfp-F{L*C+J zaNtc6NeQ>ka7Zxo`ygw;laU1~y7<1Q- zU?5Js-@T;B1@_XRDa)#)g}zR;A1*X@EGoe@GBP4YF(O8UbO;6m&nlk|S5ynm zT~zP9F)f7gdV`vGx;I50p2v8Bp!ot7u}Z3IOUc;ixK9@eb^06GZBTh%G^(7kZp*%j zpHxrXZ!5Aj+AC&FmTj8ihlLtUo7vkj8bV$mTBqAe`F`WcOA@_)1d~@z#RtKv475&f zwFI0~`tsSAuO5cYH@-_b8#onO_kb*P)g}kyk+j-S2W-4gqW-|O^lTM0M~q*D?o26d zXoiW*WI#p=canviDAKOmPf;T4LfFb(wOM${8iH^!TdYS%pC4?xrwdHcT}e5^5sQIt~}=- zPok^`;}B6nl0r$^)zh4k+=aFA!fIhEVhAT0_zK&~<|R8P zalX-SO5OCfCQ1bdz8<-s)>@nYNN+5VlPD#a-_K|6{nnsOwO^wm0{z;=A{3hUelshp z?9#&7-7JD>HnQ^%c_7jaCL}7yQ1)(-n86pgR>^ip^1Kl18&_P~nL0FRnrDJHtdK)U z(%&}9^f6UY`70*8UFi`cEMn;x=#*}5CPLqs%tW0B&~a$)L4nVnb*(NU@VQI&a= z|9B02GE9cEIjNgffiyk)7twTeSRfAQ?Z|$>WaS9emr4+#qKQ^ zQuc*WWNLQ0+Lb{q*wcRgH5cB{{3pDy++|_WSNV&q;yZK-hlB1^F@VO_yRDx#jh9;G ziDGr~Ra03r2|?Z~cfN@gLWNm0s5?XOrNm)AQ3sp%Pgn_GVW_5|zCtTl5nF^wrPCYf=YBH;M5*Y|5*$C&wKcP zS}1^O1NncQ1&HugsU(j{>>q19%4 zp;gA$t=!*1>!KM)QFu3Ewa-DTg|>t7j&MWf(;2bGl9Ob|(<{y8QH9 zIMp@d+u2ZRrFt{D`GM=lpD?oTM1Hzw^6|EL}Rw)U_DhvSQ8>=r6zL0HfD0{ zBbnMhuphOCi>ri0xq?=YmWR|IWM+&e3y9Xko6C6 zL$b4EO6}~i2Cfmtg!(SeU_S7RY;U)+B#eA~Mm|8ddO%YyFksBKzuE z&)WtvyYaB1q@7_>gZ9)hTI<6U!_&D>t=2WdhePJ}pa~&wd*$FwTOm~ZI;h@0&1!nw z=H-y){_!`EqxZ6&YL)q3^YsFf%CDPcAQ}ZG#SPjUncL%Tr4_y99bE#fR5vNi=h|UK zJ~c579`i@Po_v+B{S;5Wv zb=8@hTF!o?)Et+x`Hg68$d>U{?(kiUmySOhVNXMO9;TaYJUl77zp_brw0%hr7UJH@_kcLI3jN~fP}d)2J;_|UR-$DPE>SX%?fvoKPP52G)P!>uo_{&6^e zQ;!&?`Sw@9<@a3=0}TwCg#vG;Si5_2)(+o5n0wVd_##&{y?kgXVlLscbkY2W3s_I9 zE%(UB+u;fMS7sk&j#lxBV_NaRqvYo@PLj!JWP)6R3^Rih?_bR480X#}irh*s2J^C&2xrFMo6=kC!~En{*0%AxkGA-8Fceij6vyR`abOwbRk*S8&;U?Fy{@ zO?%UIhjr98-Jjw8UsC?OSVm zGBF-zzB20!RK2WCYIJRMXPyV`>9hySci4`VI(USa+63%N0RHBZ{hGc%&u%%R{LudB zYBbN#5>y;3V+ZueAY5LKldESQDY=XmL>O>ZEo5Kamm1ppCV7A77`J-;odDSFmIpbI z-L=JmCFx4md|m7MjLi4aiWkK%YbhjohZnOn1@rb3mPt>;JA<1!I6?;JE}K!=cEpCt z!x>ujW`)O{XC{<6)vC5;+!F`SOwG@to9)a`1u8VQY+s5C_^XjlEjun6Eg5$|;@!#* zuaMl%{`Jt=$nOe+-D{JhcrgL+d(n=~+fSVJ?uKXCTX?;i?hol`o1r{?_o$S99bZ#_ z?9KE`)BHuwGbV21$=8nKm$~JTmCYuPzV@4XzWsLICpFzvW6Z)@Hs5WKtm8+wFn?CM zqdYYq@E9cjw~?3zciEludj_1!2MlQ6UyK1m-v6j*0Muyacs@?vksKr5enZWf`s(~V z=DyW^Po*n+rxx!ra-$I`2Zj%WUbm~acF`_|a=I!g#v*OEty+YZlepc7FEO@vXwZC0 zxRmGdSfVyLO*i_LqI0Nm^vn}l^XG9@pO)}F#4e7-ZL`ki8K>v-rk7vc8Ii=Rm$(Vx z;qSl58}r{_AnKq0U`xAUuB>5$Nlx;JCb>zC(# zG0R9_wve_$l3&3c1Fb^ET{2&`@2EM(i!m2opIPd=_i5;LwUdAUkhky9?~hw+rPoge zs>+KU`G;JWSLq&rf*Ku&UwIl@9z4E$Tsq8pFTzqvn!kF}oWs%C$uk4dM)oVFJGn)G zU25_Z>riREGaqqX`lZ=zOHGtJ$B0_ecZV+N!F?73fb=9y~A-5!^o8_rWWF2 zxg#{^!x4>-%WQyTbf<4f&qLY%thVWzFG8Eo1HSN$pL@QUSMY9XnCji^lCZj!n|}Xs z(|6h?i=Q?(=c3wTrxNL!U?D;BYUAn;SOQ2ivfwrjI#BAzyMS2xQEttGa%N-AH*ad&t3LMZO;4#l0`yx;u+dCrr4 z_N-ZJ&de-BYl|aiQlo;z2=$SC*(TkR&O#3I8-&7*FYlsYME#QwHf^4%F|PqTY^V@q z_{r~*HeEDx6yEDKOyxw5FO4{3iX@>w=`S!LD@T4f;UN2t(%l~$%5>y2!>Oi>PC=Qd z`+$$DVjK+bGI7>M67 z0|Z-uCeZwMWP_$1x6%_`XJAyl56|>Es9?|j0jR;dn*K)UoeW&2D5tnoF!Qo7stXM} z`3h6s>i5y+J~Wfj)J>K;EWZ73alaq4=+lcD4!GNKzxqlXE6577p;0NDY_1j8+sCYd zB*Voq-M3OrXi(Qrf*#+E9)gu35;l?3ls9`NX&7P?sXu#*(? zy1M2Q8Xj2NYi8&p>Q<~+R+f6Toic}lS1lH&II)e`@?X_F4^-(ngOV(fIv?OiX?xW_=stk~ml~n94g%b17n!oY~x<`BT z+jZJswbnO+hml4Fwx9HH6Gt_~hdFYz&SYbz1gdGQj{gbt!g6;n*!d_xC3dya^*SEf z2U25+Z||bzSN`oNoyC^S50BmY^FyInW~jRQ@eJ0YJ^}EIcLyW1JS^GkH@O0HS@e*Z zX-xG*y2mj*e4Ew$<>Wn$Gxk#DeOY8umaTWtXs8yxzc}e2GHcl4wcJG(58WLyaoD{M zj#mATln?i&AOSfjKvmw}f-4>K@MC^QVWFXBzKn>BN>IpW7h>lwp}Akt#ftsS_eGmP zW-scIE6Zq_^NElQx|scfYT|2!RNMWvVPkp6YhX&X~wt=FuwTR)euZpobxwK)0{ zDv_vLfEdzP`ZdpAv`-j{@$LO7SctN`+< zhjy;U+ukrQol=sDVa25>We#r^_Lf!%9n;&R zMHqwUGsGP5X#%??OLj<26gtQ0K_$>{TL&*y|6jsW`jPTlbcc~ztW^PUf zczrBN7H{|=HN#=S0>460ASW6HpfBKCt~d7wB|K2fb{0Y_4Ie=jI^XV^%_2St{b z_6dThE@xyO8$%+cESKZ_DmtrazK9u-I^+9EP`HbdDkTocxYk#CMpg+@Pv6__k;XG~ zV$3ecfi&j9*ub15QqHKE2rZ_uYK7^FDuryaZ_Gn1-LpXWpPW)haI!LNelbGkVK%Vt zB9fet6l{8&Rn8E~i7(U!9YBn>d4J5Ci7u|a7FS^Vhu=v0reWi|2zLcdNYk|p%1aUN zW-Vij+)@gt2gCb%J_TNCEa9bG9Z1z7njuj+~9()m7jDQybkt)M1i=FBks+>llpizK@5xhP3(`<_6Cdbi84h?^^M? zLq#ch&G2u<|j+nu%Bk)y_cE(z? zWZLn7twVoyHN{Ua4^}ttlG#D00*&}d;~(GyBjs>VcvAy_Uae2FI{zDOpTdBI4Noq6 zLvzG;F%KBW>Vn!YI#Z7!@bq0wNym|^<2ZW_O^XGVU6f)UHD%~6-U6Qi} zbOAHXD`V)UMb0Z&=p9JBg1?Q3jkP*`*wi>KNXZkG@uRjKNq?=0R5!Z354}LgJVq0| zCnK8il(l?S)5n5N3iRtTWUf>S~iP#HT zP1hDBi`L?>}!qXE{HfArE zz(yGAW|QF%Z-lJtrz#P#pWrZa-+nyc22k<=Y*OIN)?es;l&-jN`jP-<|bxDwyFTcz)s1D?J3khGF2C>Ar?qKkNr(M4QSd2 zKgv)7r@iRRLw!MyRU%Ebo|Y1kt8=<2jl^RRKH=vxB$20#UH>KQYnm%%W4Ex)4nwwP zU3~Hhh)Jf1+QF|5vFEki2yOj_tHtzB%~e64dn&Qy>~VU&a41Q}DL~hysypRGVeDx(2I8j1V>T?@Yyk6?M2~kZuH@P}CJpxwjMl;tK{G5<0$*>|Dm*nmuV6`>fcO zrVrTBqDAq|@C2~2k6L{P0DC^k*N%lxbxU?dU;gZ(lp^RGuDa|a#WEwcN{k!jz6r05 zG||zMZORA(f!Doyjsh%;;Ro=s9aLU_7yjs;v(v(Y9R+mWEVcN}^(|{wT-a4SoSj21 zBsBh1c0kMWs&Y*2_vw>gp_6ZnqN8^-G<&W>x|};OY53q@ab#^_N_;=-{L#AWv(2sY zU&+>`lUdw^liv?M{nYJ)lt74PP&HA%)KP6UQ4_%d!V#C6H?^XhsjYiBHWcmp$iDmo zOksUr(t4JxZ2t#X{;|VLd^Sgh^yLbl=A<#Z@F^@f&FupcWc2qU@@Wsd$r>TC-v~yX zCTuskv?$Z|bJh)WySqG=pcCeVqF>wn2kZp8pK#6Wuu7)jf`!Lpy6-r_J)eZJl+6Td z&Laf*L;KDlqGpTA`XjtQv*2`uG(I`7ZI9l^7~7QF|2c69>Zg}on{y{|&|xJJ-m@`7 zTo5mF#EODdFRI?}jnc8k`v@9w5d;`KRI zM4Lb3RsyWT-XfJy{w{GY(EpC?4R0%K^FqutXfTGcnUDgushh8QF4|cR7U|T~$Kz#O z-Oxd;=IXN$SkrNqbeOZ8tX^c0L3yeeER}D4NwVVNL1SGsB2QmRih3ALh*(zfYjV9i zXs(J(10MV=d%kJt!3$x2!{R1q{RhDBPZkP)Q`3}nDSso<3`Mq+{6X$h>uyy$a(TnC zE!L;;?#}q*fDu`{q3x6sJzA==ymuv#(V$ucqf!C)TO+ge?#GIZuj8ljMP%G%irCf- zE66)>!Uk|7ig7Aex3)rQ6~PLYZD#=E62(2SU}O>u>zqqN8@hpWk^9wwEvJ`w9?eu3jre zrU^!2j`$-`BkYAbVv@qXlitn^e70xs?t6$@wWuCg9;uXBZtylWchGZq#@CM59Ij&SHbUwU!iqEH#*q7hwfJ^ zHqbGy=_hsjKYma7Hditz-~K>7U@$srbe~yG=1gv@x20MT()GH7x1ym@!m6FaF*e%sqTn#OI-<3^us4JqDfulho)02=+&z2K*%?6kH-wb#P!EFbh`WZzw z3yIay5JUu7-21^zJ9qCgL&+HGlQ9BU#3-hJ#4Nev-b|wbeeRm`f?r6K#hewMd-klj zFc3A9*Q~*01;XNJsl!SSHJyc82HaOloh(tg`#;aG=s!m(v2Xy*9KvTVJIz5R^J!Hg zFnUX(w+KEUJzZ2JhQopEiy~3N&2%>*m{PF&xijMGIo;8swanCQ4J3C$Khi$9`&*iL zoER~}q7F4EXe(g;b%6p|(zpR2j1@F=zVnqs2i%nxY@3zx#g%G;Y?2`rs4bcMVU8ai*tjd?>O4l! zjXJ^l(h1=cHN{kMcNuKhigJj^2z(;H?XDxHmC4nIX~|=QKj6D1Pg`N(t=w;?Nm+hg zl(Z~tIF>cg7MFjDmIQ7fL+uW?)|`WILw9#OoJAsLX8a_cjt$5TeHJIKwl0{@o@21xcE*^yB30@cOS~zs02dy!wc&R(K0>v4F0ENa8ClWcN|w2G zmQTf?B0zvM9twV0W438n0Z7+{Yzw8#;tHAHjZ7n%70%qHp41FNFJ=<>WY`j`Jhyk= z8G)EdKgHio^mox+S5ZQBCxLi3^&q~}(R2R=BFFj~HI}oHe{oIzv1i1Lz0FKl4M!Z* zoc$mlkZH`(?SC*4PJ(G75Ed?>=rzM`OPc^^C?hBIi(JzJzvNW!R~-4=LBtyTTY=g2 zVsx5J30VctM;0XC&f}|o0>1esTlsA{Dz3erQ4k=|QBt59F`A0NKpb9WY zeMujwQiq`|U@Azx%aC!b#jmo!w{ETMvhahZ4`Gq7jlFJCW`w*OUZ*0oceLwMK0RBZ z%4L*rA~oF6al`e=1e4NmvyvzyJ4&@S9xW5{1eA1C}J(if%yWZ#A$;=VP>rSQqZ#*s1zc)%C0)Cy9RPl4@{!Sb;o^Cnt!O`#s0a(9SR zO;hdXI8~{|z=s!^1SE|w=l=jhLpn$`A-mZd$Zmhs)U4M6d1}AU>>v2_$C*2QtY%SN zaBj6gWl7vK96*mDZm9VOFekH)*T6+q4fv2@qh3cVNm4D3)PZCv!bSMo-qX`uQsx`R zm^VG4D!SsgvzHbPl8T`>x+~5DLp^`2#(3*yN9G~N_hL!%RMskqj>acn&tbrLQ2jS0iR7<1u~& z@3mAod=|R4gCeSL>uZ>QhhQsJsGew5O-S+`ZwPbRFGFhsoVfSd72uBcBFCV?m%lPj zWV!Pc^j}9Mtty~DTfQl1$rduEvB31hOpe}MF`rj5IF(50wQ3*BHX;@>kR|rPVBSd! zYEweRE@>#W)D8>s{C)y;!b@tGyY0dG|IC@@^Q>9On*`u#vA}z|Vx7KX%*}IyQ8OhU z+s}Hh75BT>Ugg?`dI)*uPG*G+S6K4G-ll@Wy=6j`83x&b6^?D-KCmtZ#)YAlcLqmy zFIg(=kWWmT1Leq$o*p>@`97>u-BVzhsJufWK~03%(#p)FborPb5BGg)-~OxI8qi7W z4PvA2UUSOc#GoD;bhM+E3tW;h_P{Aq6LR{pL+fJ&XP7>nJ8U300(J4Q`-@IDBh~}1 z+byc#|19652gq|1{*0U@8cZsuH}b;pm&SE)*`@uobBLQcNhv6igQEcuv_&3~$g5@e zmdwcKiG*~xV9DfmE$s7<<{g>8nW1T7M`OHRe44K+s6**ke#q_Z3QRe$?v~biM2E2- ztNf|gJ#%?%@Z&$UnW@(F&Q6-l&u@Z}C{mE+msh7;CqYORPV-64EZ=-ib=^d=g?HzW zGB#}dpeevC0d&d{j%v!mWb$xUGD^&rovS`gF!#@9WQ5e zDn;jQF6jrVwwn&w+SM7FJqKX*kvw{0mp=7U&w7Ht%eb0;=rmNcmoCJ)BUi$KcMwl|k&y97@z-{W?L~~4(w{-fv z_TAlMZ`0oB8h~qd{dAkM8`sqO^|_IqFaUc==2{2cJ>)c_NOxD?L}XN@mzAujsOcxb z*W?rUgii3c8LYunc-4rOKML!HEt!NCu{Q~KSQG!!St+H4=b|ZkDdFP6eqN2 zmaoM-D4CxKwV9-bZ|(`{q;1srpm`u1WRjM%(tJ8&UmCP=P?>UcoBjQn~ zZ{U5ZD%%J419h2`aMJ8LFc8?$!+hdAr|_4d9Fez5bb@Fc<4=!SCH!XENzdTaGtQ`D z#FPn{(WS?uR1#58G2=ST{xJ#J2}FqE{XQsV$`u&T7y`dnz?HEK+?3|mzvA*~yS)T{ z6^v*u))No*2?6~G$tO|J=Ee~O*+c)4o(72Qg*q_9$`nip%^)pSd@BVNxLd~unw1X_7c4Av+W z#H1}B4npYL54L%h3PGbr%|)lIZ+) z%8kbrSoRMPGKr=4k-0`LpP0h6v_$I@QgI_M*^iGCJ_MLs2<;h~sb=x;`3d+@a2w9~6LKClDB)Ceio9zH}*-~RyfJzwSHA=)l-sfzO1iSak;3zRsd z@yo@Wpu1X+NV(8OW|~7*0u(*Rz#St1FYQFbmv7+x8RqUP-?0dq&Mk8zPDgmutQ3<& zD|40jY~y^TLKkpL`DxZ0c1Gnv@-hp=n%QRlIBhO1Q06!?8`3Z`eI>vtNSh<`g>%7B zMeFofitvha`I*Jqezf<`UL4jke3MOf3mL@HwmUlr%WDN+Wn3utE`&dmON;AloQ3j; z?kX{;U*&Pgf7^!k1wa8oC~qBmZpyF$tu%gJ5k}Ke;!x6EU^t1^hY4^zM{@{UTw4?Q zMtX3!FSxB^!;6J9|0*k=7nU4&MSx-ys9_hIH`h0Q_etUp6iv?%o3;Cj zt#B*m7ev_C=CLO0iJp&T{akpsPEv`%TIG$ur_8e`FX?5U+5ATQ=K>D-1mbu6Zr^FZ z0-zBGf8$NmF={0Fu1FW=os@#eeLXy>GyI`Vki+UEk7;0q*M08KX@Hf{o@F|Hk6hvs;QWu|~m6%#RtW9ev0GQt#?9^K;NOx-hn; z9eUR;&v*xd7`2NGrZFNNg=ghttSs(_r!*@Y0y@7h#CRAO0zZ@^t9js>MyfCvz^@!} zH7^TvHiS+S4~()5(^ zG9Qv)ZcuY$hDnEQ(()ylSQeNm0W;|tpHgfZ0XHczUtww#Z0X7?L7I-_i(>Ff*QmycT~vYH+J)Jw*lFua`% z{Hd(ymvm)IXs<{FsofJ?e;p_HU#ixk=K_q~ey8n+u_%X>YvUCaYk45H`tb&1xDyY` zYzN^pTj_k6EAN1mgm38nK4%I@mU~K@%UqmkH?eGBY5D(~lbt=K_;M?L-00BSKS^7# zpuxVKyn%vd^|90!+!8(8F%iqFujfFHTw`+dwuRZJ>yp6Zm=) zei&YQFUMw~&>0>tdq;tn^AF&LQ7{0%*1xm66p;2yPhp;YMtj4o+s1r9UeeW$T>L`R zE+j@=y}}&xL^~R~`}2wfU~$}X^|qn}Yw++C4H0_)cD&%cf?5+)?j6KJGna((7dR7|qc^UT>EPA7Z zqIc=U@w29!SH{^J%e;9zN2iMH-zgaXr2SL;Fzr_HUy%Le4%a7lV5bXy-@8;a9JqHZ z*<+k>2MHE!*%S)Y=c1*uA9TA!ah#?d%jyxC<%>da>$$zjbJp`-Qgy25b`StasheK< zQkJs9w;jo*6QsCh*V=qwtIRi_?5@af-zAo=(C+TjMs`d`(vesPOSo>6-CF^C&~+V& z>SL)Fo@Fs6wv-JWt(k169X%2CbB=u7=DQzRB0%=qqdT9j;c|P+Sr_!WuNEz5mRHJ-W$#+s!;z%5N?z>P~0^nm8pp z48LPyS(}fH3J12|ev*Xyku2K>;v4-3s2|3k*e9!p>m1^s<(ngH>)5;-kJC9$j{*xm zMqEQ1oKL=fS1+;e_N_do_@F~Wsu;cl=VK||0DhHS=Z*Ci+}BkWNLlzWN+*kg#$VqQ zK6vVL5G(4!WJxMRQnF%*Xnreq`|Kl&2Wx4VDGUEo`*j`=;(*l;XS0!`Z`P!b1ql82I(6Hcg>kdwPN&)S__Xt6@8 z$c>Tm(G(^_MzWTcbM$j_WddvFHaobcU&3^!02{8n`$U>uYSKfkx<->fh zH2iap#f~;o*3W79ItaVG!K#y)VR2F)2}|oTJ3*(E%=xS^us45)o4Ue9+oY)aq5HP= zgS3}JTH{W-Iom`&hko8p`$<1K)&1aP0XLsbA*n&t%la{B81X6{hk@lUqsXb|bj2|b zBD`9v*4`CUK&1T*=OLu$TbDm$G4y})jm(7q_p$|xa%719L(h^%?89Rz#r);K%E&H) zJY?}s^mstQ4CB`Av+J)w+(8#zL3qs@y!p|NoJPs9GYCEnux(I(V@GZt#5?Z1m_}sx zl)7#3UAmOVk}hidf9=g-YQ?FK)?Y+>HNc$LO{pqeM6 z$x<7oMVNwFNUu#rsBnyI&hrxR0Y>c5%b_e*NtFY5f_h;2bSil_Y$whh;!OTv37qIH zp%zc-yblsLED#PHlGiCghy8syZga;z_Dw3z$^5JiJ*?~==qBt`qaIt5J;Ki$V;p26 z4Gj#QO=4~@DBRe0vw%kZuYhE|Nkeb{Z>BXx|KqNaJw41m18S81o@FN^5?b zCCEZmNen=o>bb{M-rplL%Z5#fkbQzFq3O#->|P|YCA(OyrswqZro*VzX1WpOxB{fb zy4H_6-P^FE@e$}dLz&_QUkcbPLLJ)PU&h)B=EIPZ1vlTYGlO*a0jnfvUmk+)eL5)Z zv7AT&RuNiEG73{kjk-+*#Xa=?Xgmau43`k*Am#3{VWMPUuP}1IUxa@yGCd191roLr zAeR3IGA`m8=wYeslQjTaG0aqRiLFB_;@^UBa>DBU4jK4nNelZN)1}#4b82Lz3DcAj zmiWO8$g)T$ct9NZ+M%|uuEBEM#PDA(eRg#Dk6!rGnF|QrKrco7Ok{TV^>c!hp$zXx zWOmDep-Rz41A6TRu11;GSsAWK$M`B6J@#LJrf%2yS5LwPmu$m(B^!*{`b8aFVM}#m z1L3_1eY?(F5yV9w|E(BDw#?+O)5YpDi8oJ~YBW_c#I_r#q?LEAjoamW<}tMVpI5FA zHMy2cewVaC<;o|w=qSO>5Vq2}%0s8WPu_;*jnCjid$D>5l~I9(7PBjQZ2Qo%vWGwl zTskueaSaxKpD&!F<^dD(=%?4*@q@ovZVioQT&_~R^1kxPot>WI=<`^K_!eANP{4|cA9(l z=&a6TZxVgziDIr+I*3$-bziK{-d6(Vvm}+t9v33?8+7jBjJ}MLHTrl$YgX&W+@+GJ z#cm@Kdj9>V5W3BwVJbDJPsJ#lM}37EJc)8dCW67sTwvHtnY`jY4|WrRN>_ik<> zvPg396fCP&Ugtgx%PUVbeuHp}Mbi5BI9qMg!_w`9wuebwzZY&bO9GfiFZ*a*uAGJN z6y#J{P-#P(+i!y3S*B%dhQSuAkMlCW4^ge%;_@fG(3I4jd6lIoLW4$_Py8M=e-jsGsm!K9IZVPzA4%Pc^ILr@g05gK=f1V~ zwseHp;1~)RAS!7X;{r-~%v9Q$Bz{U>-J49uafQ?hsxj?6{jIbzbJS9eeQzHA$@*;K zW*asLiCEDJPifm8jUcKcU=W?c{5g#jo~$E4w>6eFE~Eg-X<&8WA7DWY*vnsq3n+fdi1mdk?S|vOL>| z_PP?GT+g*nhv|qRkSyq+2z-IXacSN*$6KHgn16keu?ayuA^oh7ij^I`#J?zHJZj0n zf9g*=!mwg*Sy*3^u=Dl#BQdbo-rV{_B6_nj$ko}gEw8PRna&hF^FJy(nZwyy=GA(j zDOv0{F5vyFbe1yxkZ}yXkV<3F5rxj|nUQ0u*NoEu%R>Bt35{G8HJ@eg$j1_u*K}L! z-U6S^-3SrbUyN6`06WH8%6kdR$cUQmpqCe+zT?r}Ko2XJTUB9dWkOSl~dYR2QVSyT94&?-$}lL zOcNP}%+Cvz#TxvuW`a9cUPi`>JdA~y{~q{GpW?5cGM#Jd(=#8R19nTMF`qbG1I+J; zJZp;F{wKJgd;m(EAq`pH&y>(BZCUh~>W_oWz=f!}!q7TCq%LI~e*jn(WF$Ui2ocw? z-(658o4-~w$Bt3V8I~M{1ecN#GLX%Bn&nw*s6?H-dPLh2tp>(J&=7H!8I=iPqX84L z>cn=#KKAimFugu~$I9DLdlB3DFPipi$W11-@LKlp~k z2Xex~P<1=#tI8INb?m6<=%Ub9H>g|Kk=ChP3t~brR<3Y{)tyNyIDFVB^?gYGsLl00 z40pwus3vvCeodLEv#v<}PxcN#(H7qQHs7-9{{>9k{|mlsp*FdIN+xlbUdp1xztPc+ z_GS}TS^ogu@tR@@u3iG}an~ykp3YWn17DW6gxQ?`3c$178M9T z@VXMPr2Hs>jB7DXTT-lsM4*m3Zy@W|6(k7J%Am)E3lCDlm6Q5iu~}#7-Z*o8b04^Q zN%;=w4{t=11f7U;5;cKhfoY4_*;No3KZYYwZy49;X$;xwhXLm(REh3MOVfpiJ4tdl z#wosZb6dmCiqH1`J0fc1%oleMX^H6CamFGhI>yyDKtw#cD8tzyYzqV>9rHsv3WTWE zdm%6QSUGyY-zX2h9baM!gS!#8j~P!~M7Wd$aFYJ8gCJTQMEXpzh;X1%?9EP30%uriTU7s=M+OXU?=6TB;3)#Fs{|iiJ12!!9 z?A`sCo~~2*l{`iQ!Cm*-hpC$B?*1?!5!c-Rs|>n{eZK_Bf1jzUVDeIHvGZc%(Cbn^~VhiDrfXO|XTm zJw+&1N3(vsDng_^(6W=wh~?Tqdyp1!Md<~SjG5;TEk=mB*yn##Dzh4kmUzK5~T>S4z}=GuNA zFO%NYM5^+!x>}Ag+6PxU(1*JvdVq>uH;eio(J*b(XS$HEQFFUBF5^fgz^CT6q)P)v zr3Q4Q53cxj@<<0gqYUN0u!M}uK;3Cq=`=7N%RN>EiB60M`vZNb2<{MgF|wIn@3LUT zhZK)Et&h#s{ypr;+vsT+S+vpElzzp+q` zQvLY-2_qX$p;a*sSC^YaXvy{4j{4g&d@Ywvc@H8hpG?}v3Mhh-`*hM7@Jv8X#{ z{sC4rtG7PfhrxlD7I=qDid;L%(Y+(5r_EJ87hlq8ohopz5W4qKxxV`I|A{MVRM5M< z`b`4QsSP~2Xu{ue=~MiDm?4H#9DG@T94l@N_k*Zsjf1$c#?HrrFcOotN7iT{ihO{tmn=`b{ z*+s*@!!r!bpQkFs_QSJ9oB6?=JdLe0WTpr zIV%7(JooNj;33Y>8qi=iEH*2=S1Jp8Z92~v#5NnPnIT3jTVR-svb+i1A+8h=|C8}4 zTG=m^{*u0(uTrw{t3%p>5?TPk@v}@vc8Y)Hi-^Ysq2K8NA(lLi>7BTTqpP4Jq$Nq~ z+MjOse_F$Gu2O9Iyx@X1fO;%;A5-mfA$PdNkXPqmzswB5;z$3cj6aVZ>6dgVZZGJM z8M;BQS+bi*{lf5C{nfEA*rlx8fj!bxBHhu1aLElUg4C&B?O<~Tfl3-I zED5&JOn#D-ney)pUr>&0-e(R>94Z8x;FYJN8)l3Jx*vZjtD7v^&B3O?8GWvLkwtVH zaP4V<*u0gEF6jINc!Bw##tu?9SfS1u#pI&8>ZZ!l=sw-J=eYjxFz?h|utOX*j+33D zX3ZF0f3|R1%ADl zg@^P4QN0ejX=j!NGRAh}d-SYO38R%3}Kl5W1c2B6GRg^Dl1R1`lD4 z0L72&X*Jl2#n(*@foB}B*OjWoy*kXSc^!fvWD3j*irlRMRGnyJhCD;ssbZ@eEK>}$6NJqas;KVQ7{P<`c66B7Cv!51;B zmU`_gN^*W%;Eq1fD64iY3^GWlD_^LuTnUCP)*FNQ2WE~htBQy)o>F5337iQNo$jPQnC>xEFRZ@FyBp{KTTf8f}A5?f;IPDt~8mnBR3t zch1v4<&iG1;2H>M;|-CV+Yf}}r={^iGwia21cP{o-s_o$B6<>(s z0CH_tn&KqiEJPFEkKwgLLiC?s$HIRQ3NmV6u|zPWGQ4mzNopkMoa_9tP$DUhE_eeM zvgK~H)MQg?8R)IO^0=1fUxKt8LwfkrgZod0i%{u{@R%P)?1%sAuh+laKs>p$X4xFL zG)}srl~rwsbzc5H%i@}{xbOXO5U}d=ir(uiq{ZQ|c^Y~Ksr&_Z-&-E2?39i9xsrta zP(-?d%z+%~o*sjVz?(Ig(i%JUS6k2uRmN|lIE9H>taSn>O z;~~;I7dbtV8kU*6C$nvOtDKM(pgW3BkY5r5aSb!;-sB*HMs(f``Lw9+;^#7gIF;0>-^NR zQ#65R-yjH3SvV?sr|p&3r+BGFHax6*pW^JTk14$e6N}>GK$5JNav$|mc_Jv_Z!Mh0 zsbyogtVHS3xo7JZTyWF*^IhDG8|9>5gM*d9;m=b%rbnIe8W&VvL%67yVcxn-3;(u= z4^BpK`!|3+oxN$l{YmK`>1p0+7aDaW)Er8BK2ttq)F?x}_0_Ir8Ptt~UuW+=I0DGu z_YC@{(5(Nw3`B+42yEC9gU#PE2K-j~d@vbw%rE3FGT>pm*l}ERWj-0$MYNah!M^Nt zzoe*F7TA!t?w-S5Li@j&TL`6`{ow7Q%L zv!(?1o1V7pKz672M@vlKA?F27#A9s!ogD&oE6b)2#06-8hU$L+f$`qs#-=@_%L82U z{E?eDQ*c86Dth%_qim127Q|F?tL}Lv*&iEk>9lKrlLVCCxpsp4&J=n*d{4=+-R)0r zwKvW~vuA_yDYw#;3{ymgR_T*qZK{EOaw1D3Xv6irPoKVVP{04nkP;zTc+8kvNS=R@ z`08vX@8k&$WR$10plGpy)48R#EQD{CbnwPzGBizG+}b!N(%ECm{H% z*!PV(w3JW%hDpvEt*auVl>1Z2Xo7X@Jm>+Ug>F)L86s2%BVd5QpAz>2dH592!!@{x zs~l9ptbVb%LL@O&J*%8cLZ`lzZ+^7g5a+BXTTVQjasS?$c0Ou5u~iZY67~Fs zbb?o$QPDk~LR$Yth}~)Aw;hrJS^xFlT7BYl1zOa4Tdb%bop8Ti$FCfIlFyguAHW{{ z)?8^8UPQxJnijdN;g}+KEAKdeZ#BZ@V5wb}x_=c*^a@4tVhrR+QUxP&cD-s|ApTl_ zgN~p6&;TR0bVOQB7&ZB~;7IjGSw0;o!HC5QCQ>i2rK;~SQNl8G_v+8yKtSM_%#zGN z(m}ZS7RM`nt!QZwjOOJ7C2jcz+AnupzkQw1wx7HVWp;P#l4|@~f`4~sKBO~Sk-DvN z-tLAkjA(HsF~o__Qq@#2{exG{MYL58!zHV|iude13{=$yO z9X#H^y~3bQ7K-AVM>kelrPzV_2|)?dt-7Ke6|>|uHJT=9h)mrTzFcDliL5kSA2qjd z(I?WagsU1=jZE6tMw!kz`uQ<6mpwu7+CO(09xik^UavXB5AvU;AF9@d!Utv#tCB8A6;KPm(a`Ov3fOOw$ef!v1L4GR7KD> zdH9(OuYk{e45!)0=KteBMY(>plPa7^x|;QFg9{%uAE0TeyC~g;E_u>DLjRl*yw8>F z`#e?v7yQe{p!=2q?BX)?8{ zI5&%W@qWrtns)7W`rv~QXUpC>%5`ync=y}`hvVWf{sGRES!P82YSjcgxyClE_yr3SevTZxRaM%M|+x?^4kW_B79x%+aed|sk zwM7%UFwRtI$XhwlBh{&xgN-0Qt&s9IT(fIZ&w9w}bN+Uz1e-A>$RS6IA&YQt8(V7^ z05Uk|zC=xvHMc)gGskymdHn~dr8F{`uaOf?#@j>M4ES`Qnk^csr zXAIgGz0lh(Xqw|rQ5+-CR-|oJMCiMz=fve;4fqaY)(fuye3upr-4VPUG?iOiG>I^> z`d1nd&kqd*@>_b#c^6|Hdn{TZT95L)F&-F^6K`Cp z2|)YHOc#sA{sDxhJ+iFEeDF;T%-7=L@WuglcHL=%RWRHhm^)g%#AHuC5E-y60=H+@ zU1-E7*)H3peD(zm+f@Nsk*}1FO$_&QMV!iO#CIZdd?U1mJcf15ZiGjfmx~djT%wG? zx_Yx@B5b6!IkBZhX3NzUEDcd)C11fde;VnE)Y2Z=bS&7P_iPs0FseM2f;!+@ax2DF z=@4DPWx%bxara{y)o0@^)C|XHyD$3z*TIa(YPXe=7gKcwyd&6j3bp>Tv)WMrRF|mg z%GzLD!0yJj^t0(EmZq;-P8b;qAMlOOX!~qbvFBz+fX=$GV4lMITNaze*TYNvKJ%7v za%udk+<99JlV0`u{by`A0@0_|DE!JP(;^D5&Ripeng}d(plowldt`nailIY#2r1+D z953b&MrTp$sE!+Ua8@#v-d3AFZSqjqwF65n%XrXzbkY8|kct@z;LG0bCyh6nR1*@6 z4nv3{GUGiJqUcE&#?uvQqZOR(6eJ%p%jWJbh~AJi&UgBNaaI8+U|)tHs7<5Lre5Qy5jX&r+hR?1$a)W&sXd=0HON3ojUx_ zGzx+2@N{%475fwdqACY2Vy;OS#lzx23uo|KpGLlpj!RX!d6iKohmg<}2%(Y4AMP~}jZE#2oABL12c1A3eakuEyc?6CClizW}0*8)QKlG@Sa@tB=a~X`_j>T_~o{Yt6 zYgk4CLy`-Ur8aJ$fe;cowf0_NqKD zei8F70u&<$auR% zH(0Q=44%5wjPp$K{3Af2nQnd%7|qels6KO}fd!S!OAWFVO~x@Shp02_L1z^`&BH+} zc0qNo)l6_?Z9(Tng-XarE8 zABY{hx1xS%W!@z5rZdwSRtK1Na@knctVYNXuSZx84Y+X;7&-;k4U;&+oJ%i1rF2PE!J2DB9Jg>UB6SU)itSIf}{!%k{A3ZA#K>o z#$?_6gG?4f*!-5l9|6VJ$^L``;l!i&BalW`CxuR4+YPPZt4bO+htG18q)8D{s)_=l zZW%=C-g<#*!&@q&cb$R)Cx|f2%nm-n=L6ghfVu4I&j}33Cykz`SS+^Uw#A-r5!eVo zx`JQ3WaWq-c8yr-8r-3yX9z)rY4>^sOeRO(yVVEMc_#aDG0xcyg)y!+Wdr^NDe9B~ z0F>A`m=E7J=EmhJ8Pd9=A6vo5<3-!uJia#YYfFt9)0+^6cJyQ2r2v|F>a9E1#{;2# zVATELW!WMf!5(2qS2PDYE2I0nY-l+1y8G@8`Dfs0kNoD~N30He4Y!W>LHk0wSJMOh zK2Dz^5pkHk$Dq8eO2!W84!AlA{07Nr2B=-Q8-UFc46H&Ch$I`aGn@Z?5m&CA?< ziIsumavGtYpsp@(@XVrU7MH6y@iIbtYp9Kw=o`AA4|XT%OYZ}TY<%i-t8!)Q@5|ie zby~w=VMuRypJ4dy*HsylOXP5NaX?4MOUFo3>nnl>I!ajIT~VQDQI3hVWqC}Q3C7O9 z9TDV*^b!7c6S^a?a6`wnHMF7l#q z3GWC*`4XLLAD)n(TS+N&=NxBTW*}2o=y267oqb_icQTKevKRKp1gb!@K-rM*<^ToJ zwW=q!?M%&%puMN8vQSd^_nzV05^Dbk9ezW-krC3J35F_P}@ZBaUxnw1wJW# z;Q%R`Eca677;9u*`12_D9IgA9XHgXC?Y$n-p+(I!J(z$kT)5Y^TJ0-pD(olCe8fyv zw?+#M;Go}5kvPJ-*TGYGF0j}h&BavWuEX0CRPqCkdQ2fz1;ob{`HqVM!K`@15$-O9dm@{7!mo;;0@vYF_GtWMEKX z^xRge@uXaIBP&6@^#1>!=;8);)U55Dh_F?%~f6>fx}3 z=DN>fN9}Q-r4*_?@s85)K{LbAaP1Q=i1n*Vn_$^h_ba5dNDBh*{t;r9(<_g>85SO) zqt~<;xUh8jlyD5~Ko35W-L{76wRny#7dT(sLkB^uf3L(F!W>r>9?k{07uH$;G8IF7 znb%k}Dhy?u(-P`y+&Sp^@A-}fjFfv-K#-kuEvv&bxUv9jxkR%VMp^;bUdLy&Ngz=b zt=9H{OT-+U(C+gnEe+TiFjn=yNp-P_lI`zL%nK~amMh0BVQ8BuIqR5cY6`sG&X|c3 zis9k!Dp|O)rY!_PHs%F@7Go>RZDvvpEaL93%;CD$FdNaD_n4*zS7m(1jTsvc?-HF< zS1W82CUJu_=`m18Chn!pkQ;Ebq(KsweSZ*i(G-!$>P11JTB53KUD2S^9w~t2wev8n v^&B|G#Kz7-e-i~@3vM4dgrJ(do;iq&q*Q)AV5_WbH!=6wP^ zhWg+9-_Bp|ze*o@{|nJi_rK120e-Q6q4w|n$B2ij`vU(h{^kEO{Qt9O{(tYkE`8E| zmHxN?SGZsD|L;HYKIS`VeV4y!f9fKy(sDMNJJNKTYjAZf=b$4`^TABmrW}nD+I;{H zvWSsKbZZ+u2&0$L7sCLxzSEnsk3Ohdq6SJiG*6b;z7VWp`N-FLOZWVm5_waT_iZsj z>+$As08Y8s;rBOq1^i!*aC+nBN0_rnA2KqIe`MC^9^=G(;QJ8pkzuO3RW>O?I0>E@ z&8_=YW}<=-o-V2=YD%05SBSwqaOv7jPz8Y|gA~Js_Z7 zGW`=R&N~j?!@zDVwF|R9Q9zewm;gd;a;c+ddR z&U{NpvC`rCGN_eF5&8Mh!-RE{zj?_oY8E8xl@VWAjHq83ki5<{w1ul;ipa)ceEK^30o@OYDRs^gbY{cer!e z0i7uacla^zc6QxQGpD(Nw|U?ahsNDV38cOxo-qNY6McxA7iimc;l{DpheIBhXF}Cu zY^a!>5G;=VaaoGh7P6R_|19=T0FeaQK8>v4#W_*09_<+7pklBS04kTBjc$R0*;uJ3TdF zO{%Rv@oo(unLR0OGn0~$z_bBI9h7DwWJ<4K45LW>kiPz%-oN}kRhl+!gGwygSB z$usmI^?@X(+#}Lt(6mpmCK0Ub-OtZt>%b^?#`fgZ=iaC3xh}DQ?k!=*FDuLq z{v((EFMyMj<5~QvHm#qZ0_f-1r4LR_%YAAzL}oqTLr;nq)y(c~1rlZk#o#xag<*eE z6#zSJhEhi2fqzH6uOD}TuGwB5iMLq{d)|tDuXd~O z$0NDnq$#UAY0=i8eDvw;zOu1M_ZXrJ7aP#^RF9xn$;yE}uVX*ck;OocyW%j^71Eh*4yX7secWmm&RUkZA?$6k7uJ9q;a2?Qad z>*wx!DigkdWK{qi*A@QHy@UK?w(3Sktta#K(QD}T2Sj4<2t0J`W}*i0^cy#Yz)dwx zE&SXf&g>v_Et|T9g1T;f-&li1tZ=Z~KE*)BQa$o>u3US=+K4sD5^~Hz!|Gu3xFgC- z!vmQ*szuaTM-X8o?DW9o*Q&sEE^Q(NfQrkUn(x_Onv<7&dwk_RPa6tTVDoPoDCBJY?6XGnlnB60rY(TqHlTT}1jmHm=cmjGlL ze*pMcvm3?Th8vX0_6Ou#Se&vBH=gco2xc1R_r?FR|Nr8WZ|{DGkqQ6l7vou}U;2*= zNP?5XB9z8v|Nljm+cEwD5R#4)1c(yd%{goVn}~;Y(3-cDXCLc@7r3k}RR)&>g!89B z`~rg3*H_J8E!K!?PKqS*^B2nP>E)lJ=Uz(Xzxrd3G5?(Z<3#iGhCHPi|NeIO;vftE zf0-jL@rx;li=oivr~+Rm&O}1RrKC((q2q!7s9Pg-rGeU zpo=Wo|B^DA#o}l&;x8!mb6;Usm;E%M_mXGi;^#0Y`>I@XDSz2`sWp`7&1R3|L@TuY z*jRtl>*;Gh@IMe-@Y7Kr(rw7x)4#uq^iuJENUCudjb`lv{L!%G=U*|0;_kI&b^42s zIeRhUrJFY#L4Tve5#m9yD2RK!Acd(X9vo<GVZ(0Rp62=ct9WOYjP z(X6O~)Zr1IO_jkR#h6%S1h_{@-4qmgZNcPK<{ z*Jse-=c^;%T_3KrzAz>fe+9&XMlSg`GQ#4R)tA zXChwwvvavrft$C6Bo85v@whe*#bs@vtj-Y%tA)h&*|5{uK%!mtsjO`j)C-RHy_UtQ zBi%Vv5Mb$#1V=p{>RGG$-qO8{vjpbA~6+W}c{c@1OdP(-!@rotZQIirG zhXrdUAZG0rOrkkfi`V6cX=ac~0lgszZTBbBB>?jad@sdLj2E=eM%2r!ygeYV9}LTN z5AaFo8d$7nqzX3d@MAC(QWXdb1Hie8RJnKlx2<);NO*rXqloQk-$LGkrzS~NZ=4E0 zKTDG9pr z$MVzPd*NW-{&LWj2KftI^{l|3#eqcK5mY&F7LRi>*WK3A?kJvjIlj2!Vw8cm_+$NW zw09!x_;bpmO}QqnE4YR1?y{RUwabnpXyv_sS5?oPs?o_DU?)M*b~$=!tCLf*cg_b6 zpmy6eT%9sF1)o6QCN&iauQHYW9E4_yT%qL5nkbxnRi1s6SoIZ}^5}Z=8$S~xpb3dPlP^xq_RAD3y;Xk0Z0&KJ~MG=)bw^S4HA z*;UN0TqP!i`oi%eCX0KZ?LJf6dTIABNnZH)Yd$}h)&-!BY9!pS0>EqDf+W&gV+Qdc zsAU52Go$aB=8I^-FUMP}K{2{XXaCPySn3}r<3h`*ChJA#@5~MU!Wf%jik>Own?Tz^ zVdGwQtC{}@6f=}gtqp(1j$B$wBp89+-!;~Qtt<(JQHaDp*cU%j=*_s$8mo!vXJnRH zH;x-VZ0$*MD&hij_W!?WG;=)^gkP;2uw|EeELC$Pzv% zC1+P!)5{H+*7Pkq;UENWj>p(ocik&DuP(3;#zzav^j8*=wfPX|K5LO$GZ3G?l;Ag7Ite~ zq^6$&kP&aJ9hMZVCJ%G0iL#U+=p`{#yAf{=Rsi6WL!{Owsilb+FEboyi5KOmgdeOv ziLg_6lE3h_;5Yma9A`9YTVw5Ho%Mk*jC!XWD>%Rr7#=j)KioxahjcqQ%LY#nN#aFPnzO@M_ z7>rF2)>Nzx1su(?9_&Gm-e;394_0?9iF0vra;L*mu}D`aWdnEdMJrZb8~aFmewtx0 zu6Bx+;GTb&{=zEDmI=dQVmgCt%aG7_{68;vSGkvzY|wpLbI==rkLu&XAabaV-2P8D z_8{?@{TB5MFw7=;Q;E3~%CH5O$mwi2fZ_rNCRup@R|8^qWw66z_qLHzxmVwUp2{Iq zV7?lc@nQ`#VZTO0MpJX5{>`3>$OTcDNa$_ z?FQ{6@;r1fOZQ)IMZ}6-XF-JykPSp3&3hd6mj4j)9=hjcWBuaT>wV{~6GDbW*U@NR zdD-+)`>zFA(WyGUAoMP(N-4IFRbzGLzwslcxEdAV{>sVDNs@Fb@z-8uQAF0GyC=|8 z?M>3IHH)vb3AJ0#EIphea9tsq!>(=?;<@FHh!$0v*7fD_O*5G9R$kX3Jg%V ztpYxbLNRELd21BJ_z3AHc{FE9w8J){@&&GlrQg9`RxCnzh7ck(Ob zZ!Y$%(`9?6Qw4vVFhhUx;a$-+xoj%FY#vWn9_?h=3h6Hyq~}5v*3iyi2I-JZtv?v3 z$PI=3`z_Iy`tpCT)N@`@@r60R#Qe0Xv#%#TTEWaQgq*||X&*2#>V?%<6n_%OFe?yJ9T;R(ESy}i{1U<%L!N2~k-4~V z=hVzA>mPUOi0wh*$&lLQuMzl2MLX0rW2UBaI}GpOC(1%f}$@X=gL{IC=&%lpo$ zMRmnU1QJP#qs7@arz9K=dJw)u9_o8vf`H#d>4@Xw)1oUEe^w(&vF-6&s`RkZc_{2j3;>LA18Sxqj>rj%`?=14V(N za-Tg1uf?XB1md=8jE2jzv#dGEnzz*>6raZ%BTf4jstZFawUm zNNl#Ra)q7MBP0#D?f%^_ z5a?|2ZJb2(0rx1B6lR`ut3@j7zVQnO-{yi<=3Bjn2^l6W!;Vd- z@QOKbSmFDU`oxm8(Z_u$FSJJ{K9{O5S`6W&zAqi^%{A1%_n>nWglOU77X0_gLz};uw(Dtla%ZL&1 zfLXj#uG-)4={{Zyf|bO=jw82#$5y4V_0%BJhiUpgZ9eqiM4s~sU$u=T?UZKjRu7~u zi?io+&$2*%0iWqx5as7aEmf*~a{0VCkcN?HO(HPaq zFao$w&sNd0d|Xi-chfFX;0+*Nbag7c{S8+LW{K6OcleLUam(mp-^7m+3nnyR8Z914 z;T-bH>dacs{CRvh52@&)Y69Y|?uPD@P!T~=A&4kG(smMxsH9!UGXX^SpxjTtdz-)r z%95RBNxmlek>MNkP&h*W>2b*L&N0M-_unbIsP2$7KcTmK7xB@JMV%`cbdoVI(>uEh zXO#%8SBCwo%ic`^kfUP<#Lh5*4B)P6pQFFe=G?s^$kfxH|AhzL?dQlMIg zu9S_$_8aM$7td&rxPpUEwRf)1cXFIn&V}l031X+zU~KYFS1&co)v>E2eR-D>W&(=l zc^Ij{zXX6;a2EbZEFWOKnq7U?KZ!QJ0lllMWbn7x$zG1>U zm#4ViIo0i)frqG=TrKQJ5A$KEbOAuH7%+(&f}=`?xKY2)VJ zWt(`fA}LJypJQqN{$rMUy#`_Yec{Oc_yEx(ZpISaVU2(w6n)=Hmj~ShFJ`ZZ)b-`U zXCDILnvzIjKM91tUa)vJdXECWiF*df`ebniWn@gS#Px21#1m_ zHIR4eg^6ogp;=ntqDZhiE3UF(U&pO76khek0gq>t7ndi@R9ztP@!H1Fw|6T1e|hU~ zfCqJtlTPoQ)~I3B^K4qMAxYNM{jEnl6W1h@?F=A_Bb&7+?o`HrQjWU zZy%B>GcKS}CI8MB9-Y=Yt1;vT=fNH!PCVG zCgH-%*rzTZ*{DwFXTwIZrJ84?lJgFr+%;Zwm{PXvtstF=iv~==8@Gmdso2p;1%u)iZboAMp86 zN&IjtU9W+d=h5&>v;XQ5G!%U52*eQ{uhjgSbib-7X87_*9rBvhh9|PlCa(315^Uh# zw-=r0o@*T!P zYZS55YUzuJrv?go1l`$sb19hfYDKWj7TZVzZ`(4|5W4%srkHPK+l0LudGwaqTI> znU(SW=kC#S2iz7bap|R$P<_pJlsZ9H2Le>k@B0ODJkAj$LC$O59uzc(GswBadKrt2=%^2V>s0MEwx@UKx)SnOS+~Qsjsr$MhP} zaxfnE%{F?c{xyYD6B7?Cs%a!%GG?f2r{Yn6{6rpp-*w%VDaMjH>j$^)Am?mT*`{R( z{@97QJ~X$I{ZxE9e$8WDP%H=|zN!8p)rdffirCsdhZ8M4#7sr~mSZr+K7nr{#K={a zs53{x(?ldS$}4x_9>DPglHuX`p5=LxWWI=0n{}10Ggx^SvoCBXtH*~TNjv`T@EM7B zDM%DAk)KF33p*!dTCRYjAUwtIdyLok{W22G%15o3GycW-YGDWK51*ty0#mIt^*mI_ z_@1!&`a|F#i))@~{ZwcxbB5pls6=S(BbUAZnE}U-v`o{7x|tnw)y1lbc*|f2Q%LES z5MZuSGC0`qb4mPOSgdEH3O4SgBTk$3E2c2~T+rF#Tvn~_ccNeHMM3R=G-G_YSwv=Z z%Co|MH4p|aprk(UHUrdE#VV7{9%30gDTN9Y4ixOP;Ld`i!RfU$BBp4x2446zPCAZB z3p{bu=`na9KmRXsi@kYKBDET!<&yCKkiIIK=@|G9cS0n?9M%<&`bdvSX4*>QjR|1^@X<*KC!CxlgbbdH7LjiYb;Q7 zoP+&#S(Lng`vXtcI`{)j@o6H^d%PD7;MrH`eo2Y(L^# za@c(VZr}6Nrt<3vap=+xBC2%#F7p&uFm-|$?bS5iE+bZd45%^!`4wZ$jEdj*=t%5Cw zk)_b}0*rBlaA6P-j604-Bv{%8?hL>)U@o$GJ!adw>o*8gff?Z(Jt=ViO!zO!Yg%+o zoOQ{%azLHcLn~4I9QHy5S2W<$8aG~We1<{+2MxXHxF4-xHWftsGN3n4^!N^bRP%)Q z_Y>tjeuggES+>AfGBm8E7UkOi1Mo<}rm_S}NKhXukLT@!J2MT(XlX7^LB|mfs|G;| zF-Yqwh%ER3lZu`RaItS)^U;ZQLdNE%@? zX~7gsK7vonfDNwaP?M-AP^Sfvg+pcx=qzJGDrSUl94Mv7=7q+MWPWNX!~g7Ge5J}! z1|51yd{iEr(-+RUF?F06-_8)h?~Qm(iYdeTrNNxSImzu1ci`FQ_#7cv6ex~P-x8I= z#(=EmYQcukRK`=H4P2h|C$-5Xf6Vn+`7+j_7aSLtmiS`8iOX1fH%$UcARR~TDtUIo zMSo!ts3j>TCOu;*AY(!Y6lAgmMiRHS^_sY8n;5vWx_+8muuv)Sn3%7eWYJ;}D&ra2 zULat#`C_Ht-^Q2BTj-A_iq8U>KgK?K4Kha*`IXz!(0%9kc`x;PqZNPq>^T0Nj>G2K zo+Tl{nAe-?4S%gG$|giw)w`WSR5=@ivEvSe32n>JfKZ1m)jt$bsbw|Er4-;g!LPwZ zHKTuHM=Hp?=1aX@MuwT*G8`1!A{1pE35 zOVF8`Bq7DRkAgwxm@o`FG9c{ZbH*rvmWQBsME5vB~c=?IVZKEP%L^b@P&5_niWivfaEX ztgCZQfE+MXIDLbf4;n>}tX&IzcM@_x?BFS_u}5Q0z2kZ6%WU(>+6T`SNywGAu)IOY z(x~`ZL-2KheIFlY)zQOgJ_=r1ji(rAJ9`$Pm_&UvIZh(gMiy{73N>6Mi5d=>{l$T4sN`8w_{^~$kD zv2^ACJMEdTn{S(rBewowu|H0LNyR4p?fAb>_L?-U@_LiCc}C+C=G7QSi#EdF2ZW~9 z;Y-_FKm|+gO9ZArd&I$mxDtZyGeA9eDJ}ezRc~N(^(()xJJvU&C2$R?N=qBD` z$=HYeGaV-0{5F4nw_*L7K!SootqbAJU8BTcrbLq{))D!20VwykzQuP^QtTzP)ijA> zd{$Sp>X)o}D$xB4b%rEO$=nOJ|92L&-!jtseSb`c`C3Qw?L2i=&+g)cyh5cx%RJ^0 zPxQ9}r1YJSk~M4z7bPoV2lvYEBcY`d{M0l-zMU z%-m)_p+ixmgeAcp7KT`{(>P&)L5xlrknA~!+F8DTra?2joIr2j`Z+=WbU{LX zXonW|ff%iLRmj@T2wJq#Abyj)dodee+}fQ^L%XzFKIa4GY|47`rFNX^_kJ=D5bT=J zPeW#b;rWt~pi)6Ziy;ms53ZvVIFl-@ugp!Cim#%EKYhR$_Pd^XY5FP8Tox9MP<{A+ zabxM66{>4J`_S2BM(D{~ z>s~o4R}q5+jn>m%zVVa>&jK;(FYHqXP0O^{$Z`I+X1O7t3%CI&Hl|*=K`_WnfF;=s zI;QB|OpZwfLL{LCyuK>q7?_Ht+<8P7FkEyfXsDWk>vEP~cD$!7C2mMl(2--&3^MxG#f)fw?tJ$r+u0e#cJwL?jU2AHFiuR(;xf{`M z0MRxMWlzoBz>PpBW*qjPVINytl;noY((+AU?UELY>1pP#0bp5E4nW6=40 zQE}@pOU}-E;K!nbyO@TOUUZ4E>VP~vc3R}EGf3$4J6)u1pb!x2C$gfiSA@MThEOI^7PWQo1Vd=>KPFcn_^J#&cN&Ecr@Zvz z|03I}QBLS@>9;fnExG~VYPAGd*L(aPe5qC%7&SWM6Mf4vl}ym<{^5T>EqeTQw3};n zvm8Bs+kwd5VpZ0^V*IrTzv0zP8qT-JUWt9E>i`O`%Ty>VP*bgte=$+ESLq1YEn3dXXZ`oj8QQT_x;dti)2en#0(a{EK+*L^ zJWOC^`b{VBzmd2)8MQFr+Q%y5nRC2_q$i`%B)*Ef_tbVDHte&};(U?={NNBVDr4_dq^GVR!j^xgycZfEVtW~a zv?EEk^IRBQWjk7r;xXN%fD&kR_r6;58`R`O1LC7Pj0PkN7`|d-J$WzooBjwB5AkCg z1%pOc!DBns1tK9w4=jOLK|N}nZpB>AOpy@=*%VrbZRHdo(R(;!cLsPm z#`psvcw}xA`X!oNWjU?LyBc^{#o*Lgw5}wz%wrdZ+jXZK{A4*>uZGWYY@YUspjXc1 z&?AqsY8V??9`NWx?m3tZnb*H9Ymn%vesoNcUQtKRJ=i?^&{T{ zgUXa_Om=86O@yFe?dt4eG8Sg`xP@yV*q=4fA`u|7kPAPTPj~|wP;77|{J1)7wV6sX z*$d$(3@6i9B$gQ&1xTr}Bh3BpUB2?p_5W+TW2!5U8`LE}-aLBBOZH!i1yi}-&VK5_ z9Xc99Ev3TrLUiRF)Pb?pdfcTPVVbhi!Gs3qi>G#iHbSWXT{GSf`$d5Cp_6$01iGVjnq#_JYJc`dW$TaG7T-?Nr1r}Xs>MvR8AWmUV zNb24I!gr6X1|(h0~fJoa({rZfDMa%M2Tf_$W*$HCxdH4Gld+!qV& zKG6x)qG698S+hx-ny_-j5fBp8pT|NNp zJl*NJaggW5MiUD< zQ&1==f)!atF=7rx%!>v{t*&<@VtdBCo#GSL$LUWe(`=9H#c=X%@ahUZqGq5SEUKy3 zT)i4Km+W$NBJ9_a8m{tb@OvoU`G0@EdtEEfaOsMo%WjoZ6W7@E=MA@P)Dg6O(#8Nf zf0-iQ2CFgM(du3YA&cDfFGuV_H*)qa;fn7(1zm*zKcSn+%JFor=a^^#6RacGEG{+_tYqFdZ0V8+%pppsp!fp3xz- zjpC~OP+*>LT4t%6E*jnUpBPBT(IGU`$(fAV6TOxRKl^_O20p5xeXt%27$ta;z{rB^ znL_H1>Jb_B@p3a7doYnSc1vIhvmuLG>NT7+qMITOt|4jEUsJMgKTdU3Cy~YwFrcWS zH9UfAnA7Tu;b^JSH;32ksk!Y;U5Mqw*X%D|=>=z~xs5mrIgUnHb2KB+4J`buVE+8u zz@YLayBWr~%wUXW8(BYs^baw?v&%O*N%nb*l#VV@D8LxCflxzDvzK;5q(m_9;enY{ zE3ArmozYd|sP8pusj&OzVa;Kzk@GPOvNJe&k)!yH{JZ^`T@HXnoD7jT>IK9_$e9yqWHC@IE+EMW3J7x2osye0R#1(-rr;G54+p8HkX z1dl!i0TA)3(PAi$KU(ZwlMdF}yk_>G96p(`zQPNL1FKh?LvwtrUsCanxwTGssn{cS9>Ubh|vpNRx1Y8g}(zDEzxd zmb9meYyZ9BPvW7oj`rBVS9}*>3dVxG6@??;_>PLy!D{s6fnGNJR$=?#5r zt~)JS(MC((5fOcJ7Y-T|M&mU|GFI4WlM*5X3lzqvjtGQZ8)$(Cpj&KTFz-V!-ua_~ z`rOTSs5yozfdh#hvB+}9e$6>&A*-nhR=^0chW=ID_%Mpw(K-@F zJdq^HV9vqURuv8sqssDEIsCG+F6hNBUy`VYIiP*da!S=mNoCwjAwl1U>q9tQ#j1)9 zJ*IztBl6&S`zS$igQZh8?GS@9R~VO?uK=Q z&#o{}rE%g^=Gu2=NDJ3FtB;#;B1|C?0@K+r^c@Y-^$v=%Rcd7lid;7C8Gg05Hm=)6 zYnBbL%QoieQm^*=!?E4sPYDHXkNvTs1}HU)YX88mN>K%w=I{pgp^9?G{9@${%W>P2 zHDjR_Dz{adN$z_we03}6>!O1n0~=n9(!de_S#18cQ-=K(pueOGSA{K!l|;=6^+N2w z1|M`3F{AhyrYXRtucUbuZorS?JFhMGKu+wJZ>@_<)JQNP*(i9AJQp_``r{SWa%Krc z8g_~NgX3l|+|G>+sNbz~Lw7lxi_`Xzxk-vrFmR%m@GfQrHoQ=X);N6IM z^EaB!Q4RkBAj)$6vP%W9J)UQn)Om!Y3MfkIM{I2~Uaixbd<2k6bN0e%CgSt(o?KiT zG9NXiYYeBG`yvnZn3sVuxw_;vCaa{npStX{V*hi(Oz9 zFP0O|$N5aiVjZM!!aIYkXdUuu=mg^lbcrBp5L5(SmcV~vukU9m~qZ$EX|L4=EktiWh9pDSKv%%OkLzi zYl(C*tVeylGng}{gh;`eg@!zP50SmI-#PfZa+Vy|qWBcmSw)jcecS!t$MsOp3K2I* zV!x(`WX!H_V>dKiNGM4`&y(lE9xE{ARnKqvCiJQ^6bj{rz(#B9X9>1o4X}RSbH!5>5NCoE16{QT6I=H-#6i zpC+!sKG7M*82wLHhIJ8K-@qjzlY0|ZkA>FD%yVbsOLHkQKYG&%*ReS_B&#!YP@vqy zePDNsTLg1|z(`wv4*h9b7+?^sq#aePAWhn8p#20JD;Bpd^`IMpg1gdlh6@UDBUl?T zaQ%gj&|#9#=>J?_kWJxYJiKT@pFMdtU3Jf1%7_Z-lZYIL4$Fai7lGdh>N3{O_$S~1 zRBWG;RpIrIegC$3q-)Ng9x^B1R593Gm;)cQ+mb<9nQ@eN=MhIRK_E#os7<%72Se)C zHXgAb2k?eu+eK=&*7{gM-wgo;byzlT8#`&)*Emu*J+40j$kx`brqgIQL6~|J)E=D* z)xu~049(zHOvQ@w@2zK**t+OSkvzO?sng)a-pG>PsA!#yL^aIEdy-@gvI%!u-e^g} zcl0atT5#31eh5V_Ln8|UxeU`01=-Bu-*pY3!$%LE(X`bDD`jk;AoJ>F`A-pB9cxdP z`J}yfT3w0GrIe=SpB!?!B{N1*B~0Fs@-XGz=8kR~?)$e_-n96;(H9XiWFl$Qwfa(d z20m7r4{_2BV7imB_&m`<69R^&GQE%_n%7Y%i)mc^HB#Ix7sI5Gxrmu3-~Tn4z(XQ% zmrptK2g(VxUSoy9>o`fzZ~nJc%KyxmfLV}Y4qZPD5fi$NU+K%}H9A z(N>YdZ|3J1*sW)bpDEbYGM(uN6C4S7@06cMxP zw;&XoyL2OGl#3)IK1ca;xMG(1v~rX{Z|iNEvkA9H+BSl#Plv9LPw)>RaApsnznW%cX$AIEz9L z)Rr(2NPIv2L|}giYS2+*au)W=gtw7iY)|(bfZiw7Y|F|?yIb{>;iG9nFj0s+_n+iX z7b=JgNQ6J|^ca9eLk&xi zC??${P>gd7 zF`E?eYV@oCkj%SVL+0q{^c|Lt$*9SDY!4?c_)6x@0=r?@Yj3jCRtda?b|40#EB7qo z->A{DM+kAzYQ+Y?M#QA<^7ua`Kqk?R)qD>-PajHh8zS&TaREv&d&-7%xf}$P;i^L% zAl|a;bfQyj*J5ak<^B)QjW>E@HcK|^+%-@NL<4WTRi?{XgqVlRmcm56!s6-Wcq(N; zQtzrAexc!lyN|kB#RTJUm{k{&#|OR(R=}v`Zli-N%XQFyU`zD@cP*RAF=-&QMcV&) zM5eh3y0m9%al){msFR6%lZBN;d988_M)(mNyi{!$sAft_*|x3+IM0T0H)#cLo?wSs zqvC6k*IH<%9z7~8o2|l5aUF4hg9m!uf13IP2pr9s($RM}KO=UD5HAPjOxwPXu`M z30|5;VyJHC-u0cc%Br~WJqKjw(k^JZf~8-4TnityM!qj>1-O~u)J=0^hvYXeUg$mO zkF)58zyDC&+%2@})DtHK9Zw$|MK`9v&&tMew{RuT1kheLDvQb#IR)Nn(iyC z6nJEYP888!2cbtx-&cb@c_aH z2ZS5DFT62Tom2~7a#Jp>8(KUMC^c`BXRJ5}<$9MZ7Z1E({vqs35)%u76-HF~8<*SH z$~N(GQ%LEKbxtemmIP7-!dGL~A9Ic+DovXPxI>$K7%%oG4aF7-Rlcleh3?(npv&h+ z@W)BO_I%%-VrR5Q7%>PH2f^Q%ZgzH@77()h>UNhjuVcQbB9Xoz4JDXD8P?uo(!dCy z7i%@vcgCAW$RSh}<~O&B4Q(|82f1@QS4D482Z)eDvcW&oF>NbSb+lz5L>xtQk>ZG> z`8saE#E0%2L9eqmT68rv(O<${kK>E}nr0?*MF^jf-quJy{{_hM`4ppFq;|2Qk zGqeZjz6i9!QoD(__G^Rx1rz-NP&G*`c6ENcpLb#*2 z%1WyyTUWB7g;D&3R?WMG$oX+7nhzjC3JOZJEX2rS|4P8Wu^Y*DcV9b`M4}sGl0FSX zDfO}kG3-w3cMD&1m-zEm8|2NX<#oyCkW%HR1~WIU;X%_nG*INr0pkZ8_%^b;XKPBY zsXiT~_nG)@mIZLc;-K>rtzd>L5YgQj`FFKQW&dj;JAW%8=BIVxwWLKIHF)^k zHy~5Sdeze!Q)Be;h>eAt@6?a@%l1vAE#IpGUiiExlup}c7IqT0>VLZsL_uD<(cb}$ zB<^^y>@b?|2whjTF?D{3f97ew*W**xrxx)MFIfnB%xC_N2W|R*Dxzpr4z6C9fm6ZR zNoQ{2_{$8g{%=ln{d(6bpx7F>Z#8r!8XCWQRoi=S)e(OJKlVI<`}wKd?-u8Gk$er~ z!1n3c)?R%J(-$6aLgpYsSEU~~zm(QOlQagT0Gge^<F2*?>*{C56m|Ew2)|0ds@&T*2M0GO>Sv`#{I8(y08l&!YkC-F% zV+Bb^%vvwqGZZRa5IbETdnFagj%pT}Z*vRr2bZ{3L_fH(d*{yNF*VqX|* z?#<{dMfa6 z-S81z`jorWy(f|1KXF~;bJdo9Aa|w9@J-r<-AfMWk5Gi7WU;9%7?*$EYuEpU#Y^m_ zO9+~Vgvz{UAL<=dHn0pX61R8ejizu~fDo1(cX#_grxpO1%AFO9vG>Evbx7J3*2Xj> zJ1SNX463oXanJ1nn)~fePm-CphVB{CAkulcxUA~6bsnOf7bnKi!hzC|1S1cZ$kHSD z?en0z!|s|`F{9)MpwTe#eOuynZ8p-nR@P?B5wKqWeBdG6i)Pe~BMPDChAUrqO4^S{%*WXHA~VEf6{ynB-RgYIY=VyIKMmmB0zKABMTDV%qyPWyMA>7-ggv zSD}~k8LT8B^9c;G$gQ2)QzZulVgKhq%JQf_WybzTqD$yM{7HZX(Bi?%LOAU%g7@=~ z&8I?6pL8H3iekEGZ6Q=+?Cvrp0&k)C3{N>#klXJ5R_|17JyzJoGkBbePvO&nQvtuH zITwmVU*c~96*gAAcIC|sw!gx${Lg&T@C~CPuF7`Tx4x8zUuXKrT_TDfKFzy zq7Mf9DNPC>ft2-|^3Xb*aOOHno8zxwh5XzMpMRv{NC+XxuW2KQH%rDF;7T?>R|Hk( zq_&boV1})k8fUn@^Q(aGkE4F@2jYMsvjnx`ONp|Tp~qtg*WrIUatg;j=7NWOLYjv@ z9l1xayIza+tu%_Eve-QU2+BOVMUB4A^duJ;$h}-+;S5c}*lHPX$61K(M;znlkx!Ht zmJ;R(qX6-0fHLSU#UrsYiAQ+EKZ!0U8+lWQulf^ys^nry zXH$eE&8@FLyg&2&BBdFI;;i4w>^-;4fHitLMxugc2E!PT2S_Q>R7ZYB9tGe~z%78e z*TC-B8N=g)%Kp6>o7S@TJ-9xF3^1iWW>7~16djzd2g#wRk>=T9jBCIEGd2DtK3{Q| nfHCtfPVvsyOi9$U(D=R($`gTe(aPT36b%Ee;E%sU>Hq)$Gr~`l diff --git a/app/assets/stylesheets/index.css b/app/assets/stylesheets/index.css new file mode 100644 index 000000000..120a1e6b6 --- /dev/null +++ b/app/assets/stylesheets/index.css @@ -0,0 +1,36 @@ +@import url('https://fonts.googleapis.com/css?family=Lato'); + +* { + font-family: 'Lato', sans-serif; + text-align: center; +} + +body { + background-color: white; + display: grid; + grid-template-rows: 3fr 1fr 1fr; +} + +header { + grid-row: 1 / 3; + background-image: url("tasklist.jpg"); + /* https://www.istockphoto.com/photo/top-view-of-smart-phone-coffee-pen-and-notepad-gm528917900-93147159 */ + background-size: contain; + background-color: #484e54; + color: white; + text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; +} + +h1 { + padding: 200px 0; +} + +footer { + position: absolute; + bottom: 0; + width: 100%; + font-size: 75%; + color: #99a1b4; + padding: 3px; + grid-row: 3; +} \ No newline at end of file diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb index c79533382..d459d6ea9 100644 --- a/app/views/tasks/index.html.erb +++ b/app/views/tasks/index.html.erb @@ -1,26 +1,37 @@ + + Jillianne's TaskList - -

Jillianne's TaskList

- \ No newline at end of file + +
+ © 2019 Jillianne Ramirez +
+ + +<%#= image_tag "tasklist.jpg", alt: "Stock image of to-do list with pen and coffee" %> From f1bf1bde6da29e97fc103146f55424db93dd3cf7 Mon Sep 17 00:00:00 2001 From: Jillianne Ramirez Date: Sun, 14 Apr 2019 23:36:16 -0700 Subject: [PATCH 18/23] toggle button bug correction --- app/controllers/tasks_controller.rb | 5 + log/development.log | 457 ++++++++++++++++++++++++++++ 2 files changed, 462 insertions(+) diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb index 798c8ac19..54d968055 100644 --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -65,6 +65,11 @@ def toggle_complete task.completed_at = "Incomplete" task.save redirect_to tasks_path + else + task.completed_at = "Complete" + task.completion_date = Time.now.strftime("%F %T") + task.update(completed_at: task.completed_at) + redirect_to tasks_path end end diff --git a/log/development.log b/log/development.log index 4661f8479..4f653befb 100644 --- a/log/development.log +++ b/log/development.log @@ -24088,3 +24088,460 @@ Processing by TasksController#index as HTML Completed 200 OK in 36ms (Views: 31.2ms | ActiveRecord: 2.1ms) +Started GET "/tasks" for ::1 at 2019-04-14 23:28:33 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (6.4ms) +Completed 200 OK in 307ms (Views: 237.3ms | ActiveRecord: 3.7ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-14 23:28:33 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/new" for ::1 at 2019-04-14 23:28:40 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (17.1ms) + Rendered tasks/new.html.erb within layouts/application (19.4ms) +Completed 200 OK in 71ms (Views: 41.1ms | ActiveRecord: 14.4ms) + + +Started POST "/tasks" for ::1 at 2019-04-14 23:28:42 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"nL8gA1aEliIBB4ZnKqRv2UWKmmzJ04qPoTvpl3/d9BeFVPoTx9L3PBGqhYv8YnlvvRK4u2lZpMsWyAk1Y/9kfA==", "task"=>{"name"=>"Default Name", "description"=>""}, "commit"=>"Add Task"} +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:25 + Task Create (1.7ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Default Name"], ["description", ""], ["created_at", "2019-04-15 06:28:42.515164"], ["updated_at", "2019-04-15 06:28:42.515164"]] + ↳ app/controllers/tasks_controller.rb:25 +  (2.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:25 +Redirected to http://localhost:3000/tasks/2 +Completed 302 Found in 11ms (ActiveRecord: 4.8ms) + + +Started GET "/tasks/2" for ::1 at 2019-04-14 23:28:42 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (5.0ms) +Completed 200 OK in 38ms (Views: 29.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-14 23:28:44 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 53ms (Views: 45.0ms | ActiveRecord: 1.0ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-14 23:28:44 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/2/verify" for ::1 at 2019-04-14 23:28:45 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:83 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (1.1ms) +Completed 200 OK in 56ms (Views: 47.5ms | ActiveRecord: 0.2ms) + + +Started DELETE "/tasks/2" for ::1 at 2019-04-14 23:28:46 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"5dV+O/62yr4DfUNkvFeSGufvTBXSBH+BApi5qGoUS4RAxtiPAUyIZdGoFF2A0LNYdd5m7awSErbVoYT65Ir8tg==", "id"=>"2"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:72 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:77 + Task Destroy (0.4ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 2]] + ↳ app/controllers/tasks_controller.rb:77 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:77 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 1.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-14 23:28:46 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 23ms (Views: 21.1ms | ActiveRecord: 0.3ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-14 23:28:46 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/new" for ::1 at 2019-04-14 23:30:57 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.9ms) + Rendered tasks/new.html.erb within layouts/application (6.4ms) +Completed 200 OK in 41ms (Views: 35.5ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for ::1 at 2019-04-14 23:30:59 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"hW6xkwJoD5rym764nbAqi/LbdzXjbEfWlOsxqPex5SGchWuDkz5uhOI2vVRLdjw9CkNV4kPmaZIjGNEK65N1Sg==", "task"=>{"name"=>"Default Name", "description"=>""}, "commit"=>"Add Task"} +  (3.9ms) BEGIN + ↳ app/controllers/tasks_controller.rb:25 + Task Create (1.8ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Default Name"], ["description", ""], ["created_at", "2019-04-15 06:30:59.815393"], ["updated_at", "2019-04-15 06:30:59.815393"]] + ↳ app/controllers/tasks_controller.rb:25 +  (3.1ms) COMMIT + ↳ app/controllers/tasks_controller.rb:25 +Redirected to http://localhost:3000/tasks/3 +Completed 302 Found in 13ms (ActiveRecord: 8.8ms) + + +Started GET "/tasks/3" for ::1 at 2019-04-14 23:30:59 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 24ms (Views: 20.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-14 23:31:01 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 52ms (Views: 47.0ms | ActiveRecord: 0.6ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-14 23:31:01 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/3/toggle_complete" for ::1 at 2019-04-14 23:31:02 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:57 +Completed 406 Not Acceptable in 111ms (ActiveRecord: 0.3ms) + + + +ActionController::UnknownFormat - TasksController#toggle_complete is missing a template for this request format and variant. + +request.formats: ["text/html"] +request.variant: [] + +NOTE! For XHR/Ajax or API requests, this action would normally respond with 204 No Content: an empty white screen. Since you're loading it in a web browser, we assume that you expected to actually render a template, not nothing, so we're showing an error to be extra-clear. If you expect 204 No Content, carry on. That's what you'll get from an XHR or API request. Give it a shot.: + +Started POST "/__better_errors/43fdf4f4fc56c9f2/variables" for ::1 at 2019-04-14 23:31:02 -0700 +Started GET "/" for ::1 at 2019-04-14 23:32:13 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (19.4ms) +Completed 200 OK in 219ms (Views: 185.4ms | ActiveRecord: 6.4ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-14 23:32:13 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/3/verify" for ::1 at 2019-04-14 23:32:16 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"3"} + Task Load (2.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:83 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (0.7ms) +Completed 200 OK in 30ms (Views: 21.6ms | ActiveRecord: 2.4ms) + + +Started DELETE "/tasks/3" for ::1 at 2019-04-14 23:32:18 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"MDN1CWa9BxWEaofUxfLp+Vf2gccSx3dhDzCoM5MyicyVINO9mUdFzla/0O35dci7xcerP2zRGlbYCZVhHaw+/g==", "id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:72 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:77 + Task Destroy (0.4ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 3]] + ↳ app/controllers/tasks_controller.rb:77 +  (1.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:77 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 2.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-14 23:32:18 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (2.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 23ms (Views: 19.2ms | ActiveRecord: 2.1ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-14 23:32:18 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/new" for ::1 at 2019-04-14 23:32:20 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (7.7ms) + Rendered tasks/new.html.erb within layouts/application (11.5ms) +Completed 200 OK in 41ms (Views: 35.3ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for ::1 at 2019-04-14 23:32:26 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"8KIAQBCY+czzNVn8tMyLGjCECvUw9fHnEh5tP5El4Y7pSdpQgc6Y0uOYWhBiCp2syBwoIpB/36Ol7Y2djQdx5Q==", "task"=>{"name"=>"Call Mom", "description"=>"Mommy wants to hear from me"}, "commit"=>"Add Task"} +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:25 + Task Create (0.5ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Call Mom"], ["description", "Mommy wants to hear from me"], ["created_at", "2019-04-15 06:32:26.263030"], ["updated_at", "2019-04-15 06:32:26.263030"]] + ↳ app/controllers/tasks_controller.rb:25 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:25 +Redirected to http://localhost:3000/tasks/4 +Completed 302 Found in 6ms (ActiveRecord: 1.2ms) + + +Started GET "/tasks/4" for ::1 at 2019-04-14 23:32:26 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"4"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (3.8ms) +Completed 200 OK in 23ms (Views: 20.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-14 23:32:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 45ms (Views: 38.6ms | ActiveRecord: 1.1ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-14 23:32:27 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/4/toggle_complete" for ::1 at 2019-04-14 23:32:29 -0700 +Processing by TasksController#toggle_complete as HTML + Parameters: {"id"=>"4"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:57 +Completed 406 Not Acceptable in 108ms (ActiveRecord: 0.9ms) + + + +ActionController::UnknownFormat - TasksController#toggle_complete is missing a template for this request format and variant. + +request.formats: ["text/html"] +request.variant: [] + +NOTE! For XHR/Ajax or API requests, this action would normally respond with 204 No Content: an empty white screen. Since you're loading it in a web browser, we assume that you expected to actually render a template, not nothing, so we're showing an error to be extra-clear. If you expect 204 No Content, carry on. That's what you'll get from an XHR or API request. Give it a shot.: + +Started POST "/__better_errors/0f738c227a320e74/variables" for ::1 at 2019-04-14 23:32:29 -0700 From 0c129a2c4cd7a9380972da994744148563fe5f72 Mon Sep 17 00:00:00 2001 From: Jillianne Ramirez Date: Mon, 15 Apr 2019 10:09:32 -0700 Subject: [PATCH 19/23] toggle button debug --- app/controllers/tasks_controller.rb | 4 +- log/development.log | 136 ++++++++++++++++++++++++++++ 2 files changed, 138 insertions(+), 2 deletions(-) diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb index 54d968055..c01df45cf 100644 --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -59,11 +59,11 @@ def toggle_complete if task.completed_at == "Incomplete" task.completed_at = "Complete" task.completion_date = Time.now.strftime("%F %T") - task.save + task.update(completed_at: task.completed_at) redirect_to tasks_path elsif task.completed_at == "Complete" task.completed_at = "Incomplete" - task.save + task.update(completed_at: task.completed_at) redirect_to tasks_path else task.completed_at = "Complete" diff --git a/log/development.log b/log/development.log index 4f653befb..9f1253e98 100644 --- a/log/development.log +++ b/log/development.log @@ -24545,3 +24545,139 @@ request.variant: [] NOTE! For XHR/Ajax or API requests, this action would normally respond with 204 No Content: an empty white screen. Since you're loading it in a web browser, we assume that you expected to actually render a template, not nothing, so we're showing an error to be extra-clear. If you expect 204 No Content, carry on. That's what you'll get from an XHR or API request. Give it a shot.: Started POST "/__better_errors/0f738c227a320e74/variables" for ::1 at 2019-04-14 23:32:29 -0700 +Started GET "/" for ::1 at 2019-04-15 10:02:40 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (18.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (93.8ms) +Completed 200 OK in 557ms (Views: 454.6ms | ActiveRecord: 56.1ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:02:41 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:02:41 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/1/verify" for ::1 at 2019-04-15 10:02:44 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"1"} + Task Load (1.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:88 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (0.7ms) +Completed 200 OK in 35ms (Views: 24.6ms | ActiveRecord: 3.7ms) + + +Started DELETE "/tasks/1" for ::1 at 2019-04-15 10:02:46 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"oQlsYdxaq9mkumyn+yk12DqYBq+h+zcYHsNViHEU0bJT5kTbyUKBF+yOfunWSRTF8m9kZjOsbtVHKur2NKMgxw==", "id"=>"1"} + Task Load (1.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:77 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:82 + Task Destroy (0.4ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 1]] + ↳ app/controllers/tasks_controller.rb:82 +  (1.0ms) COMMIT + ↳ app/controllers/tasks_controller.rb:82 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-15 10:02:46 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 20ms (Views: 17.7ms | ActiveRecord: 0.5ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:02:47 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' From 808660f045afb7821609d5cea5c8ab3bd0a44acc Mon Sep 17 00:00:00 2001 From: Jillianne Ramirez Date: Mon, 15 Apr 2019 10:20:54 -0700 Subject: [PATCH 20/23] adjusted grid display --- app/assets/stylesheets/index.css | 3 +- log/development.log | 1853 ++++++++++++++++++++++++++++++ 2 files changed, 1855 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/index.css b/app/assets/stylesheets/index.css index 120a1e6b6..7f91612dc 100644 --- a/app/assets/stylesheets/index.css +++ b/app/assets/stylesheets/index.css @@ -8,7 +8,8 @@ body { background-color: white; display: grid; - grid-template-rows: 3fr 1fr 1fr; + grid-template-rows: 80px autoflow 20px; + grid-template-columns: autoflow; } header { diff --git a/log/development.log b/log/development.log index 9f1253e98..415c253c3 100644 --- a/log/development.log +++ b/log/development.log @@ -24681,3 +24681,1856 @@ puma (3.12.1) lib/puma/server.rb:660:in `handle_request' puma (3.12.1) lib/puma/server.rb:474:in `process_client' puma (3.12.1) lib/puma/server.rb:334:in `block in run' puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks" for ::1 at 2019-04-15 10:09:48 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 257ms (Views: 215.1ms | ActiveRecord: 3.3ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:09:48 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/new" for ::1 at 2019-04-15 10:09:55 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (7.1ms) + Rendered tasks/new.html.erb within layouts/application (9.9ms) +Completed 200 OK in 44ms (Views: 25.0ms | ActiveRecord: 6.8ms) + + +Started POST "/tasks" for ::1 at 2019-04-15 10:10:12 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"hte39H5+fdND6qf+r3B990bRdj1rHQQjgjhiUNCxwecfA+gBxOO2xPDVggvkvInuwbv8cm3VulywqJXlzWD3mw==", "task"=>{"name"=>"Call Ma", "description"=>"Mommy wants to hear from me"}, "commit"=>"Add Task"} +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:25 + Task Create (2.9ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Call Ma"], ["description", "Mommy wants to hear from me"], ["created_at", "2019-04-15 17:10:12.356163"], ["updated_at", "2019-04-15 17:10:12.356163"]] + ↳ app/controllers/tasks_controller.rb:25 +  (0.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:25 +Redirected to http://localhost:3000/tasks/2 +Completed 302 Found in 10ms (ActiveRecord: 3.9ms) + + +Started GET "/tasks/2" for ::1 at 2019-04-15 10:10:12 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (3.4ms) +Completed 200 OK in 35ms (Views: 27.7ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for ::1 at 2019-04-15 10:10:59 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 45ms (Views: 40.4ms | ActiveRecord: 0.4ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:10:59 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks" for ::1 at 2019-04-15 10:11:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 42ms (Views: 40.1ms | ActiveRecord: 0.3ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:11:25 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/new" for ::1 at 2019-04-15 10:11:32 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.0ms) + Rendered tasks/new.html.erb within layouts/application (5.2ms) +Completed 200 OK in 36ms (Views: 31.7ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for ::1 at 2019-04-15 10:11:33 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"a5zZ+J8pHn1pLHPgvbtdHr3iQGxTda2uFmpwLLIPekPySIYNJbTVatoTVhX2d6kHOojKI1W9E9Ek+oeZr95MPw==", "task"=>{"name"=>"Default Name", "description"=>""}, "commit"=>"Add Task"} +  (0.4ms) BEGIN + ↳ app/controllers/tasks_controller.rb:25 + Task Create (1.5ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Default Name"], ["description", ""], ["created_at", "2019-04-15 17:11:33.958998"], ["updated_at", "2019-04-15 17:11:33.958998"]] + ↳ app/controllers/tasks_controller.rb:25 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:25 +Redirected to http://localhost:3000/tasks/3 +Completed 302 Found in 6ms (ActiveRecord: 2.4ms) + + +Started GET "/tasks/3" for ::1 at 2019-04-15 10:11:33 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 21ms (Views: 18.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-15 10:11:35 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (2.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (5.7ms) +Completed 200 OK in 41ms (Views: 33.1ms | ActiveRecord: 2.6ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:11:35 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks" for ::1 at 2019-04-15 10:11:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 22ms (Views: 19.4ms | ActiveRecord: 0.3ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:11:45 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/" for ::1 at 2019-04-15 10:11:53 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 27ms (Views: 23.0ms | ActiveRecord: 0.3ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:11:53 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/" for ::1 at 2019-04-15 10:12:03 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 24ms (Views: 20.8ms | ActiveRecord: 0.5ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:12:03 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +  (53.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (1.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (221.0ms) DROP DATABASE IF EXISTS "TaskList_development" + ↳ bin/rails:9 +  (199.9ms) DROP DATABASE IF EXISTS "TaskList_test" + ↳ bin/rails:9 +  (495.2ms) CREATE DATABASE "TaskList_development" ENCODING = 'unicode' + ↳ bin/rails:9 +  (425.5ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + ↳ bin/rails:9 + SQL (1.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (7.0ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) + ↳ db/schema.rb:18 +  (4.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) + ↳ db/schema.rb:13 +  (2.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) + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ db/schema.rb:13 +  (0.3ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-04-15 17:12:32.175326"], ["updated_at", "2019-04-15 17:12:32.175326"]] + ↳ db/schema.rb:13 +  (0.4ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.2ms) BEGIN + ↳ bin/rails:9 +  (0.1ms) COMMIT + ↳ bin/rails:9 + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.1ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (6.1ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) + ↳ db/schema.rb:18 +  (2.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) + ↳ db/schema.rb:13 +  (2.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) + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ db/schema.rb:13 +  (0.1ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (0.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-04-15 17:12:32.219635"], ["updated_at", "2019-04-15 17:12:32.219635"]] + ↳ db/schema.rb:13 +  (0.4ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 + ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2019-04-15 17:12:32.223790"], ["key", "environment"]] + ↳ bin/rails:9 +  (0.4ms) COMMIT + ↳ bin/rails:9 +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]] + ↳ bin/rails:9 +  (139.4ms) DROP DATABASE IF EXISTS "TaskList_development" + ↳ bin/rails:9 +  (189.8ms) DROP DATABASE IF EXISTS "TaskList_test" + ↳ bin/rails:9 +  (402.1ms) CREATE DATABASE "TaskList_development" ENCODING = 'unicode' + ↳ bin/rails:9 +  (412.5ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' + ↳ bin/rails:9 + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (5.9ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) + ↳ db/schema.rb:18 +  (2.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) + ↳ db/schema.rb:13 +  (2.9ms) 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) + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ db/schema.rb:13 +  (0.2ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-04-15 17:12:39.225101"], ["updated_at", "2019-04-15 17:12:39.225101"]] + ↳ db/schema.rb:13 +  (0.3ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 +  (0.1ms) COMMIT + ↳ bin/rails:9 + SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" + ↳ db/schema.rb:16 +  (0.2ms) DROP TABLE IF EXISTS "tasks" CASCADE + ↳ db/schema.rb:18 +  (5.4ms) CREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completed_at" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completion_date" character varying) + ↳ db/schema.rb:18 +  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) + ↳ db/schema.rb:13 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ db/schema.rb:13 +  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190411014736) + ↳ db/schema.rb:13 +  (2.9ms) 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) + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] + ↳ db/schema.rb:13 +  (0.1ms) BEGIN + ↳ db/schema.rb:13 + ActiveRecord::InternalMetadata Create (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", "2019-04-15 17:12:39.271231"], ["updated_at", "2019-04-15 17:12:39.271231"]] + ↳ db/schema.rb:13 +  (0.4ms) COMMIT + ↳ db/schema.rb:13 + 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]] + ↳ bin/rails:9 +  (0.1ms) BEGIN + ↳ bin/rails:9 + ActiveRecord::InternalMetadata Update (0.3ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2019-04-15 17:12:39.275308"], ["key", "environment"]] + ↳ bin/rails:9 +  (0.4ms) COMMIT + ↳ bin/rails:9 +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ↳ bin/rails:9 +Started GET "/" for ::1 at 2019-04-15 10:12:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (2.7ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (6.3ms) +Completed 200 OK in 248ms (Views: 214.7ms | ActiveRecord: 5.6ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:12:45 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/new" for ::1 at 2019-04-15 10:12:48 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (8.1ms) + Rendered tasks/new.html.erb within layouts/application (11.2ms) +Completed 200 OK in 59ms (Views: 28.5ms | ActiveRecord: 16.3ms) + + +Started POST "/tasks" for ::1 at 2019-04-15 10:12:49 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"JWdQikK1BmN74mb8eQ+fev2M8FZWEJE4WDJEF+qGeDi8sw9/+CjNdMjdQwkyw2tjeuZ6GVDYL0dqorOi91dORA==", "task"=>{"name"=>"Default Name", "description"=>""}, "commit"=>"Add Task"} +  (0.5ms) BEGIN + ↳ app/controllers/tasks_controller.rb:25 + Task Create (1.0ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Default Name"], ["description", ""], ["created_at", "2019-04-15 17:12:49.732438"], ["updated_at", "2019-04-15 17:12:49.732438"]] + ↳ app/controllers/tasks_controller.rb:25 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:25 +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 6ms (ActiveRecord: 2.0ms) + + +Started GET "/tasks/1" for ::1 at 2019-04-15 10:12:49 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (3.8ms) +Completed 200 OK in 25ms (Views: 19.5ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-15 10:12:50 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 38ms (Views: 31.5ms | ActiveRecord: 0.6ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:12:51 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/new" for ::1 at 2019-04-15 10:12:52 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.5ms) + Rendered tasks/new.html.erb within layouts/application (8.7ms) +Completed 200 OK in 39ms (Views: 36.5ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for ::1 at 2019-04-15 10:12:53 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"c+YbNj0C0OIVrjPLSgdx1i5vxDBV0llzHAUg4/2N3HLqMkTDh58b9aaRFj4By4XPqQVOf1Ma5wwulddW4FzqDg==", "task"=>{"name"=>"Default Name", "description"=>""}, "commit"=>"Add Task"} +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:25 + Task Create (0.6ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Default Name"], ["description", ""], ["created_at", "2019-04-15 17:12:53.365091"], ["updated_at", "2019-04-15 17:12:53.365091"]] + ↳ app/controllers/tasks_controller.rb:25 +  (1.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:25 +Redirected to http://localhost:3000/tasks/2 +Completed 302 Found in 6ms (ActiveRecord: 2.7ms) + + +Started GET "/tasks/2" for ::1 at 2019-04-15 10:12:53 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 32ms (Views: 29.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-15 10:12:54 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.8ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (5.9ms) +Completed 200 OK in 34ms (Views: 28.7ms | ActiveRecord: 1.8ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:12:54 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/2/verify" for ::1 at 2019-04-15 10:13:03 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:88 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (0.8ms) +Completed 200 OK in 36ms (Views: 29.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-15 10:13:08 -0700 +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:13:08 -0700 +Processing by TasksController#index as HTML + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 328ms (Views: 322.9ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/2/verify" for ::1 at 2019-04-15 10:13:13 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"2"} + Task Load (4.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:88 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (1.2ms) +Completed 200 OK in 44ms (Views: 28.9ms | ActiveRecord: 10.0ms) + + +Started GET "/tasks" for ::1 at 2019-04-15 10:13:17 -0700 +Processing by TasksController#index as HTML +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:13:17 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + Rendering tasks/index.html.erb within layouts/application + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' + Task Load (5.9ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (10.9ms) +Completed 200 OK in 193ms (Views: 182.3ms | ActiveRecord: 5.9ms) + + +Started GET "/tasks" for ::1 at 2019-04-15 10:17:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 43ms (Views: 40.1ms | ActiveRecord: 0.3ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:17:04 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/2/verify" for ::1 at 2019-04-15 10:17:14 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"2"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:88 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (0.8ms) +Completed 200 OK in 29ms (Views: 25.0ms | ActiveRecord: 0.4ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:17:15 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/1/verify" for ::1 at 2019-04-15 10:17:16 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"1"} + Task Load (2.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:88 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (0.9ms) +Completed 200 OK in 38ms (Views: 26.9ms | ActiveRecord: 2.1ms) + + +Started DELETE "/tasks/1" for ::1 at 2019-04-15 10:17:18 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"jUXRYsPXfBzzjT0KIw9jCZPFMEM0RPFah6DtEvouulB/qvnY1s9W0ru5L0QOb0IUWzJSiqYTqJfeSVJsv5lLJQ==", "id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:77 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:82 + Task Destroy (0.5ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 1]] + ↳ app/controllers/tasks_controller.rb:82 +  (1.9ms) COMMIT + ↳ app/controllers/tasks_controller.rb:82 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.8ms) + + +Started GET "/tasks" for ::1 at 2019-04-15 10:17:18 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 26ms (Views: 23.0ms | ActiveRecord: 0.4ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:17:18 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks" for ::1 at 2019-04-15 10:17:38 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 41ms (Views: 38.1ms | ActiveRecord: 0.3ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:17:38 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks" for ::1 at 2019-04-15 10:17:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 30ms (Views: 26.9ms | ActiveRecord: 0.3ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:17:45 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks" for ::1 at 2019-04-15 10:17:54 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 36ms (Views: 32.5ms | ActiveRecord: 0.3ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:17:54 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks" for ::1 at 2019-04-15 10:18:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 32ms (Views: 28.5ms | ActiveRecord: 0.3ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:18:00 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/new" for ::1 at 2019-04-15 10:18:03 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (4.1ms) + Rendered tasks/new.html.erb within layouts/application (7.6ms) +Completed 200 OK in 45ms (Views: 36.9ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for ::1 at 2019-04-15 10:18:04 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"inKVoSk6YlmwTEgjqvM/8USFDIKB4/PRpCu+5VrrK5cTpspUk6epTgNzbdbhP8vow++GzYcrTa6Wu0lQRzod6w==", "task"=>{"name"=>"Default Name", "description"=>""}, "commit"=>"Add Task"} +  (0.9ms) BEGIN + ↳ app/controllers/tasks_controller.rb:25 + Task Create (1.2ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Default Name"], ["description", ""], ["created_at", "2019-04-15 17:18:04.163159"], ["updated_at", "2019-04-15 17:18:04.163159"]] + ↳ app/controllers/tasks_controller.rb:25 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:25 +Redirected to http://localhost:3000/tasks/3 +Completed 302 Found in 8ms (ActiveRecord: 2.6ms) + + +Started GET "/tasks/3" for ::1 at 2019-04-15 10:18:04 -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]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 24ms (Views: 20.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-15 10:18:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (5.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (15.1ms) +Completed 200 OK in 64ms (Views: 55.7ms | ActiveRecord: 5.1ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:18:05 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/new" for ::1 at 2019-04-15 10:18:07 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (1.9ms) + Rendered tasks/new.html.erb within layouts/application (4.7ms) +Completed 200 OK in 33ms (Views: 29.7ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for ::1 at 2019-04-15 10:18:08 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"kz+vcVsJ+sYpzOMxFD3gJcyKQSGlwRBg9T3qU1+2+ZMK6/CE4ZQx0ZrzxsRf8RQ8S+DLbqMJrh/HrR3mQmfP7w==", "task"=>{"name"=>"Default Name", "description"=>""}, "commit"=>"Add Task"} +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:25 + Task Create (1.7ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Default Name"], ["description", ""], ["created_at", "2019-04-15 17:18:08.891039"], ["updated_at", "2019-04-15 17:18:08.891039"]] + ↳ app/controllers/tasks_controller.rb:25 +  (0.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:25 +Redirected to http://localhost:3000/tasks/4 +Completed 302 Found in 7ms (ActiveRecord: 2.9ms) + + +Started GET "/tasks/4" for ::1 at 2019-04-15 10:18:08 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"4"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 26ms (Views: 22.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for ::1 at 2019-04-15 10:18:09 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 32ms (Views: 28.9ms | ActiveRecord: 0.4ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:18:09 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks" for ::1 at 2019-04-15 10:18:53 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 43ms (Views: 40.1ms | ActiveRecord: 0.3ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:18:53 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks" for ::1 at 2019-04-15 10:19:08 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 32ms (Views: 28.9ms | ActiveRecord: 0.3ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:19:08 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/new" for ::1 at 2019-04-15 10:19:12 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.7ms) + Rendered tasks/new.html.erb within layouts/application (6.4ms) +Completed 200 OK in 41ms (Views: 32.8ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for ::1 at 2019-04-15 10:19:13 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"6CZvHBFBl9+cFlEkMw3QaWwAGQH27vl6qzwmmuFldp1x8jDpq9xcyC8pdNF4wSRw62qTTvAmRwWZrNEv/LRA4Q==", "task"=>{"name"=>"Default Name", "description"=>""}, "commit"=>"Add Task"} +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:25 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Default Name"], ["description", ""], ["created_at", "2019-04-15 17:19:13.282095"], ["updated_at", "2019-04-15 17:19:13.282095"]] + ↳ app/controllers/tasks_controller.rb:25 +  (2.3ms) COMMIT + ↳ app/controllers/tasks_controller.rb:25 +Redirected to http://localhost:3000/tasks/5 +Completed 302 Found in 8ms (ActiveRecord: 2.9ms) + + +Started GET "/tasks/5" for ::1 at 2019-04-15 10:19:13 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"5"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 23ms (Views: 19.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-15 10:19:14 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (4.5ms) +Completed 200 OK in 36ms (Views: 31.7ms | ActiveRecord: 1.1ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:19:14 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/new" for ::1 at 2019-04-15 10:19:17 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (1.5ms) + Rendered tasks/new.html.erb within layouts/application (4.5ms) +Completed 200 OK in 44ms (Views: 41.6ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for ::1 at 2019-04-15 10:19:18 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"mQS6oF5DJtZBfbOWirK25d0BHlU1B/Mg9Ku19qqLr50A0OVV5N7twfJClmPBfkL8WmuUGjPPTV/GO0JDt1qZ4Q==", "task"=>{"name"=>"Default Name", "description"=>""}, "commit"=>"Add Task"} +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:25 + Task Create (0.4ms) INSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Default Name"], ["description", ""], ["created_at", "2019-04-15 17:19:18.819756"], ["updated_at", "2019-04-15 17:19:18.819756"]] + ↳ app/controllers/tasks_controller.rb:25 +  (0.6ms) COMMIT + ↳ app/controllers/tasks_controller.rb:25 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 5ms (ActiveRecord: 1.3ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-15 10:19:18 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 22ms (Views: 19.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/6/edit" for ::1 at 2019-04-15 10:19:19 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"6"} + Task Load (2.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:35 + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (1.7ms) + Rendered tasks/edit.html.erb within layouts/application (4.3ms) +Completed 200 OK in 30ms (Views: 23.5ms | ActiveRecord: 2.3ms) + + +Started PATCH "/tasks/6" for ::1 at 2019-04-15 10:19:21 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"I3RB2KyZTckLen8cEF+bI5Gv/p2Ogcv8Uc/lEFi+ulQ4D8FZzUUW2D3zD2xuOwXoN+JaNbwAECB+QyxPchNqqA==", "task"=>{"name"=>"Default Name", "description"=>""}, "commit"=>"Edit Task", "id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:43 +  (0.3ms) BEGIN + ↳ app/controllers/tasks_controller.rb:48 +  (0.2ms) COMMIT + ↳ app/controllers/tasks_controller.rb:48 +Redirected to http://localhost:3000/tasks/6 +Completed 302 Found in 5ms (ActiveRecord: 0.6ms) + + +Started GET "/tasks/6" for ::1 at 2019-04-15 10:19:21 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:12 + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 21ms (Views: 17.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-15 10:19:22 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 36ms (Views: 32.7ms | ActiveRecord: 0.3ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:19:22 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks" for ::1 at 2019-04-15 10:19:35 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 30ms (Views: 27.2ms | ActiveRecord: 0.3ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:19:35 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/2/verify" for ::1 at 2019-04-15 10:19:39 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:88 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (1.3ms) +Completed 200 OK in 36ms (Views: 28.8ms | ActiveRecord: 0.3ms) + + +Started DELETE "/tasks/2" for ::1 at 2019-04-15 10:19:43 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"S+34drM/gUajc05jqp3a3A5ARxnW3h5BaDu985DS1M65AtDMpieriOtHXC2H/fvBxrcl0ESJR4wx0gKN1WUluw==", "id"=>"2"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:77 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:82 + Task Destroy (0.4ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 2]] + ↳ app/controllers/tasks_controller.rb:82 +  (0.8ms) COMMIT + ↳ app/controllers/tasks_controller.rb:82 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 1.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-15 10:19:43 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (8.3ms) +Completed 200 OK in 28ms (Views: 25.5ms | ActiveRecord: 0.3ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:19:43 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/6/verify" for ::1 at 2019-04-15 10:19:45 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"6"} + Task Load (2.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:88 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (2.3ms) +Completed 200 OK in 43ms (Views: 36.3ms | ActiveRecord: 2.5ms) + + +Started DELETE "/tasks/6" for ::1 at 2019-04-15 10:19:46 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"Dn6F+0epccNPqKMo5Q8X5+dJC8Yt0V4hAmv6bQRW9GH8ka1BUrFbDQecsWbIbzb6L75pD7+GB+xbgkUTQeEFFA==", "id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:77 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:82 + Task Destroy (0.4ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 6]] + ↳ app/controllers/tasks_controller.rb:82 +  (0.5ms) COMMIT + ↳ app/controllers/tasks_controller.rb:82 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 1.2ms) + + +Started GET "/tasks" for ::1 at 2019-04-15 10:19:46 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 23ms (Views: 21.0ms | ActiveRecord: 0.4ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:19:46 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/4/verify" for ::1 at 2019-04-15 10:19:48 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"4"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:88 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (1.2ms) +Completed 200 OK in 39ms (Views: 33.4ms | ActiveRecord: 0.2ms) + + +Started DELETE "/tasks/4" for ::1 at 2019-04-15 10:19:49 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"uz0m0LV/+JAxLEyR/CcNEz7QpSPkktV/Q+TCQaSLGX9J0g5qoGfSXnkYXt/RRywO9ifH6nbFjLIaDX0/4TzoCg==", "id"=>"4"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:77 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:82 + Task Destroy (0.5ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 4]] + ↳ app/controllers/tasks_controller.rb:82 +  (0.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:82 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 1.7ms) + + +Started GET "/tasks" for ::1 at 2019-04-15 10:19:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 22ms (Views: 18.8ms | ActiveRecord: 0.9ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:19:49 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/5/verify" for ::1 at 2019-04-15 10:19:51 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"5"} + Task Load (4.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:88 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (0.7ms) +Completed 200 OK in 42ms (Views: 32.6ms | ActiveRecord: 4.3ms) + + +Started DELETE "/tasks/5" for ::1 at 2019-04-15 10:19:53 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"jXjFKbkobAdK5t3SJy5tIvoIbsNTcaOCVplL6a/XhrB/l+2TrDBGyQLSz5wKTkw/Mv8MCsEm+k8PcPSX6mB3xQ==", "id"=>"5"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:77 +  (0.1ms) BEGIN + ↳ app/controllers/tasks_controller.rb:82 + Task Destroy (0.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 5]] + ↳ app/controllers/tasks_controller.rb:82 +  (1.7ms) COMMIT + ↳ app/controllers/tasks_controller.rb:82 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.6ms) + + +Started GET "/tasks" for ::1 at 2019-04-15 10:19:53 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 22ms (Views: 19.9ms | ActiveRecord: 0.3ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:19:53 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/tasks/3/verify" for ::1 at 2019-04-15 10:19:54 -0700 +Processing by TasksController#verify as HTML + Parameters: {"id"=>"3"} + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:88 + Rendering tasks/verify.html.erb within layouts/application + Rendered tasks/verify.html.erb within layouts/application (1.0ms) +Completed 200 OK in 36ms (Views: 30.6ms | ActiveRecord: 1.1ms) + + +Started DELETE "/tasks/3" for ::1 at 2019-04-15 10:19:55 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"dXPnz2h/Vy/S7m7AQukheRJg8XmC6HHTezxjBNZmrO2HnM91fWd94ZrafI5viQBk2peTsBC/KB4i1dx6k9FdmA==", "id"=>"3"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/tasks_controller.rb:77 +  (0.2ms) BEGIN + ↳ app/controllers/tasks_controller.rb:82 + Task Destroy (0.5ms) DELETE FROM "tasks" WHERE "tasks"."id" = $1 [["id", 3]] + ↳ app/controllers/tasks_controller.rb:82 +  (0.4ms) COMMIT + ↳ app/controllers/tasks_controller.rb:82 +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 1.4ms) + + +Started GET "/tasks" for ::1 at 2019-04-15 10:19:55 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."created_at" ASC + ↳ app/views/tasks/index.html.erb:11 + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 20ms (Views: 18.0ms | ActiveRecord: 0.3ms) + + +Started GET "/stylesheets/index.css" for ::1 at 2019-04-15 10:19:55 -0700 + +ActionController::RoutingError (No route matches [GET] "/stylesheets/index.css"): + +actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' +web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' +web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged' +railties (5.2.3) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/method_override.rb:22:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +railties (5.2.3) lib/rails/engine.rb:524:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' From b91e1d4e04881c7e89708098be046e94cedc0bc4 Mon Sep 17 00:00:00 2001 From: Jillianne Ramirez Date: Thu, 18 Apr 2019 09:50:34 -0700 Subject: [PATCH 21/23] toggle complete updated --- app/controllers/tasks_controller.rb | 2 +- app/views/tasks/index.html.erb | 2 +- config/routes.rb | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb index c01df45cf..79c99218f 100644 --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -70,7 +70,7 @@ def toggle_complete task.completion_date = Time.now.strftime("%F %T") task.update(completed_at: task.completed_at) redirect_to tasks_path - end + end end def destroy diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb index d459d6ea9..9c1bf45d4 100644 --- a/app/views/tasks/index.html.erb +++ b/app/views/tasks/index.html.erb @@ -21,7 +21,7 @@ <%= task.completed_at %> <% end %>
- <%= link_to "Change Status", toggle_complete_path(task.id) %> + <%= button_to "Change Status", toggle_complete_path(task.id), method: :patch %> <%= link_to "Show", task_path(task.id) %> <%= link_to "Delete", verify_path(task.id) %>
diff --git a/config/routes.rb b/config/routes.rb index abc2acbaa..f7ba91287 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -3,8 +3,7 @@ resources :tasks - get '/tasks/:id/toggle_complete', to: 'tasks#toggle_complete', as: 'toggle_complete' - patch '/tasks/:id/toggle_complete', to: 'tasks#toggle_complete' + patch '/tasks/:id/toggle_complete', to: 'tasks#toggle_complete', as: 'toggle_complete' get '/tasks/:id/verify', to: 'tasks#verify', as: 'verify' end From dbee816bdaa8a97bbbc4a40b270adf9e1f71ea31 Mon Sep 17 00:00:00 2001 From: Jillianne Ramirez Date: Thu, 18 Apr 2019 10:04:41 -0700 Subject: [PATCH 22/23] removed css --- app/assets/stylesheets/index.css | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/index.css b/app/assets/stylesheets/index.css index 7f91612dc..ec4807b34 100644 --- a/app/assets/stylesheets/index.css +++ b/app/assets/stylesheets/index.css @@ -1,4 +1,4 @@ -@import url('https://fonts.googleapis.com/css?family=Lato'); +/* @import url('https://fonts.googleapis.com/css?family=Lato'); * { font-family: 'Lato', sans-serif; @@ -15,8 +15,7 @@ body { header { grid-row: 1 / 3; background-image: url("tasklist.jpg"); - /* https://www.istockphoto.com/photo/top-view-of-smart-phone-coffee-pen-and-notepad-gm528917900-93147159 */ - background-size: contain; + background-size: contain; background-color: #484e54; color: white; text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; @@ -34,4 +33,9 @@ footer { color: #99a1b4; padding: 3px; grid-row: 3; -} \ No newline at end of file +} */ + + + + +/* https://www.istockphoto.com/photo/top-view-of-smart-phone-coffee-pen-and-notepad-gm528917900-93147159 */ From a2e07ed3cca7b484905fa3a5367b53205aaff64c Mon Sep 17 00:00:00 2001 From: Jillianne Ramirez Date: Thu, 18 Apr 2019 10:23:00 -0700 Subject: [PATCH 23/23] negligible adjustments --- app/assets/stylesheets/index.css | 4 ++-- app/controllers/tasks_controller.rb | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/index.css b/app/assets/stylesheets/index.css index ec4807b34..285233caf 100644 --- a/app/assets/stylesheets/index.css +++ b/app/assets/stylesheets/index.css @@ -1,4 +1,4 @@ -/* @import url('https://fonts.googleapis.com/css?family=Lato'); +@import url('https://fonts.googleapis.com/css?family=Lato'); * { font-family: 'Lato', sans-serif; @@ -33,7 +33,7 @@ footer { color: #99a1b4; padding: 3px; grid-row: 3; -} */ +} diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb index 79c99218f..86cdccd20 100644 --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -1,7 +1,7 @@ class TasksController < ApplicationController - TASKS = [ - {name: "Call Ma", description: "Family First", completed_at: "", completion_date: ""} - ] + # TASKS = [ + # {name: "Call Ma", description: "Family First", completed_at: "", completion_date: ""} + # ] def index @tasks = Task.all.order(:created_at)