From dd3ec10e136ced49e3ed3dcd038fab8a8fdef900 Mon Sep 17 00:00:00 2001
From: MyriamWD
Date: Thu, 11 Apr 2019 14:49:23 -0700
Subject: [PATCH 01/15] Wave 2 before running commented tests... I totally
forgot to commit changes before, Oopsgit status
---
.gitignore | 3 +
.ruby-version | 1 +
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/controllers/tasks_controller.rb | 44 +
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/models/task.rb | 2 +
app/views/layouts/application.html.erb | 15 +
app/views/layouts/mailer.html.erb | 13 +
app/views/layouts/mailer.text.erb | 1 +
app/views/tasks/index.html.erb | 13 +
app/views/tasks/new.html.erb | 15 +
app/views/tasks/show.html.erb | 8 +
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 | 11 +
config/spring.rb | 6 +
config/storage.yml | 34 +
db/migrate/20190409222814_create_tasks.rb | 8 +
...20190410040436_create_columns_for_tasks.rb | 9 +
db/schema.rb | 29 +
db/seeds.rb | 7 +
lib/assets/.keep | 0
lib/tasks/.keep | 0
log/.keep | 0
log/development.log | 1769 +++++++++++++++++
log/test.log | 780 ++++++++
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/fixtures/tasks.yml | 11 +
test/helpers/.keep | 0
test/integration/.keep | 0
test/mailers/.keep | 0
test/models/.keep | 0
test/models/task_test.rb | 9 +
test/system/.keep | 0
test/test_helper.rb | 26 +
vendor/.keep | 0
91 files changed, 4081 insertions(+)
create mode 100644 .ruby-version
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/controllers/tasks_controller.rb
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/models/task.rb
create mode 100644 app/views/layouts/application.html.erb
create mode 100644 app/views/layouts/mailer.html.erb
create mode 100644 app/views/layouts/mailer.text.erb
create mode 100644 app/views/tasks/index.html.erb
create mode 100644 app/views/tasks/new.html.erb
create mode 100644 app/views/tasks/show.html.erb
create mode 100755 bin/bundle
create mode 100755 bin/rails
create mode 100755 bin/rake
create mode 100755 bin/setup
create mode 100755 bin/spring
create mode 100755 bin/update
create mode 100755 bin/yarn
create mode 100644 config.ru
create mode 100644 config/application.rb
create mode 100644 config/boot.rb
create mode 100644 config/cable.yml
create mode 100644 config/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/migrate/20190409222814_create_tasks.rb
create mode 100644 db/migrate/20190410040436_create_columns_for_tasks.rb
create mode 100644 db/schema.rb
create mode 100644 db/seeds.rb
create mode 100644 lib/assets/.keep
create mode 100644 lib/tasks/.keep
create mode 100644 log/.keep
create mode 100644 log/development.log
create mode 100644 log/test.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/fixtures/tasks.yml
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/models/task_test.rb
create mode 100644 test/system/.keep
create mode 100644 test/test_helper.rb
create mode 100644 vendor/.keep
diff --git a/.gitignore b/.gitignore
index 74b0d5d2c..40b6a3061 100644
--- a/.gitignore
+++ b/.gitignore
@@ -34,3 +34,6 @@ build/
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc
.DS_Store
+
+# Ignore master key for decrypting credentials and more.
+/config/master.key
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/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..bb872bace
--- /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
+ 2.0.1
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/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb
new file mode 100644
index 000000000..ddb6db8c2
--- /dev/null
+++ b/app/controllers/tasks_controller.rb
@@ -0,0 +1,44 @@
+class TasksController < ApplicationController
+
+ # create tasklist hash
+
+ TASKS = [
+ {task_name: "complete tasks project", status: "Pending", done_by: "Today"},
+ {task_name: "shower", status: "Pending", done_by: "Today"},
+ {task_name: "call moma", status: "Pending", done_by: "Today"},
+
+ ]
+
+ def index
+ @tasks = Task.all.order(:name)
+ end
+
+ def show
+ task_id = params[:id]
+ @task = Task.find_by(id: task_id)
+ if @task.nil?
+ head :not_found
+ end
+ end
+
+ def new
+ @task = Task.new(name: "Type task here...")
+ end
+
+ def create
+ task = Task.new(
+ name: params["task"]["name"],
+ description: params["task"]["description"],
+ completion_date: params["task"]["completion_date"],
+ )
+
+ is_successful = task.save
+
+ if is_successful
+ redirect_to tasks_path
+ else
+ # For Rails Week 1, not a requirement (not possible right now?) to test this case in controller tests
+ head :not_found
+ end
+ end
+end
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
new file mode 100644
index 000000000..de6be7945
--- /dev/null
+++ b/app/helpers/application_helper.rb
@@ -0,0 +1,2 @@
+module ApplicationHelper
+end
diff --git a/app/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/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/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/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb
new file mode 100644
index 000000000..38a1c5cb1
--- /dev/null
+++ b/app/views/tasks/index.html.erb
@@ -0,0 +1,13 @@
+Ada's Wonder Task (I didn't copy paste this)
+
+
+<% @tasks.each do |task| %>
+ -
+ <%= link_to task.name, task_path(task.id) %>
+
+<% end %>
+
+
+
+<%# "I am shouting!".upcase %>
+<%# @name %>
\ No newline at end of file
diff --git a/app/views/tasks/new.html.erb b/app/views/tasks/new.html.erb
new file mode 100644
index 000000000..a5c9d9390
--- /dev/null
+++ b/app/views/tasks/new.html.erb
@@ -0,0 +1,15 @@
+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 :completion_date %>
+ <%= f.text_field :completion_date %>
+
+ <%= 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..f66fe75a4
--- /dev/null
+++ b/app/views/tasks/show.html.erb
@@ -0,0 +1,8 @@
+
+ <%= @task.name%>
+
+
+
+ <%= @task.description%>
+
<%= @task.completion_date%>
+
\ No newline at end of file
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..b01cab165
--- /dev/null
+++ b/config/credentials.yml.enc
@@ -0,0 +1 @@
+6s7zvaiYJSHF8kzq+5sNvJHa4akoi/4RvTRdcyrdlblFBbSlCY+seHVSCxi5aQrUGAGeHeuJT2AoM//tL0Bp70wi4stZUg9b+6u3EUBTMaYrmQ4EtsECvlpLvdznfjT0TJOYl9EDHYgfVldWiEWv3OI7U8vtzSKZ3w7FSXZyQ5SfIChjG3q7kN8Uh+HU9ruN09TEDz5Udguz6JT1xjLyoHiK7/ruzB2FHTPdGO/NtVQq99/AASw3ejVH7wFMwVzySGfTSEJzkyHZH9TwSBO2RsZ676tmuaK3Gqw7ldgc9SzPIOA98yDRNXtaHrib6f73flYF2pMnLNLZmlaenKa9WwRXchJYlzY/rqzjDellBYb7N80RzPsYT7sLbSxCaa9HsRVqCfhy5PzxDMr/F72DNviRxNl65S7NueuN--XP/M+vCOjMNMeC8f--OcrOIjlt6Rby9DVcMnFefg==
\ 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..d88b7bb60
--- /dev/null
+++ b/config/routes.rb
@@ -0,0 +1,11 @@
+Rails.application.routes.draw do
+ # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
+ get "/tasks", to: "tasks#index", as: "tasks"
+
+ get "/tasks/new", to: "tasks#new", as: "new_task"
+ post "/tasks", to: "tasks#create"
+
+ get "/tasks/:id", to: "tasks#show", as: "task"
+
+ root to: "tasks#index", as: "root"
+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/migrate/20190409222814_create_tasks.rb b/db/migrate/20190409222814_create_tasks.rb
new file mode 100644
index 000000000..72130bd05
--- /dev/null
+++ b/db/migrate/20190409222814_create_tasks.rb
@@ -0,0 +1,8 @@
+class CreateTasks < ActiveRecord::Migration[5.2]
+ def change
+ create_table :tasks do |t|
+
+ t.timestamps
+ end
+ end
+end
diff --git a/db/migrate/20190410040436_create_columns_for_tasks.rb b/db/migrate/20190410040436_create_columns_for_tasks.rb
new file mode 100644
index 000000000..16cda3aa8
--- /dev/null
+++ b/db/migrate/20190410040436_create_columns_for_tasks.rb
@@ -0,0 +1,9 @@
+class CreateColumnsForTasks < ActiveRecord::Migration[5.2]
+ def change
+ create_table :columns_for_tasks do |t|
+ end #What is this????
+ add_column :tasks, :name, :string
+ add_column :tasks, :description, :string
+ add_column :tasks, :completion_date, :string
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
new file mode 100644
index 000000000..166a51ead
--- /dev/null
+++ b/db/schema.rb
@@ -0,0 +1,29 @@
+# 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_040436) do
+
+ # These are extensions that must be enabled in order to support this database
+ enable_extension "plpgsql"
+
+ create_table "columns_for_tasks", force: :cascade do |t|
+ end
+
+ create_table "tasks", force: :cascade do |t|
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.string "name"
+ t.string "description"
+ t.string "completion_date"
+ end
+
+end
diff --git a/db/seeds.rb b/db/seeds.rb
new file mode 100644
index 000000000..1beea2acc
--- /dev/null
+++ b/db/seeds.rb
@@ -0,0 +1,7 @@
+# This file should contain all the record creation needed to seed the database with its default values.
+# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
+#
+# Examples:
+#
+# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
+# Character.create(name: 'Luke', movie: movies.first)
diff --git a/lib/assets/.keep b/lib/assets/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/lib/tasks/.keep b/lib/tasks/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/log/.keep b/log/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/log/development.log b/log/development.log
new file mode 100644
index 000000000..2fc30faf7
--- /dev/null
+++ b/log/development.log
@@ -0,0 +1,1769 @@
+Started GET "/books" for ::1 at 2019-04-08 14:29:34 -0700
+
+PG::ConnectionBad - FATAL: database "TaskList_development" does not exist
+:
+
+Started POST "/__better_errors/5e332aa17d74cbab/variables" for ::1 at 2019-04-08 14:29:34 -0700
+Started GET "/tasks" for ::1 at 2019-04-08 14:29:41 -0700
+
+PG::ConnectionBad - FATAL: database "TaskList_development" does not exist
+:
+
+Started POST "/__better_errors/ee8becb52d873262/variables" for ::1 at 2019-04-08 14:29:41 -0700
+ [1m[35m (378.1ms)[0m [1m[35mCREATE DATABASE "TaskList_development" ENCODING = 'unicode'[0m
+ ↳ bin/rails:9
+ [1m[35m (400.3ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ ↳ bin/rails:9
+Started GET "/tasks" for ::1 at 2019-04-08 14:30:15 -0700
+
+ActionController::RoutingError (No route matches [GET] "/tasks"):
+
+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-08 14:35:18 -0700
+
+ActionController::RoutingError (No route matches [GET] "/tasks"):
+
+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-08 14:38:15 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (183.1ms)
+Completed 500 Internal Server Error in 193ms (ActiveRecord: 0.0ms)
+
+
+
+NameError - undefined local variable or method `book' for #<#:0x00007f9078092c88>:
+ app/views/tasks/index.html.erb:6:in `block in _app_views_tasks_index_html_erb___816189619554634701_70129232957880'
+ app/views/tasks/index.html.erb:4:in `_app_views_tasks_index_html_erb___816189619554634701_70129232957880'
+
+Started POST "/__better_errors/fc32481f28623853/variables" for ::1 at 2019-04-08 14:38:16 -0700
+Started GET "/tasks" for ::1 at 2019-04-08 14:38:42 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (301.8ms)
+Completed 500 Internal Server Error in 312ms (ActiveRecord: 0.0ms)
+
+
+
+NameError - undefined local variable or method `book' for #<#:0x00007f90780e90d8>:
+ app/views/tasks/index.html.erb:6:in `block in _app_views_tasks_index_html_erb___816189619554634701_70129233210200'
+ app/views/tasks/index.html.erb:4:in `_app_views_tasks_index_html_erb___816189619554634701_70129233210200'
+
+Started POST "/__better_errors/9998506d03190ed8/variables" for ::1 at 2019-04-08 14:38:42 -0700
+Started GET "/tasks" for ::1 at 2019-04-08 14:39:00 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (320.0ms)
+Completed 500 Internal Server Error in 329ms (ActiveRecord: 0.0ms)
+
+
+
+NameError - undefined local variable or method `book' for #<#:0x00007f90716cfc38>:
+ app/views/tasks/index.html.erb:6:in `block in _app_views_tasks_index_html_erb___816189619554634701_70129177509260'
+ app/views/tasks/index.html.erb:4:in `_app_views_tasks_index_html_erb___816189619554634701_70129177509260'
+
+Started POST "/__better_errors/74613b0e7e7aec09/variables" for ::1 at 2019-04-08 14:39:01 -0700
+Started GET "/tasks" for ::1 at 2019-04-08 14:39:13 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 241ms (Views: 238.3ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-08 14:44:26 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 18ms (Views: 15.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/books" for ::1 at 2019-04-08 15:10:46 -0700
+
+ActionController::RoutingError (No route matches [GET] "/books"):
+
+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" for ::1 at 2019-04-08 15:10:58 -0700
+
+ActionController::RoutingError (No route matches [GET] "/books"):
+
+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" for ::1 at 2019-04-08 15:11:08 -0700
+
+ActionController::RoutingError (No route matches [GET] "/books"):
+
+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" for ::1 at 2019-04-08 15:12:25 -0700
+
+ActionController::RoutingError (No route matches [GET] "/books"):
+
+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" for ::1 at 2019-04-09 14:50:28 -0700
+
+ActionController::RoutingError (No route matches [GET] "/books"):
+
+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-09 14:50: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.4ms)
+Completed 200 OK in 167ms (Views: 164.3ms | ActiveRecord: 0.0ms)
+
+
+ [1m[35m (27.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
+ ↳ bin/rails:9
+ [1m[35m (5.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Migrating to CreateTasks (20190409222814)
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (6.5ms)[0m [1m[35mCREATE TABLE "tasks" ("id" bigserial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ ↳ db/migrate/20190409222814_create_tasks.rb:3
+ [1m[36mActiveRecord::SchemaMigration Create (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190409222814"]]
+ ↳ bin/rails:9
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2019-04-09 22:29:52.489805"], ["updated_at", "2019-04-09 22:29:52.489805"]]
+ ↳ bin/rails:9
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Started GET "/tasks" for ::1 at 2019-04-09 15:41:14 -0700
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/myriamwalden-duarte/.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
+ Rendered tasks/index.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 22ms (Views: 19.8ms | ActiveRecord: 0.0ms)
+
+
+ [1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Started GET "/books" for ::1 at 2019-04-09 15:53:18 -0700
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/myriamwalden-duarte/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+
+ActionController::RoutingError (No route matches [GET] "/books"):
+
+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-09 15:53:23 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 16ms (Views: 14.2ms | ActiveRecord: 0.0ms)
+
+
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (0.4ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Migrating to CreateColumnsForTasks (20190410040436)
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (7.8ms)[0m [1m[35mCREATE TABLE "columns_for_tasks" ("id" bigserial primary key)[0m
+ ↳ db/migrate/20190410040436_create_columns_for_tasks.rb:3
+ [1m[35m (1.1ms)[0m [1m[35mALTER TABLE "tasks" ADD "name" character varying[0m
+ ↳ db/migrate/20190410040436_create_columns_for_tasks.rb:5
+ [1m[35m (0.5ms)[0m [1m[35mALTER TABLE "tasks" ADD "description" character varying[0m
+ ↳ db/migrate/20190410040436_create_columns_for_tasks.rb:6
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" ADD "completion_date" character varying[0m
+ ↳ db/migrate/20190410040436_create_columns_for_tasks.rb:7
+ [1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190410040436"]]
+ ↳ bin/rails:9
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Started GET "/books" for ::1 at 2019-04-10 16:42:25 -0700
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/myriamwalden-duarte/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+
+ActionController::RoutingError (No route matches [GET] "/books"):
+
+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-10 16:42:30 -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 256ms (Views: 252.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-10 16:42:35 -0700
+
+ActionController::RoutingError (No route matches [GET] "/tasks/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 "/tasks" for ::1 at 2019-04-10 16:42: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.7ms)
+Completed 200 OK in 31ms (Views: 26.9ms | ActiveRecord: 0.0ms)
+
+
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Create (2.8ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-10 23:45:10.445686"], ["updated_at", "2019-04-10 23:45:10.445686"], ["name", "Brush Hair"], ["description", "Take a comb and move it around your hair... Don't worry you'll figure it out!"], ["completion_date", "2019-04-10 16:45:03 -0700"]]
+ [1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-10 23:47:27.137643"], ["updated_at", "2019-04-10 23:47:27.137643"], ["name", "Drink coffee"], ["description", "Go to the kitchen and make yourself some coffee, then put it in a cup and drink it"], ["completion_date", "2019-04-10 16:47:20 -0700"]]
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1[0m [["name", "Brush Hair"]]
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[36mTask Load (2.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks" for ::1 at 2019-04-10 21:56: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.1ms)
+Completed 200 OK in 34ms (Views: 28.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 22:00:27 -0700
+Processing by TasksController#index as HTML
+Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)
+
+
+
+NameError - uninitialized constant TasksController::Book:
+ app/controllers/tasks_controller.rb:13:in `index'
+
+Started POST "/__better_errors/0b5d849f7736eb02/variables" for ::1 at 2019-04-10 22:00:27 -0700
+Started GET "/tasks" for ::1 at 2019-04-10 22:07:36 -0700
+Processing by TasksController#index as HTML
+Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)
+
+
+
+NameError - uninitialized constant TasksController::Book:
+ app/controllers/tasks_controller.rb:13:in `index'
+
+Started POST "/__better_errors/ef10b1f288693d5e/variables" for ::1 at 2019-04-10 22:07:36 -0700
+Started GET "/tasks" for ::1 at 2019-04-10 22:09:26 -0700
+Processing by TasksController#index as HTML
+Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
+
+
+
+NameError - uninitialized constant TasksController::Book:
+ app/controllers/tasks_controller.rb:13:in `index'
+
+Started POST "/__better_errors/fe7ec855b06cd069/variables" for ::1 at 2019-04-10 22:09:26 -0700
+Started POST "/__better_errors/fe7ec855b06cd069/eval" for ::1 at 2019-04-10 22:09:35 -0700
+Started POST "/__better_errors/fe7ec855b06cd069/eval" for ::1 at 2019-04-10 22:09:41 -0700
+Started GET "/tasks" for ::1 at 2019-04-10 22:11:40 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (9.8ms)
+Completed 200 OK in 32ms (Views: 21.3ms | ActiveRecord: 6.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 22:11:42 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 20ms (Views: 17.0ms | ActiveRecord: 0.3ms)
+
+
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks" for ::1 at 2019-04-10 22:13:19 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 18ms (Views: 15.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 22:14:52 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (8.7ms)
+Completed 200 OK in 36ms (Views: 27.8ms | ActiveRecord: 2.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 22:14:53 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 24ms (Views: 21.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 22:17:03 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 25ms (Views: 22.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 22:17:32 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 33ms (Views: 30.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 22:17:33 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 22ms (Views: 18.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 22:17:35 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 22ms (Views: 18.5ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 22:17:36 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 23ms (Views: 20.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 22:50:15 -0700
+
+SyntaxError - syntax error, unexpected tIDENTIFIER, expecting ')'
+...task = Task.find_by(:id task_id)
+... ^~~~~~~:
+ app/controllers/tasks_controller.rb:18:in `'
+
+Started POST "/__better_errors/14265a242dcf9f1f/variables" for ::1 at 2019-04-10 22:50:15 -0700
+Started GET "/tasks" for ::1 at 2019-04-10 22:50:34 -0700
+
+SyntaxError - syntax error, unexpected tIDENTIFIER, expecting ')'
+...task = Task.find_by(:id task_id)
+... ^~~~~~~:
+ app/controllers/tasks_controller.rb:18:in `'
+
+Started POST "/__better_errors/a5a9b2f56573a280/variables" for ::1 at 2019-04-10 22:50:34 -0700
+Started GET "/tasks/1" for ::1 at 2019-04-10 22:53:41 -0700
+
+SyntaxError - syntax error, unexpected tIDENTIFIER, expecting ')'
+...task = Task.find_by(:id task_id)
+... ^~~~~~~:
+ app/controllers/tasks_controller.rb:18:in `'
+
+Started POST "/__better_errors/5ddfbba08498fc20/variables" for ::1 at 2019-04-10 22:53:41 -0700
+Started GET "/tasks/1" for ::1 at 2019-04-10 22:53:53 -0700
+
+SyntaxError - syntax error, unexpected tIDENTIFIER, expecting ')'
+...task = Task.find_by(:id task_id)
+... ^~~~~~~:
+ app/controllers/tasks_controller.rb:18:in `'
+
+Started POST "/__better_errors/93ca54052e1fd37d/variables" for ::1 at 2019-04-10 22:53:53 -0700
+Started GET "/tasks/" for ::1 at 2019-04-10 22:53:56 -0700
+
+SyntaxError - syntax error, unexpected tIDENTIFIER, expecting ')'
+...task = Task.find_by(:id task_id)
+... ^~~~~~~:
+ app/controllers/tasks_controller.rb:18:in `'
+
+Started POST "/__better_errors/00c383214ce687d8/variables" for ::1 at 2019-04-10 22:53:56 -0700
+Started GET "/tasks" for ::1 at 2019-04-10 22:53:59 -0700
+
+SyntaxError - syntax error, unexpected tIDENTIFIER, expecting ')'
+...task = Task.find_by(:id task_id)
+... ^~~~~~~:
+ app/controllers/tasks_controller.rb:18:in `'
+
+Started GET "/" for ::1 at 2019-04-10 22:54:00 -0700
+
+SyntaxError - syntax error, unexpected tIDENTIFIER, expecting ')'
+...task = Task.find_by(:id task_id)
+... ^~~~~~~:
+ app/controllers/tasks_controller.rb:18:in `'
+
+Started POST "/__better_errors/17ea8bc85f6d64ba/variables" for ::1 at 2019-04-10 22:54:00 -0700
+Started GET "/" for ::1 at 2019-04-10 22:54:03 -0700
+
+SyntaxError - syntax error, unexpected tIDENTIFIER, expecting ')'
+...task = Task.find_by(:id task_id)
+... ^~~~~~~:
+ app/controllers/tasks_controller.rb:18:in `'
+
+Started POST "/__better_errors/bd83ee5a9802f4d1/variables" for ::1 at 2019-04-10 22:54:03 -0700
+Started GET "/" for ::1 at 2019-04-10 22:54:06 -0700
+
+SyntaxError - syntax error, unexpected tIDENTIFIER, expecting ')'
+...task = Task.find_by(:id task_id)
+... ^~~~~~~:
+ app/controllers/tasks_controller.rb:18:in `'
+
+Started POST "/__better_errors/59e395e5fb013c49/variables" for ::1 at 2019-04-10 22:54:06 -0700
+Started POST "/__better_errors/9badea825727da7c/variables" for ::1 at 2019-04-10 22:54:11 -0700
+Started GET "/tasks" for ::1 at 2019-04-10 22:54:35 -0700
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/myriamwalden-duarte/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+
+SyntaxError - syntax error, unexpected tIDENTIFIER, expecting ')'
+...task = Task.find_by(:id task_id)
+... ^~~~~~~:
+ app/controllers/tasks_controller.rb:18:in `'
+
+Started POST "/__better_errors/bac579c779c1c8cc/variables" for ::1 at 2019-04-10 22:54:36 -0700
+Started GET "/tasks" for ::1 at 2019-04-10 22:56:03 -0700
+
+SyntaxError - syntax error, unexpected tIDENTIFIER, expecting ')'
+...task = Task.find_by(:id task_id)
+... ^~~~~~~:
+ app/controllers/tasks_controller.rb:18:in `'
+
+Started POST "/__better_errors/2698c449558ae093/variables" for ::1 at 2019-04-10 22:56:03 -0700
+Started GET "/tasks" for ::1 at 2019-04-10 22:56:13 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (11.2ms)
+Completed 200 OK in 180ms (Views: 166.0ms | ActiveRecord: 4.1ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 22:56:14 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 22ms (Views: 19.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 22:56:16 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 23ms (Views: 19.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-10 22:56:19 -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 (5.0ms)
+Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.0ms)
+
+
+
+NoMethodError - undefined method `name' for nil:NilClass:
+ app/views/tasks/show.html.erb:2:in `_app_views_tasks_show_html_erb__2678838935040513108_70137172135900'
+
+Started POST "/__better_errors/424727a1aa71e7fd/variables" for ::1 at 2019-04-10 22:56:19 -0700
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Started GET "/tasks/1" for ::1 at 2019-04-10 22:59:31 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ Rendering tasks/show.html.erb within layouts/application
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ Rendered tasks/show.html.erb within layouts/application (19.1ms)
+Completed 500 Internal Server Error in 30ms (ActiveRecord: 3.4ms)
+
+
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+
+NoMethodError - undefined method `description' for #:
+ app/views/tasks/show.html.erb:6:in `_app_views_tasks_show_html_erb__2678838935040513108_70137237624820'
+
+Started POST "/__better_errors/a848a3c69673cffb/variables" for ::1 at 2019-04-10 22:59:31 -0700
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+Started GET "/tasks/1" for ::1 at 2019-04-10 22:59:33 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ Rendering tasks/show.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ Rendered tasks/show.html.erb within layouts/application (8.4ms)
+Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.3ms)
+
+
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+
+NoMethodError - undefined method `description' for #:
+ app/views/tasks/show.html.erb:6:in `_app_views_tasks_show_html_erb__2678838935040513108_70137263005740'
+
+Started POST "/__better_errors/57b7929301e92e9a/variables" for ::1 at 2019-04-10 22:59:33 -0700
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.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-10 22:59:40 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 22ms (Views: 19.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 22:59:42 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 22ms (Views: 18.8ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 22:59:43 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 22ms (Views: 18.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 22:59:45 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 21ms (Views: 17.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-10 22:59:48 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ Rendering tasks/show.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ Rendered tasks/show.html.erb within layouts/application (7.9ms)
+Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.2ms)
+
+
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+
+NoMethodError - undefined method `description' for #:
+ app/views/tasks/show.html.erb:6:in `_app_views_tasks_show_html_erb__2678838935040513108_70137239104500'
+
+Started POST "/__better_errors/3428f29c7b647e82/variables" for ::1 at 2019-04-10 22:59:48 -0700
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+Started GET "/tasks/1" for ::1 at 2019-04-10 23:00:08 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ Rendering tasks/show.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ Rendered tasks/show.html.erb within layouts/application (9.1ms)
+Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.3ms)
+
+
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+
+NoMethodError - undefined method `description' for #:
+ app/views/tasks/show.html.erb:6:in `_app_views_tasks_show_html_erb__2678838935040513108_70137238674020'
+
+Started POST "/__better_errors/08d1a1936a1f2a59/variables" for ::1 at 2019-04-10 23:00:08 -0700
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.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-10 23:00:14 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 20ms (Views: 17.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 23:00:17 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 21ms (Views: 17.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 23:00:18 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 21ms (Views: 18.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 23:00:40 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 20ms (Views: 17.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-10 23:00:42 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 19ms (Views: 16.2ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-10 23:04:12 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 23ms (Views: 19.6ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-10 23:04:13 -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.4ms)
+Completed 200 OK in 21ms (Views: 18.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 23:04:20 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (9.0ms)
+Completed 200 OK in 34ms (Views: 27.1ms | ActiveRecord: 3.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 23:04:22 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 26ms (Views: 22.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-10 23:04:26 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 22ms (Views: 19.2ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-10 23:04:32 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 32ms (Views: 29.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-10 23:10:25 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 19ms (Views: 15.6ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 23:10:31 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (9.8ms)
+Completed 200 OK in 33ms (Views: 22.9ms | ActiveRecord: 6.7ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-10 23:10:32 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 21ms (Views: 17.6ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-10 23:10:37 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 21ms (Views: 17.9ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 23:12:35 -0700
+
+SyntaxError - syntax error, unexpected tIDENTIFIER, expecting ')'
+...task = Task.find_by(:id task_id)
+... ^~~~~~~:
+ app/controllers/tasks_controller.rb:18:in `'
+
+Started POST "/__better_errors/937e1cb5538b07b1/variables" for ::1 at 2019-04-10 23:12:35 -0700
+Started GET "/tasks" for ::1 at 2019-04-10 23:13:08 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (7.0ms)
+Completed 200 OK in 29ms (Views: 21.5ms | ActiveRecord: 2.7ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-10 23:13:10 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 31ms (Views: 24.5ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-10 23:14:45 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 21ms (Views: 17.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-10 23:14:47 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 21ms (Views: 17.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 23:15:08 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 22ms (Views: 19.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-10 23:15:10 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 22ms (Views: 17.7ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-10 23:15:16 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 21ms (Views: 18.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/3" for ::1 at 2019-04-10 23:16:53 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+Completed 404 Not Found in 4ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 23:23:29 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (8.1ms)
+Completed 200 OK in 31ms (Views: 20.4ms | ActiveRecord: 6.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 23:24:28 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.0ms)
+Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected '=', expecting ')'
+... f.text_fiel :completion_date = Time.now );@output_buffer.sa...
+... ^
+/Users/myriamwalden-duarte/Documents/Ada/April/2week/Homework/TaskList/app/views/tasks/new.html.erb:15: syntax error, unexpected keyword_end
+...eze;@output_buffer.append=( end );
+... ^~~
+/Users/myriamwalden-duarte/Documents/Ada/April/2week/Homework/TaskList/app/views/tasks/new.html.erb:17: syntax error, unexpected keyword_ensure, expecting ')'
+ ensure
+ ^~~~~~
+/Users/myriamwalden-duarte/Documents/Ada/April/2week/Homework/TaskList/app/views/tasks/new.html.erb:19: syntax error, unexpected keyword_end, expecting ')'
+ end
+ ^~~:
+ app/views/tasks/new.html.erb:11:in `'
+
+Started POST "/__better_errors/120aee2f8b066081/variables" for ::1 at 2019-04-10 23:24:28 -0700
+Started GET "/tasks/new" for ::1 at 2019-04-10 23:25:09 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.0ms)
+Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected keyword_end
+...eze;@output_buffer.append=( end );
+... ^~~
+/Users/myriamwalden-duarte/Documents/Ada/April/2week/Homework/TaskList/app/views/tasks/new.html.erb:17: syntax error, unexpected keyword_ensure, expecting ')'
+ ensure
+ ^~~~~~
+/Users/myriamwalden-duarte/Documents/Ada/April/2week/Homework/TaskList/app/views/tasks/new.html.erb:19: syntax error, unexpected keyword_end, expecting ')'
+ end
+ ^~~:
+ app/views/tasks/new.html.erb:15:in `'
+
+Started POST "/__better_errors/df26c7f8e38d3bda/variables" for ::1 at 2019-04-10 23:25:09 -0700
+Started GET "/tasks/new" for ::1 at 2019-04-10 23:25:10 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.9ms)
+Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected keyword_end
+...eze;@output_buffer.append=( end );
+... ^~~
+/Users/myriamwalden-duarte/Documents/Ada/April/2week/Homework/TaskList/app/views/tasks/new.html.erb:17: syntax error, unexpected keyword_ensure, expecting ')'
+ ensure
+ ^~~~~~
+/Users/myriamwalden-duarte/Documents/Ada/April/2week/Homework/TaskList/app/views/tasks/new.html.erb:19: syntax error, unexpected keyword_end, expecting ')'
+ end
+ ^~~:
+ app/views/tasks/new.html.erb:15:in `'
+
+Started POST "/__better_errors/8a95af2086a97f43/variables" for ::1 at 2019-04-10 23:25:10 -0700
+Started GET "/tasks/new" for ::1 at 2019-04-10 23:25:11 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.1ms)
+Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected keyword_end
+...eze;@output_buffer.append=( end );
+... ^~~
+/Users/myriamwalden-duarte/Documents/Ada/April/2week/Homework/TaskList/app/views/tasks/new.html.erb:17: syntax error, unexpected keyword_ensure, expecting ')'
+ ensure
+ ^~~~~~
+/Users/myriamwalden-duarte/Documents/Ada/April/2week/Homework/TaskList/app/views/tasks/new.html.erb:19: syntax error, unexpected keyword_end, expecting ')'
+ end
+ ^~~:
+ app/views/tasks/new.html.erb:15:in `'
+
+Started POST "/__better_errors/e8821bfd01f8517f/variables" for ::1 at 2019-04-10 23:25:12 -0700
+Started GET "/tasks/new" for ::1 at 2019-04-10 23:25:15 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.0ms)
+Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected keyword_end
+...eze;@output_buffer.append=( end );
+... ^~~
+/Users/myriamwalden-duarte/Documents/Ada/April/2week/Homework/TaskList/app/views/tasks/new.html.erb:17: syntax error, unexpected keyword_ensure, expecting ')'
+ ensure
+ ^~~~~~
+/Users/myriamwalden-duarte/Documents/Ada/April/2week/Homework/TaskList/app/views/tasks/new.html.erb:19: syntax error, unexpected keyword_end, expecting ')'
+ end
+ ^~~:
+ app/views/tasks/new.html.erb:15:in `'
+
+Started POST "/__better_errors/110ca02553378d9f/variables" for ::1 at 2019-04-10 23:25:15 -0700
+Started GET "/tasks" for ::1 at 2019-04-10 23:25:22 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 21ms (Views: 17.9ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 23:25:26 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.8ms)
+Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected keyword_end
+...eze;@output_buffer.append=( end );
+... ^~~
+/Users/myriamwalden-duarte/Documents/Ada/April/2week/Homework/TaskList/app/views/tasks/new.html.erb:17: syntax error, unexpected keyword_ensure, expecting ')'
+ ensure
+ ^~~~~~
+/Users/myriamwalden-duarte/Documents/Ada/April/2week/Homework/TaskList/app/views/tasks/new.html.erb:19: syntax error, unexpected keyword_end, expecting ')'
+ end
+ ^~~:
+ app/views/tasks/new.html.erb:15:in `'
+
+Started POST "/__better_errors/a35e6b9c9b3a8b5c/variables" for ::1 at 2019-04-10 23:25:26 -0700
+Started GET "/tasks/new" for ::1 at 2019-04-10 23:25:47 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (163.3ms)
+Completed 500 Internal Server Error in 172ms (ActiveRecord: 0.0ms)
+
+
+
+NoMethodError - undefined method `text_fiel' for #
+Did you mean? text_field
+ text_area:
+ app/views/tasks/new.html.erb:7:in `block in _app_views_tasks_new_html_erb___1650793145738003971_70137165653800'
+ app/views/tasks/new.html.erb:3:in `_app_views_tasks_new_html_erb___1650793145738003971_70137165653800'
+
+Started POST "/__better_errors/13da5532c81a450c/variables" for ::1 at 2019-04-10 23:25:47 -0700
+Started GET "/tasks/new" for ::1 at 2019-04-10 23:26:00 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 23ms (Views: 20.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 23:26:02 -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 19ms (Views: 16.7ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-10 23:26:33 -0700
+
+AbstractController::ActionNotFound - The action 'create' could not be found for TasksController:
+
+Started POST "/__better_errors/74bc254734d10b99/variables" for ::1 at 2019-04-10 23:26:33 -0700
+Started GET "/tasks" for ::1 at 2019-04-10 23:29:46 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (8.4ms)
+Completed 200 OK in 33ms (Views: 24.0ms | ActiveRecord: 3.9ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 23:29:53 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 22ms (Views: 19.6ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-10 23:30:18 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"W+WOCXUzp+YATEqwz8YkeVY/KBiSl5Ht7cEGqAdHWvXkMOtklxxvuT2H1IeNGy2R8u2BSZRf/8/nH24lszUwYw==", "task"=>{"name"=>"Read ", "description"=>"Open a book", "completion_date"=>"April 20th 2019"}, "commit"=>"Save Task"}
+Completed 500 Internal Server Error in 147ms (ActiveRecord: 0.0ms)
+
+
+
+NameError - undefined local variable or method `task' for #
+Did you mean? @task:
+ app/controllers/tasks_controller.rb:35:in `create'
+
+Started POST "/__better_errors/0133313c18de366f/variables" for ::1 at 2019-04-10 23:30:19 -0700
+Started POST "/tasks" for ::1 at 2019-04-10 23:31:00 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"W+WOCXUzp+YATEqwz8YkeVY/KBiSl5Ht7cEGqAdHWvXkMOtklxxvuT2H1IeNGy2R8u2BSZRf/8/nH24lszUwYw==", "task"=>{"name"=>"Read ", "description"=>"Open a book", "completion_date"=>"April 20th 2019"}, "commit"=>"Save Task"}
+Completed 500 Internal Server Error in 186ms (ActiveRecord: 2.6ms)
+
+
+
+NameError - undefined local variable or method `task' for #
+Did you mean? @task:
+ app/controllers/tasks_controller.rb:35:in `create'
+
+Started POST "/__better_errors/bd9d9b8d649c9d67/variables" for ::1 at 2019-04-10 23:31:00 -0700
+Started GET "/tasks" for ::1 at 2019-04-10 23:31:04 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 23ms (Views: 19.5ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 23:31:09 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 22ms (Views: 19.5ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-10 23:31:21 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"q0t4k3EuUM65QaDF3UbEEFp4zbMgdstfeLD/ozEeVgsUnh3+kwGYkYSKPvKfm834/qpk4ia+pX1ybpcuhWw8nQ==", "task"=>{"name"=>"Read ", "description"=>"Open a book", "completion_date"=>"April 20th 2019"}, "commit"=>"Save Task"}
+Completed 500 Internal Server Error in 142ms (ActiveRecord: 0.0ms)
+
+
+
+NameError - undefined local variable or method `task' for #
+Did you mean? @task:
+ app/controllers/tasks_controller.rb:35:in `create'
+
+Started POST "/__better_errors/2647c9a2b7f3dc38/variables" for ::1 at 2019-04-10 23:31:21 -0700
+Started POST "/__better_errors/2647c9a2b7f3dc38/eval" for ::1 at 2019-04-10 23:31:43 -0700
+Started POST "/__better_errors/2647c9a2b7f3dc38/eval" for ::1 at 2019-04-10 23:31:53 -0700
+Started GET "/tasks" for ::1 at 2019-04-10 23:32:24 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (8.5ms)
+Completed 200 OK in 37ms (Views: 28.8ms | ActiveRecord: 3.6ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 23:32:27 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 22ms (Views: 19.2ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-10 23:32:36 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"gX7MhdiWwsRrMYNIFD3JdgIz5fmoNBd9j+DjUAphcv4+q6noOrkKm1b6HX9W4MCepuFMqK78eV+FPovdvhMYaA==", "task"=>{"name"=>"Read ", "description"=>"Open a book", "completion_date"=>"April 20th 2019"}, "commit"=>"Save Task"}
+ [1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:35
+ [1m[36mTask Create (4.4ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-11 06:32:36.535542"], ["updated_at", "2019-04-11 06:32:36.535542"], ["name", "Read "], ["description", "Open a book"], ["completion_date", "April 20th 2019"]]
+ ↳ app/controllers/tasks_controller.rb:35
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:35
+Redirected to http://localhost:3000/tasks/3
+Completed 302 Found in 9ms (ActiveRecord: 6.1ms)
+
+
+Started GET "/tasks/3" for ::1 at 2019-04-10 23:32:36 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 21ms (Views: 16.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 23:33:33 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (8.0ms)
+Completed 200 OK in 32ms (Views: 24.7ms | ActiveRecord: 3.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 23:33:39 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 22ms (Views: 19.4ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-10 23:34:13 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Dsl9neaxvzXiLmVmG4mh93nUDmtBvVeIeVQjQ3O8wLSxHBjwBJ53at/l+1FZVKgf3QanOkd1OapzikvOx86qIg==", "task"=>{"name"=>"Water plants", "description"=>"add water to plants. Not too little, not too much", "completion_date"=>"Now"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:35
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-11 06:34:13.726853"], ["updated_at", "2019-04-11 06:34:13.726853"], ["name", "Water plants"], ["description", "add water to plants. Not too little, not too much"], ["completion_date", "Now"]]
+ ↳ app/controllers/tasks_controller.rb:35
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:35
+Completed 500 Internal Server Error in 157ms (ActiveRecord: 0.7ms)
+
+
+
+NameError - undefined local variable or method `tasks' for #
+Did you mean? task:
+ app/controllers/tasks_controller.rb:38:in `create'
+
+Started POST "/__better_errors/f27dcdaec4662495/variables" for ::1 at 2019-04-10 23:34:13 -0700
+Started POST "/tasks" for ::1 at 2019-04-10 23:35:19 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Dsl9neaxvzXiLmVmG4mh93nUDmtBvVeIeVQjQ3O8wLSxHBjwBJ53at/l+1FZVKgf3QanOkd1OapzikvOx86qIg==", "task"=>{"name"=>"Water plants", "description"=>"add water to plants. Not too little, not too much", "completion_date"=>"Now"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:35
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-11 06:35:19.105089"], ["updated_at", "2019-04-11 06:35:19.105089"], ["name", "Water plants"], ["description", "add water to plants. Not too little, not too much"], ["completion_date", "Now"]]
+ ↳ app/controllers/tasks_controller.rb:35
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:35
+Completed 500 Internal Server Error in 166ms (ActiveRecord: 3.4ms)
+
+
+
+NameError - undefined local variable or method `tasks' for #
+Did you mean? task:
+ app/controllers/tasks_controller.rb:38:in `create'
+
+Started POST "/__better_errors/13621c5c4512feea/variables" for ::1 at 2019-04-10 23:35:19 -0700
+Started GET "/tasks" for ::1 at 2019-04-10 23:35:21 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 22ms (Views: 18.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 23:35:30 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 22ms (Views: 19.0ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-10 23:35:55 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"IEs/RSCGbmiZaU51Ap78I/EUcVfu8urZlh/f23m+OoifnloowqmmN6Si0EJAQ/XLVcbYBug6hPucwbdWzcxQHg==", "task"=>{"name"=>"Play video games", "description"=>"Open Portal", "completion_date"=>"Yesterday"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:35
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-11 06:35:55.534741"], ["updated_at", "2019-04-11 06:35:55.534741"], ["name", "Play video games"], ["description", "Open Portal"], ["completion_date", "Yesterday"]]
+ ↳ app/controllers/tasks_controller.rb:35
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:35
+Completed 500 Internal Server Error in 156ms (ActiveRecord: 0.8ms)
+
+
+
+NameError - undefined local variable or method `tasks' for #
+Did you mean? task:
+ app/controllers/tasks_controller.rb:38:in `create'
+
+Started POST "/__better_errors/c878776d1cbf94ec/variables" for ::1 at 2019-04-10 23:35:55 -0700
+Started GET "/tasks" for ::1 at 2019-04-10 23:38:31 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (9.2ms)
+Completed 200 OK in 41ms (Views: 31.4ms | ActiveRecord: 2.9ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-10 23:38:33 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 29ms (Views: 24.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 23:38:40 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 27ms (Views: 24.0ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-10 23:39:19 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"rSzj73fPV1OThghGnpLiLAGkrBg0ZCXSvbYlk+aw5xoS+YaCleCfDK5NlnHcT+vEpXYFSTKsS/C3aE0eUsKNjA==", "task"=>{"name"=>"Get apples", "description"=>"Go hunting for apple trees", "completion_date"=>"Tomorrow"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:35
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-11 06:39:19.921331"], ["updated_at", "2019-04-11 06:39:19.921331"], ["name", "Get apples"], ["description", "Go hunting for apple trees"], ["completion_date", "Tomorrow"]]
+ ↳ app/controllers/tasks_controller.rb:35
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:35
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 23:39:19 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 24ms (Views: 21.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 23:39:29 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 26ms (Views: 23.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 23:39:30 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 33ms (Views: 29.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 23:40:39 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (7.0ms)
+Completed 200 OK in 28ms (Views: 21.2ms | ActiveRecord: 2.6ms)
+
+
+Started GET "/tasks/7" for ::1 at 2019-04-10 23:40:43 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"7"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 23ms (Views: 18.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 14:42:50 -0700
+ [1m[35m (2.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/myriamwalden-duarte/.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
+ [1m[36mTask Load (1.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (27.8ms)
+Completed 200 OK in 204ms (Views: 183.6ms | ActiveRecord: 12.7ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 14:42:53 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (3.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 26ms (Views: 17.1ms | ActiveRecord: 3.4ms)
+
+
+Started GET "/tasks/6" for ::1 at 2019-04-11 14:42:57 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 21ms (Views: 17.5ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-11 14:43:01 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 21ms (Views: 16.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/7" for ::1 at 2019-04-11 14:43:07 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"7"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 21ms (Views: 17.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-11 14:43:13 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (9.9ms)
+Completed 200 OK in 28ms (Views: 25.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-11 14:44:12 -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 21ms (Views: 18.1ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-11 14:44:58 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"/WmdR91fVFmHOboIGWh94h6pJjKz6jFPxcDWYLd4NazhgvJi3Fq0QcgoMOXSyLQY1wIAYnn9jW64H+l+RYbQOw==", "task"=>{"name"=>"Find a puppy", "description"=>"Go to adoption websites to interview candidates", "completion_date"=>"April 23rd 2024"}, "commit"=>"Save Task"}
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:35
+ [1m[36mTask Create (1.8ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-11 21:44:58.834021"], ["updated_at", "2019-04-11 21:44:58.834021"], ["name", "Find a puppy"], ["description", "Go to adoption websites to interview candidates"], ["completion_date", "April 23rd 2024"]]
+ ↳ app/controllers/tasks_controller.rb:35
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:35
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 5ms (ActiveRecord: 2.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 14:44:58 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 20ms (Views: 16.9ms | ActiveRecord: 0.5ms)
+
+
diff --git a/log/test.log b/log/test.log
new file mode 100644
index 000000000..4a2a2929f
--- /dev/null
+++ b/log/test.log
@@ -0,0 +1,780 @@
+ [1m[35m (196.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ [1m[35m (473.7ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-09 14:39: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.7ms)
+Completed 200 OK in 189ms (Views: 182.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (173.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ [1m[35m (393.0ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-09 14:53:10 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 125ms (Views: 118.4ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (186.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ [1m[35m (385.8ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-09 14:56: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.0ms)
+Completed 200 OK in 185ms (Views: 178.8ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (195.9ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ [1m[35m (384.1ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-09 14:56:22 -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 186ms (Views: 179.6ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (192.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ [1m[35m (394.9ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-09 14:58:05 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 187ms (Views: 180.4ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (194.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ [1m[35m (383.2ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-09 14:58: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.8ms)
+Completed 200 OK in 187ms (Views: 181.1ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (178.6ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ [1m[35m (396.4ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-09 15:00:09 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 126ms (Views: 120.0ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-09 15:00:09 -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)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (195.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ [1m[35m (389.1ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-09 15:00:29 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 118ms (Views: 111.9ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-09 15:00:29 -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)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (191.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ [1m[35m (345.6ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-09 15:00: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.7ms)
+Completed 200 OK in 128ms (Views: 121.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-09 15:00: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.0ms)
+Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (206.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ [1m[35m (430.3ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ [1m[35mSQL (0.9ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
+ [1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "columns_for_tasks" CASCADE[0m
+ [1m[35m (6.5ms)[0m [1m[35mCREATE TABLE "columns_for_tasks" ("id" bigserial primary key)[0m
+ [1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "tasks" CASCADE[0m
+ [1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "tasks" ("id" bigserial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "name" character varying, "description" character varying, "completion_date" character varying)[0m
+ [1m[35m (2.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20190410040436)[0m
+ [1m[35m (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
+(20190409222814);
+
+[0m
+ [1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2019-04-10 23:09:55.340208"], ["updated_at", "2019-04-10 23:09:55.340208"]]
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.9ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-10 23:09:55.596321', '2019-04-10 23:09:55.596321', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-10 23:09:55.596321', '2019-04-10 23:09:55.596321', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-10 16:09: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.6ms)
+Completed 200 OK in 142ms (Views: 135.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-10 16:09:55 -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: 1.0ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (1.1ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-10 23:52:27.751672', '2019-04-10 23:52:27.751672', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-10 23:52:27.751672', '2019-04-10 23:52:27.751672', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-10 16:52:27 -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 215ms (Views: 205.8ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-10 16:52: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 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (2.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.1ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (1.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-11 21:41:33.272415', '2019-04-11 21:41:33.272415', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-11 21:41:33.272415', '2019-04-11 21:41:33.272415', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-11 14:41:33 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (9.1ms)
+Completed 200 OK in 156ms (Views: 149.1ms | ActiveRecord: 0.6ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-11 14:41:33 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
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/fixtures/tasks.yml b/test/fixtures/tasks.yml
new file mode 100644
index 000000000..dc3ee79b5
--- /dev/null
+++ b/test/fixtures/tasks.yml
@@ -0,0 +1,11 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+# This model initially had no columns defined. If you add columns to the
+# model remove the "{}" from the fixture names and add the columns immediately
+# below each fixture, per the syntax in the comments below
+#
+one: {}
+# column: value
+#
+two: {}
+# column: value
diff --git a/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/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
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 c9f7ef09942d44b871da12ef2a1afb84f33a1fe4 Mon Sep 17 00:00:00 2001
From: MyriamWD
Date: Thu, 11 Apr 2019 16:37:41 -0700
Subject: [PATCH 02/15] Adjusted tests wave2. Will use a toggle to allow
marking and unmarking completion of a task
---
log/test.log | 1128 +++++++++++++++++++++
test/controllers/tasks_controller_test.rb | 20 +-
2 files changed, 1139 insertions(+), 9 deletions(-)
diff --git a/log/test.log b/log/test.log
index 4a2a2929f..334d35880 100644
--- a/log/test.log
+++ b/log/test.log
@@ -778,3 +778,1131 @@ TasksController::new: test_0001_can get the new task page
Task: test_0001_must be valid
-----------------------------
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-11 21:50:35.636576', '2019-04-11 21:50:35.636576', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-11 21:50:35.636576', '2019-04-11 21:50:35.636576', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 14:50:35 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>nil}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2019-04-11 21:50:35.674188"], ["updated_at", "2019-04-11 21:50:35.674188"], ["name", "new task"], ["description", "new task description"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 8ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-11 14:50:35 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 122ms (Views: 119.6ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-11 14:50:35 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-11 21:58:53.135605', '2019-04-11 21:58:53.135605', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-11 21:58:53.135605', '2019-04-11 21:58:53.135605', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-11 14:58:53 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (8.1ms)
+Completed 200 OK in 130ms (Views: 123.7ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-11 14:58:53 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-11 21:59:09.539962', '2019-04-11 21:59:09.539962', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-11 21:59:09.539962', '2019-04-11 21:59:09.539962', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-11 14:59:09 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 189ms (Views: 182.0ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-11 14:59:09 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.7ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-11 22:58:07.625733', '2019-04-11 22:58:07.625733', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-11 22:58:07.625733', '2019-04-11 22:58:07.625733', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-11 15:58:07 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (7.8ms)
+Completed 200 OK in 198ms (Views: 191.1ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-11 15:58:07 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-11 22:59:16.836006', '2019-04-11 22:59:16.836006', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-11 22:59:16.836006', '2019-04-11 22:59:16.836006', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-11 22:59:16.859739"], ["updated_at", "2019-04-11 22:59:16.859739"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-11 15:59:16 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-11 15:59:16 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 187ms (Views: 179.0ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-11 15:59:17 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-11 15:59:17 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.7ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-11 23:32:45.230362', '2019-04-11 23:32:45.230362', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-11 23:32:45.230362', '2019-04-11 23:32:45.230362', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-11 16:32:45 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (7.7ms)
+Completed 200 OK in 174ms (Views: 168.0ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-11 16:32:45 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 16:32:45 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (5.5ms)
+Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-11 23:32:45.447372"], ["updated_at", "2019-04-11 23:32:45.447372"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-11 16:32:45 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-11 16:32:45 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.6ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-11 23:33:07.185529', '2019-04-11 23:33:07.185529', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-11 23:33:07.185529', '2019-04-11 23:33:07.185529', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-11 16:33:07 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (7.4ms)
+Completed 200 OK in 174ms (Views: 167.7ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-11 16:33:07 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-11 23:33:07.385882"], ["updated_at", "2019-04-11 23:33:07.385882"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-11 16:33:07 -0700"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-11 16:33:07 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["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 7ms (Views: 1.8ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 16:33:07 -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 8ms (Views: 6.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 16:33:07 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-11 16:33:07 -0700"}}
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-11 23:33:07.422512"], ["updated_at", "2019-04-11 23:33:07.422512"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-11 16:33:07 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-11 23:33:30.735735', '2019-04-11 23:33:30.735735', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-11 23:33:30.735735', '2019-04-11 23:33:30.735735', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-11 23:33:30.761293"], ["updated_at", "2019-04-11 23:33:30.761293"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-11 16:33:30 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-11 16:33:30 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 186ms (Views: 177.8ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 16:33:30 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-11 16:33:30 -0700"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-11 23:33:30.964243"], ["updated_at", "2019-04-11 23:33:30.964243"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-11 16:33:30 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-11 16:33:30 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-11 16:33:30 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 16:33:30 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (5.0ms)
+Completed 200 OK in 9ms (Views: 6.1ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-11 23:34:00.648433', '2019-04-11 23:34:00.648433', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-11 23:34:00.648433', '2019-04-11 23:34:00.648433', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-11 16:34:00 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (8.7ms)
+Completed 200 OK in 194ms (Views: 187.6ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-11 16:34:00 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 16:34:00 -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 8ms (Views: 5.8ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-11 23:34:00.886084"], ["updated_at", "2019-04-11 23:34:00.886084"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-11 16:34:00 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-11 16:34:00 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 16:34:00 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-11 16:34:00 -0700"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-11 23:34:00.903020"], ["updated_at", "2019-04-11 23:34:00.903020"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-11 16:34:00 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-11 23:34:12.325379', '2019-04-11 23:34:12.325379', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-11 23:34:12.325379', '2019-04-11 23:34:12.325379', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-11 23:34:12.350214"], ["updated_at", "2019-04-11 23:34:12.350214"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-11 16:34:12 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-11 16:34:12 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 180ms (Views: 171.1ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 16:34:12 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (4.9ms)
+Completed 200 OK in 10ms (Views: 6.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-11 16:34:12 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-11 16:34:12 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 16:34:12 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-11 16:34:12 -0700"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-11 23:34:12.576934"], ["updated_at", "2019-04-11 23:34:12.576934"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-11 16:34:12 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.6ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-11 23:34:43.490626', '2019-04-11 23:34:43.490626', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-11 23:34:43.490626', '2019-04-11 23:34:43.490626', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 16:34:43 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (6.2ms)
+Completed 200 OK in 180ms (Views: 159.4ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-11 23:34:43.694512"], ["updated_at", "2019-04-11 23:34:43.694512"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-11 16:34:43 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-11 16:34:43 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.7ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-11 16:34:43 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-11 16:34:43 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 16:34:43 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-11 16:34:43 -0700"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-11 23:34:43.728091"], ["updated_at", "2019-04-11 23:34:43.728091"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-11 16:34:43 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.6ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-11 23:35:15.536227', '2019-04-11 23:35:15.536227', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-11 23:35:15.536227', '2019-04-11 23:35:15.536227', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-11 16:35:15 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (8.0ms)
+Completed 200 OK in 176ms (Views: 169.2ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-11 16:35:15 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 16:35:15 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (5.6ms)
+Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 16:35:15 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-11 16:35:15 -0700"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-11 23:35:15.759019"], ["updated_at", "2019-04-11 23:35:15.759019"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-11 16:35:15 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-11 23:35:15.767934"], ["updated_at", "2019-04-11 23:35:15.767934"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-11 16:35:15 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-11 16:35:15 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
diff --git a/test/controllers/tasks_controller_test.rb b/test/controllers/tasks_controller_test.rb
index 971913898..8a01e2deb 100644
--- a/test/controllers/tasks_controller_test.rb
+++ b/test/controllers/tasks_controller_test.rb
@@ -1,9 +1,11 @@
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
+ completion_date: Time.now # I need to make the completion respond to a toggle
}
# Tests for Wave 1
@@ -28,7 +30,7 @@
# Unskip these tests for Wave 2
describe "show" do
it "can get a valid task" do
- skip
+ # skip
# Act
get task_path(task.id)
@@ -43,13 +45,12 @@
# 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
+ # skip
# Act
get new_task_path
@@ -61,14 +62,16 @@
describe "create" do
it "can create a new task" do
- skip
+ # 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,
+ completion_date: Time.now.to_s,
},
}
@@ -79,11 +82,10 @@
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).must_equal task_hash[:task][:completed]
+ expect(new_task.completion_date).must_equal task_hash[:task][:completion_date]
must_respond_with :redirect
- must_redirect_to task_path(new_task.id)
+ must_redirect_to tasks_path
end
end
From cf49a50398a80ba7c6b533f3da09db9f759e3acb Mon Sep 17 00:00:00 2001
From: MyriamWD
Date: Sun, 14 Apr 2019 17:38:57 -0700
Subject: [PATCH 03/15] edit, update, delete controller and view. delete tests
---
app/controllers/tasks_controller.rb | 45 +-
app/views/tasks/edit.html.erb | 15 +
app/views/tasks/index.html.erb | 4 +
app/views/tasks/show.html.erb | 6 +-
config/routes.rb | 8 +-
log/development.log | 5711 +++++++++++++++++++++
log/test.log | 2115 ++++++++
test/controllers/tasks_controller_test.rb | 25 +-
8 files changed, 7915 insertions(+), 14 deletions(-)
create mode 100644 app/views/tasks/edit.html.erb
diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb
index ddb6db8c2..c60df2f01 100644
--- a/app/controllers/tasks_controller.rb
+++ b/app/controllers/tasks_controller.rb
@@ -26,11 +26,12 @@ def new
end
def create
- task = Task.new(
- name: params["task"]["name"],
- description: params["task"]["description"],
- completion_date: params["task"]["completion_date"],
- )
+ # task = Task.new(
+ # name: params["task"]["name"],
+ # description: params["task"]["description"],
+ # completion_date: params["task"]["completion_date"],
+ # )
+ task = Task.new(task_params)
is_successful = task.save
@@ -41,4 +42,38 @@ def create
head :not_found
end
end
+
+ def edit
+ @task = Task.find_by(id: params[:id])
+ if @task.nil?
+ redirect_to tasks_path :flash => {:error => "Task does not exist!"}
+ end
+ end
+
+ def update
+ task = Task.find_by(id: params[:id])
+
+ if task
+ is_successful = task.update(task_params)
+ if is_successful
+ redirect_to task_path(task.id)
+ end
+ else
+ redirect_to root_path :flash => {:error => "The task was deleted!"}
+ 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
+
+ def task_params
+ return params.require(:task).permit(:name, :description, :completion_date)
+ end
end
diff --git a/app/views/tasks/edit.html.erb b/app/views/tasks/edit.html.erb
new file mode 100644
index 000000000..6dcc2f754
--- /dev/null
+++ b/app/views/tasks/edit.html.erb
@@ -0,0 +1,15 @@
+Form for creating a new task...
+
+<%= form_with model: @task, class: "edit-task" do |f| %>
+ Please fill out this form to edit a task
+
+ <%= f.label :name %>
+ <%= f.text_field :name %>
+ <%= f.label :description %>
+ <%= f.text_field :description %>
+ <%= f.label :completion_date %>
+ <%= f.text_field :completion_date %>
+
+ <%= f.submit "Save Task", class: "task-form__submit-btn" %>
+
+<% end %>
\ No newline at end of file
diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb
index 38a1c5cb1..26045034f 100644
--- a/app/views/tasks/index.html.erb
+++ b/app/views/tasks/index.html.erb
@@ -5,6 +5,10 @@
<%= link_to task.name, task_path(task.id) %>
+
+ <%= link_to "Delete #{task.name}",
+ task_path(task.id), method: :delete %>
+
<% end %>
diff --git a/app/views/tasks/show.html.erb b/app/views/tasks/show.html.erb
index f66fe75a4..e571421da 100644
--- a/app/views/tasks/show.html.erb
+++ b/app/views/tasks/show.html.erb
@@ -5,4 +5,8 @@
<%= @task.description%>
<%= @task.completion_date%>
-
\ No newline at end of file
+
+
+<%= link_to "Back to Tasks List", tasks_path%>
+
+<%= link_to "Edit #{@task.name}", edit_task_path(@task.id)%>
\ No newline at end of file
diff --git a/config/routes.rb b/config/routes.rb
index d88b7bb60..a6a34fa6b 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,11 +1,5 @@
Rails.application.routes.draw do
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
- get "/tasks", to: "tasks#index", as: "tasks"
-
- get "/tasks/new", to: "tasks#new", as: "new_task"
- post "/tasks", to: "tasks#create"
-
- get "/tasks/:id", to: "tasks#show", as: "task"
-
root to: "tasks#index", as: "root"
+ resources :tasks
end
diff --git a/log/development.log b/log/development.log
index 2fc30faf7..82539acf3 100644
--- a/log/development.log
+++ b/log/development.log
@@ -1767,3 +1767,5714 @@ Processing by TasksController#index as HTML
Completed 200 OK in 20ms (Views: 16.9ms | ActiveRecord: 0.5ms)
+Started GET "/tasks" for ::1 at 2019-04-11 20:43:10 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 36ms (Views: 32.7ms | ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 21:44:44 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 26ms (Views: 22.5ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/" for ::1 at 2019-04-11 21:44:51 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 23ms (Views: 20.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/hikes" for ::1 at 2019-04-11 21:44:57 -0700
+
+ActionController::RoutingError (No route matches [GET] "/hikes"):
+
+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-12 11:09:14 -0700
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/myriamwalden-duarte/.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
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (11.8ms)
+Completed 200 OK in 221ms (Views: 205.4ms | ActiveRecord: 4.0ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-12 11:09:16 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 24ms (Views: 18.1ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-12 11:09:26 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 21ms (Views: 16.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/8" for ::1 at 2019-04-12 11:09:29 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"8"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 21ms (Views: 17.5ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-12 15:52:58 -0700
+ [1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/myriamwalden-duarte/.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/myriamwalden-duarte/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb
+ Rendered /Users/myriamwalden-duarte/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb (2.4ms)
+Completed 200 OK in 14ms (Views: 5.9ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 15:53:05 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (10.6ms)
+Completed 200 OK in 182ms (Views: 173.3ms | ActiveRecord: 4.5ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-12 15:53:08 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 23ms (Views: 17.6ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-12 16:00:36 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (10.0ms)
+Completed 200 OK in 39ms (Views: 25.2ms | ActiveRecord: 5.5ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-12 16:00:49 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"lZATA3kexestC5sNsGJqcQfO+f02vj1Tt4VD1fgfK1+Je3wmeBsl82IaEeB7wqOLzmXfrfypgXLKWnzLCuHOyA==", "task"=>{"name"=>"huhu", "description"=>"ncladjk", "completion_date"=>"Now"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:35
+ [1m[36mTask Create (1.1ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-12 23:00:49.005653"], ["updated_at", "2019-04-12 23:00:49.005653"], ["name", "huhu"], ["description", "ncladjk"], ["completion_date", "Now"]]
+ ↳ app/controllers/tasks_controller.rb:35
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:35
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.7ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 16:00:49 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 22ms (Views: 18.2ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks/9" for ::1 at 2019-04-12 16:00:57 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 23ms (Views: 17.4ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks/6" for ::1 at 2019-04-14 13:08:32 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 48ms (Views: 27.1ms | ActiveRecord: 6.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 13:09:40 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (4.2ms)
+Completed 200 OK in 32ms (Views: 29.2ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 13:10:00 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"NSJ22EqmhJDO5pOnrXijCQ9GkEjEsUUJOgF4xlJ6lwIpyRn9S6NkiIH3GUpm2Grzxu22GA6m+ShH3kfYoIRylQ==", "task"=>{"name"=>"move to a new apartment", "description"=>"pack everything", "completion_date"=>"today"}, "commit"=>"Save Task"}
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:35
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 20:10:00.040319"], ["updated_at", "2019-04-14 20:10:00.040319"], ["name", "move to a new apartment"], ["description", "pack everything"], ["completion_date", "today"]]
+ ↳ app/controllers/tasks_controller.rb:35
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:35
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 5ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 13:10:00 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 24ms (Views: 21.1ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 13:17:18 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (12.1ms)
+Completed 200 OK in 48ms (Views: 37.3ms | ActiveRecord: 5.6ms)
+
+
+Started GET "/tasks/5" for ::1 at 2019-04-14 13:17:21 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"5"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.6ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 13:17:23 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 25ms (Views: 21.1ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/9" for ::1 at 2019-04-14 13:32:25 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.1ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks/9/edit" for ::1 at 2019-04-14 13:32:26 -0700
+
+AbstractController::ActionNotFound - The action 'edit' could not be found for TasksController:
+
+Started POST "/__better_errors/5075343b414adc84/variables" for ::1 at 2019-04-14 13:32:26 -0700
+Started GET "/tasks/9" for ::1 at 2019-04-14 13:33:09 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 22ms (Views: 18.3ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 13:33:14 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 28ms (Views: 24.1ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-14 13:33:18 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 22ms (Views: 18.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-14 13:33:20 -0700
+
+AbstractController::ActionNotFound - The action 'edit' could not be found for TasksController:
+
+Started POST "/__better_errors/b5313f2446e69e21/variables" for ::1 at 2019-04-14 13:33:20 -0700
+Started GET "/tasks/1" for ::1 at 2019-04-14 13:33:31 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-14 13:34:04 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+Completed 406 Not Acceptable in 101ms (ActiveRecord: 0.0ms)
+
+
+
+ActionController::UnknownFormat - TasksController#edit 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/cc0a15d568561a55/variables" for ::1 at 2019-04-14 13:34:04 -0700
+Started GET "/tasks/1/edit" for ::1 at 2019-04-14 13:34:06 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+Completed 406 Not Acceptable in 118ms (ActiveRecord: 0.0ms)
+
+
+
+ActionController::UnknownFormat - TasksController#edit 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/d7e5fcb6fcc46204/variables" for ::1 at 2019-04-14 13:34:06 -0700
+Started GET "/tasks" for ::1 at 2019-04-14 13:34:15 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (10.7ms)
+Completed 200 OK in 38ms (Views: 28.2ms | ActiveRecord: 5.5ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-14 13:34:17 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 35ms (Views: 31.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-14 13:34:18 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+Completed 406 Not Acceptable in 107ms (ActiveRecord: 0.0ms)
+
+
+
+ActionController::UnknownFormat - TasksController#edit 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/24236deb53088c76/variables" for ::1 at 2019-04-14 13:34:18 -0700
+Started GET "/tasks/1" for ::1 at 2019-04-14 13:35:20 -0700
+
+SyntaxError - syntax error, unexpected [, expecting keyword_do or '{' or '('
+...ask = Task.find_by(id: params [:id])
+... ^
+/Users/myriamwalden-duarte/Documents/Ada/April/2week/Homework/TaskList/app/controllers/tasks_controller.rb:46: syntax error, unexpected ')', expecting keyword_end
+... Task.find_by(id: params [:id])
+... ^:
+ app/controllers/tasks_controller.rb:46:in `'
+
+Started GET "/tasks" for ::1 at 2019-04-14 13:35:21 -0700
+
+SyntaxError - syntax error, unexpected [, expecting keyword_do or '{' or '('
+...ask = Task.find_by(id: params [:id])
+... ^
+/Users/myriamwalden-duarte/Documents/Ada/April/2week/Homework/TaskList/app/controllers/tasks_controller.rb:46: syntax error, unexpected ')', expecting keyword_end
+... Task.find_by(id: params [:id])
+... ^:
+ app/controllers/tasks_controller.rb:46:in `'
+
+Started POST "/__better_errors/f25e7c34df9e8301/variables" for ::1 at 2019-04-14 13:35:21 -0700
+Started GET "/tasks" for ::1 at 2019-04-14 13:35:24 -0700
+
+SyntaxError - syntax error, unexpected [, expecting keyword_do or '{' or '('
+...ask = Task.find_by(id: params [:id])
+... ^
+/Users/myriamwalden-duarte/Documents/Ada/April/2week/Homework/TaskList/app/controllers/tasks_controller.rb:46: syntax error, unexpected ')', expecting keyword_end
+... Task.find_by(id: params [:id])
+... ^:
+ app/controllers/tasks_controller.rb:46:in `'
+
+Started POST "/__better_errors/39220a124b33c961/variables" for ::1 at 2019-04-14 13:35:24 -0700
+Started GET "/tasks" for ::1 at 2019-04-14 13:37:01 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (7.4ms)
+Completed 200 OK in 28ms (Views: 21.1ms | ActiveRecord: 2.8ms)
+
+
+Started POST "/__better_errors/ab1ab788af6dacfc/variables" for ::1 at 2019-04-14 13:37:03 -0700
+Started GET "/tasks/" for ::1 at 2019-04-14 13:38:32 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (8.9ms)
+Completed 200 OK in 33ms (Views: 24.8ms | ActiveRecord: 3.0ms)
+
+
+Started GET "/tasks/10" for ::1 at 2019-04-14 13:38:35 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 23ms (Views: 19.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/10/edit" for ::1 at 2019-04-14 13:38:38 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:46
+Completed 406 Not Acceptable in 112ms (ActiveRecord: 0.2ms)
+
+
+
+ActionController::UnknownFormat - TasksController#edit 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/769d195bb4d739e0/variables" for ::1 at 2019-04-14 13:38:38 -0700
+Started GET "/tasks/10" for ::1 at 2019-04-14 13:38:40 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/" for ::1 at 2019-04-14 13:38:41 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 21ms (Views: 17.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-14 13:38:43 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 22ms (Views: 18.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-14 13:38:44 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:46
+Completed 406 Not Acceptable in 111ms (ActiveRecord: 0.3ms)
+
+
+
+ActionController::UnknownFormat - TasksController#edit 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/d1419fcd1e0260d9/variables" for ::1 at 2019-04-14 13:38:44 -0700
+Started GET "/tasks/1" for ::1 at 2019-04-14 13:38:46 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 22ms (Views: 18.9ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/" for ::1 at 2019-04-14 13:38:48 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 21ms (Views: 17.4ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/6" for ::1 at 2019-04-14 13:38:49 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 22ms (Views: 18.8ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/6/edit" for ::1 at 2019-04-14 13:38:52 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:46
+Completed 406 Not Acceptable in 109ms (ActiveRecord: 0.3ms)
+
+
+
+ActionController::UnknownFormat - TasksController#edit 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/cc0fff04115a7f3a/variables" for ::1 at 2019-04-14 13:38:52 -0700
+Started GET "/tasks/6" for ::1 at 2019-04-14 13:38:54 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 24ms (Views: 20.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/6" for ::1 at 2019-04-14 13:41:36 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 23ms (Views: 19.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 13:41:40 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 26ms (Views: 21.9ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-14 13:41:42 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 25ms (Views: 21.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-14 13:41:43 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:46
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 30ms (Views: 25.8ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/1" for ::1 at 2019-04-14 13:41:52 -0700
+
+AbstractController::ActionNotFound - The action 'update' could not be found for TasksController:
+
+Started POST "/__better_errors/c8166d1a58e8985d/variables" for ::1 at 2019-04-14 13:41:52 -0700
+Started GET "/tasks/1" for ::1 at 2019-04-14 14:45:15 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 31ms (Views: 16.0ms | ActiveRecord: 5.7ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 14:45:16 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 22ms (Views: 18.4ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks/6" for ::1 at 2019-04-14 14:45:17 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.6ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/6/edit" for ::1 at 2019-04-14 14:45:20 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 24ms (Views: 20.5ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/6" for ::1 at 2019-04-14 14:45:27 -0700
+
+AbstractController::ActionNotFound - The action 'update' could not be found for TasksController:
+
+Started POST "/__better_errors/38c0ab3af7e640ee/variables" for ::1 at 2019-04-14 14:45:27 -0700
+Started GET "/tasks" for ::1 at 2019-04-14 14:45:34 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 24ms (Views: 21.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/6" for ::1 at 2019-04-14 14:46:23 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 29ms (Views: 16.7ms | ActiveRecord: 3.7ms)
+
+
+Started GET "/tasks/6/edit" for ::1 at 2019-04-14 14:46:25 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 27ms (Views: 23.1ms | ActiveRecord: 0.2ms)
+
+
+Started PATCH "/tasks/6" for ::1 at 2019-04-14 14:46:33 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"jxhlQzVK+x6Km/NHnYE09aOsEKRQDxB2ye/oBJHlf5SOV7hUcBS2OnMCyqmbNTrAcAaDL7xzBFJrg/dkVh4n2A==", "task"=>{"name"=>"Play video games", "description"=>"DOT", "completion_date"=>"Yesterday"}, "commit"=>"Save Task", "id"=>"6"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:51
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:53
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "description" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["description", "DOT"], ["updated_at", "2019-04-14 21:46:33.905294"], ["id", 6]]
+ ↳ app/controllers/tasks_controller.rb:53
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:53
+Redirected to http://localhost:3000/tasks/6
+Completed 302 Found in 5ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks/6" for ::1 at 2019-04-14 14:46:33 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 14:46:38 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 23ms (Views: 19.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-14 14:50:40 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 27ms (Views: 15.4ms | ActiveRecord: 2.9ms)
+
+
+Started GET "/tasks/4/edit" for ::1 at 2019-04-14 14:50:42 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 25ms (Views: 20.8ms | ActiveRecord: 0.2ms)
+
+
+Started PATCH "/tasks/4" for ::1 at 2019-04-14 14:50:58 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"OlwvtD6QAJKHBLw8vZol8b2oXvkt/46ipYfiKmgNryzU1lY6qQGfHveAk/oKY47HSyRfB0fSPLtd1tv5muDFtg==", "task"=>{"name"=>"feed the plants", "description"=>"add flower foor to plants. Not too little, not too much", "completion_date"=>"Now"}, "commit"=>"Save Task", "id"=>"4"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:51
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:53
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "feed the plants"], ["description", "add flower foor to plants. Not too little, not too much"], ["updated_at", "2019-04-14 21:50:58.846484"], ["id", 4]]
+ ↳ app/controllers/tasks_controller.rb:53
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:53
+Redirected to http://localhost:3000/tasks/4
+Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-14 14:50:58 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.8ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/4/edit" for ::1 at 2019-04-14 14:51:02 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 24ms (Views: 20.3ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/4" for ::1 at 2019-04-14 14:51:05 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Omyj9tbH3a2RBlQ0SS80NUCrZUbTXvMsj4FG3JjVsjzU5tp4QVZCIeGCe/L+1p8DtidkuLlzQTV30H8PajjYpg==", "task"=>{"name"=>"feed the plants", "description"=>"add flower food to plants. Not too little, not too much", "completion_date"=>"Now"}, "commit"=>"Save Task", "id"=>"4"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:51
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:53
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "description" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["description", "add flower food to plants. Not too little, not too much"], ["updated_at", "2019-04-14 21:51:05.853006"], ["id", 4]]
+ ↳ app/controllers/tasks_controller.rb:53
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:53
+Redirected to http://localhost:3000/tasks/4
+Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-14 14:51:05 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:02:33 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (13.7ms)
+Completed 500 Internal Server Error in 27ms (ActiveRecord: 6.3ms)
+
+
+
+NoMethodError - undefined method `name' for nil:NilClass:
+ app/views/tasks/index.html.erb:9:in `block in _app_views_tasks_index_html_erb__3408394925239071740_70273999697300'
+ app/views/tasks/index.html.erb:4:in `_app_views_tasks_index_html_erb__3408394925239071740_70273999697300'
+
+Started POST "/__better_errors/906741f756597f92/variables" for ::1 at 2019-04-14 15:02:33 -0700
+Started GET "/tasks" for ::1 at 2019-04-14 15:02:38 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (5.4ms)
+Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.3ms)
+
+
+
+NoMethodError - undefined method `name' for nil:NilClass:
+ app/views/tasks/index.html.erb:9:in `block in _app_views_tasks_index_html_erb__3408394925239071740_70273987602280'
+ app/views/tasks/index.html.erb:4:in `_app_views_tasks_index_html_erb__3408394925239071740_70273987602280'
+
+Started POST "/__better_errors/86c7f0b52f00ea4a/variables" for ::1 at 2019-04-14 15:02:38 -0700
+Started GET "/tasks" for ::1 at 2019-04-14 15:03:07 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (5.1ms)
+Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.4ms)
+
+
+
+NoMethodError - undefined method `name' for nil:NilClass:
+ app/views/tasks/index.html.erb:9:in `block in _app_views_tasks_index_html_erb__3408394925239071740_70273972514300'
+ app/views/tasks/index.html.erb:4:in `_app_views_tasks_index_html_erb__3408394925239071740_70273972514300'
+
+Started POST "/__better_errors/4587e32269ad660a/variables" for ::1 at 2019-04-14 15:03:07 -0700
+Started GET "/tasks" for ::1 at 2019-04-14 15:03:10 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (5.4ms)
+Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.3ms)
+
+
+
+NoMethodError - undefined method `name' for nil:NilClass:
+ app/views/tasks/index.html.erb:9:in `block in _app_views_tasks_index_html_erb__3408394925239071740_70273999840640'
+ app/views/tasks/index.html.erb:4:in `_app_views_tasks_index_html_erb__3408394925239071740_70273999840640'
+
+Started POST "/__better_errors/2364bcc6db72c726/variables" for ::1 at 2019-04-14 15:03:10 -0700
+Started GET "/" for ::1 at 2019-04-14 15:03:14 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (5.3ms)
+Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.4ms)
+
+
+
+NoMethodError - undefined method `name' for nil:NilClass:
+ app/views/tasks/index.html.erb:9:in `block in _app_views_tasks_index_html_erb__3408394925239071740_70274005643360'
+ app/views/tasks/index.html.erb:4:in `_app_views_tasks_index_html_erb__3408394925239071740_70274005643360'
+
+Started POST "/__better_errors/4f6e23000b6f2dda/variables" for ::1 at 2019-04-14 15:03:14 -0700
+Started GET "/tasks" for ::1 at 2019-04-14 15:03:21 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (6.8ms)
+Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.3ms)
+
+
+
+NoMethodError - undefined method `name' for nil:NilClass:
+ app/views/tasks/index.html.erb:9:in `block in _app_views_tasks_index_html_erb__3408394925239071740_70274036977160'
+ app/views/tasks/index.html.erb:4:in `_app_views_tasks_index_html_erb__3408394925239071740_70274036977160'
+
+Started POST "/__better_errors/dded1812b7d1c0b6/variables" for ::1 at 2019-04-14 15:03:22 -0700
+Started GET "/tasks" for ::1 at 2019-04-14 15:03:30 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (145.4ms)
+Completed 500 Internal Server Error in 154ms (ActiveRecord: 0.3ms)
+
+
+
+NoMethodError - undefined method `book_path' for #<#:0x00007fd3e62b2598>
+Did you mean? root_path:
+ app/views/tasks/index.html.erb:10:in `block in _app_views_tasks_index_html_erb__3408394925239071740_70274038209120'
+ app/views/tasks/index.html.erb:4:in `_app_views_tasks_index_html_erb__3408394925239071740_70274038209120'
+
+Started POST "/__better_errors/4016fd3d4d01b3a0/variables" for ::1 at 2019-04-14 15:03:31 -0700
+Started GET "/tasks" for ::1 at 2019-04-14 15:03:47 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 22ms (Views: 18.9ms | ActiveRecord: 0.3ms)
+
+
+Started DELETE "/tasks/7" for ::1 at 2019-04-14 15:03:52 -0700
+
+AbstractController::ActionNotFound - The action 'destroy' could not be found for TasksController:
+
+Started POST "/__better_errors/a3109acbe5d4c458/variables" for ::1 at 2019-04-14 15:03:52 -0700
+Started GET "/tasks" for ::1 at 2019-04-14 15:06:06 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (7.7ms)
+Completed 200 OK in 28ms (Views: 21.1ms | ActiveRecord: 2.9ms)
+
+
+Started DELETE "/tasks/9" for ::1 at 2019-04-14 15:06:14 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"88YSAndLgFnF//y3Aa9cc33y4NVSJYeqOsvyZp5FxejvLX0ndk5gQYrudlrKD5WJtFnGhZgyO4tHFM14bLsgfw==", "id"=>"9"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:63
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:67
+ [1m[36mTask Destroy (0.4ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 9]]
+ ↳ app/controllers/tasks_controller.rb:67
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:67
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 5ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:06:14 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 22ms (Views: 18.6ms | ActiveRecord: 0.3ms)
+
+
+Started DELETE "/tasks/1" for ::1 at 2019-04-14 15:06:25 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"AWsNi/uajpCMgLSzClqT/G9MPBLtFflwEtiWYPdX8dcdgGKu+p9uiMORPl7B+loGpucaQicCRVFvB6l+BakUQA==", "id"=>"1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:63
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:67
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 1]]
+ ↳ app/controllers/tasks_controller.rb:67
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:67
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:06:25 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 27ms (Views: 24.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-14 15:06:28 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/2/edit" for ::1 at 2019-04-14 15:06:30 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 24ms (Views: 20.2ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/2" for ::1 at 2019-04-14 15:06:37 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"nQu2wLZkUdGlWR67PypLnF1+m8vCuN+hXfxlogwxGSGDS3uEQdiTFlBtEaYEA8Lf1IOjiTGEsUQRFcLy3zUB2w==", "task"=>{"name"=>"Drink coffee YAy!", "description"=>"Go to the kitchen and make yourself some coffee, then put it in a cup and drink it", "completion_date"=>"2019-04-10 16:47:20 -0700"}, "commit"=>"Save Task", "id"=>"2"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:51
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:53
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "Drink coffee YAy!"], ["updated_at", "2019-04-14 22:06:37.986574"], ["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:53
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:53
+Redirected to http://localhost:3000/tasks/2
+Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-14 15:06:37 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:06:44 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 23ms (Views: 19.5ms | ActiveRecord: 0.3ms)
+
+
+Started DELETE "/tasks/2" for ::1 at 2019-04-14 15:08:00 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"bOmlIWEvRKueACelWCN5ZE/lDQkH3zTPs/EaJNpcRGxwAsoEYCqks9ERrUiTg7Cehk4rWc3IiO7OLiU6KKKh+w==", "id"=>"2"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:64
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:68
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:68
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:68
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 12ms (ActiveRecord: 3.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:08:00 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 19ms (Views: 16.7ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/6" for ::1 at 2019-04-14 15:12:55 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"sgdbB2MWHoWisvvsguj/E0MZuzHldVjB+Hq1n/vcYM6u7DQiYhP+ne2jcQFJSDbpirKdYS9i5OCFpYqBCSKFWQ==", "id"=>"6"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:63
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:67
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 6]]
+ ↳ app/controllers/tasks_controller.rb:67
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:67
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 12ms (ActiveRecord: 3.6ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:12:55 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 21ms (Views: 17.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/5" for ::1 at 2019-04-14 15:12:57 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"5"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 24ms (Views: 19.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/5/edit" for ::1 at 2019-04-14 15:12:58 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"5"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 25ms (Views: 20.3ms | ActiveRecord: 0.4ms)
+
+
+Started PATCH "/tasks/5" for ::1 at 2019-04-14 15:13:02 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"1DjfpUnBq8sd6ZLQRjda5YxPt8eJ16EMb98uLMuCzxCSUF0IQ0tdEzitxBdIiSqavpSjAydHTRJ11d4wJZZMnA==", "task"=>{"name"=>"Water plants!!", "description"=>"add water to plants. Not too little, not too much", "completion_date"=>"Now"}, "commit"=>"Save Task", "id"=>"5"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:51
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:53
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "Water plants!!"], ["updated_at", "2019-04-14 22:13:02.403829"], ["id", 5]]
+ ↳ app/controllers/tasks_controller.rb:53
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:53
+Redirected to http://localhost:3000/tasks/5
+Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
+
+
+Started GET "/tasks/5" for ::1 at 2019-04-14 15:13:02 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"5"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:13:07 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 24ms (Views: 21.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/8" for ::1 at 2019-04-14 15:32:13 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"8"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 38ms (Views: 22.1ms | ActiveRecord: 5.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:32:18 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 24ms (Views: 20.5ms | ActiveRecord: 0.6ms)
+
+
+Started DELETE "/tasks/8" for ::1 at 2019-04-14 15:32:25 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"FNvEf51L2+WmcCJ5OU5/yri0sVcGa66NJdaWeutRZaAIMKtanE47/elhqJTy7rYwcR+XB8x8EqxYCalkGa+ANw==", "id"=>"8"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:64
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:68
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 8]]
+ ↳ app/controllers/tasks_controller.rb:68
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:68
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:32:25 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 21ms (Views: 18.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/8/edit" for ::1 at 2019-04-14 15:32:28 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"8"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (4.9ms)
+Completed 200 OK in 30ms (Views: 26.1ms | ActiveRecord: 0.5ms)
+
+
+Started POST "/tasks/8/edit" for ::1 at 2019-04-14 15:32:47 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/8/edit"):
+
+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/7" for ::1 at 2019-04-14 15:34:15 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"7"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 35ms (Views: 21.9ms | ActiveRecord: 3.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:34:19 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 23ms (Views: 19.9ms | ActiveRecord: 0.3ms)
+
+
+Started DELETE "/tasks/7" for ::1 at 2019-04-14 15:34:34 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"rUSJxobbhPhElgpU55d9aPuYrym1megh8imX09tRQVOxr+bjh95k4AuHgLksN7SSMjOJeX+OVACP9qjNKa+kxA==", "id"=>"7"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:64
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:68
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 7]]
+ ↳ app/controllers/tasks_controller.rb:68
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:68
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:34:34 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 21ms (Views: 17.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/7/edit" for ::1 at 2019-04-14 15:34:40 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"7"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (5.0ms)
+Completed 200 OK in 28ms (Views: 23.9ms | ActiveRecord: 0.4ms)
+
+
+Started POST "/tasks/7/edit" for ::1 at 2019-04-14 15:34:50 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/7/edit"):
+
+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 DELETE "/tasks/5" for ::1 at 2019-04-14 15:36:01 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"YoUqit6LaEweAfqczyDLndtZH3wk8U+e5lbBdlLJwkp+bkWv346IVFEQcHEEgAJnEvI5LO7m87+bif5ooDcn3Q==", "id"=>"5"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:64
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:68
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 5]]
+ ↳ app/controllers/tasks_controller.rb:68
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:68
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 12ms (ActiveRecord: 3.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:36:01 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 24ms (Views: 21.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-14 15:36:07 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+Completed 404 Not Found in 1ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-14 15:36:11 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.3ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/4" for ::1 at 2019-04-14 15:36:16 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"axYF4lj1m3x2pKsd+05GuQFU7Cg9zIdoqcFIGndmoCp3/WrHWfB7ZDm1IfAw7o9DyP/KePfbO0nUHncEhZhFvQ==", "id"=>"4"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:64
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:68
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 4]]
+ ↳ app/controllers/tasks_controller.rb:68
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:68
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:36:16 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 20ms (Views: 17.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/4/edit" for ::1 at 2019-04-14 15:36:19 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (5.4ms)
+Completed 200 OK in 27ms (Views: 23.4ms | ActiveRecord: 0.2ms)
+
+
+Started POST "/tasks/4/edit" for ::1 at 2019-04-14 15:36:26 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/4/edit"):
+
+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-14 15:37:22 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (9.1ms)
+Completed 200 OK in 33ms (Views: 24.3ms | ActiveRecord: 3.8ms)
+
+
+Started GET "/tasks/" for ::1 at 2019-04-14 15:37:27 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 21ms (Views: 18.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 15:37:30 -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 24ms (Views: 20.7ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 15:37:47 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"KImHf6o16PABvGE+GpcG6bfbfoBv8ujUq0wcb3FtOQg0YuhaqzAI6E6t69PRN88TfnBY0KXlVPXWkyNxg5Pcnw==", "task"=>{"name"=>"BRUSH HAIR", "description"=>"hair", "completion_date"=>"tomorro"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 22:37:47.649590"], ["updated_at", "2019-04-14 22:37:47.649590"], ["name", "BRUSH HAIR"], ["description", "hair"], ["completion_date", "tomorro"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:37:47 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 20ms (Views: 17.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/%20new" for ::1 at 2019-04-14 15:37:53 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>" new"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+Completed 404 Not Found in 2ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 15:37:59 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 23ms (Views: 19.9ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 15:38:23 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"qpgkHO85+956SNK1RpZgvs/DQ4uKQVTHBahCqgCR/7S2c0s57jwbxjVZWFiNNqlEBmhl20BW6OZ4d3208m8aIw==", "task"=>{"name"=>"grocery shopping", "description"=>"fruits", "completion_date"=>"now"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 22:38:23.437178"], ["updated_at", "2019-04-14 22:38:23.437178"], ["name", "grocery shopping"], ["description", "fruits"], ["completion_date", "now"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:38:23 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 21ms (Views: 17.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/11" for ::1 at 2019-04-14 15:39:07 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"11"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 29ms (Views: 17.4ms | ActiveRecord: 2.7ms)
+
+
+Started DELETE "/tasks/11" for ::1 at 2019-04-14 15:39:10 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"1+5z2+3WNdBhPb0jlET0WaFe8LtqePKUQfA46p63XKLLBRz+7NPVyC4sN85f5D2jaPXW66BvTrU8Lwf0bEm5NQ==", "id"=>"11"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:67
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:71
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 11]]
+ ↳ app/controllers/tasks_controller.rb:71
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:71
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:39:10 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 20ms (Views: 17.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/11/edit" for ::1 at 2019-04-14 15:39:13 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"11"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (5.1ms)
+Completed 200 OK in 27ms (Views: 23.2ms | ActiveRecord: 0.2ms)
+
+
+Started POST "/tasks/11/edit" for ::1 at 2019-04-14 15:39:18 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/11/edit"):
+
+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-14 15:39:55 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (8.4ms)
+Completed 200 OK in 33ms (Views: 24.4ms | ActiveRecord: 3.6ms)
+
+
+Started GET "/tasks/3" for ::1 at 2019-04-14 15:40:00 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 22ms (Views: 18.7ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/3" for ::1 at 2019-04-14 15:40:02 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"hWMLj/egHCQGdE0ag4u4tYnxNq3+p+iF8Gdg1hBcgNyZiGSq9qX8PEllx/dIK3FPQFoQ/TSwVKSNuF/I4qJlSw==", "id"=>"3"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:67
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:71
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 3]]
+ ↳ app/controllers/tasks_controller.rb:71
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:71
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:40:02 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 21ms (Views: 17.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/3/edit" for ::1 at 2019-04-14 15:40:05 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+Completed 500 Internal Server Error in 135ms (ActiveRecord: 0.3ms)
+
+
+
+NameError - undefined local variable or method `task' for #
+Did you mean? @task:
+ app/controllers/tasks_controller.rb:49:in `edit'
+
+Started POST "/__better_errors/e6837da3605826fd/variables" for ::1 at 2019-04-14 15:40:05 -0700
+Started GET "/tasks/new" for ::1 at 2019-04-14 15:40:24 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 30ms (Views: 18.5ms | ActiveRecord: 2.6ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 15:40:31 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Kb2q8+DJGzdwnY7v3toSJ2tGNdLXt7loBh5bcLxveD01VsXW4cz7Lz+MBAIVetvdou0Tgh2gBUl7wWRuTpGdqg==", "task"=>{"name"=>"read", "description"=>"hi", "completion_date"=>"op"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 22:40:31.464615"], ["updated_at", "2019-04-14 22:40:31.464615"], ["name", "read"], ["description", "hi"], ["completion_date", "op"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:40:31 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 27ms (Views: 23.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/12" for ::1 at 2019-04-14 15:40:36 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 25ms (Views: 21.4ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/12" for ::1 at 2019-04-14 15:40:38 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"BIimOTxbw+PzTxB9nbIW0JDxCgIkZY4vrhapd/X/uKYYY8kcPV4j+7xempBWEt8qWVosUu5yMg7TyZZpBwFdMQ==", "id"=>"12"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:67
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:71
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 12]]
+ ↳ app/controllers/tasks_controller.rb:71
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:71
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:40:38 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 22ms (Views: 18.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/12/edit" for ::1 at 2019-04-14 15:40:41 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+Completed 500 Internal Server Error in 205ms (ActiveRecord: 0.3ms)
+
+
+
+NameError - undefined local variable or method `root' for #:
+ app/controllers/tasks_controller.rb:50:in `edit'
+
+Started POST "/__better_errors/606e1339bb00dfe9/variables" for ::1 at 2019-04-14 15:40:41 -0700
+Started GET "/tasks/new" for ::1 at 2019-04-14 15:41:03 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 28ms (Views: 17.0ms | ActiveRecord: 2.8ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 15:41:23 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"x4+AyHcL8AHel2LvFn8RT9YPHwT5TP69Iv0FNtt2CDbbZO/tdg4QGZGG6ALd39i1H6Q5VDNbQpxfIjooKYjtoQ==", "task"=>{"name"=>"homework", "description"=>"work", "completion_date"=>"soon"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 22:41:23.987993"], ["updated_at", "2019-04-14 22:41:23.987993"], ["name", "homework"], ["description", "work"], ["completion_date", "soon"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:41:23 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 25ms (Views: 17.5ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/14" for ::1 at 2019-04-14 15:41:28 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"14"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 24ms (Views: 19.5ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/14" for ::1 at 2019-04-14 15:41:32 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"g0isFTzmnSqOQLwD17Hf0PHAmmZftl029TxsEGd3juufo8MwPeN9MsFRNu4cERYqOGu8NpWh4ReI41MOlYlrfA==", "id"=>"14"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:67
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:71
+ [1m[36mTask Destroy (0.4ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 14]]
+ ↳ app/controllers/tasks_controller.rb:71
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:71
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:41:32 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 20ms (Views: 17.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/14/edit" for ::1 at 2019-04-14 15:41:34 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"14"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:41:34 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 22ms (Views: 18.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/10" for ::1 at 2019-04-14 15:46:51 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 33ms (Views: 19.4ms | ActiveRecord: 3.5ms)
+
+
+Started DELETE "/tasks/10" for ::1 at 2019-04-14 15:46:54 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"6x4kFlo+eowmIMmID98F6pgssrR3kkoxSw0VJdBLw5f39UszWzualGkxQ2XEf8wQUYeU5L2F9hA20io7IrUmAA==", "id"=>"10"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:68
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 10]]
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:72
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:46:54 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 21ms (Views: 18.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/10/edit" for ::1 at 2019-04-14 15:46:58 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (4.9ms)
+Completed 200 OK in 34ms (Views: 29.5ms | ActiveRecord: 0.3ms)
+
+
+Started POST "/tasks/10/edit" for ::1 at 2019-04-14 15:47:04 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/10/edit"):
+
+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/10/edit" for ::1 at 2019-04-14 15:49:27 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (4.0ms)
+Completed 200 OK in 23ms (Views: 20.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 15:49:34 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 22ms (Views: 19.9ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 15:49:47 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"fFhJZJVooXifz2T0SuTMKlOe6byWtYZ0SNm3LUFgCqlgsyZBlG1BYNDe7hmBRAXQmjXP7FyiOlU1Bogzs57vPg==", "task"=>{"name"=>"walk", "description"=>"move legs", "completion_date"=>"bn"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 22:49:47.818185"], ["updated_at", "2019-04-14 22:49:47.818185"], ["name", "walk"], ["description", "move legs"], ["completion_date", "bn"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:49:47 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 21ms (Views: 18.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 15:49:51 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 23ms (Views: 20.4ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 15:49:59 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"pF9EInVLqmUzyiejhJ/cATltBMKpZkL8QRERn03P6iG4tCsHdE5KfXzbrU5PPxX78MYikmNx/t08zi6BvzEPtg==", "task"=>{"name"=>"purse", "description"=>"po", "completion_date"=>"mk"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 22:49:59.746553"], ["updated_at", "2019-04-14 22:49:59.746553"], ["name", "purse"], ["description", "po"], ["completion_date", "mk"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:49:59 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 20ms (Views: 17.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 15:50:04 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 23ms (Views: 20.3ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 15:50:10 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"bv1HRkfJtcxgKGinTd+wpL4bSAHWfWZu6SbLxEc8gDFyFihjRsxV1C854kqGf3led7BuURxq2k+U+fTatcJlpg==", "task"=>{"name"=>"bok", "description"=>"nkjvd", "completion_date"=>"mk"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 22:50:10.796597"], ["updated_at", "2019-04-14 22:50:10.796597"], ["name", "bok"], ["description", "nkjvd"], ["completion_date", "mk"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:50:10 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 26ms (Views: 23.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/17" for ::1 at 2019-04-14 15:50:43 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"17"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 30ms (Views: 18.2ms | ActiveRecord: 2.7ms)
+
+
+Started DELETE "/tasks/17" for ::1 at 2019-04-14 15:50:50 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"O+KaJL59T8gnT/QD+mrD2CpLlkBgToNQ1YzspADLk/YnCfUBv3iv0Ghefu4xygoi4+CwEKpZP3GoU9O68jV2YQ==", "id"=>"17"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:67
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:71
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 17]]
+ ↳ app/controllers/tasks_controller.rb:71
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:71
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:50:50 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 21ms (Views: 17.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/17/edit" for ::1 at 2019-04-14 15:50:53 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"17"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (4.9ms)
+Completed 200 OK in 27ms (Views: 23.5ms | ActiveRecord: 0.2ms)
+
+
+Started POST "/tasks/17/edit" for ::1 at 2019-04-14 15:50:57 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/17/edit"):
+
+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/16" for ::1 at 2019-04-14 15:51:08 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"16"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.6ms | ActiveRecord: 3.0ms)
+
+
+Started DELETE "/tasks/16" for ::1 at 2019-04-14 15:51:12 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"wqHU/XjOoriV8j6ysO13zL39Pux9JSJW7FZKk8Lws2/eSrvYectCoNrjtF97Tb42dFYYvLcynneRiXWNMA5W+A==", "id"=>"16"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:67
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:71
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 16]]
+ ↳ app/controllers/tasks_controller.rb:71
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:71
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:51:12 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 21ms (Views: 18.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/16/edit" for ::1 at 2019-04-14 15:51:15 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"16"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (5.4ms)
+Completed 200 OK in 27ms (Views: 23.2ms | ActiveRecord: 0.3ms)
+
+
+Started POST "/tasks/16/edit" for ::1 at 2019-04-14 15:51:19 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/16/edit"):
+
+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/13" for ::1 at 2019-04-14 15:52:22 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"13"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 34ms (Views: 18.8ms | ActiveRecord: 3.6ms)
+
+
+Started DELETE "/tasks/13" for ::1 at 2019-04-14 15:52:23 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"pyo+R4cDMRhOh6uHzC4U2kE12RG3w3RhyywOWZxkaiu7wVFihgbRAAGWIWoHjt0giJ7/QX3UyEC28zFHbpqPvA==", "id"=>"13"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:71
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:75
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 13]]
+ ↳ app/controllers/tasks_controller.rb:75
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:75
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:52:23 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 23ms (Views: 20.1ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/13/edit" for ::1 at 2019-04-14 15:52:26 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"13"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (5.0ms)
+Completed 200 OK in 28ms (Views: 24.0ms | ActiveRecord: 0.4ms)
+
+
+Started POST "/tasks/13/edit" for ::1 at 2019-04-14 15:52:30 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/13/edit"):
+
+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 15:53:44 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 29ms (Views: 17.7ms | ActiveRecord: 2.6ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 15:53:57 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"VQGlv0B+zBX9/1EXqezmwl1gcSBbkPzrWyqApxh5yBhJ6sqaQXssDbLu2/piTC84lMtXcJGHQMom9b+56octjw==", "task"=>{"name"=>"laundry", "description"=>"bn", "completion_date"=>"mm"}, "commit"=>"Save Task"}
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 22:53:57.457941"], ["updated_at", "2019-04-14 22:53:57.457941"], ["name", "laundry"], ["description", "bn"], ["completion_date", "mm"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:53:57 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 21ms (Views: 18.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/18" for ::1 at 2019-04-14 15:53:59 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"18"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/18" for ::1 at 2019-04-14 15:54:02 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"18"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 22ms (Views: 19.1ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/18" for ::1 at 2019-04-14 15:54:04 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"8ERZv6HtTA+NwYN8d4OVM0dA4Tpf0wXD9T4VVFfF1hDsrzaaoOisF8LQCZG8I1zJjuvHapXEueKI4SpKpTszhw==", "id"=>"18"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:70
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:74
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 18]]
+ ↳ app/controllers/tasks_controller.rb:74
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:74
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:54:04 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 20ms (Views: 17.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/18/edit" for ::1 at 2019-04-14 15:54:06 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"18"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (4.5ms)
+Completed 200 OK in 27ms (Views: 23.2ms | ActiveRecord: 0.3ms)
+
+
+Started POST "/tasks/18/edit" for ::1 at 2019-04-14 15:54:13 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/18/edit"):
+
+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-14 15:56:53 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (8.2ms)
+Completed 200 OK in 34ms (Views: 25.7ms | ActiveRecord: 3.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 15:56:57 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 23ms (Views: 20.0ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 15:57:04 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"UQL/Xrw7lyPqh2R3gk+qkmuUKewXTfowozW2Zc0aRiRN6ZB7vT53O6WW7ppJ72Nooj8PvN1aRhHe6ol7P+Sjsw==", "task"=>{"name"=>"door", "description"=>"nj", "completion_date"=>"kl"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 22:57:04.621015"], ["updated_at", "2019-04-14 22:57:04.621015"], ["name", "door"], ["description", "nj"], ["completion_date", "kl"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:57:04 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 21ms (Views: 18.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 15:57:13 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 23ms (Views: 20.2ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 15:57:18 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"bwfNPEZX+bOXNtAnuI8YgbOLU1Udjobt/QqyAUz75SRz7KIZR1IZq9gnWspzL9F7eiB1BdeZOsyA1Y0fvgUAsw==", "task"=>{"name"=>"chair", "description"=>"nj", "completion_date"=>"nkj"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 22:57:18.907278"], ["updated_at", "2019-04-14 22:57:18.907278"], ["name", "chair"], ["description", "nj"], ["completion_date", "nkj"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:57:18 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 21ms (Views: 18.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/20" for ::1 at 2019-04-14 15:57:22 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"20"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 20], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.8ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/20" for ::1 at 2019-04-14 15:57:24 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"ov6Jom/vXfcXTW8Dxzo9Y9dk/NhgRsX4eYZX0mBLtVe+FeaHbuq971hc5e4MmvSZHs/aiKpRedkEWWjMkrVQwA==", "id"=>"20"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 20], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:76
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 20]]
+ ↳ app/controllers/tasks_controller.rb:76
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:76
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:57:24 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 20ms (Views: 17.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/20/edit" for ::1 at 2019-04-14 15:57:28 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"20"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 20], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (5.0ms)
+Completed 200 OK in 28ms (Views: 23.6ms | ActiveRecord: 0.3ms)
+
+
+Started POST "/tasks/20/edit" for ::1 at 2019-04-14 15:57:32 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/20/edit"):
+
+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-14 16:04:22 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (9.2ms)
+Completed 200 OK in 36ms (Views: 25.2ms | ActiveRecord: 6.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:04: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.3ms)
+Completed 200 OK in 24ms (Views: 21.5ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:04:35 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"FTLMSOLNIbpvjrO19lQKNNX65yqa6o0ou9rsShtTkVsJ2aNt48jBoiCfOVg99MPOHFHBelD9MQnGBdNU6a10zA==", "task"=>{"name"=>"drive", "description"=>"ui", "completion_date"=>"jkn"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:04:35.304500"], ["updated_at", "2019-04-14 23:04:35.304500"], ["name", "drive"], ["description", "ui"], ["completion_date", "jkn"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:04:35 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 21ms (Views: 17.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/19" for ::1 at 2019-04-14 16:04:39 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"19"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.4ms | ActiveRecord: 0.4ms)
+
+
+Started DELETE "/tasks/19" for ::1 at 2019-04-14 16:04:42 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"NLYc0zgpX4jdn/tvPb7SEK48j1AEH6BEEbYFeuMm1b8oXXP2OSy/kJKOcYL2HhvqZ5epAM4IHGVsaTpkEdgwKA==", "id"=>"19"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:76
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 19]]
+ ↳ app/controllers/tasks_controller.rb:76
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:76
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:04:42 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 19ms (Views: 16.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/19/edit" for ::1 at 2019-04-14 16:04:48 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"19"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+Redirected to http://localhost:3000/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks?flash%5Berror%5D=Task+does+not+exist%21" for ::1 at 2019-04-14 16:04:48 -0700
+Processing by TasksController#index as HTML
+ Parameters: {"flash"=>{"error"=>"Task does not exist!"}}
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 22ms (Views: 19.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/21" for ::1 at 2019-04-14 16:08:33 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"21"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 32ms (Views: 18.4ms | ActiveRecord: 3.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:08:39 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 29ms (Views: 26.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/21" for ::1 at 2019-04-14 16:08:44 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"21"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.1ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/21" for ::1 at 2019-04-14 16:08:51 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"heMrEumO7itb7iKWpctGYJHqUOatbePYq3eRfjsxiUeZCEQ36IsOMxT/qHtua4+aWEF2tmd6X/nWqK5gyc9s0A==", "id"=>"21"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:76
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 21]]
+ ↳ app/controllers/tasks_controller.rb:76
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:76
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:08:51 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 22ms (Views: 18.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/21/edit" for ::1 at 2019-04-14 16:08:56 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"21"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+Redirected to http://localhost:3000/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks?flash%5Berror%5D=Task+does+not+exist%21" for ::1 at 2019-04-14 16:08:56 -0700
+Processing by TasksController#index as HTML
+ Parameters: {"flash"=>{"error"=>"Task does not exist!"}}
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 24ms (Views: 21.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks?flash%5Berror%5D=Task+does+not+exist%21" for ::1 at 2019-04-14 16:09:15 -0700
+Processing by TasksController#index as HTML
+ Parameters: {"flash"=>{"error"=>"Task does not exist!"}}
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (10.1ms)
+Completed 200 OK in 39ms (Views: 31.4ms | ActiveRecord: 2.8ms)
+
+
+Started GET "/tasks/15" for ::1 at 2019-04-14 16:09:22 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"15"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 33ms (Views: 27.9ms | ActiveRecord: 0.3ms)
+
+
+Started DELETE "/tasks/15" for ::1 at 2019-04-14 16:09:31 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"zbXCTYXMaU0RE7pdbnnFup46S4otz8cZz2z9vnmLB0vRXq1ohMmJVV4CMLCl2QxAV5Ft2ufYeziys8Kgi3Xi3A==", "id"=>"15"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:76
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 15]]
+ ↳ app/controllers/tasks_controller.rb:76
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:76
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:09:31 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 20ms (Views: 17.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/15/edit" for ::1 at 2019-04-14 16:09:34 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"15"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (5.3ms)
+Completed 200 OK in 27ms (Views: 23.6ms | ActiveRecord: 0.3ms)
+
+
+Started POST "/tasks/15/edit" for ::1 at 2019-04-14 16:09:38 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/15/edit"):
+
+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 16:10:23 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 30ms (Views: 18.4ms | ActiveRecord: 2.9ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:10:31 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"nRjMCxwVtT3MxJesUs0Dwk3T1KxH9QjF/N1RLp11D02B86MuHRBVJYPVHUGZbco4hHjy/I3itOSBAm4wb4vq2g==", "task"=>{"name"=>"t1", "description"=>"bjkb", "completion_date"=>"hvhk"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:10:31.298920"], ["updated_at", "2019-04-14 23:10:31.298920"], ["name", "t1"], ["description", "bjkb"], ["completion_date", "hvhk"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:10:31 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 26ms (Views: 23.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:10:36 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 22ms (Views: 19.8ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:10:42 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"81J6eS1EVsxTrkxxOf/4HZipb2/9vzCp6/lxPeLObZ7vuRVcLEG21By/xpzyXzHnUQJJPzeojIiWJk4jEDCICQ==", "task"=>{"name"=>"t2", "description"=>"bmn", "completion_date"=>"bm,n"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:10:42.912693"], ["updated_at", "2019-04-14 23:10:42.912693"], ["name", "t2"], ["description", "bmn"], ["completion_date", "bm,n"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:10:42 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 20ms (Views: 17.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:10:56 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 20ms (Views: 17.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:10:59 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 22ms (Views: 19.2ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:11:06 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"ae+Mc3Om2v1wkL5n8xREhku+xvTfoWzYV6ZcbYF6/aV1BONWcqM65T+BNIo4tI18ghXgpBW20PkqeWNzc4QYMg==", "task"=>{"name"=>"t3", "description"=>"bgkjbk", "completion_date"=>"jlkhk"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:11:06.250829"], ["updated_at", "2019-04-14 23:11:06.250829"], ["name", "t3"], ["description", "bgkjbk"], ["completion_date", "jlkhk"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:11:06 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 21ms (Views: 17.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:11:09 -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 23ms (Views: 20.0ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:11:15 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"t3tzw3GLI2frydwS1EO702K47thoYnSUjyVAwyTFgWyrkBzmcI7Df6TYVv8f43IpqxPIiKJ1yLXy+n/d1jtk+w==", "task"=>{"name"=>"bgjkbk", "description"=>"bgjhbkj", "completion_date"=>"gj"}, "commit"=>"Save Task"}
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:11:15.241052"], ["updated_at", "2019-04-14 23:11:15.241052"], ["name", "bgjkbk"], ["description", "bgjhbkj"], ["completion_date", "gj"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:11:15 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 21ms (Views: 18.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/25" for ::1 at 2019-04-14 16:11:21 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"25"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.2ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/25" for ::1 at 2019-04-14 16:11:23 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"Y6Nd9X9fZGEXF3c3U8F0rdTywL8cpdJwC2IuDH8XrfB/SDLQflqEeVgG/dqYYb1XHVnm79ayblF2vRESjelIZw==", "id"=>"25"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:66
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:70
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 25]]
+ ↳ app/controllers/tasks_controller.rb:70
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:70
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:11:23 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 25ms (Views: 22.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/25/edit" for ::1 at 2019-04-14 16:11:26 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"25"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (4.8ms)
+Completed 200 OK in 26ms (Views: 22.6ms | ActiveRecord: 0.3ms)
+
+
+Started POST "/tasks/25/edit" for ::1 at 2019-04-14 16:11:29 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/25/edit"):
+
+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-14 16:12:21 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (7.3ms)
+Completed 200 OK in 28ms (Views: 21.2ms | ActiveRecord: 2.9ms)
+
+
+Started GET "/tasks/22" for ::1 at 2019-04-14 16:12:24 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"22"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 22], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 23ms (Views: 19.2ms | ActiveRecord: 0.3ms)
+
+
+Started DELETE "/tasks/22" for ::1 at 2019-04-14 16:12:26 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"1LoK8wajaFfUv6Me1arL4ScAoDpDZ+TyKYrzdwKm4erIUWXWB6aIT5uuKfMeCgIb7quGaolwWNNUVcxp8FgEfQ==", "id"=>"22"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 22], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:68
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 22]]
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:72
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:12:26 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 26ms (Views: 23.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/22/edit" for ::1 at 2019-04-14 16:12:29 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"22"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 22], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (5.5ms)
+Completed 200 OK in 27ms (Views: 23.6ms | ActiveRecord: 0.3ms)
+
+
+Started POST "/tasks/22/edit" for ::1 at 2019-04-14 16:12:35 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/22/edit"):
+
+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-14 16:13:09 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (7.2ms)
+Completed 200 OK in 29ms (Views: 22.0ms | ActiveRecord: 2.7ms)
+
+
+Started GET "/tasks/23" for ::1 at 2019-04-14 16:13:11 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"23"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 24ms (Views: 19.2ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/23" for ::1 at 2019-04-14 16:13:14 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"eyRJGcHg7sjGEpHF4wBoio4o4oh9ymyGyMWEIolevu9nzyY8wOUO0IkDGygooKFwR4PE2Lfd0Ke1Grs8e6BbeA==", "id"=>"23"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:69
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:73
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 23]]
+ ↳ app/controllers/tasks_controller.rb:73
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:73
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 9ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:13:14 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 20ms (Views: 17.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/23/edit" for ::1 at 2019-04-14 16:13:17 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"23"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (4.6ms)
+Completed 200 OK in 27ms (Views: 22.8ms | ActiveRecord: 0.2ms)
+
+
+Started POST "/tasks/23/edit" for ::1 at 2019-04-14 16:13:21 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/23/edit"):
+
+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-14 16:14:48 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (7.0ms)
+Completed 200 OK in 33ms (Views: 26.2ms | ActiveRecord: 2.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:15:56 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (6.9ms)
+Completed 200 OK in 28ms (Views: 21.2ms | ActiveRecord: 2.6ms)
+
+
+Started GET "/tasks/24" for ::1 at 2019-04-14 16:15:58 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"24"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 24], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.0ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/24" for ::1 at 2019-04-14 16:16:02 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"cu0NbSZEv/FA6igclbnKbhnXxtMGp7d6ZDAputNGczduBmJIJ0Ff6Q/7ovFeGQOU0Hzgg8ywC1sZ7xakIbiWoA==", "id"=>"24"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 24], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:74
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:78
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 24]]
+ ↳ app/controllers/tasks_controller.rb:78
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:78
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:16:02 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 22ms (Views: 18.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/24/edit" for ::1 at 2019-04-14 16:16:06 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"24"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 24], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+Redirected to http://localhost:3000/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks?flash%5Berror%5D=Task+does+not+exist%21" for ::1 at 2019-04-14 16:16:06 -0700
+Processing by TasksController#index as HTML
+ Parameters: {"flash"=>{"error"=>"Task does not exist!"}}
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (7.0ms)
+Completed 200 OK in 27ms (Views: 24.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:16:27 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 29ms (Views: 18.3ms | ActiveRecord: 2.7ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:16:32 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"qlr2BiCjEv4vcLkHW40AJo6fb0gekVUohdKay4+2ZLe2sZkjIaby5mBhM+qQLcncRzRJGNSG6Qn4DaXVfUiBIA==", "task"=>{"name"=>"uiugkj", "description"=>"bvhvhk", "completion_date"=>"vhjvhj"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:16:32.040398"], ["updated_at", "2019-04-14 23:16:32.040398"], ["name", "uiugkj"], ["description", "bvhvhk"], ["completion_date", "vhjvhj"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:16:32 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 21ms (Views: 18.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:16:35 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 23ms (Views: 20.0ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:16:42 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"P8i2FUayI206hKKWXLFVynVUlA0vlMKxvRQWjU1ju7kjI9kwR7fDdXWVKHuXEZwwvP+yXeWDfpDAyymTv51eLg==", "task"=>{"name"=>"wt", "description"=>"wer", "completion_date"=>""}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:16:42.488980"], ["updated_at", "2019-04-14 23:16:42.488980"], ["name", "wt"], ["description", "wer"], ["completion_date", ""]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:16:42 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 20ms (Views: 17.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:16:47 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 28ms (Views: 25.1ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:16:51 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"4A7pYUBAEX/PMBcIXPHVMTOY0AV1y0XTu43827uKx1j85YZEQUXxZ4AhneWXURzL+jP2Vb/c+fLGUsPFSXQizw==", "task"=>{"name"=>"wer", "description"=>"sers", "completion_date"=>"sfd"}, "commit"=>"Save Task"}
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:16:51.509393"], ["updated_at", "2019-04-14 23:16:51.509393"], ["name", "wer"], ["description", "sers"], ["completion_date", "sfd"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:16:51 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 21ms (Views: 17.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/26" for ::1 at 2019-04-14 16:16:57 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"26"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 26], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.2ms)
+
+
+Started DELETE "/tasks/26" for ::1 at 2019-04-14 16:17:09 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"uu+UMdJnq4tx4wkGgOLne5BO2mkyvUGX1Iy1dYfXNfamBPsU02JLkz7yg+tLQi6BWeX8Ofiq/bapU4prdSnQYQ==", "id"=>"26"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 26], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:74
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:78
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 26]]
+ ↳ app/controllers/tasks_controller.rb:78
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:78
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:17:09 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 21ms (Views: 18.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/26/edit" for ::1 at 2019-04-14 16:17:11 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"26"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 26], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (4.4ms)
+Completed 200 OK in 27ms (Views: 22.9ms | ActiveRecord: 0.4ms)
+
+
+Started POST "/tasks/26/edit" for ::1 at 2019-04-14 16:17:16 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/26/edit"):
+
+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-14 16:17:38 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (7.5ms)
+Completed 200 OK in 31ms (Views: 24.3ms | ActiveRecord: 2.5ms)
+
+
+Started GET "/tasks/28" for ::1 at 2019-04-14 16:17:39 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"28"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 28], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 27ms (Views: 23.5ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/28" for ::1 at 2019-04-14 16:17:41 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"O27S2BBDQ471r5/mxogp+QU5vG6Qb6G39QgA1BwmUngnhb39EUajlrq+FQsNKOADzJKaPlp4HZaI1z/K7ti37w==", "id"=>"28"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 28], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:74
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:78
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 28]]
+ ↳ app/controllers/tasks_controller.rb:78
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:78
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 5ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:17:41 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 30ms (Views: 27.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/28/edit" for ::1 at 2019-04-14 16:17:45 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"28"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 28], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (11.3ms)
+Completed 200 OK in 41ms (Views: 37.6ms | ActiveRecord: 0.2ms)
+
+
+Started POST "/tasks/28/edit" for ::1 at 2019-04-14 16:17:49 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/28/edit"):
+
+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-14 16:24:04 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (8.1ms)
+Completed 200 OK in 31ms (Views: 20.8ms | ActiveRecord: 5.8ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:24:09 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 24ms (Views: 21.0ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:24:20 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"PaHBPrbl5azmkiTKHMu7ExDmdBpX2a2305JwFcF0gA4hSq4bt+AFtKmDrifXa3Lp2U1SSp3OEZauTU8LM4plmQ==", "task"=>{"name"=>"w", "description"=>"j", "completion_date"=>"nj"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:24:20.973276"], ["updated_at", "2019-04-14 23:24:20.973276"], ["name", "w"], ["description", "j"], ["completion_date", "nj"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:24:20 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 20ms (Views: 17.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:24:25 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 24ms (Views: 21.4ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:24:30 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"xkztS6xuxbMG1RvJiMczssv4F7LwDMPpPwDYazocqc7ap4JurWslq0nEkSRDZ/pIAlMx4jobf8hC3+d1yOJMWQ==", "task"=>{"name"=>"io", "description"=>"nk", "completion_date"=>"mnk"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:24:30.965976"], ["updated_at", "2019-04-14 23:24:30.965976"], ["name", "io"], ["description", "nk"], ["completion_date", "mnk"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 9ms (ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:24:30 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 21ms (Views: 18.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/30" for ::1 at 2019-04-14 16:24:34 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"30"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 30], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 22ms (Views: 17.8ms | ActiveRecord: 0.4ms)
+
+
+Started DELETE "/tasks/30" for ::1 at 2019-04-14 16:24:36 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"rd0G5rLglbRqcPWBlO+gMeH2bOBjBZaauP986tFer/OxNmnDs+V1rCVhf2xfT2nLKF1KsKkSKrvFIEP0I6BKZA==", "id"=>"30"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 30], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:79
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:83
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 30]]
+ ↳ app/controllers/tasks_controller.rb:83
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:83
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:24:36 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 20ms (Views: 16.8ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/30/edit" for ::1 at 2019-04-14 16:24:39 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"30"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 30], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (4.6ms)
+Completed 200 OK in 27ms (Views: 23.6ms | ActiveRecord: 0.3ms)
+
+
+Started POST "/tasks/30/edit" for ::1 at 2019-04-14 16:24:42 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/30/edit"):
+
+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-14 16:29:48 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (7.0ms)
+Completed 200 OK in 28ms (Views: 21.1ms | ActiveRecord: 2.9ms)
+
+
+Started GET "/tasks/29" for ::1 at 2019-04-14 16:29:51 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"29"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.4ms | ActiveRecord: 0.3ms)
+
+
+Started DELETE "/tasks/29" for ::1 at 2019-04-14 16:29:54 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"XAIF8RahlyigL1b8Ru281qdZHw7tVCAnvBJU6gGd14NA6WrUF6R3MO8+3BGNTXUsbvI5XidDnAbBzWv082MyFA==", "id"=>"29"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:78
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:82
+ [1m[36mTask Destroy (0.4ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 29]]
+ ↳ app/controllers/tasks_controller.rb:82
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:82
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:29:54 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 20ms (Views: 17.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/29/edit" for ::1 at 2019-04-14 16:29:57 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"29"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (4.8ms)
+Completed 200 OK in 29ms (Views: 24.6ms | ActiveRecord: 0.4ms)
+
+
+Started POST "/tasks/29/edit" for ::1 at 2019-04-14 16:30:00 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/29/edit"):
+
+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-14 16:31:20 -0700
+
+SyntaxError - syntax error, unexpected ':', expecting keyword_end
+ redirect_to :edit :flash => {:error => "Task doe...
+ ^:
+ app/controllers/tasks_controller.rb:61:in `'
+
+Started POST "/__better_errors/65c358a457d769a8/variables" for ::1 at 2019-04-14 16:31:20 -0700
+Started GET "/tasks" for ::1 at 2019-04-14 16:31:59 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (7.4ms)
+Completed 200 OK in 30ms (Views: 22.5ms | ActiveRecord: 3.1ms)
+
+
+Started GET "/tasks/27" for ::1 at 2019-04-14 16:32:03 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"27"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 27], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 24ms (Views: 19.9ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/27" for ::1 at 2019-04-14 16:32:05 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"csG80nqDw000bDKVl2OMg94828i25qHDKq2c4siOuaJuKtP3e4YjVXt9uHhcw0V5F5f9mHzxHeJXcqP8OnBcNQ==", "id"=>"27"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 27], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:78
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:82
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 27]]
+ ↳ app/controllers/tasks_controller.rb:82
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:82
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:32:05 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 21ms (Views: 17.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/27/edit" for ::1 at 2019-04-14 16:32:07 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"27"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 27], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (6.1ms)
+Completed 200 OK in 28ms (Views: 24.6ms | ActiveRecord: 0.3ms)
+
+
+Started POST "/tasks/27/edit" for ::1 at 2019-04-14 16:32:10 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/27/edit"):
+
+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-14 16:33:01 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 25ms (Views: 19.2ms | ActiveRecord: 1.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:33:04 -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 28ms (Views: 19.5ms | ActiveRecord: 1.9ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:33:09 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"9SdtV7LPOojo/CEMdBT4t0WbcLdEhumBVjPm4wT1M1vpzAJys8rakKftq+G/tDFNjDBW546RVaAr7Nn99gvWzA==", "task"=>{"name"=>"io", "description"=>"io", "completion_date"=>"io"}, "commit"=>"Save Task"}
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:33:09.465632"], ["updated_at", "2019-04-14 23:33:09.465632"], ["name", "io"], ["description", "io"], ["completion_date", "io"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:33:09 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 21ms (Views: 18.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:33:12 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 29ms (Views: 26.0ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:33:18 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"vH/p7x4G52V+corQukfMcl1ubqrtK7VXUbf6q5JfgrOglIbKHwMHfTFjAD1x5wWIlMVI+ic8CXYsaMW1YKFnJA==", "task"=>{"name"=>"yu", "description"=>"ui", "completion_date"=>"ui"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:33:18.752298"], ["updated_at", "2019-04-14 23:33:18.752298"], ["name", "yu"], ["description", "ui"], ["completion_date", "ui"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:33:18 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 21ms (Views: 18.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:33:22 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 23ms (Views: 20.2ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:33:27 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"riowcvmYaFV0bZyRU09GhwBIe4JKVitPbLDAH3v8eO2ywV9X+J2ITTt8FnyY7499yeNd0oBBl24Rb/8BiQKdeg==", "task"=>{"name"=>"er", "description"=>"ere", "completion_date"=>"er"}, "commit"=>"Save Task"}
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:33:27.314475"], ["updated_at", "2019-04-14 23:33:27.314475"], ["name", "er"], ["description", "ere"], ["completion_date", "er"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:33:27 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 21ms (Views: 18.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/33" for ::1 at 2019-04-14 16:33:30 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"33"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 33], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 25ms (Views: 20.6ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/33" for ::1 at 2019-04-14 16:33:32 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"jyjU7ZWFD3h4xgmcUnJm9s6t0t2zY16JSHTfYVfRhHSTw7vIlIDvYDfXg3GZ0q8MBwb0jXl04qg1q+B/pS9h4w==", "id"=>"33"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 33], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:78
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:82
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 33]]
+ ↳ app/controllers/tasks_controller.rb:82
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:82
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 1.1ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:33:32 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 22ms (Views: 19.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/33/edit" for ::1 at 2019-04-14 16:33:35 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"33"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 33], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (5.1ms)
+Completed 200 OK in 28ms (Views: 23.8ms | ActiveRecord: 0.3ms)
+
+
+Started POST "/tasks/33/edit" for ::1 at 2019-04-14 16:33:39 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/33/edit"):
+
+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-14 16:34:01 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (7.4ms)
+Completed 200 OK in 30ms (Views: 22.0ms | ActiveRecord: 3.1ms)
+
+
+Started GET "/tasks/31" for ::1 at 2019-04-14 16:34:03 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"31"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 31], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/31/edit" for ::1 at 2019-04-14 16:34:06 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"31"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 31], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 25ms (Views: 21.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/31" for ::1 at 2019-04-14 16:34:12 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"31"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 31], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 25ms (Views: 20.9ms | ActiveRecord: 0.3ms)
+
+
+Started DELETE "/tasks/31" for ::1 at 2019-04-14 16:34:13 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"fTTkI6CaR2n9txLlcvBd3FKWXZfRkVSH/cz2A7uWSB5h34sGoZ+ncbKmmAi5UJQmmz17xxuG6KaAE8kdSWitiQ==", "id"=>"31"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 31], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:78
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:82
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 31]]
+ ↳ app/controllers/tasks_controller.rb:82
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:82
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 10ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:34:13 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 21ms (Views: 18.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/31/edit" for ::1 at 2019-04-14 16:34:16 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"31"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 31], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (4.6ms)
+Completed 200 OK in 27ms (Views: 23.2ms | ActiveRecord: 0.3ms)
+
+
+Started POST "/tasks/31/edit" for ::1 at 2019-04-14 16:34:20 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/31/edit"):
+
+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/31/edit" for ::1 at 2019-04-14 16:34:48 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"31"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 31], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (4.9ms)
+Completed 200 OK in 35ms (Views: 28.4ms | ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks/32" for ::1 at 2019-04-14 16:34:52 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"32"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 32], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 32ms (Views: 20.4ms | ActiveRecord: 2.2ms)
+
+
+Started DELETE "/tasks/32" for ::1 at 2019-04-14 16:34:54 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"eUlCpbTHpC5/UqSM7x43xsTdWB5vRBprOI8aF64MbzFloi2AtcJENjBDLmEkvv48DXZ+TqVTpkpFUCUJXPKKpg==", "id"=>"32"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 32], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:78
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:82
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 32]]
+ ↳ app/controllers/tasks_controller.rb:82
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:82
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:34:54 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 22ms (Views: 18.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/32/edit" for ::1 at 2019-04-14 16:34:57 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"32"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 32], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (7.1ms)
+Completed 200 OK in 38ms (Views: 33.9ms | ActiveRecord: 0.3ms)
+
+
+Started POST "/tasks/32/edit" for ::1 at 2019-04-14 16:35:00 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/32/edit"):
+
+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-14 16:36:24 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 23ms (Views: 17.3ms | ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:36:26 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 29ms (Views: 20.1ms | ActiveRecord: 2.2ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:36:32 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"DYsz7jAltKsr+La8VDBGa3YKXucfdfXAPQLjAtKupH4RYFzLMSBUs2TpPFGfkI+Rv6F4t9ViSeFA3dwcIFBB6Q==", "task"=>{"name"=>"i", "description"=>"NJK", "completion_date"=>"BN"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:36:32.132873"], ["updated_at", "2019-04-14 23:36:32.132873"], ["name", "i"], ["description", "NJK"], ["completion_date", "BN"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:36:32 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 21ms (Views: 18.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:36:36 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 22ms (Views: 19.7ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:36:40 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"ifW8FtktfrxgquAJFPTMWtK/ncHx35gH0gSKGgfIdzeVHtMz2CiepC+7auTfVAWgGxS7kTvIJCav27UE9TaSoA==", "task"=>{"name"=>"io", "description"=>"io", "completion_date"=>"io"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:36:40.809988"], ["updated_at", "2019-04-14 23:36:40.809988"], ["name", "io"], ["description", "io"], ["completion_date", "io"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:36:40 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 20ms (Views: 17.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:36:44 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 24ms (Views: 21.1ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:36:49 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Og28HS+FOgaPxFR9JKMAMooWIJG923AddeQQMzOhn+sm5tM4LoDaHsDV3pDvA8nIQ70GwXfMzDwIOy8twV96fA==", "task"=>{"name"=>"qw", "description"=>"qw", "completion_date"=>"se"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:36:49.684744"], ["updated_at", "2019-04-14 23:36:49.684744"], ["name", "qw"], ["description", "qw"], ["completion_date", "se"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:36:49 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 26ms (Views: 23.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/34" for ::1 at 2019-04-14 16:36:52 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"34"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 34], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.4ms | ActiveRecord: 0.3ms)
+
+
+Started DELETE "/tasks/34" for ::1 at 2019-04-14 16:36:56 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"RpKrbguJwcuhMbMHCVgWmyY4rAhkKpYzB0dvJL+LAidaecRLCowh0+4gOerC+N9h75OKWK49KhJ6mFA6TXXnsA==", "id"=>"34"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 34], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:78
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:82
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 34]]
+ ↳ app/controllers/tasks_controller.rb:82
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:82
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:36:56 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 21ms (Views: 17.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/34/edit" for ::1 at 2019-04-14 16:36:58 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"34"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 34], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+Redirected to http://localhost:3000/
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:36:58 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 22ms (Views: 19.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/35" for ::1 at 2019-04-14 16:37:18 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"35"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 35], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 33ms (Views: 19.5ms | ActiveRecord: 3.1ms)
+
+
+Started DELETE "/tasks/35" for ::1 at 2019-04-14 16:37:19 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"tnsIIJ2RlwJAzm1F/cLIsRpG/StEMyP3h0EjwBK+NPaqkGcFnJR3Gg/f56g2YgFL0+3be44kn9b6nhze4EDRYQ==", "id"=>"35"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 35], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:78
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:82
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 35]]
+ ↳ app/controllers/tasks_controller.rb:82
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:82
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:37:19 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 20ms (Views: 17.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/35/edit" for ::1 at 2019-04-14 16:37:22 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"35"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 35], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+Redirected to http://localhost:3000/
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:37:22 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 29ms (Views: 25.8ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:37:35 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (7.2ms)
+Completed 200 OK in 29ms (Views: 21.4ms | ActiveRecord: 2.8ms)
+
+
+Started GET "/tasks/36" for ::1 at 2019-04-14 16:37:37 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"36"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 36], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 23ms (Views: 19.1ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/36" for ::1 at 2019-04-14 16:37:39 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"8FBuWWAEZwyHh04mxlN2DVuOkGI8bmWuQPGrDu4NmmPsuwF8YQGHFMiWxMsN87/3kiW2MvZ52Y89LpQQHPN/9A==", "id"=>"36"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 36], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:78
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:82
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 36]]
+ ↳ app/controllers/tasks_controller.rb:82
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:82
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:37:39 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 21ms (Views: 17.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/36/edit" for ::1 at 2019-04-14 16:37:43 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"36"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 36], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:37:43 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 24ms (Views: 20.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:38:00 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 27ms (Views: 21.7ms | ActiveRecord: 1.1ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:38:02 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 29ms (Views: 19.1ms | ActiveRecord: 1.9ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:38:07 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Q8FriGwdWBRmI2iEClDEe/zD/1OREnptOylz9yLKyQ1fKgStbRi4DCky4mnB8A2BNWjZA1sFxkxG9kzp0DQsmg==", "task"=>{"name"=>"op", "description"=>"oo", "completion_date"=>"ji"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:38:07.219842"], ["updated_at", "2019-04-14 23:38:07.219842"], ["name", "op"], ["description", "oo"], ["completion_date", "ji"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:38:07 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 20ms (Views: 17.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:38:11 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 22ms (Views: 19.9ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:38:15 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"GlJQkf5PZAyIcojSh7rzlEQx/pyNthUFNJMqiAzPyk8GuT+0/0qEFMdjAj9MGjpujZrYzEehqSRJTBWW/jEv2A==", "task"=>{"name"=>"yu", "description"=>"gtu", "completion_date"=>"cc"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:38:15.612650"], ["updated_at", "2019-04-14 23:38:15.612650"], ["name", "yu"], ["description", "gtu"], ["completion_date", "cc"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:38:15 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 21ms (Views: 18.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:38:19 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 23ms (Views: 20.3ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:38:23 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"cg0shkgj4rSM9BdTetVu0VR5WSHNo6EK/KVmQJCyU41u5kOjSSYCrMPlnb6xdacrndJ/cQe0HSuBelleYky2Gg==", "task"=>{"name"=>"y", "description"=>"c", "completion_date"=>"v"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:38:23.590445"], ["updated_at", "2019-04-14 23:38:23.590445"], ["name", "y"], ["description", "c"], ["completion_date", "v"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:38:23 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 21ms (Views: 17.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/37" for ::1 at 2019-04-14 16:38:27 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"37"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 37], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 28ms (Views: 23.7ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/37" for ::1 at 2019-04-14 16:38:32 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"uw1N7ojXvwFFIqIQroGsViXCfbjqQ9E0oqVotdDXwGWn5iLLidJfGQozKP1lIWWs7Glb6CBUbRXfelerIikl8g==", "id"=>"37"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 37], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:78
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:82
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 37]]
+ ↳ app/controllers/tasks_controller.rb:82
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:82
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:38:32 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 22ms (Views: 18.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/37/edit" for ::1 at 2019-04-14 16:38:34 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"37"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 37], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:38:34 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 22ms (Views: 19.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/39" for ::1 at 2019-04-14 16:38:48 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"39"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 39], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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: 3.0ms)
+
+
+Started DELETE "/tasks/39" for ::1 at 2019-04-14 16:38:51 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"eDd2dt/YaFppQOjGzrFz8bfNjF3u1y4nDn62OYNHkC1k3BlT3t2IQiZRYisFEboLfmaqDSTAkgZzoYkncbl1ug==", "id"=>"39"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 39], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:78
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:82
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 39]]
+ ↳ app/controllers/tasks_controller.rb:82
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:82
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:38:51 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 20ms (Views: 17.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/39/edit" for ::1 at 2019-04-14 16:38:55 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"39"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 39], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+Redirected to http://localhost:3000/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks?flash%5Berror%5D=Task+does+not+exist%21" for ::1 at 2019-04-14 16:38:55 -0700
+Processing by TasksController#index as HTML
+ Parameters: {"flash"=>{"error"=>"Task does not exist!"}}
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 22ms (Views: 19.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/38" for ::1 at 2019-04-14 16:39:04 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"38"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 38], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 30ms (Views: 17.0ms | ActiveRecord: 3.0ms)
+
+
+Started GET "/tasks/38/edit" for ::1 at 2019-04-14 16:39:05 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"38"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 38], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 25ms (Views: 20.8ms | ActiveRecord: 0.2ms)
+
+
+Started PATCH "/tasks/38" for ::1 at 2019-04-14 16:39:10 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y2W8CVVjGdOA6mslENcl50F6uihcwULqcWPXGzTveXiRVEaoUtR23SGz+r+G9VShOZHfZoCjucb2aKBiJkihEA==", "task"=>{"name"=>"yu!!!", "description"=>"gtu", "completion_date"=>"cc"}, "commit"=>"Save Task", "id"=>"38"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 38], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:58
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "yu!!!"], ["updated_at", "2019-04-14 23:39:10.221328"], ["id", 38]]
+ ↳ app/controllers/tasks_controller.rb:58
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:58
+Redirected to http://localhost:3000/tasks/38
+Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks/38" for ::1 at 2019-04-14 16:39:10 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"38"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 38], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:39:12 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 24ms (Views: 20.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/78/edit" for ::1 at 2019-04-14 16:39:59 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"78"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 78], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+Redirected to http://localhost:3000/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 5ms (ActiveRecord: 1.1ms)
+
+
+Started GET "/tasks?flash%5Berror%5D=Task+does+not+exist%21" for ::1 at 2019-04-14 16:39:59 -0700
+Processing by TasksController#index as HTML
+ Parameters: {"flash"=>{"error"=>"Task does not exist!"}}
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (7.7ms)
+Completed 200 OK in 28ms (Views: 23.5ms | ActiveRecord: 1.7ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:41:19 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (9.6ms)
+Completed 200 OK in 39ms (Views: 30.5ms | ActiveRecord: 2.7ms)
+
+
+Started GET "/tasks/38" for ::1 at 2019-04-14 16:41:21 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"38"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 38], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 31ms (Views: 26.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/38/edit" for ::1 at 2019-04-14 16:41:23 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"38"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 38], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 32ms (Views: 28.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:41:27 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 24ms (Views: 20.7ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/67/edit" for ::1 at 2019-04-14 16:41:39 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"67"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 67], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+Redirected to http://localhost:3000/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks?flash%5Berror%5D=Task+does+not+exist%21" for ::1 at 2019-04-14 16:41:39 -0700
+Processing by TasksController#index as HTML
+ Parameters: {"flash"=>{"error"=>"Task does not exist!"}}
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 22ms (Views: 19.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks?flash%5Berror%5D=Task+does+not+exist%21" for ::1 at 2019-04-14 16:42:56 -0700
+Processing by TasksController#index as HTML
+ Parameters: {"flash"=>{"error"=>"Task does not exist!"}}
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 21ms (Views: 18.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks?flash%5Berror%5D=Task+does+not+exist%21" for ::1 at 2019-04-14 16:45:11 -0700
+Processing by TasksController#index as HTML
+ Parameters: {"flash"=>{"error"=>"Task does not exist!"}}
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 22ms (Views: 18.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks?flash%5Berror%5D=Task+does+not+exist%21" for ::1 at 2019-04-14 16:45:17 -0700
+Processing by TasksController#index as HTML
+ Parameters: {"flash"=>{"error"=>"Task does not exist!"}}
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 21ms (Views: 18.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/38" for ::1 at 2019-04-14 16:45:21 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"38"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 38], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.7ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/38" for ::1 at 2019-04-14 16:45:23 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"5plZfHqTHF1R7apdORBsR0zxqniMetKsbi3t/SjjCxj6cjZZe5b8RR78ILDysKW9hVqMKEZtbo0T8tLj2h3ujw==", "id"=>"38"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 38], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:66
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:70
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 38]]
+ ↳ app/controllers/tasks_controller.rb:70
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:70
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:45:23 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 20ms (Views: 17.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/38/edit" for ::1 at 2019-04-14 16:45:26 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"38"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 38], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+Redirected to http://localhost:3000/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks?flash%5Berror%5D=Task+does+not+exist%21" for ::1 at 2019-04-14 16:45:26 -0700
+Processing by TasksController#index as HTML
+ Parameters: {"flash"=>{"error"=>"Task does not exist!"}}
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 28ms (Views: 24.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:45:56 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 22ms (Views: 17.1ms | ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:45:58 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 28ms (Views: 19.6ms | ActiveRecord: 1.6ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:46:03 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"oWwA+qoi+renv7BqIe09t0t373/BIOq/+61ESAj8wNS9h2/fqycar+iuOofqTfRNgtzJLws3Vp6GcntW+gIlQw==", "task"=>{"name"=>"Y", "description"=>"O", "completion_date"=>"O"}, "commit"=>"Save Task"}
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:46:03.286133"], ["updated_at", "2019-04-14 23:46:03.286133"], ["name", "Y"], ["description", "O"], ["completion_date", "O"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:46:03 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 21ms (Views: 17.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:46:08 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 24ms (Views: 20.9ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:46:12 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"6Lx6Ay21FVIClYbjgDvQVQ4Qb3jleVNYYnlSawJ0FPn0VxUmLLD1Sk2EDA5Lmxmvx7tJKC9u73kfpm118Irxbg==", "task"=>{"name"=>"rt", "description"=>"rt", "completion_date"=>"rt"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:46:12.346945"], ["updated_at", "2019-04-14 23:46:12.346945"], ["name", "rt"], ["description", "rt"], ["completion_date", "rt"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:46:12 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 21ms (Views: 17.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:46:16 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 24ms (Views: 21.4ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:46:21 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"YsNqr0lRB2RoWUBdmCDuQQUwSMWnnff/5dyeApvhrWt+KAWKSFTnfCdIyrBTgCe7zJtulW2KS96YA6EcaR9I/A==", "task"=>{"name"=>"e", "description"=>"e", "completion_date"=>"e"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:46:21.269737"], ["updated_at", "2019-04-14 23:46:21.269737"], ["name", "e"], ["description", "e"], ["completion_date", "e"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:46:21 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 19ms (Views: 16.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/40" for ::1 at 2019-04-14 16:46:24 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"40"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 40], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 23ms (Views: 19.2ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/40" for ::1 at 2019-04-14 16:46:25 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"SwJCcwh2yPsd/MS2UA0zoHViis//pKIckGGMDnLxDkdX6S1WCXMo41LtTlubrfpavMmsnzWzHj3tvrMQgA/r0A==", "id"=>"40"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 40], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:66
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:70
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 40]]
+ ↳ app/controllers/tasks_controller.rb:70
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:70
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:46:25 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 20ms (Views: 17.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/40/edit" for ::1 at 2019-04-14 16:46:28 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"40"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 40], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+Redirected to http://localhost:3000/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks?flash%5Berror%5D=Task+does+not+exist%21" for ::1 at 2019-04-14 16:46:28 -0700
+Processing by TasksController#index as HTML
+ Parameters: {"flash"=>{"error"=>"Task does not exist!"}}
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 23ms (Views: 19.8ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/89/edit" for ::1 at 2019-04-14 16:46:41 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"89"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 89], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+Redirected to http://localhost:3000/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks?flash%5Berror%5D=Task+does+not+exist%21" for ::1 at 2019-04-14 16:46:41 -0700
+Processing by TasksController#index as HTML
+ Parameters: {"flash"=>{"error"=>"Task does not exist!"}}
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 21ms (Views: 18.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks?flash%5Berror%5D=Task+does+not+exist%21" for ::1 at 2019-04-14 16:47:02 -0700
+Processing by TasksController#index as HTML
+ Parameters: {"flash"=>{"error"=>"Task does not exist!"}}
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (7.2ms)
+Completed 200 OK in 34ms (Views: 27.1ms | ActiveRecord: 2.6ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:47:04 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 23ms (Views: 19.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:47:10 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 21ms (Views: 17.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/42" for ::1 at 2019-04-14 16:47:13 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"42"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 42], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-14 16:47:17 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/1000/edit" for ::1 at 2019-04-14 16:47:19 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1000"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1000], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+Redirected to http://localhost:3000/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks?flash%5Berror%5D=Task+does+not+exist%21" for ::1 at 2019-04-14 16:47:19 -0700
+Processing by TasksController#index as HTML
+ Parameters: {"flash"=>{"error"=>"Task does not exist!"}}
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 21ms (Views: 18.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:51:52 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (8.8ms)
+Completed 200 OK in 35ms (Views: 27.1ms | ActiveRecord: 3.3ms)
+
+
+Started GET "/tasks/56587578/edit" for ::1 at 2019-04-14 16:52:01 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"56587578"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 56587578], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+Redirected to http://localhost:3000/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks?flash%5Berror%5D=Task+does+not+exist%21" for ::1 at 2019-04-14 16:52:01 -0700
+Processing by TasksController#index as HTML
+ Parameters: {"flash"=>{"error"=>"Task does not exist!"}}
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 21ms (Views: 18.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/42" for ::1 at 2019-04-14 16:54:21 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"42"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 42], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.5ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/42" for ::1 at 2019-04-14 16:54:24 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"c6DhC5zpd82t+DahuiA6w+HJwIR1ZTE9FWHI5UEDQgdvS44uneyX1eLpvExxgPM5KGLm1L9yjRxovvf7s/2nkA==", "id"=>"42"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 42], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:66
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:70
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 42]]
+ ↳ app/controllers/tasks_controller.rb:70
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:70
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:54:24 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 21ms (Views: 17.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/42/edit" for ::1 at 2019-04-14 16:54:26 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"42"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 42], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+Redirected to http://localhost:3000/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks?flash%5Berror%5D=Task+does+not+exist%21" for ::1 at 2019-04-14 16:54:26 -0700
+Processing by TasksController#index as HTML
+ Parameters: {"flash"=>{"error"=>"Task does not exist!"}}
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 22ms (Views: 18.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/41" for ::1 at 2019-04-14 16:55:24 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"41"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 41], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 37ms (Views: 24.1ms | ActiveRecord: 2.9ms)
+
+
+Started GET "/tasks/41/edit" for ::1 at 2019-04-14 16:55:27 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"41"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 41], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 25ms (Views: 21.1ms | ActiveRecord: 0.3ms)
+
+
+Started DELETE "/tasks/41" for ::1 at 2019-04-14 16:55:35 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"lkQo10glRU0Kny5I62wAnqe5/mg7gjd4vRQWaIZo4CeKr0fySSClVUWOpKUgzMlkbhLYOPGVi1nAyyl2dJYFsA==", "id"=>"41"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 41], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:66
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:70
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 41]]
+ ↳ app/controllers/tasks_controller.rb:70
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:70
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:55:35 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 21ms (Views: 17.8ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/41" for ::1 at 2019-04-14 16:55:37 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"uXPgOBtzzHfiK05dLqzfmPMt58K8e3u218Muog/3sfRsBYGCbGyNTDblsjUUfAgZmdBzLLgrfC91ck7IgPzArQ==", "task"=>{"name"=>"rthcvd", "description"=>"rtcasb", "completion_date"=>"rthk"}, "commit"=>"Save Task", "id"=>"41"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 41], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:54
+No template found for TasksController#update, rendering head :no_content
+Completed 204 No Content in 110ms (ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/41/edit" for ::1 at 2019-04-14 16:56:04 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"41"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 41], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+Redirected to http://localhost:3000/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
+
+
+Started GET "/tasks?flash%5Berror%5D=Task+does+not+exist%21" for ::1 at 2019-04-14 16:56:04 -0700
+Processing by TasksController#index as HTML
+ Parameters: {"flash"=>{"error"=>"Task does not exist!"}}
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 19ms (Views: 16.8ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:56:12 -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 30ms (Views: 20.5ms | ActiveRecord: 2.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:56:19 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"E7y0G9U+rHNS1A0NOgya2c5E38KzsqPJUhkpIky0AJUPV9s+1DtMax3Fh+DxrFMjB+/5knmlH+gvxhY8vkrlAg==", "task"=>{"name"=>"y", "description"=>"u", "completion_date"=>"u"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:56:19.036963"], ["updated_at", "2019-04-14 23:56:19.036963"], ["name", "y"], ["description", "u"], ["completion_date", "u"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:56:19 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 27ms (Views: 18.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:56:22 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 24ms (Views: 21.7ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:56:27 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"WTNu89f7N3i8m9gdxH75T29k+rQJRcrLYiBflRo1DVpF2AHW1v7XYPOKUvAP3jC1ps/c5MNSduof/2CL6MvozQ==", "task"=>{"name"=>"we", "description"=>"we", "completion_date"=>"we"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:56:27.229754"], ["updated_at", "2019-04-14 23:56:27.229754"], ["name", "we"], ["description", "we"], ["completion_date", "we"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:56:27 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 23ms (Views: 19.5ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:56:30 -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: 30.2ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:56:37 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"97ad990FlROzbyhYx3gsLC8gyPwgxNWKRmPG7NxddhPrXfLS3AB1C/x+orUM2OXW5ovurOrTaas7vPnyLqOThA==", "task"=>{"name"=>"qqq", "description"=>"qqq", "completion_date"=>"qqq"}, "commit"=>"Save Task"}
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:56:37.050147"], ["updated_at", "2019-04-14 23:56:37.050147"], ["name", "qqq"], ["description", "qqq"], ["completion_date", "qqq"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:56:37 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 28ms (Views: 24.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/43" for ::1 at 2019-04-14 16:56:41 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"43"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 43], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 33ms (Views: 29.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/43/edit" for ::1 at 2019-04-14 16:56:53 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"43"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 43], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 38ms (Views: 34.0ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/43" for ::1 at 2019-04-14 16:57:03 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"V202Wua1NeuGXK+nxjw93rr8YoWEbjnnwgjxaF0zo8VLhll/57DV88lNJUoNnPQkc1dE1U55hca/1852r81GUg==", "id"=>"43"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 43], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:66
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:70
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 43]]
+ ↳ app/controllers/tasks_controller.rb:70
+ [1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:70
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:57:03 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 20ms (Views: 17.6ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/43" for ::1 at 2019-04-14 16:57:06 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"DDNVl3+bBD0KKBSGXl6pT0ShHUxFsVSkG42d9ZcJjCcZAccGVspjq9RttTieYzhyjuPRiilzxY0MLumusF5edQ==", "task"=>{"name"=>"yyu", "description"=>"yu", "completion_date"=>"yuyu"}, "commit"=>"Save Task", "id"=>"43"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 43], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:54
+No template found for TasksController#update, rendering head :no_content
+Completed 204 No Content in 102ms (ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/45" for ::1 at 2019-04-14 16:57:45 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"45"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 45], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 33ms (Views: 19.5ms | ActiveRecord: 3.0ms)
+
+
+Started GET "/tasks/45/edit" for ::1 at 2019-04-14 16:57:48 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"45"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 45], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 25ms (Views: 21.3ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/45" for ::1 at 2019-04-14 16:57:57 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"SLcsbHq2XJMcugxX2zX/OCoiPmvOhK2+/6m6r9d4NKxUXENJe7O8i1OrhroQlTbC44kYOwSTEZ+CdoWxJYbROw==", "id"=>"45"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 45], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:66
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:70
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 45]]
+ ↳ app/controllers/tasks_controller.rb:70
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:70
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 13ms (ActiveRecord: 3.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:57:57 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 25ms (Views: 22.1ms | ActiveRecord: 0.2ms)
+
+
+Started PATCH "/tasks/45" for ::1 at 2019-04-14 16:58:00 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"26PO/U94H4DJ4E2JZE3AQpLzAlVFmRD9Nrt8xDnzs2hON5l2A+MD5yR2ehcpdKbony7ejrbjy1uRBwK24ml0bQ==", "task"=>{"name"=>"qqq", "description"=>"qqquiu", "completion_date"=>"qqq"}, "commit"=>"Save Task", "id"=>"45"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 45], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:54
+No template found for TasksController#update, rendering head :no_content
+Completed 204 No Content in 108ms (ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:58:51 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (7.2ms)
+Completed 200 OK in 29ms (Views: 22.4ms | ActiveRecord: 2.6ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:58:52 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 22ms (Views: 18.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/44" for ::1 at 2019-04-14 16:58:54 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"44"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 44], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/44/edit" for ::1 at 2019-04-14 16:58:57 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"44"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 44], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 26ms (Views: 21.9ms | ActiveRecord: 0.3ms)
+
+
+Started DELETE "/tasks/44" for ::1 at 2019-04-14 16:58:59 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"CvyEtXAfa5PVdSZWYZ2do7EbEdp7wID8xHZlI4Qd448WF+uQcRqLi5pkrLuqPVRZeLA3irHXPN25qVo9duMGGA==", "id"=>"44"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 44], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:67
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:71
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 44]]
+ ↳ app/controllers/tasks_controller.rb:71
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:71
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:58:59 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 26ms (Views: 23.5ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/44" for ::1 at 2019-04-14 16:59:06 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"OeTBm9CqoBmFyb9iwhHgBdGWb9gdI3tqcNM5JPtumq+wscnwQgwp/zm+kCgrDIdyCF+y7NskDFhDRmdgwMud0Q==", "task"=>{"name"=>"weio", "description"=>"io", "completion_date"=>"io"}, "commit"=>"Save Task", "id"=>"44"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 44], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:54
+No template found for TasksController#update, rendering head :no_content
+Completed 204 No Content in 107ms (ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:59:43 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 23ms (Views: 17.1ms | ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:59:46 -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 28ms (Views: 19.0ms | ActiveRecord: 2.3ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 16:59:51 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"BFC/9QExIlaaUSZDozGwxDsojiOG9NvsKkgOsgy8K8sYu9DQADTCTtVArK5okXk+8oOoc0zjZ81XlzGs/kLOXA==", "task"=>{"name"=>"uiui", "description"=>"uiu", "completion_date"=>"ui"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:59:51.971432"], ["updated_at", "2019-04-14 23:59:51.971432"], ["name", "uiui"], ["description", "uiu"], ["completion_date", "ui"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:59:51 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 21ms (Views: 18.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:59:55 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 24ms (Views: 21.0ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 17:00:01 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"w6+aAa6htyqIRzPLPffQ1OQrJ6AjgR7ABtysZ3EvuAPfRPUkr6RXMsdWuSb2VxkuLYAB8OmWouF7A5N5g9FdlA==", "task"=>{"name"=>"weersr", "description"=>"swrsrsg", "completion_date"=>"dsrgd"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:00:01.009014"], ["updated_at", "2019-04-15 00:00:01.009014"], ["name", "weersr"], ["description", "swrsrsg"], ["completion_date", "dsrgd"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 17:00:01 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 21ms (Views: 17.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 17:00:04 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 22ms (Views: 19.8ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 17:00:15 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZJbwgYDrzQr9Z2xOz+amlOUcFdamueJgH13YxE2YKsB4fZ+kge4tErJ25qMERm9uLLczhmyuXkFigufav2bPVw==", "task"=>{"name"=>"aaaa", "description"=>"aaaa", "completion_date"=>"aaa"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:00:15.671171"], ["updated_at", "2019-04-15 00:00:15.671171"], ["name", "aaaa"], ["description", "aaaa"], ["completion_date", "aaa"]]
+ ↳ app/controllers/tasks_controller.rb:36
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:36
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 17:00:15 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 21ms (Views: 17.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/48" for ::1 at 2019-04-14 17:00:21 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"48"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 48], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.4ms)
+
+
+Started GET "/tasks/48/edit" for ::1 at 2019-04-14 17:00:25 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"48"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 48], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 26ms (Views: 21.7ms | ActiveRecord: 0.4ms)
+
+
+Started DELETE "/tasks/48" for ::1 at 2019-04-14 17:00:28 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"O1eLGG1slQ5/4bFMe/s5v4ds8BfjfJ+Fci6xPLg4q4wnvOQ9bGl1FjDwO6GwW/BFTsfWRylrI6QP8Y4iSsZOGw==", "id"=>"48"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 48], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:69
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:73
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 48]]
+ ↳ app/controllers/tasks_controller.rb:73
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:73
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 17:00:28 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 21ms (Views: 17.8ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/48" for ::1 at 2019-04-14 17:00:34 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"bYR7YYkK4/SpIlyH6c08aKemQdAQkFQ4BxQoqmdJDwrNxTCUH/STVUIE9iTdJnwdRyernImdcxQAPR6EB0gMeA==", "task"=>{"name"=>"aaaahghjm", "description"=>"bvmhn", "completion_date"=>"vcn"}, "commit"=>"Save Task", "id"=>"48"}
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 48], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:54
+No template found for TasksController#update, rendering head :no_content
+Completed 204 No Content in 111ms (ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/48/edit" for ::1 at 2019-04-14 17:01:04 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"48"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 48], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+Redirected to http://localhost:3000/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 5ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks?flash%5Berror%5D=Task+does+not+exist%21" for ::1 at 2019-04-14 17:01:04 -0700
+Processing by TasksController#index as HTML
+ Parameters: {"flash"=>{"error"=>"Task does not exist!"}}
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (7.6ms)
+Completed 200 OK in 27ms (Views: 22.6ms | ActiveRecord: 1.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 17:01:09 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 20ms (Views: 17.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/46" for ::1 at 2019-04-14 17:01:11 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"46"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 46], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 23ms (Views: 19.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/46/edit" for ::1 at 2019-04-14 17:01:14 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"46"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 46], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 24ms (Views: 20.7ms | ActiveRecord: 0.3ms)
+
+
+Started DELETE "/tasks/46" for ::1 at 2019-04-14 17:01:16 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"KZmkbh88UOXdnLAy6mQvkPu0rODFgBoO3nCED8SZRd81cstLHjmw/ZKNOt8hxOZqMh+KsA+Xpi+jr7sRNmegSA==", "id"=>"46"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 46], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:69
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:73
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 46]]
+ ↳ app/controllers/tasks_controller.rb:73
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:73
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 17:01:16 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 22ms (Views: 18.7ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/46" for ::1 at 2019-04-14 17:01:20 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"lRbL2EDAWdaelYHecXrvBhhTMK2XEIJOh4Cc/Gjc2xlsqQwBf9dXwPWYhhZMkLDrD9MndZNTErpz4Bx+odCcTw==", "task"=>{"name"=>"uiuibm ", "description"=>"bmnb", "completion_date"=>"nbm"}, "commit"=>"Save Task", "id"=>"46"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 46], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:54
+Redirected to http://localhost:3000/?flash%5Berror%5D=PPPPPPP
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/?flash%5Berror%5D=PPPPPPP" for ::1 at 2019-04-14 17:01:20 -0700
+Processing by TasksController#index as HTML
+ Parameters: {"flash"=>{"error"=>"PPPPPPP"}}
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 25ms (Views: 22.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 17:28:00 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (10.6ms)
+Completed 200 OK in 50ms (Views: 37.6ms | ActiveRecord: 6.6ms)
+
+
+Started GET "/tasks/47" for ::1 at 2019-04-14 17:28:03 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"47"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 32ms (Views: 27.1ms | ActiveRecord: 0.7ms)
+
+
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (2.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ ↳ bin/rails:9
+ [1m[35m (7854.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_development"[0m
+ ↳ bin/rails:9
+Started GET "/tasks/47" for ::1 at 2019-04-14 17:29:03 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"47"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 34ms (Views: 29.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/47/edit" for ::1 at 2019-04-14 17:29:04 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"47"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:47
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 40ms (Views: 35.9ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/47" for ::1 at 2019-04-14 17:29:31 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"DImI1OkSHLZbqKve3kuKnPgn3P0WVtx5HIAMq+3O9E1pc7w54tRGxRS4jRXX2LGsxmZaCRWDFJeWmyFOpjM9KA==", "task"=>{"name"=>"DO NOT DELETE", "description"=>"IMPORTANT FOR TEST", "completion_date"=>"SUNDAY"}, "commit"=>"Save Task", "id"=>"47"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:54
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:57
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "completion_date" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["name", "DO NOT DELETE"], ["description", "IMPORTANT FOR TEST"], ["completion_date", "SUNDAY"], ["updated_at", "2019-04-15 00:29:31.630214"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:57
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:57
+Redirected to http://localhost:3000/tasks/47
+Completed 302 Found in 5ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks/47" for ::1 at 2019-04-14 17:29:31 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"47"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 19ms (Views: 16.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/47" for ::1 at 2019-04-14 17:33:39 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"47"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 28ms (Views: 16.6ms | ActiveRecord: 2.7ms)
+
+
+Started GET "/tasks/47" for ::1 at 2019-04-14 17:33:41 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"47"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ 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.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 17:33:42 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 24ms (Views: 20.2ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 17:33:43 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 21ms (Views: 18.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 17:33:44 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 23ms (Views: 19.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 17:33:45 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 21ms (Views: 18.1ms | ActiveRecord: 0.3ms)
+
+
diff --git a/log/test.log b/log/test.log
index 334d35880..443a3478b 100644
--- a/log/test.log
+++ b/log/test.log
@@ -1906,3 +1906,2118 @@ Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.2ms)
TasksController::show: test_0002_will redirect for an invalid task
------------------------------------------------------------------
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.5ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (2.0ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-14 20:07:43.980471', '2019-04-14 20:07:43.980471', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-14 20:07:43.980471', '2019-04-14 20:07:43.980471', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 13:07:44 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (5.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (16.4ms)
+Completed 200 OK in 165ms (Views: 153.4ms | ActiveRecord: 5.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 13:07:44 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 13:07:44 -0700"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 20:07:44.264175"], ["updated_at", "2019-04-14 20:07:44.264175"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 13:07:44 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 13:07:44 -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 18ms (Views: 15.1ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 20:07:44.310180"], ["updated_at", "2019-04-14 20:07:44.310180"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 13:07:44 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-14 13:07:44 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["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 6ms (Views: 2.4ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-14 20:08:21.877781', '2019-04-14 20:08:21.877781', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-14 20:08:21.877781', '2019-04-14 20:08:21.877781', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 13:08:21 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (5.3ms)
+Completed 200 OK in 125ms (Views: 113.5ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 20:08:22.031825"], ["updated_at", "2019-04-14 20:08:22.031825"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 13:08:22 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-14 13:08:22 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 13:08:22 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 13:08:22 -0700"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 20:08:22.049128"], ["updated_at", "2019-04-14 20:08:22.049128"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 13:08:22 -0700"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 13:08:22 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 13:08:22 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-14 20:15:25.453852', '2019-04-14 20:15:25.453852', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-14 20:15:25.453852', '2019-04-14 20:15:25.453852', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 13:15:25 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 124ms (Views: 117.5ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 13:15:25 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 20:15:25.611792"], ["updated_at", "2019-04-14 20:15:25.611792"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 13:15:25 -0700"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-14 13:15:25 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 13:15:25 -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 8ms (Views: 6.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 13:15:25 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 13:15:25 -0700"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 20:15:25.642282"], ["updated_at", "2019-04-14 20:15:25.642282"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 13:15:25 -0700"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-14 22:28:17.143221', '2019-04-14 22:28:17.143221', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-14 22:28:17.143221', '2019-04-14 22:28:17.143221', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 15:28:17 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (7.7ms)
+Completed 200 OK in 193ms (Views: 186.7ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 15:28:17 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 15:28: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 9ms (Views: 6.1ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 15:28:17 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 15:28:17 -0700"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 22:28:17.380150"], ["updated_at", "2019-04-14 22:28:17.380150"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 15:28:17 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 22:28:17.390401"], ["updated_at", "2019-04-14 22:28:17.390401"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 15:28:17 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-14 15:28:17 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.6ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-14 22:28:43.204922', '2019-04-14 22:28:43.204922', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-14 22:28:43.204922', '2019-04-14 22:28:43.204922', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+Started GET "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 15:28:43 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"NOT A VALID ID"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 404 Not Found in 6ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 15:28:43 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (8.4ms)
+Completed 200 OK in 183ms (Views: 179.7ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 15:28:43 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 15:28:43 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 15:28:43 -0700"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 22:28:43.430326"], ["updated_at", "2019-04-14 22:28:43.430326"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 15:28:43 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 15:28:43 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (5.4ms)
+Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 22:28:43.453496"], ["updated_at", "2019-04-14 22:28:43.453496"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 15:28:43 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-14 15:28:43 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["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.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-14 22:43:18.921741', '2019-04-14 22:43:18.921741', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-14 22:43:18.921741', '2019-04-14 22:43:18.921741', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 22:43:18.941497"], ["updated_at", "2019-04-14 22:43:18.941497"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 15:43:18 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-14 15:43:18 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 181ms (Views: 172.3ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 15:43:19 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"NOT A VALID ID"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 404 Not Found in 2ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 15:43:19 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 15:43:19 -0700"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 22:43:19.144373"], ["updated_at", "2019-04-14 22:43:19.144373"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 15:43:19 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 15:43:19 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (5.8ms)
+Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 15:43:19 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 15:43:19 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-14 23:40:17.033125', '2019-04-14 23:40:17.033125', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-14 23:40:17.033125', '2019-04-14 23:40:17.033125', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 16:40:17 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"NOT A VALID ID"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 404 Not Found in 6ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 16:40:17 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 16:40:17 -0700"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:40:17.079889"], ["updated_at", "2019-04-14 23:40:17.079889"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 16:40:17 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 16:40:17 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 188ms (Views: 185.4ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 16:40:17 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:40:17.282705"], ["updated_at", "2019-04-14 23:40:17.282705"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 16:40:17 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-14 16:40:17 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["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: 1.9ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 16:40: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.3ms)
+Completed 200 OK in 9ms (Views: 6.4ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.6ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-14 23:43:00.939160', '2019-04-14 23:43:00.939160', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-14 23:43:00.939160', '2019-04-14 23:43:00.939160', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started POST "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-14 16:43:00 -0700
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 16:43:00 -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 192ms (Views: 186.0ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:43:01.170267"], ["updated_at", "2019-04-14 23:43:01.170267"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 16:43:01 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-14 16:43:01 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 16:43:01 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 16:43:01 -0700"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:43:01.188921"], ["updated_at", "2019-04-14 23:43:01.188921"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 16:43:01 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 16:43:01 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 16:43:01 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-14 23:43:46.069428', '2019-04-14 23:43:46.069428', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-14 23:43:46.069428', '2019-04-14 23:43:46.069428', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:43:46.089461"], ["updated_at", "2019-04-14 23:43:46.089461"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 16:43:46 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:43:46.097845"], ["updated_at", "2019-04-14 23:43:46.097845"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 16:43:46 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-14 16:43:46 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 179ms (Views: 170.8ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 16:43:46 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 16:43:46 -0700"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:43:46.291892"], ["updated_at", "2019-04-14 23:43:46.291892"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 16:43:46 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 16:43:46 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 16:43:46 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 16:43:46 -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 10ms (Views: 7.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-14 23:44:16.245934', '2019-04-14 23:44:16.245934', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-14 23:44:16.245934', '2019-04-14 23:44:16.245934', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (4.9ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 16:44:16 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (7.8ms)
+Completed 200 OK in 177ms (Views: 170.0ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 16:44:16 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 16:44:16 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (5.8ms)
+Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:44:16.467987"], ["updated_at", "2019-04-14 23:44:16.467987"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 16:44:16 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "id" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["id", 0], ["updated_at", "2019-04-14 23:44:16.470084"], ["id", 980190963]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 16:44:16 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 16:44:16 -0700"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:44:16.481462"], ["updated_at", "2019-04-14 23:44:16.481462"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 16:44:16 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:44:16.490862"], ["updated_at", "2019-04-14 23:44:16.490862"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 16:44:16 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-14 16:44:16 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["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.7ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-14 23:49:42.178411', '2019-04-14 23:49:42.178411', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-14 23:49:42.178411', '2019-04-14 23:49:42.178411', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 16:49:42 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (7.6ms)
+Completed 200 OK in 172ms (Views: 165.0ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 16:49:42 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 16:49:42 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (4.9ms)
+Completed 200 OK in 9ms (Views: 6.0ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 16:49:42 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 16:49:42 -0700"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:49:42.419354"], ["updated_at", "2019-04-14 23:49:42.419354"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 16:49:42 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-14 23:49:42.426393"], ["updated_at", "2019-04-14 23:49:42.426393"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 16:49:42 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-14 16:49:42 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["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 5ms (Views: 1.7ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-15 00:02:05.552016', '2019-04-15 00:02:05.552016', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-15 00:02:05.552016', '2019-04-15 00:02:05.552016', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 17:02:05 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (5.7ms)
+Completed 200 OK in 173ms (Views: 160.6ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 17:02:05 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 17:02:05 -0700"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:02:05.755874"], ["updated_at", "2019-04-15 00:02:05.755874"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 17:02:05 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 17:02:05 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 17:02:05 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:02:05.804822"], ["updated_at", "2019-04-15 00:02:05.804822"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:02:05 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-14 17:02:05 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["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.7ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-15 00:20:42.116580', '2019-04-15 00:20:42.116580', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-15 00:20:42.116580', '2019-04-15 00:20:42.116580', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:20:42.138860"], ["updated_at", "2019-04-15 00:20:42.138860"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:20:42 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-14 17:20:42 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 185ms (Views: 176.1ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 17:20:42 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 17:20:42 -0700"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:20:42.341789"], ["updated_at", "2019-04-15 00:20:42.341789"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 17:20:42 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 17:20:42 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 17:20:42 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 17:20:42 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (5.4ms)
+Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-15 00:20:56.359376', '2019-04-15 00:20:56.359376', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-15 00:20:56.359376', '2019-04-15 00:20:56.359376', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 17:20:56 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (8.0ms)
+Completed 200 OK in 175ms (Views: 168.0ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 17:20:56 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:20:56.559913"], ["updated_at", "2019-04-15 00:20:56.559913"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:20:56 -0700"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-14 17:20:56 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["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.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 17:20:56 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 17:20:56 -0700"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:20:56.579629"], ["updated_at", "2019-04-15 00:20:56.579629"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 17:20:56 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 17:20:56 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (5.2ms)
+Completed 200 OK in 9ms (Views: 6.4ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-15 00:22:20.778303', '2019-04-15 00:22:20.778303', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-15 00:22:20.778303', '2019-04-15 00:22:20.778303', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 17:22:20 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 17:22:20 -0700"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:22:20.853763"], ["updated_at", "2019-04-15 00:22:20.853763"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 17:22:20 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 13ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:22:20.863661"], ["updated_at", "2019-04-15 00:22:20.863661"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:22:20 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-14 17:22:20 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 156ms (Views: 152.1ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 17:22:21 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 17:22:21 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 17:22:21 -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 8ms (Views: 5.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-15 00:24:49.796856', '2019-04-15 00:24:49.796856', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-15 00:24:49.796856', '2019-04-15 00:24:49.796856', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:24:49.847266"], ["updated_at", "2019-04-15 00:24:49.847266"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:24:49 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-14 17:24:49 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 180ms (Views: 171.3ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 17:24:50 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 17:24:50 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 17:24:50 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 17:24:50 -0700"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:24:50.061671"], ["updated_at", "2019-04-15 00:24:50.061671"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 17:24:50 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------
+TasksController::destroy: test_0001_returns 404 if not found
+------------------------------------------------------------
+Started DELETE "/tasks/Not%20a%20valid%20id" for 127.0.0.1 at 2019-04-14 17:24:50 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"Not a valid id"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/Not%20a%20valid%20id" for 127.0.0.1 at 2019-04-14 17:24:50 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"Not a valid id"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 17:24:50 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (6.0ms)
+Completed 200 OK in 10ms (Views: 7.4ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-15 00:30:19.792052', '2019-04-15 00:30:19.792052', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-15 00:30:19.792052', '2019-04-15 00:30:19.792052', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 17:30:19 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (9.6ms)
+Completed 200 OK in 177ms (Views: 169.4ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 17:30:19 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 17:30:20 -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 9ms (Views: 6.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------
+TasksController::destroy: test_0001_successfully deletes a task
+---------------------------------------------------------------
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190962" for 127.0.0.1 at 2019-04-14 17:30:20 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190962"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190962], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Destroy (0.4ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 980190962]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------
+TasksController::destroy: test_0002_returns 404 if not found
+------------------------------------------------------------
+Started DELETE "/tasks/Not%20a%20valid%20id" for 127.0.0.1 at 2019-04-14 17:30:20 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"Not a valid id"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 404 Not Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/Not%20a%20valid%20id" for 127.0.0.1 at 2019-04-14 17:30:20 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"Not a valid id"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 404 Not Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:30:20.035617"], ["updated_at", "2019-04-15 00:30:20.035617"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:30:20 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-14 17:30:20 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["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.7ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 17:30:20 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 17:30:20 -0700"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:30:20.050114"], ["updated_at", "2019-04-15 00:30:20.050114"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 17:30:20 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-15 00:31:31.353119', '2019-04-15 00:31:31.353119', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-15 00:31:31.353119', '2019-04-15 00:31:31.353119', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (4.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 17:31:31 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 17:31:31 -0700"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:31:31.388698"], ["updated_at", "2019-04-15 00:31:31.388698"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 17:31:31 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 13ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------
+TasksController::destroy: test_0001_successfully deletes a task
+---------------------------------------------------------------
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190962" for 127.0.0.1 at 2019-04-14 17:31:31 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190962"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190962], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 980190962]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------
+TasksController::destroy: test_0002_returns 404 if not found
+------------------------------------------------------------
+Started DELETE "/tasks/Not%20a%20valid%20id" for 127.0.0.1 at 2019-04-14 17:31:31 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"Not a valid id"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/Not%20a%20valid%20id" for 127.0.0.1 at 2019-04-14 17:31:31 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"Not a valid id"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 404 Not Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 17:31:31 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 172ms (Views: 169.3ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 17:31:31 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:31:31.601878"], ["updated_at", "2019-04-15 00:31:31.601878"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:31:31 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-14 17:31:31 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["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 5ms (Views: 1.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 17:31:31 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (4.9ms)
+Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.6ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-15 00:37:56.077729', '2019-04-15 00:37:56.077729', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-15 00:37:56.077729', '2019-04-15 00:37:56.077729', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 17:37:56 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (5.8ms)
+Completed 200 OK in 193ms (Views: 181.1ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------
+TasksController::destroy: test_0001_successfully deletes a task
+---------------------------------------------------------------
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190962" for 127.0.0.1 at 2019-04-14 17:37:56 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190962"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190962], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------
+TasksController::destroy: test_0002_returns 404 if not found
+------------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/Not%20a%20valid%20id" for 127.0.0.1 at 2019-04-14 17:37:56 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"Not a valid id"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 17:37:56 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 17:37:56 -0700"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:37:56.309958"], ["updated_at", "2019-04-15 00:37:56.309958"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 17:37:56 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:37:56.314731"], ["updated_at", "2019-04-15 00:37:56.314731"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:37:56 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-14 17:37:56 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["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 5ms (Views: 1.6ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 17:37:56 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 17:37:56 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
diff --git a/test/controllers/tasks_controller_test.rb b/test/controllers/tasks_controller_test.rb
index 8a01e2deb..da9bf20f9 100644
--- a/test/controllers/tasks_controller_test.rb
+++ b/test/controllers/tasks_controller_test.rb
@@ -93,12 +93,21 @@
describe "edit" do
it "can get the edit page for an existing task" do
skip
+
+ # it should update a task
+ # it should redirect to the show page of the task
+ # it should render 404 if the task was not found
+
# Your code here
end
it "will respond with redirect when attempting to edit a nonexistant task" do
skip
# Your code here
+ invalid_id = "NOT A VALID ID"
+ # update task_path(invalid_id)
+ expect { edit task_path(invalid_id) }.wont_change "Task.count"
+ must_respond_with :redirect
end
end
@@ -119,12 +128,26 @@
# Complete these tests for Wave 4
describe "destroy" do
- # Your tests go here
+ it "successfully deletes a task" do
+ id = Task.last
+ expect {
+ delete task_path(id)
+ }.must_change "Task.count", -1
+ must_respond_with :redirect
+ end
+ it "returns 404 if not found" do
+ invalid_id = "Not a valid id"
+ expect {
+ delete task_path(invalid_id)
+ }.wont_change "Task.count"
+ must_respond_with :not_found
+ end
end
# Complete for Wave 4
describe "toggle_complete" do
# Your tests go here
+
end
end
From cb3f3a9f0444588568778d667ea01e07134e76c8 Mon Sep 17 00:00:00 2001
From: MyriamWD
Date: Sun, 14 Apr 2019 17:42:48 -0700
Subject: [PATCH 04/15] added tests fot edit action
---
log/test.log | 292 ++++++++++++++++++++++
test/controllers/tasks_controller_test.rb | 14 +-
2 files changed, 295 insertions(+), 11 deletions(-)
diff --git a/log/test.log b/log/test.log
index 443a3478b..da1049bf8 100644
--- a/log/test.log
+++ b/log/test.log
@@ -4021,3 +4021,295 @@ TasksController::update: test_0002_will redirect to the root page if given an in
TasksController::update: test_0001_can update an existing task
--------------------------------------------------------------
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-15 00:41:08.290689', '2019-04-15 00:41:08.290689', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-15 00:41:08.290689', '2019-04-15 00:41:08.290689', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------
+TasksController::destroy: test_0002_returns 404 if not found
+------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/Not%20a%20valid%20id" for 127.0.0.1 at 2019-04-14 17:41:08 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"Not a valid id"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 404 Not Found in 6ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------
+TasksController::destroy: test_0001_successfully deletes a task
+---------------------------------------------------------------
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190962" for 127.0.0.1 at 2019-04-14 17:41:08 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190962"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190962], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 17:41:08 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 17:41:08 -0700"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:41:08.350605"], ["updated_at", "2019-04-15 00:41:08.350605"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 17:41:08 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 17:41: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.9ms)
+Completed 200 OK in 163ms (Views: 160.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:41:08.526897"], ["updated_at", "2019-04-15 00:41:08.526897"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:41:08 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964/edit" for 127.0.0.1 at 2019-04-14 17:41:08 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 17:41:08 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 17:41:08 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:41:08.553961"], ["updated_at", "2019-04-15 00:41:08.553961"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:41:08 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-14 17:41:08 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["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.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-15 00:42:07.718336', '2019-04-15 00:42:07.718336', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-15 00:42:07.718336', '2019-04-15 00:42:07.718336', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------
+TasksController::destroy: test_0001_successfully deletes a task
+---------------------------------------------------------------
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190962" for 127.0.0.1 at 2019-04-14 17:42:07 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190962"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190962], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------
+TasksController::destroy: test_0002_returns 404 if not found
+------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/Not%20a%20valid%20id" for 127.0.0.1 at 2019-04-14 17:42:07 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"Not a valid id"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:42:07.762119"], ["updated_at", "2019-04-15 00:42:07.762119"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:42:07 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-14 17:42:07 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 165ms (Views: 161.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 17:42:07 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 17:42:07 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/NOT%20A%20VALID%20ID/edit" for 127.0.0.1 at 2019-04-14 17:42:07 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"NOT A VALID ID"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:42:07.954324"], ["updated_at", "2019-04-15 00:42:07.954324"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:42:07 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964/edit" for 127.0.0.1 at 2019-04-14 17:42:07 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (4.8ms)
+Completed 200 OK in 9ms (Views: 6.0ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 17:42:07 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 17:42:07 -0700"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:42:07.972309"], ["updated_at", "2019-04-15 00:42:07.972309"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 17:42:07 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 17:42:07 -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 5ms (Views: 3.0ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
diff --git a/test/controllers/tasks_controller_test.rb b/test/controllers/tasks_controller_test.rb
index da9bf20f9..2d3f4c9de 100644
--- a/test/controllers/tasks_controller_test.rb
+++ b/test/controllers/tasks_controller_test.rb
@@ -92,21 +92,13 @@
# Unskip and complete these tests for Wave 3
describe "edit" do
it "can get the edit page for an existing task" do
- skip
-
- # it should update a task
- # it should redirect to the show page of the task
- # it should render 404 if the task was not found
-
- # Your code here
+ get edit_task_path(task.id)
+ must_respond_with :success
end
it "will respond with redirect when attempting to edit a nonexistant task" do
- skip
- # Your code here
invalid_id = "NOT A VALID ID"
- # update task_path(invalid_id)
- expect { edit task_path(invalid_id) }.wont_change "Task.count"
+ get edit_task_path(invalid_id)
must_respond_with :redirect
end
end
From 437e7c3647c76258b8ada776f2893d4ed166c758 Mon Sep 17 00:00:00 2001
From: MyriamWD
Date: Sun, 14 Apr 2019 17:55:09 -0700
Subject: [PATCH 05/15] added tests for update
---
log/test.log | 793 ++++++++++++++++++++++
test/controllers/tasks_controller_test.rb | 25 +-
2 files changed, 814 insertions(+), 4 deletions(-)
diff --git a/log/test.log b/log/test.log
index da1049bf8..e72f0e9fd 100644
--- a/log/test.log
+++ b/log/test.log
@@ -4313,3 +4313,796 @@ Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.0ms)
Task: test_0001_must be valid
-----------------------------
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.6ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-15 00:43:05.186575', '2019-04-15 00:43:05.186575', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-15 00:43:05.186575', '2019-04-15 00:43:05.186575', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 17:43:05 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 17:43:05 -0700"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:43:05.219843"], ["updated_at", "2019-04-15 00:43:05.219843"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 17:43:05 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 15ms (ActiveRecord: 0.9ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 17:43:05 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 154ms (Views: 151.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 17:43:05 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:43:05.392598"], ["updated_at", "2019-04-15 00:43:05.392598"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:43:05 -0700"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964/edit" for 127.0.0.1 at 2019-04-14 17:43:05 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (5.0ms)
+Completed 200 OK in 9ms (Views: 6.1ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/NOT%20A%20VALID%20ID/edit" for 127.0.0.1 at 2019-04-14 17:43:05 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"NOT A VALID ID"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 17:43:05 -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 5ms (Views: 2.6ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:43:05.422381"], ["updated_at", "2019-04-15 00:43:05.422381"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:43:05 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-14 17:43:05 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["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.6ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------
+TasksController::destroy: test_0001_successfully deletes a task
+---------------------------------------------------------------
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190962" for 127.0.0.1 at 2019-04-14 17:43:05 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190962"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190962], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 980190962]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------
+TasksController::destroy: test_0002_returns 404 if not found
+------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/Not%20a%20valid%20id" for 127.0.0.1 at 2019-04-14 17:43:05 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"Not a valid id"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.8ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-15 00:43:38.532378', '2019-04-15 00:43:38.532378', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-15 00:43:38.532378', '2019-04-15 00:43:38.532378', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 17:43:38 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (7.3ms)
+Completed 200 OK in 166ms (Views: 152.5ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:43:38.720727"], ["updated_at", "2019-04-15 00:43:38.720727"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:43:38 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:43:38.756122"], ["updated_at", "2019-04-15 00:43:38.756122"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:43:38 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-14 17:43:38 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["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 8ms (Views: 2.1ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:43:38.770522"], ["updated_at", "2019-04-15 00:43:38.770522"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:43:38 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965/edit" for 127.0.0.1 at 2019-04-14 17:43:38 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/NOT%20A%20VALID%20ID/edit" for 127.0.0.1 at 2019-04-14 17:43:38 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"NOT A VALID ID"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 17:43:38 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 17:43:38 -0700"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:43:38.792847"], ["updated_at", "2019-04-15 00:43:38.792847"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 17:43:38 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------
+TasksController::destroy: test_0002_returns 404 if not found
+------------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/Not%20a%20valid%20id" for 127.0.0.1 at 2019-04-14 17:43:38 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"Not a valid id"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 404 Not Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------
+TasksController::destroy: test_0001_successfully deletes a task
+---------------------------------------------------------------
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190962" for 127.0.0.1 at 2019-04-14 17:43:38 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190962"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190962], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 17:43:38 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 17:43:38 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-15 00:48:34.386844', '2019-04-15 00:48:34.386844', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-15 00:48:34.386844', '2019-04-15 00:48:34.386844', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:48:34.408001"], ["updated_at", "2019-04-15 00:48:34.408001"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:48:34 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-14 17:48:34 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 130ms (Views: 120.8ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:48:34.547842"], ["updated_at", "2019-04-15 00:48:34.547842"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:48:34 -0700"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964" for 127.0.0.1 at 2019-04-14 17:48:34 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"walk the dog"}, "id"=>"980190964"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "walk the dog"], ["updated_at", "2019-04-15 00:48:34.555867"], ["id", 980190964]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 17:48:34 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (5.0ms)
+Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------
+TasksController::destroy: test_0001_successfully deletes a task
+---------------------------------------------------------------
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190962" for 127.0.0.1 at 2019-04-14 17:48:34 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190962"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190962], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Destroy (0.4ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 16ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------
+TasksController::destroy: test_0002_returns 404 if not found
+------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/Not%20a%20valid%20id" for 127.0.0.1 at 2019-04-14 17:48:34 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"Not a valid id"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 17:48:34 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 17:48:34 -0700"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:48:34.602031"], ["updated_at", "2019-04-15 00:48:34.602031"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 17:48:34 -0700"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:48:34.609903"], ["updated_at", "2019-04-15 00:48:34.609903"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:48:34 -0700"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966/edit" for 127.0.0.1 at 2019-04-14 17:48:34 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190966"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190966], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/NOT%20A%20VALID%20ID/edit" for 127.0.0.1 at 2019-04-14 17:48:34 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"NOT A VALID ID"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 17:48:34 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 17:48:34 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-15 00:54:04.421538', '2019-04-15 00:54:04.421538', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-15 00:54:04.421538', '2019-04-15 00:54:04.421538', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 17:54:04 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (6.5ms)
+Completed 200 OK in 150ms (Views: 138.8ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:54:04.592580"], ["updated_at", "2019-04-15 00:54:04.592580"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:54:04 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-14 17:54:04 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 17:54:04 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 17:54:04 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:54:04.617862"], ["updated_at", "2019-04-15 00:54:04.617862"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:54:04 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964" for 127.0.0.1 at 2019-04-14 17:54:04 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"walk the dog"}, "id"=>"980190964"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "walk the dog"], ["updated_at", "2019-04-15 00:54:04.625138"], ["id", 980190964]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/NOT%20A%20VALID%20ID/edit" for 127.0.0.1 at 2019-04-14 17:54:04 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"NOT A VALID ID"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:54:04.636131"], ["updated_at", "2019-04-15 00:54:04.636131"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:54:04 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965/edit" for 127.0.0.1 at 2019-04-14 17:54:04 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 7ms (Views: 3.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 17:54:04 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 17:54:04 -0700"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:54:04.652739"], ["updated_at", "2019-04-15 00:54:04.652739"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 17:54:04 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------
+TasksController::destroy: test_0002_returns 404 if not found
+------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/Not%20a%20valid%20id" for 127.0.0.1 at 2019-04-14 17:54:04 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"Not a valid id"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------
+TasksController::destroy: test_0001_successfully deletes a task
+---------------------------------------------------------------
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190962" for 127.0.0.1 at 2019-04-14 17:54:04 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190962"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190962], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-15 00:54:12.452986', '2019-04-15 00:54:12.452986', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-15 00:54:12.452986', '2019-04-15 00:54:12.452986', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 17:54:12 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (23.3ms)
+Completed 200 OK in 137ms (Views: 130.0ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 17:54:12 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:54:12.618683"], ["updated_at", "2019-04-15 00:54:12.618683"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:54:12 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963" for 127.0.0.1 at 2019-04-14 17:54:12 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"walk the dog"}, "id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "walk the dog"], ["updated_at", "2019-04-15 00:54:12.626856"], ["id", 980190963]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+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-14 17:54:12 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"write tests, yay!!"}, "id"=>"Not a valid id"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Redirected to http://www.example.com/?flash%5Berror%5D=The+task+was+deleted%21
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:54:12.637459"], ["updated_at", "2019-04-15 00:54:12.637459"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:54:12 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-14 17:54:12 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------
+TasksController::destroy: test_0001_successfully deletes a task
+---------------------------------------------------------------
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190962" for 127.0.0.1 at 2019-04-14 17:54:12 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190962"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190962], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------
+TasksController::destroy: test_0002_returns 404 if not found
+------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/Not%20a%20valid%20id" for 127.0.0.1 at 2019-04-14 17:54:12 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"Not a valid id"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:54:12.659918"], ["updated_at", "2019-04-15 00:54:12.659918"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:54:12 -0700"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965/edit" for 127.0.0.1 at 2019-04-14 17:54:12 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (5.4ms)
+Completed 200 OK in 10ms (Views: 6.6ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/NOT%20A%20VALID%20ID/edit" for 127.0.0.1 at 2019-04-14 17:54:12 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"NOT A VALID ID"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 17:54:12 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 17:54:12 -0700"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:54:12.684047"], ["updated_at", "2019-04-15 00:54:12.684047"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 17:54:12 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 17:54:12 -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 5ms (Views: 2.8ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
diff --git a/test/controllers/tasks_controller_test.rb b/test/controllers/tasks_controller_test.rb
index 2d3f4c9de..ead29bd56 100644
--- a/test/controllers/tasks_controller_test.rb
+++ b/test/controllers/tasks_controller_test.rb
@@ -108,13 +108,30 @@
# 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
+ task_update = {
+ task: {
+ name: "walk the dog",
+ },
+ }
+
+ patch task_path(task.id), params: task_update
+ task.reload
+
+ expect(task.name).must_equal "walk the dog"
end
it "will redirect to the root page if given an invalid id" do
- skip
- # Your code here
+ task_update = {
+ task: {
+ name: "write tests, yay!!",
+ },
+ }
+
+ invalid_id = "Not a valid id"
+
+ patch task_path(invalid_id), params: task_update
+
+ must_respond_with :redirect
end
end
From fa8afe516ecdcc988de6f20f149ba809b45efa28 Mon Sep 17 00:00:00 2001
From: MyriamWD
Date: Sun, 14 Apr 2019 17:59:57 -0700
Subject: [PATCH 06/15] added redirect to show when id not found
---
app/controllers/tasks_controller.rb | 2 +-
log/test.log | 862 ++++++++++++++++++++++
test/controllers/tasks_controller_test.rb | 6 -
3 files changed, 863 insertions(+), 7 deletions(-)
diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb
index c60df2f01..f3aa49279 100644
--- a/app/controllers/tasks_controller.rb
+++ b/app/controllers/tasks_controller.rb
@@ -17,7 +17,7 @@ def show
task_id = params[:id]
@task = Task.find_by(id: task_id)
if @task.nil?
- head :not_found
+ redirect_to tasks_path :flash => {:error => "Task does not exist!"}
end
end
diff --git a/log/test.log b/log/test.log
index e72f0e9fd..dd0af4166 100644
--- a/log/test.log
+++ b/log/test.log
@@ -5106,3 +5106,865 @@ Processing by TasksController#new as HTML
Rendered tasks/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-15 00:55:29.491614', '2019-04-15 00:55:29.491614', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-15 00:55:29.491614', '2019-04-15 00:55:29.491614', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+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-14 17:55:29 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"write tests, yay!!"}, "id"=>"Not a valid id"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Redirected to http://www.example.com/?flash%5Berror%5D=The+task+was+deleted%21
+Completed 302 Found in 7ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:55:29.535522"], ["updated_at", "2019-04-15 00:55:29.535522"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:55:29 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963" for 127.0.0.1 at 2019-04-14 17:55:29 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"walk the dog"}, "id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "walk the dog"], ["updated_at", "2019-04-15 00:55:29.540688"], ["id", 980190963]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/NOT%20A%20VALID%20ID/edit" for 127.0.0.1 at 2019-04-14 17:55:29 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"NOT A VALID ID"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:55:29.551424"], ["updated_at", "2019-04-15 00:55:29.551424"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:55:29 -0700"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964/edit" for 127.0.0.1 at 2019-04-14 17:55:29 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (6.4ms)
+Completed 200 OK in 128ms (Views: 125.1ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 17:55:29 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------
+TasksController::destroy: test_0001_successfully deletes a task
+---------------------------------------------------------------
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190962" for 127.0.0.1 at 2019-04-14 17:55:29 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190962"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190962], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------
+TasksController::destroy: test_0002_returns 404 if not found
+------------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/Not%20a%20valid%20id" for 127.0.0.1 at 2019-04-14 17:55:29 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"Not a valid id"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 17:55:29 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 17:55:29 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:55:29.719278"], ["updated_at", "2019-04-15 00:55:29.719278"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:55:29 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-14 17:55:29 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["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.6ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 17:55:29 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 17:55:29 -0700"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:55:29.732248"], ["updated_at", "2019-04-15 00:55:29.732248"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 17:55:29 -0700"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.6ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-15 00:55:58.826075', '2019-04-15 00:55:58.826075', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-15 00:55:58.826075', '2019-04-15 00:55:58.826075', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 17:55:58 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 131ms (Views: 122.7ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 17:55:58 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:55:58.990814"], ["updated_at", "2019-04-15 00:55:58.990814"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:55:58 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-14 17:55:58 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["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 6ms (Views: 1.6ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 17:55:59 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:55:59.006932"], ["updated_at", "2019-04-15 00:55:59.006932"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:55:59 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964" for 127.0.0.1 at 2019-04-14 17:55:59 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"walk the dog"}, "id"=>"980190964"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "walk the dog"], ["updated_at", "2019-04-15 00:55:59.013120"], ["id", 980190964]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+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-14 17:55:59 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"write tests, yay!!"}, "id"=>"Not a valid id"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Redirected to http://www.example.com/?flash%5Berror%5D=The+task+was+deleted%21
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/NOT%20A%20VALID%20ID/edit" for 127.0.0.1 at 2019-04-14 17:55:59 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"NOT A VALID ID"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:55:59.028937"], ["updated_at", "2019-04-15 00:55:59.028937"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:55:59 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965/edit" for 127.0.0.1 at 2019-04-14 17:55:59 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (7.0ms)
+Completed 200 OK in 11ms (Views: 8.4ms | ActiveRecord: 0.1ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 17:55:59 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 17:55:59 -0700"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:55:59.048827"], ["updated_at", "2019-04-15 00:55:59.048827"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 17:55:59 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------
+TasksController::destroy: test_0001_successfully deletes a task
+---------------------------------------------------------------
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190962" for 127.0.0.1 at 2019-04-14 17:55:59 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190962"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190962], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------
+TasksController::destroy: test_0002_returns 404 if not found
+------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/Not%20a%20valid%20id" for 127.0.0.1 at 2019-04-14 17:55:59 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"Not a valid id"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 17:55: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.0ms)
+Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-15 00:57:11.285132', '2019-04-15 00:57:11.285132', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-15 00:57:11.285132', '2019-04-15 00:57:11.285132', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 17:57:11 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (5.0ms)
+Completed 200 OK in 187ms (Views: 175.8ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:57:11.493265"], ["updated_at", "2019-04-15 00:57:11.493265"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:57:11 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963" for 127.0.0.1 at 2019-04-14 17:57:11 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"walk the dog"}, "id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "walk the dog"], ["updated_at", "2019-04-15 00:57:11.502823"], ["id", 980190963]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+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-14 17:57:11 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"write tests, yay!!"}, "id"=>"Not a valid id"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Redirected to http://www.example.com/?flash%5Berror%5D=The+task+was+deleted%21
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:57:11.511676"], ["updated_at", "2019-04-15 00:57:11.511676"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:57:11 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-14 17:57:11 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["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 5ms (Views: 1.8ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 17:57:11 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:57:11.525659"], ["updated_at", "2019-04-15 00:57:11.525659"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:57:11 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965/edit" for 127.0.0.1 at 2019-04-14 17:57:11 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/NOT%20A%20VALID%20ID/edit" for 127.0.0.1 at 2019-04-14 17:57:11 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"NOT A VALID ID"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 17:57:11 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 17:57:11 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 17:57:11 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 17:57:11 -0700"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:57:11.557337"], ["updated_at", "2019-04-15 00:57:11.557337"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 17:57:11 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------
+TasksController::destroy: test_0002_returns 404 if not found
+------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/Not%20a%20valid%20id" for 127.0.0.1 at 2019-04-14 17:57:11 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"Not a valid id"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------
+TasksController::destroy: test_0001_successfully deletes a task
+---------------------------------------------------------------
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190962" for 127.0.0.1 at 2019-04-14 17:57:11 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190962"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190962], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-15 00:59:06.746939', '2019-04-15 00:59:06.746939', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-15 00:59:06.746939', '2019-04-15 00:59:06.746939', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 17:59:06 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 17:59:06 -0700"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:59:06.778966"], ["updated_at", "2019-04-15 00:59:06.778966"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 17:59:06 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 13ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:59:06.787082"], ["updated_at", "2019-04-15 00:59:06.787082"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:59:06 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-14 17:59:06 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 179ms (Views: 174.7ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 17:59:06 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:59:06.979213"], ["updated_at", "2019-04-15 00:59:06.979213"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:59:06 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965" for 127.0.0.1 at 2019-04-14 17:59:06 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"walk the dog"}, "id"=>"980190965"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "walk the dog"], ["updated_at", "2019-04-15 00:59:06.983361"], ["id", 980190965]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+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-14 17:59:06 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"write tests, yay!!"}, "id"=>"Not a valid id"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Redirected to http://www.example.com/?flash%5Berror%5D=The+task+was+deleted%21
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:59:06.992220"], ["updated_at", "2019-04-15 00:59:06.992220"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:59:06 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966/edit" for 127.0.0.1 at 2019-04-14 17:59:06 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190966"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190966], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (5.0ms)
+Completed 200 OK in 10ms (Views: 6.2ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/NOT%20A%20VALID%20ID/edit" for 127.0.0.1 at 2019-04-14 17:59:07 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"NOT A VALID ID"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 17:59:07 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 17:59:07 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 17:59:07 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------
+TasksController::destroy: test_0001_successfully deletes a task
+---------------------------------------------------------------
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190962" for 127.0.0.1 at 2019-04-14 17:59:07 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190962"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190962], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------
+TasksController::destroy: test_0002_returns 404 if not found
+------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/Not%20a%20valid%20id" for 127.0.0.1 at 2019-04-14 17:59:07 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"Not a valid id"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-15 00:59:21.231984', '2019-04-15 00:59:21.231984', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-15 00:59:21.231984', '2019-04-15 00:59:21.231984', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:59:21.250719"], ["updated_at", "2019-04-15 00:59:21.250719"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:59:21 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963/edit" for 127.0.0.1 at 2019-04-14 17:59:21 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (5.4ms)
+Completed 200 OK in 172ms (Views: 163.8ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/NOT%20A%20VALID%20ID/edit" for 127.0.0.1 at 2019-04-14 17:59:21 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"NOT A VALID ID"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (1.0ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:59:21.436821"], ["updated_at", "2019-04-15 00:59:21.436821"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:59:21 -0700"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-14 17:59:21 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["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.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 17:59:21 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:59:21.452648"], ["updated_at", "2019-04-15 00:59:21.452648"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 17:59:21 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965" for 127.0.0.1 at 2019-04-14 17:59:21 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"walk the dog"}, "id"=>"980190965"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "walk the dog"], ["updated_at", "2019-04-15 00:59:21.458332"], ["id", 980190965]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+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-14 17:59:21 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"write tests, yay!!"}, "id"=>"Not a valid id"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Redirected to http://www.example.com/?flash%5Berror%5D=The+task+was+deleted%21
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------
+TasksController::destroy: test_0001_successfully deletes a task
+---------------------------------------------------------------
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190962" for 127.0.0.1 at 2019-04-14 17:59:21 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190962"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190962], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------
+TasksController::destroy: test_0002_returns 404 if not found
+------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/Not%20a%20valid%20id" for 127.0.0.1 at 2019-04-14 17:59:21 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"Not a valid id"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 17:59:21 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 17:59:21 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 17:59:21 -0700"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 00:59:21.493214"], ["updated_at", "2019-04-15 00:59:21.493214"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 17:59:21 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 17:59:21 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 17:59:21 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
diff --git a/test/controllers/tasks_controller_test.rb b/test/controllers/tasks_controller_test.rb
index ead29bd56..ae56d49a1 100644
--- a/test/controllers/tasks_controller_test.rb
+++ b/test/controllers/tasks_controller_test.rb
@@ -30,7 +30,6 @@
# Unskip these tests for Wave 2
describe "show" do
it "can get a valid task" do
- # skip
# Act
get task_path(task.id)
@@ -39,7 +38,6 @@
end
it "will redirect for an invalid task" do
- skip
# Act
get task_path(-1)
@@ -50,8 +48,6 @@
describe "new" do
it "can get the new task page" do
- # skip
-
# Act
get new_task_path
@@ -62,8 +58,6 @@
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.
From 1802ac953f1d2074307189cb26869ae4de7b3578 Mon Sep 17 00:00:00 2001
From: MyriamWD
Date: Sun, 14 Apr 2019 18:00:46 -0700
Subject: [PATCH 07/15] eliminated extra comments
---
app/controllers/tasks_controller.rb | 5 -----
1 file changed, 5 deletions(-)
diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb
index f3aa49279..8a19c68fa 100644
--- a/app/controllers/tasks_controller.rb
+++ b/app/controllers/tasks_controller.rb
@@ -26,11 +26,6 @@ def new
end
def create
- # task = Task.new(
- # name: params["task"]["name"],
- # description: params["task"]["description"],
- # completion_date: params["task"]["completion_date"],
- # )
task = Task.new(task_params)
is_successful = task.save
From 8df3f80f357ec8520a463e18344343232ddbe2f9 Mon Sep 17 00:00:00 2001
From: MyriamWD
Date: Mon, 15 Apr 2019 00:06:50 -0700
Subject: [PATCH 08/15] trying out the toggle
---
app/controllers/tasks_controller.rb | 9 +
app/views/tasks/index.html.erb | 4 +
config/routes.rb | 1 +
db/migrate/20190415062838_change.rb | 5 +
db/migrate/20190415064907_add.rb | 5 +
db/schema.rb | 4 +-
log/development.log | 689 ++++++++++++++++++++++
log/test.log | 174 ++++++
test/controllers/tasks_controller_test.rb | 2 +-
9 files changed, 890 insertions(+), 3 deletions(-)
create mode 100644 db/migrate/20190415062838_change.rb
create mode 100644 db/migrate/20190415064907_add.rb
diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb
index 8a19c68fa..30c0918bf 100644
--- a/app/controllers/tasks_controller.rb
+++ b/app/controllers/tasks_controller.rb
@@ -58,6 +58,15 @@ def update
end
end
+ def toggle
+ task = Task.find_by(id: params[:id])
+ task.current_status?
+ task.toggle(:current_status)
+ task.save
+
+ redirect_to tasks_path
+ end
+
def destroy
task = Task.find_by(id: params[:id])
if task.nil?
diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb
index 26045034f..4ea776a1c 100644
--- a/app/views/tasks/index.html.erb
+++ b/app/views/tasks/index.html.erb
@@ -5,10 +5,14 @@
<%= link_to task.name, task_path(task.id) %>
+
+ <%= link_to "Change Status", { action: "toggle", id: task.id }, method: :patch %>
+
<%= link_to "Delete #{task.name}",
task_path(task.id), method: :delete %>
+
<% end %>
diff --git a/config/routes.rb b/config/routes.rb
index a6a34fa6b..8755c5f9d 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,5 +1,6 @@
Rails.application.routes.draw do
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
+ patch "tasks/:id/toggle", to: "tasks#toggle", as: "current_status"
root to: "tasks#index", as: "root"
resources :tasks
end
diff --git a/db/migrate/20190415062838_change.rb b/db/migrate/20190415062838_change.rb
new file mode 100644
index 000000000..022f3e8e0
--- /dev/null
+++ b/db/migrate/20190415062838_change.rb
@@ -0,0 +1,5 @@
+class Change < ActiveRecord::Migration[5.2]
+ def change
+ remove_column :tasks, :completion_date
+ end
+end
diff --git a/db/migrate/20190415064907_add.rb b/db/migrate/20190415064907_add.rb
new file mode 100644
index 000000000..35165142a
--- /dev/null
+++ b/db/migrate/20190415064907_add.rb
@@ -0,0 +1,5 @@
+class Add < ActiveRecord::Migration[5.2]
+ def change
+ add_column :tasks, :current_status, :boolean
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 166a51ead..c7168409f 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_040436) do
+ActiveRecord::Schema.define(version: 2019_04_15_064907) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -23,7 +23,7 @@
t.datetime "updated_at", null: false
t.string "name"
t.string "description"
- t.string "completion_date"
+ t.boolean "current_status"
end
end
diff --git a/log/development.log b/log/development.log
index 82539acf3..7e623a93f 100644
--- a/log/development.log
+++ b/log/development.log
@@ -7478,3 +7478,692 @@ Processing by TasksController#index as HTML
Completed 200 OK in 21ms (Views: 18.1ms | ActiveRecord: 0.3ms)
+Started GET "/tasks" for ::1 at 2019-04-14 23:21:29 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (50.2ms)
+Completed 200 OK in 95ms (Views: 79.2ms | ActiveRecord: 6.0ms)
+
+
+Started PATCH "/tasks/47/toggle_complete" for ::1 at 2019-04-14 23:21:31 -0700
+
+AbstractController::ActionNotFound - The action 'toggle_complete' could not be found for TasksController:
+
+Started POST "/__better_errors/3a9f7c76e907051f/variables" for ::1 at 2019-04-14 23:21:31 -0700
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (3.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Migrating to Change (20190415062838)
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (8.2ms)[0m [1m[35mALTER TABLE "tasks" ALTER COLUMN "completion_date" TYPE boolean[0m
+ ↳ db/migrate/20190415062838_change.rb:3
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Migrating to Change (20190415062838)
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (1.9ms)[0m [1m[35mALTER TABLE "tasks" ALTER COLUMN "completion_date" TYPE boolean[0m
+ ↳ db/migrate/20190415062838_change.rb:3
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Migrating to Change (20190415062838)
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (11.6ms)[0m [1m[35mALTER TABLE "tasks" DROP COLUMN "completion_date"[0m
+ ↳ db/migrate/20190415062838_change.rb:3
+ [1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190415062838"]]
+ ↳ bin/rails:9
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Migrating to Add (20190415064907)
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (6.7ms)[0m [1m[35mALTER TABLE "tasks" ADD "current_status" boolean[0m
+ ↳ db/migrate/20190415064907_add.rb:3
+ [1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190415064907"]]
+ ↳ bin/rails:9
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks" for ::1 at 2019-04-14 23:53:06 -0700
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/myriamwalden-duarte/.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
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (8.7ms)
+Completed 200 OK in 37ms (Views: 22.4ms | ActiveRecord: 5.2ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-14 23:53:13 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"U+WlvQnrLbB6Aew2GCBDHW+jYZPWofTBNRC6+bZBWEFPDsqYCO7NqDUQZtvTgIrnpghHwxy2SOBIz4XnRL+91g==", "id"=>"47"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.5ms)
+
+
+
+NoMethodError - undefined method `toogle' for #
+Did you mean? toggle
+ toggle!:
+ app/controllers/tasks_controller.rb:64:in `toggle'
+
+Started POST "/__better_errors/119e0b1235d7f29d/variables" for ::1 at 2019-04-14 23:53:13 -0700
+Started GET "/tasks" for ::1 at 2019-04-14 23:54:30 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (17.9ms)
+Completed 200 OK in 62ms (Views: 52.4ms | ActiveRecord: 3.1ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-14 23:54:33 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"Xlq8G1JV3POjxjsPUJJ8n2I1OuaiAsCW3cIc1gwJEItCsdM+U1A86+zXseKbMrVlq54ctmgVfLegHSPI/vf1HA==", "id"=>"47"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", true], ["updated_at", "2019-04-15 06:54:33.558473"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 6ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 23:54:33 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 32ms (Views: 28.4ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-14 23:54:37 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"/wjzx6Yynrf2R8LcluH2tL9ShXnxqHRBwhP0B6zPWZ7j45zipzd+r7lWSDFdQT9OdvmjKTu/yGC/zMsZXjG8CQ==", "id"=>"47"}
+ [1m[36mTask Load (1.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", false], ["updated_at", "2019-04-15 06:54:37.126676"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 7ms (ActiveRecord: 2.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 23:54:37 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 36ms (Views: 32.7ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-14 23:54:38 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"TscIkvycTzY89ci3N6sTdhOlWKCe8rQVvdFsHhg0OEpSLGe3/ZmvLnPkQlr8C9qM2g5+8FTlCDTADlMA6srd3Q==", "id"=>"47"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", true], ["updated_at", "2019-04-15 06:54:38.874121"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 23:54:38 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 22ms (Views: 18.7ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-14 23:54:40 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"asrPWeUHGP62EVEEcXIB8WbllLK//7knZab/z8/c8r52IaB85AL45vkA2+m60sgLr06y4nXoBQYYecDRPSIXKQ==", "id"=>"47"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", false], ["updated_at", "2019-04-15 06:54:40.208070"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 23:54:40 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 23ms (Views: 20.6ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-14 23:54:57 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"ZO2K9Ws5LWogHhkSyD9Ob/n97LD5xe53utk6WmPpFit4BuXQajzNcm8Pk/8Dn4eVMFbK4DPSUlbHBgVEkRfzvA==", "id"=>"47"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", true], ["updated_at", "2019-04-15 06:54:57.386004"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+No template found for TasksController#toggle, rendering head :no_content
+Completed 204 No Content in 118ms (ActiveRecord: 3.9ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-14 23:54:58 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"ZO2K9Ws5LWogHhkSyD9Ob/n97LD5xe53utk6WmPpFit4BuXQajzNcm8Pk/8Dn4eVMFbK4DPSUlbHBgVEkRfzvA==", "id"=>"47"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", false], ["updated_at", "2019-04-15 06:54:58.510080"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+No template found for TasksController#toggle, rendering head :no_content
+Completed 204 No Content in 113ms (ActiveRecord: 1.3ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-14 23:54:59 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"ZO2K9Ws5LWogHhkSyD9Ob/n97LD5xe53utk6WmPpFit4BuXQajzNcm8Pk/8Dn4eVMFbK4DPSUlbHBgVEkRfzvA==", "id"=>"47"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", true], ["updated_at", "2019-04-15 06:54:59.188767"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+No template found for TasksController#toggle, rendering head :no_content
+Completed 204 No Content in 110ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 23:55:51 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (8.3ms)
+Completed 200 OK in 32ms (Views: 24.4ms | ActiveRecord: 3.5ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-14 23:55:52 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"gsqnjy4Ns5ZifLXufnUfmrahHWPZIZ7dp7qYnaNQuN2eIciqLwhTji1tPwO11dZgfwo7MxM2IvzaZaeDUa5dSg==", "id"=>"47"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", false], ["updated_at", "2019-04-15 06:55:52.808839"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 5ms (ActiveRecord: 1.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 23:55:52 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 20ms (Views: 17.5ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-14 23:55:53 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"mfsRkKZvmuIYPQVedHkbj7rZOHhIBQvgZ8Goh4i79a2FEH61p2p6+lcsj7O/2dJ1c3IeKIISt8EaHpeZekUQOg==", "id"=>"47"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", true], ["updated_at", "2019-04-15 06:55:53.863096"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 23:55:53 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 21ms (Views: 18.4ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-14 23:55:55 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"2EIJBd2ClNNcw8htyhOWC7Jm2zkTnertw0ioHs72m13EqWYg3Id0yxPSQoABs1/xe839admKVsy+l5cAPAh+yg==", "id"=>"47"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", false], ["updated_at", "2019-04-15 06:55:55.243480"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 23:55:55 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 20ms (Views: 17.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 00:01:24 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (10.2ms)
+Completed 200 OK in 35ms (Views: 24.5ms | ActiveRecord: 5.7ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 00:01:24 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 22ms (Views: 19.0ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-15 00:01:25 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"Ffj1C+1upJJfZnBoN7d80ksKcxVo57p5IgS4wz4HPHoJE5ou7GtEihB3+oX8F7UogqFVRaLwBlhf24fdzPnZ7Q==", "id"=>"47"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (1.4ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", true], ["updated_at", "2019-04-15 07:01:25.842485"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 6ms (ActiveRecord: 2.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 00:01:25 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 27ms (Views: 24.3ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-15 00:01:26 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"bNd8F6FxVPJEOUFIHvwu0JvZJRlEf0oR7wWToX2a9zdwPBMyoHS06gsoy6XVXOcqUnIDSY5o9jCS2qy/j2QSoA==", "id"=>"47"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", false], ["updated_at", "2019-04-15 07:01:26.925821"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 00:01:26 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 21ms (Views: 17.9ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-15 00:01:27 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"iuYY9SPCkqNDNb0r41H/gTqbWxQH0d92FxALr+BGOwWWDXfQIsdyuwwkN8Yo8TZ78zB9RM3GY1dqzzSxErjekg==", "id"=>"47"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", true], ["updated_at", "2019-04-15 07:01:27.681278"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 00:01:27 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 21ms (Views: 17.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 00:02:14 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (7.7ms)
+Completed 200 OK in 30ms (Views: 23.0ms | ActiveRecord: 3.0ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-15 00:02:15 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"ngUemgFQ0HXYcrIjEX5zDXLzJzK2kMLZQEjdqHRoEsOC7nG/AFUwbZdjOM7a3rr3u1gBYnyHfvg9l+K2hpb3VA==", "id"=>"47"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", false], ["updated_at", "2019-04-15 07:02:15.579305"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 00:02:15 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 23ms (Views: 19.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 00:02:55 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 28ms (Views: 25.0ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-15 00:02:56 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"qO+hc+XkOq99sBbXV/39v8ZRR8XmQJCKdrEECu85/Ha0BM5W5OHatzKhnDqcXTRFD/phlSxXLKsLbjsUHccZ4Q==", "id"=>"47"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", true], ["updated_at", "2019-04-15 07:02:56.797394"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 00:02:56 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 22ms (Views: 19.0ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-15 00:02:58 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"CF1mypINogxc6tpWMtlVhQy9rxBAmP889kAwZ2+qwZIUtgnvkwhCFBP7ULv5eZx/xRaJQIqPQx2Lnw95nVQkBQ==", "id"=>"47"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", false], ["updated_at", "2019-04-15 07:02:58.041023"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 00:02:58 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 25ms (Views: 21.4ms | ActiveRecord: 0.5ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-15 00:02:58 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"KU83H9XsWVr41EdMCKeIZIYQMtuuKnYGeu3FNj8lf741pFg61Om5QrfFzaHDB0GeT7sUi2Q9yicHMvoozduaKQ==", "id"=>"47"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", true], ["updated_at", "2019-04-15 07:02:58.804049"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 00:02:58 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 24ms (Views: 20.7ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-15 00:02:59 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"jlQb/5PfTvoZiZ3Q8vtmh8UMY5NNvgobfw8p64QhiImSv3Taktqu4laYFz05W699DKdFw4eptjoC0Bb1dt9tHg==", "id"=>"47"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", false], ["updated_at", "2019-04-15 07:02:59.712386"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 5ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 00:02:59 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 27ms (Views: 23.8ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-15 00:03:00 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"sh47QLbsquDiHpQBzREhBSehmaqZFEBltPMThal2QBqu9VRlt+lK+K0PHuwGsej/7gq/+lMD/ETJLCybW4iljQ==", "id"=>"47"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", true], ["updated_at", "2019-04-15 07:03:00.427438"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 6ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 00:03:00 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 30ms (Views: 27.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 00:03:23 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (7.7ms)
+Completed 200 OK in 31ms (Views: 23.2ms | ActiveRecord: 3.0ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-15 00:03:25 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"GO41phEG/ZMgdRz2h0hp3gcKTPuB2X/nB6kTfNsm6YkEBVqDEAMdi29klhtM6KAkzqFqq0vOw8Z6dixiKdgMHg==", "id"=>"47"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", false], ["updated_at", "2019-04-15 07:03:25.203245"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 5ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 00:03:25 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 20ms (Views: 17.8ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-15 00:03:26 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"Ol3VhYaqXaLIaIs8UW/mByTvvxBGLhb6ytwbUxq52CAmtrqgh6+9uod5AdGazy/97USZQIw5qtu3AyRN6Ec9tw==", "id"=>"47"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", true], ["updated_at", "2019-04-15 07:03:26.183851"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 00:03:26 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 21ms (Views: 17.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/47/toggle" for ::1 at 2019-04-15 00:03:34 -0700
+
+ActionController::RoutingError (No route matches [GET] "/tasks/47/toggle"):
+
+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'
diff --git a/log/test.log b/log/test.log
index dd0af4166..b9f8acda9 100644
--- a/log/test.log
+++ b/log/test.log
@@ -5968,3 +5968,177 @@ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.2ms)
Task: test_0001_must be valid
-----------------------------
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "columns_for_tasks" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (1.3ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "created_at", "updated_at", "name", "description", "completion_date") VALUES (980190962, '2019-04-15 06:27:35.614793', '2019-04-15 06:27:35.614793', DEFAULT, DEFAULT, DEFAULT), (298486374, '2019-04-15 06:27:35.614793', '2019-04-15 06:27:35.614793', DEFAULT, DEFAULT, DEFAULT)[0m
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "columns_for_tasks" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 06:27:35.648062"], ["updated_at", "2019-04-15 06:27:35.648062"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 23:27:35 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-14 23:27:35 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 181ms (Views: 170.5ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 23:27:35 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------
+TasksController::destroy: test_0001_successfully deletes a task
+---------------------------------------------------------------
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190962" for 127.0.0.1 at 2019-04-14 23:27:35 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190962"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190962], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 980190962]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------
+TasksController::destroy: test_0002_returns 404 if not found
+------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/Not%20a%20valid%20id" for 127.0.0.1 at 2019-04-14 23:27:35 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"Not a valid id"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 06:27:35.860998"], ["updated_at", "2019-04-15 06:27:35.860998"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 23:27:35 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964" for 127.0.0.1 at 2019-04-14 23:27:35 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"walk the dog"}, "id"=>"980190964"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "walk the dog"], ["updated_at", "2019-04-15 06:27:35.866574"], ["id", 980190964]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+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-14 23:27:35 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"write tests, yay!!"}, "id"=>"Not a valid id"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Redirected to http://www.example.com/?flash%5Berror%5D=The+task+was+deleted%21
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 23:27:35 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>"2019-04-14 23:27:35 -0700"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 06:27:35.880078"], ["updated_at", "2019-04-15 06:27:35.880078"], ["name", "new task"], ["description", "new task description"], ["completion_date", "2019-04-14 23:27:35 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 06:27:35.885903"], ["updated_at", "2019-04-15 06:27:35.885903"], ["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-14 23:27:35 -0700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966/edit" for 127.0.0.1 at 2019-04-14 23:27:35 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190966"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190966], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (8.9ms)
+Completed 200 OK in 13ms (Views: 10.2ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/NOT%20A%20VALID%20ID/edit" for 127.0.0.1 at 2019-04-14 23:27:35 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"NOT A VALID ID"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks?flash%5Berror%5D=Task+does+not+exist%21
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 23:27:35 -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 5ms (Views: 2.8ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 23:27:35 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 23:27:35 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
diff --git a/test/controllers/tasks_controller_test.rb b/test/controllers/tasks_controller_test.rb
index ae56d49a1..e1225fbcc 100644
--- a/test/controllers/tasks_controller_test.rb
+++ b/test/controllers/tasks_controller_test.rb
@@ -14,7 +14,7 @@
# Act
get tasks_path
- # Assert
+ # Assert
must_respond_with :success
end
From acce7f73010d3977c1f617eab11e414d5f72eabf Mon Sep 17 00:00:00 2001
From: MyriamWD
Date: Mon, 15 Apr 2019 02:24:14 -0700
Subject: [PATCH 09/15] added toggle... figuring out functionality
---
app/controllers/tasks_controller.rb | 2 +-
app/views/tasks/edit.html.erb | 4 +-
app/views/tasks/index.html.erb | 10 +-
app/views/tasks/new.html.erb | 4 +-
log/development.log | 388 ++++++++++++++++++++++++++++
5 files changed, 401 insertions(+), 7 deletions(-)
diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb
index 30c0918bf..696e5fafa 100644
--- a/app/controllers/tasks_controller.rb
+++ b/app/controllers/tasks_controller.rb
@@ -78,6 +78,6 @@ def destroy
end
def task_params
- return params.require(:task).permit(:name, :description, :completion_date)
+ return params.require(:task).permit(:name, :description, :current_status)
end
end
diff --git a/app/views/tasks/edit.html.erb b/app/views/tasks/edit.html.erb
index 6dcc2f754..f2601532d 100644
--- a/app/views/tasks/edit.html.erb
+++ b/app/views/tasks/edit.html.erb
@@ -7,8 +7,8 @@
<%= f.text_field :name %>
<%= f.label :description %>
<%= f.text_field :description %>
- <%= f.label :completion_date %>
- <%= f.text_field :completion_date %>
+ <%= f.label :current_status %>
+ <%= f.text_field :current_status %>
<%= f.submit "Save Task", class: "task-form__submit-btn" %>
diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb
index 4ea776a1c..dce50fa24 100644
--- a/app/views/tasks/index.html.erb
+++ b/app/views/tasks/index.html.erb
@@ -5,12 +5,18 @@
<%= link_to task.name, task_path(task.id) %>
+ <% if task.current_status == true %>
- <%= link_to "Change Status", { action: "toggle", id: task.id }, method: :patch %>
+ <%= link_to "Pending", { action: "toggle", id: task.id }, method: :patch %>
+ <% else %>
+
+ <%= link_to "Complete", { action: "toggle", id: task.id }, method: :patch %>
+
+ <% end %>
<%= link_to "Delete #{task.name}",
- task_path(task.id), method: :delete %>
+ task_path(task.id), method: :delete, data: {confirm: "You are about to delete a task. Are you sure you want to proceed?"}%>
<% end %>
diff --git a/app/views/tasks/new.html.erb b/app/views/tasks/new.html.erb
index a5c9d9390..3f78e572b 100644
--- a/app/views/tasks/new.html.erb
+++ b/app/views/tasks/new.html.erb
@@ -7,8 +7,8 @@
<%= f.text_field :name %>
<%= f.label :description %>
<%= f.text_field :description %>
- <%= f.label :completion_date %>
- <%= f.text_field :completion_date %>
+ <%= f.label :current_status %>
+ <%= f.check_box :current_status %>
<%= f.submit "Save Task", class: "task-form__submit-btn" %>
diff --git a/log/development.log b/log/development.log
index 7e623a93f..19c1cd8be 100644
--- a/log/development.log
+++ b/log/development.log
@@ -8167,3 +8167,391 @@ 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 02:02:04 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 24ms (Views: 21.1ms | ActiveRecord: 0.8ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-15 02:02:07 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"oDLLw95IdJ9/dQav2993XaL/weUv0pB+ECW+aQkh4/q82aTm302UhzBkjEIQf76na1TnteXFLF9t+oF3+98GbQ==", "id"=>"47"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", false], ["updated_at", "2019-04-15 09:02:07.907101"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 5ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 02:02:07 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 28ms (Views: 25.4ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-15 02:02:10 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"0kSZT9CT044W0tZXnfUGH6KLQ/QEh0fesa0u+vrYoKvOr/Zq0ZYzllnDXLpWVc/layBlpM6Q+//MchHkCCZFPA==", "id"=>"47"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", true], ["updated_at", "2019-04-15 09:02:10.986016"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 02:02:10 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 20ms (Views: 17.3ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-15 02:02:14 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"PX1RHPqAKTs/M5VRq+TFUafo62gnc6773K7+P6Pr+Zkhlj45+4XJI3AiH7xgRAyrbkPNOO1kEtqhccEhURUcDg==", "id"=>"47"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", false], ["updated_at", "2019-04-15 09:02:14.177244"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 02:02:14 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 21ms (Views: 18.0ms | ActiveRecord: 0.3ms)
+
+
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-15 02:02:44 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"b4GAy07Nnof2qpf0FBjRhaxxNqEGfthVpLBxdTXXBhlzau/uT8h+n7m7HRnfuBh/ZdoQ8cxpZHTZb05rxynjjg==", "id"=>"47"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", true], ["updated_at", "2019-04-15 09:02:44.455610"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 02:02:44 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 21ms (Views: 18.4ms | ActiveRecord: 0.3ms)
+
+
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-15 02:03:13 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"SDYRSpDRZcyYRIkQBOBvZK8kjyvO2KoBC4p0lNQDSepU3X5vkdSF1NdVA/3PQKaeZo+pewTPFiB2VUuKJv2sfQ==", "id"=>"47"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", false], ["updated_at", "2019-04-15 09:03:13.648196"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 02:03:13 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 21ms (Views: 18.0ms | ActiveRecord: 0.3ms)
+
+
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks/new" for ::1 at 2019-04-15 02:10:48 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 24ms (Views: 21.2ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-15 02:10:53 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"MzUdvQWSg+wOrdVVvRRXablUd6kGkXRmk8ZcoRbZwbcv3nKYBJdj9EG8X7h2tJ6TcP9R+cyGyEfuGWO/5CckIA==", "task"=>{"name"=>"hi", "description"=>"bk", "completion_date"=>"nkjn"}, "commit"=>"Save Task"}
+Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
+
+
+
+ActiveModel::UnknownAttributeError - unknown attribute 'completion_date' for Task.:
+ app/controllers/tasks_controller.rb:29:in `create'
+
+Started POST "/__better_errors/823888748939fe3a/variables" for ::1 at 2019-04-15 02:10:53 -0700
+Started GET "/tasks/new" for ::1 at 2019-04-15 02:11:30 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 33ms (Views: 18.6ms | ActiveRecord: 5.5ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-15 02:11:32 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 20ms (Views: 17.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-15 02:12:09 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 20ms (Views: 17.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 02:16: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.9ms)
+Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected ')', expecting '}'
+...you sure you want to proceed?");@output_buffer.safe_append='
+... ^
+/Users/myriamwalden-duarte/Documents/Ada/April/2week/Homework/TaskList/app/views/tasks/index.html.erb:22: syntax error, unexpected keyword_end, expecting ')'
+'.freeze; end
+ ^~~
+/Users/myriamwalden-duarte/Documents/Ada/April/2week/Homework/TaskList/app/views/tasks/index.html.erb:29: syntax error, unexpected keyword_ensure, expecting ')'
+ ensure
+ ^~~~~~
+/Users/myriamwalden-duarte/Documents/Ada/April/2week/Homework/TaskList/app/views/tasks/index.html.erb:31: syntax error, unexpected keyword_end, expecting ')'
+ end
+ ^~~:
+ app/views/tasks/index.html.erb:19:in `'
+
+Started POST "/__better_errors/45d5d9f45c4c087e/variables" for ::1 at 2019-04-15 02:16:59 -0700
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.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-15 02:17:01 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected ')', expecting '}'
+...you sure you want to proceed?");@output_buffer.safe_append='
+... ^
+/Users/myriamwalden-duarte/Documents/Ada/April/2week/Homework/TaskList/app/views/tasks/index.html.erb:22: syntax error, unexpected keyword_end, expecting ')'
+'.freeze; end
+ ^~~
+/Users/myriamwalden-duarte/Documents/Ada/April/2week/Homework/TaskList/app/views/tasks/index.html.erb:29: syntax error, unexpected keyword_ensure, expecting ')'
+ ensure
+ ^~~~~~
+/Users/myriamwalden-duarte/Documents/Ada/April/2week/Homework/TaskList/app/views/tasks/index.html.erb:31: syntax error, unexpected keyword_end, expecting ')'
+ end
+ ^~~:
+ app/views/tasks/index.html.erb:19:in `'
+
+Started POST "/__better_errors/2a4a129e8cd623e4/variables" for ::1 at 2019-04-15 02:17:01 -0700
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/myriamwalden-duarte/.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-15 02:17:21 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 32ms (Views: 28.7ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-15 02:17:24 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"SZJQ3GGX3W06wjKHZTzAFt+Y/jdWLQCmEkgJ99RpBkpVeT/5YJI9dXXTuGqunAnsFjPYZ5w6vIdvlzbpJpfj3Q==", "id"=>"47"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", true], ["updated_at", "2019-04-15 09:17:24.570302"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 5ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 02:17:24 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 31ms (Views: 27.7ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-15 02:17:28 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"qqssqbWxoQe8+GEvxvL37SfYBSLxcVLVHb1U7lnLbkq2QEOMtLRBH/Pp68INUj4X7nMjcjtm7vRgYmvwqzWL3Q==", "id"=>"47"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", false], ["updated_at", "2019-04-15 09:17:28.631986"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 02:17:28 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 29ms (Views: 25.8ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-15 02:17:34 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"A8Kc9Zrbl7TeQ9PAY4bhjTCh8/FeKeg599b0PPkcKzEfKfPQm953rJFSWS2oJih3+QrVoZQ+VBiKCcsiC+LOpg==", "id"=>"47"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", true], ["updated_at", "2019-04-15 09:17:34.355215"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 5ms (ActiveRecord: 1.7ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 02:17:34 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 31ms (Views: 27.6ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-15 02:17:37 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"6+oEGnprWmS8sc1KSXUfbpk+pDG6Rp4NcM7Ydk2ZpBH3AWs/e266fPOgR6eC1daUUJWCYXBRIiwNEedov2dBhg==", "id"=>"47"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", false], ["updated_at", "2019-04-15 09:17:37.370433"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 02:17:37 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 21ms (Views: 18.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 02:19:32 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 21ms (Views: 18.3ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/47/toggle" for ::1 at 2019-04-15 02:19:35 -0700
+Processing by TasksController#toggle as HTML
+ Parameters: {"authenticity_token"=>"MqXUMjFEqG3v0UIuFNgq3mLuUOvcO81mvK6/+lD+GXsuTrsXMEFIdaDAyMPfeOMkq0V2uxYscUfBcYDkogD87A==", "id"=>"47"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:62
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "current_status" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["current_status", true], ["updated_at", "2019-04-15 09:19:35.116282"], ["id", 47]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:65
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 02:19:35 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 21ms (Views: 18.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-15 02:19:40 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (15.9ms)
+Completed 200 OK in 37ms (Views: 34.6ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-15 02:23:14 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"VVRfcLMm6f/HTY3PqxlyRDm0Y24eIV29LrWrg2ePn71JvzBVsiMJ54hcByJgubu+8B9FPtQ24ZxTapSdlXF6Kg==", "task"=>{"name"=>"T", "description"=>"njjbkb", "current_status"=>"1"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:31
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at", "name", "description", "current_status") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2019-04-15 09:23:14.365074"], ["updated_at", "2019-04-15 09:23:14.365074"], ["name", "T"], ["description", "njjbkb"], ["current_status", true]]
+ ↳ app/controllers/tasks_controller.rb:31
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:31
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 02:23:14 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 22ms (Views: 18.8ms | ActiveRecord: 0.4ms)
+
+
From 2d2d4e8c89bacbce4b6f4f5b49ec01ef99a10646 Mon Sep 17 00:00:00 2001
From: MyriamWD
Date: Mon, 15 Apr 2019 02:59:07 -0700
Subject: [PATCH 10/15] updated task controller
---
app/controllers/tasks_controller.rb | 2 +-
log/development.log | 15 +++++++++++++++
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb
index 696e5fafa..45597798b 100644
--- a/app/controllers/tasks_controller.rb
+++ b/app/controllers/tasks_controller.rb
@@ -54,7 +54,7 @@ def update
redirect_to task_path(task.id)
end
else
- redirect_to root_path :flash => {:error => "The task was deleted!"}
+ redirect_to tasks_path :flash => {:error => "The task was deleted!"}
end
end
diff --git a/log/development.log b/log/development.log
index 19c1cd8be..2ebee9d95 100644
--- a/log/development.log
+++ b/log/development.log
@@ -8555,3 +8555,18 @@ Processing by TasksController#index as HTML
Completed 200 OK in 22ms (Views: 18.8ms | ActiveRecord: 0.4ms)
+Started GET "/tasks/49" for ::1 at 2019-04-15 02:37:30 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"49"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (12.7ms)
+Completed 500 Internal Server Error in 23ms (ActiveRecord: 0.6ms)
+
+
+
+NoMethodError - undefined method `completion_date' for #:
+ app/views/tasks/show.html.erb:7:in `_app_views_tasks_show_html_erb__420305760740961222_70274004483220'
+
+Started POST "/__better_errors/3c4c7c7a7e7af7b3/variables" for ::1 at 2019-04-15 02:37:30 -0700
From 320370e7ecbb4520317d4606178cb28d54ca9df2 Mon Sep 17 00:00:00 2001
From: MyriamWD
Date: Mon, 15 Apr 2019 03:07:50 -0700
Subject: [PATCH 11/15] working on text_fiel for the toggle
---
app/views/tasks/edit.html.erb | 9 +-
app/views/tasks/show.html.erb | 4 +-
log/development.log | 223 ++++++++++++++++++++++++++++++++++
3 files changed, 232 insertions(+), 4 deletions(-)
diff --git a/app/views/tasks/edit.html.erb b/app/views/tasks/edit.html.erb
index f2601532d..33b028aed 100644
--- a/app/views/tasks/edit.html.erb
+++ b/app/views/tasks/edit.html.erb
@@ -1,4 +1,4 @@
-Form for creating a new task...
+Form for editing a task...
<%= form_with model: @task, class: "edit-task" do |f| %>
Please fill out this form to edit a task
@@ -8,7 +8,12 @@
<%= f.label :description %>
<%= f.text_field :description %>
<%= f.label :current_status %>
- <%= f.text_field :current_status %>
+ <% if :current_status == true %>
+ <%= f.text_field "completed" %>
+ <% else%>
+ <%= f.text_field :pending %>
+ <%end%>
+
<%= f.submit "Save Task", class: "task-form__submit-btn" %>
diff --git a/app/views/tasks/show.html.erb b/app/views/tasks/show.html.erb
index e571421da..7d7d2e9b9 100644
--- a/app/views/tasks/show.html.erb
+++ b/app/views/tasks/show.html.erb
@@ -3,8 +3,8 @@
- <%= @task.description%>
-
<%= @task.completion_date%>
+ <%= @task.description%>
+ <%= @task.current_status%>
<%= link_to "Back to Tasks List", tasks_path%>
diff --git a/log/development.log b/log/development.log
index 2ebee9d95..b65d7441a 100644
--- a/log/development.log
+++ b/log/development.log
@@ -8570,3 +8570,226 @@ NoMethodError - undefined method `completion_date' for #"49"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (11.6ms)
+Completed 500 Internal Server Error in 22ms (ActiveRecord: 0.4ms)
+
+
+
+NoMethodError - undefined method `completion_date' for #:
+ app/views/tasks/show.html.erb:7:in `_app_views_tasks_show_html_erb__420305760740961222_70273971244920'
+
+Started POST "/__better_errors/272ffe0a71d72d64/variables" for ::1 at 2019-04-15 02:59:30 -0700
+Started GET "/tasks" for ::1 at 2019-04-15 03:00:01 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 35ms (Views: 31.9ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/49" for ::1 at 2019-04-15 03:00:03 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"49"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:18
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 31ms (Views: 27.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/49/edit" for ::1 at 2019-04-15 03:00:06 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"49"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:42
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 32ms (Views: 19.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/49/edit" for ::1 at 2019-04-15 03:02:33 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"49"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:42
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 21ms (Views: 18.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/49/edit" for ::1 at 2019-04-15 03:02:55 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"49"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:42
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 23ms (Views: 19.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/49/edit" for ::1 at 2019-04-15 03:02:57 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"49"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:42
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 22ms (Views: 19.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/49/edit" for ::1 at 2019-04-15 03:03:06 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"49"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:42
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 23ms (Views: 19.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/49/edit" for ::1 at 2019-04-15 03:03:07 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"49"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:42
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 23ms (Views: 19.9ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/49/edit" for ::1 at 2019-04-15 03:03:10 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"49"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:42
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 22ms (Views: 18.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/49/edit" for ::1 at 2019-04-15 03:03:41 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"49"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:42
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 28ms (Views: 25.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/49/edit" for ::1 at 2019-04-15 03:03:43 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"49"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:42
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 22ms (Views: 19.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/49/edit" for ::1 at 2019-04-15 03:03:55 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"49"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:42
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 23ms (Views: 19.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/49/edit" for ::1 at 2019-04-15 03:03:56 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"49"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:42
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 22ms (Views: 18.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/49/edit" for ::1 at 2019-04-15 03:03:57 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"49"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:42
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 23ms (Views: 19.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/49/edit" for ::1 at 2019-04-15 03:03:57 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"49"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:42
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 21ms (Views: 18.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/49/edit" for ::1 at 2019-04-15 03:03:57 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"49"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:42
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 21ms (Views: 18.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/49/edit" for ::1 at 2019-04-15 03:03:58 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"49"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:42
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 21ms (Views: 18.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/49/edit" for ::1 at 2019-04-15 03:03:58 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"49"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:42
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 26ms (Views: 22.7ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/49/edit" for ::1 at 2019-04-15 03:03:58 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"49"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:42
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 21ms (Views: 17.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/49/edit" for ::1 at 2019-04-15 03:03:58 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"49"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:42
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 21ms (Views: 17.4ms | ActiveRecord: 0.2ms)
+
+
From 1d1d09efbc7a200a316417da0f4dcf5ed7e28133 Mon Sep 17 00:00:00 2001
From: MyriamWD
Date: Mon, 15 Apr 2019 22:16:31 -0700
Subject: [PATCH 12/15] deleted the checkbox from the edit and new views
---
app/views/layouts/application.html.erb | 3 +
app/views/tasks/edit.html.erb | 8 -
app/views/tasks/index.html.erb | 2 +-
app/views/tasks/new.html.erb | 3 -
log/development.log | 800 +++++++++++++++++++++++++
5 files changed, 804 insertions(+), 12 deletions(-)
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index b9ce64348..d46622be5 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -10,6 +10,9 @@
+
<%= yield %>