From b18db509274e64aa6995f0992ad9879ec795c630 Mon Sep 17 00:00:00 2001
From: Heather Izumi
Date: Mon, 8 Apr 2019 14:18:45 -0700
Subject: [PATCH 1/9] ran rails new
---
.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/helpers/application_helper.rb | 2 +
app/jobs/application_job.rb | 2 +
app/mailers/application_mailer.rb | 4 +
app/models/application_record.rb | 3 +
app/models/concerns/.keep | 0
app/views/layouts/application.html.erb | 15 +
app/views/layouts/mailer.html.erb | 13 +
app/views/layouts/mailer.text.erb | 1 +
bin/bundle | 3 +
bin/rails | 9 +
bin/rake | 9 +
bin/setup | 36 +++
bin/spring | 17 ++
bin/update | 31 ++
bin/yarn | 11 +
config.ru | 5 +
config/application.rb | 26 ++
config/boot.rb | 4 +
config/cable.yml | 10 +
config/credentials.yml.enc | 1 +
config/database.yml | 85 ++++++
config/environment.rb | 5 +
config/environments/development.rb | 61 ++++
config/environments/production.rb | 94 ++++++
config/environments/test.rb | 46 +++
config/initializers/action_view.rb | 1 +
.../application_controller_renderer.rb | 8 +
config/initializers/assets.rb | 14 +
config/initializers/backtrace_silencers.rb | 7 +
.../initializers/content_security_policy.rb | 25 ++
config/initializers/cookies_serializer.rb | 5 +
.../initializers/filter_parameter_logging.rb | 4 +
config/initializers/inflections.rb | 16 +
config/initializers/mime_types.rb | 4 +
config/initializers/wrap_parameters.rb | 14 +
config/locales/en.yml | 33 +++
config/puma.rb | 34 +++
config/routes.rb | 3 +
config/spring.rb | 6 +
config/storage.yml | 34 +++
db/seeds.rb | 7 +
lib/assets/.keep | 0
lib/tasks/.keep | 0
log/.keep | 0
log/development.log | 4 +
package.json | 5 +
public/404.html | 67 +++++
public/422.html | 67 +++++
public/500.html | 66 +++++
public/apple-touch-icon-precomposed.png | 0
public/apple-touch-icon.png | 0
public/favicon.ico | 0
public/robots.txt | 1 +
storage/.keep | 0
test/application_system_test_case.rb | 5 +
test/fixtures/.keep | 0
test/fixtures/files/.keep | 0
test/helpers/.keep | 0
test/integration/.keep | 0
test/mailers/.keep | 0
test/models/.keep | 0
test/system/.keep | 0
test/test_helper.rb | 26 ++
vendor/.keep | 0
80 files changed, 1380 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/helpers/application_helper.rb
create mode 100644 app/jobs/application_job.rb
create mode 100644 app/mailers/application_mailer.rb
create mode 100644 app/models/application_record.rb
create mode 100644 app/models/concerns/.keep
create mode 100644 app/views/layouts/application.html.erb
create mode 100644 app/views/layouts/mailer.html.erb
create mode 100644 app/views/layouts/mailer.text.erb
create mode 100755 bin/bundle
create mode 100755 bin/rails
create mode 100755 bin/rake
create mode 100755 bin/setup
create mode 100755 bin/spring
create mode 100755 bin/update
create mode 100755 bin/yarn
create mode 100644 config.ru
create mode 100644 config/application.rb
create mode 100644 config/boot.rb
create mode 100644 config/cable.yml
create mode 100644 config/credentials.yml.enc
create mode 100644 config/database.yml
create mode 100644 config/environment.rb
create mode 100644 config/environments/development.rb
create mode 100644 config/environments/production.rb
create mode 100644 config/environments/test.rb
create mode 100644 config/initializers/action_view.rb
create mode 100644 config/initializers/application_controller_renderer.rb
create mode 100644 config/initializers/assets.rb
create mode 100644 config/initializers/backtrace_silencers.rb
create mode 100644 config/initializers/content_security_policy.rb
create mode 100644 config/initializers/cookies_serializer.rb
create mode 100644 config/initializers/filter_parameter_logging.rb
create mode 100644 config/initializers/inflections.rb
create mode 100644 config/initializers/mime_types.rb
create mode 100644 config/initializers/wrap_parameters.rb
create mode 100644 config/locales/en.yml
create mode 100644 config/puma.rb
create mode 100644 config/routes.rb
create mode 100644 config/spring.rb
create mode 100644 config/storage.yml
create mode 100644 db/seeds.rb
create mode 100644 lib/assets/.keep
create mode 100644 lib/tasks/.keep
create mode 100644 log/.keep
create mode 100644 log/development.log
create mode 100644 package.json
create mode 100644 public/404.html
create mode 100644 public/422.html
create mode 100644 public/500.html
create mode 100644 public/apple-touch-icon-precomposed.png
create mode 100644 public/apple-touch-icon.png
create mode 100644 public/favicon.ico
create mode 100644 public/robots.txt
create mode 100644 storage/.keep
create mode 100644 test/application_system_test_case.rb
create mode 100644 test/fixtures/.keep
create mode 100644 test/fixtures/files/.keep
create mode 100644 test/helpers/.keep
create mode 100644 test/integration/.keep
create mode 100644 test/mailers/.keep
create mode 100644 test/models/.keep
create mode 100644 test/system/.keep
create mode 100644 test/test_helper.rb
create mode 100644 vendor/.keep
diff --git a/.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..79838de54
--- /dev/null
+++ b/.ruby-version
@@ -0,0 +1 @@
+ruby-2.5.3
\ No newline at end of file
diff --git a/Gemfile b/Gemfile
new file mode 100644
index 000000000..4dfe799be
--- /dev/null
+++ b/Gemfile
@@ -0,0 +1,81 @@
+source 'https://rubygems.org'
+git_source(:github) { |repo| "https://github.com/#{repo}.git" }
+
+ruby '2.5.3'
+
+# 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..3925104fa
--- /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.3p105
+
+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/helpers/application_helper.rb b/app/helpers/application_helper.rb
new file mode 100644
index 000000000..de6be7945
--- /dev/null
+++ b/app/helpers/application_helper.rb
@@ -0,0 +1,2 @@
+module ApplicationHelper
+end
diff --git a/app/jobs/application_job.rb b/app/jobs/application_job.rb
new file mode 100644
index 000000000..a009ace51
--- /dev/null
+++ b/app/jobs/application_job.rb
@@ -0,0 +1,2 @@
+class ApplicationJob < ActiveJob::Base
+end
diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb
new file mode 100644
index 000000000..286b2239d
--- /dev/null
+++ b/app/mailers/application_mailer.rb
@@ -0,0 +1,4 @@
+class ApplicationMailer < ActionMailer::Base
+ default from: 'from@example.com'
+ layout 'mailer'
+end
diff --git a/app/models/application_record.rb b/app/models/application_record.rb
new file mode 100644
index 000000000..10a4cba84
--- /dev/null
+++ b/app/models/application_record.rb
@@ -0,0 +1,3 @@
+class ApplicationRecord < ActiveRecord::Base
+ self.abstract_class = true
+end
diff --git a/app/models/concerns/.keep b/app/models/concerns/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
new file mode 100644
index 000000000..b9ce64348
--- /dev/null
+++ b/app/views/layouts/application.html.erb
@@ -0,0 +1,15 @@
+
+
+
+ TaskList
+ <%= csrf_meta_tags %>
+ <%= csp_meta_tag %>
+
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
+ <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
+
+
+
+ <%= yield %>
+
+
diff --git a/app/views/layouts/mailer.html.erb b/app/views/layouts/mailer.html.erb
new file mode 100644
index 000000000..cbd34d2e9
--- /dev/null
+++ b/app/views/layouts/mailer.html.erb
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+ <%= yield %>
+
+
diff --git a/app/views/layouts/mailer.text.erb b/app/views/layouts/mailer.text.erb
new file mode 100644
index 000000000..37f0bddbd
--- /dev/null
+++ b/app/views/layouts/mailer.text.erb
@@ -0,0 +1 @@
+<%= yield %>
diff --git a/bin/bundle b/bin/bundle
new file mode 100755
index 000000000..f19acf5b5
--- /dev/null
+++ b/bin/bundle
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
+load Gem.bin_path('bundler', 'bundle')
diff --git a/bin/rails b/bin/rails
new file mode 100755
index 000000000..5badb2fde
--- /dev/null
+++ b/bin/rails
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+begin
+ load File.expand_path('../spring', __FILE__)
+rescue LoadError => e
+ raise unless e.message.include?('spring')
+end
+APP_PATH = File.expand_path('../config/application', __dir__)
+require_relative '../config/boot'
+require 'rails/commands'
diff --git a/bin/rake b/bin/rake
new file mode 100755
index 000000000..d87d5f578
--- /dev/null
+++ b/bin/rake
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+begin
+ load File.expand_path('../spring', __FILE__)
+rescue LoadError => e
+ raise unless e.message.include?('spring')
+end
+require_relative '../config/boot'
+require 'rake'
+Rake.application.run
diff --git a/bin/setup b/bin/setup
new file mode 100755
index 000000000..94fd4d797
--- /dev/null
+++ b/bin/setup
@@ -0,0 +1,36 @@
+#!/usr/bin/env ruby
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = File.expand_path('..', __dir__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a starting point to setup your application.
+ # Add necessary setup steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ # Install JavaScript dependencies if using Yarn
+ # system('bin/yarn')
+
+ # puts "\n== Copying sample files =="
+ # unless File.exist?('config/database.yml')
+ # cp 'config/database.yml.sample', 'config/database.yml'
+ # end
+
+ puts "\n== Preparing database =="
+ system! 'bin/rails db:setup'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/bin/spring b/bin/spring
new file mode 100755
index 000000000..fb2ec2ebb
--- /dev/null
+++ b/bin/spring
@@ -0,0 +1,17 @@
+#!/usr/bin/env ruby
+
+# This file loads spring without using Bundler, in order to be fast.
+# It gets overwritten when you run the `spring binstub` command.
+
+unless defined?(Spring)
+ require 'rubygems'
+ require 'bundler'
+
+ lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
+ spring = lockfile.specs.detect { |spec| spec.name == "spring" }
+ if spring
+ Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
+ gem 'spring', spring.version
+ require 'spring/binstub'
+ end
+end
diff --git a/bin/update b/bin/update
new file mode 100755
index 000000000..58bfaed51
--- /dev/null
+++ b/bin/update
@@ -0,0 +1,31 @@
+#!/usr/bin/env ruby
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = File.expand_path('..', __dir__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a way to update your development environment automatically.
+ # Add necessary update steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ # Install JavaScript dependencies if using Yarn
+ # system('bin/yarn')
+
+ puts "\n== Updating database =="
+ system! 'bin/rails db:migrate'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/bin/yarn b/bin/yarn
new file mode 100755
index 000000000..460dd565b
--- /dev/null
+++ b/bin/yarn
@@ -0,0 +1,11 @@
+#!/usr/bin/env ruby
+APP_ROOT = File.expand_path('..', __dir__)
+Dir.chdir(APP_ROOT) do
+ begin
+ exec "yarnpkg", *ARGV
+ rescue Errno::ENOENT
+ $stderr.puts "Yarn executable was not detected in the system."
+ $stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install"
+ exit 1
+ end
+end
diff --git a/config.ru b/config.ru
new file mode 100644
index 000000000..f7ba0b527
--- /dev/null
+++ b/config.ru
@@ -0,0 +1,5 @@
+# This file is used by Rack-based servers to start the application.
+
+require_relative 'config/environment'
+
+run Rails.application
diff --git a/config/application.rb b/config/application.rb
new file mode 100644
index 000000000..77b3ec01b
--- /dev/null
+++ b/config/application.rb
@@ -0,0 +1,26 @@
+require_relative 'boot'
+
+require 'rails/all'
+
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(*Rails.groups)
+
+module TaskList
+ class Application < Rails::Application
+ config.generators do |g|
+ # Force new test files to be generated in the minitest-spec style
+ g.test_framework :minitest, spec: true
+
+ # Always use .js files, never .coffee
+ g.javascript_engine :js
+ end
+ # Initialize configuration defaults for originally generated Rails version.
+ config.load_defaults 5.2
+
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration can go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded after loading
+ # the framework and any gems in your application.
+ end
+end
diff --git a/config/boot.rb b/config/boot.rb
new file mode 100644
index 000000000..b9e460cef
--- /dev/null
+++ b/config/boot.rb
@@ -0,0 +1,4 @@
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
+
+require 'bundler/setup' # Set up gems listed in the Gemfile.
+require 'bootsnap/setup' # Speed up boot time by caching expensive operations.
diff --git a/config/cable.yml b/config/cable.yml
new file mode 100644
index 000000000..51266cdbe
--- /dev/null
+++ b/config/cable.yml
@@ -0,0 +1,10 @@
+development:
+ adapter: async
+
+test:
+ adapter: async
+
+production:
+ adapter: redis
+ url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
+ channel_prefix: TaskList_production
diff --git a/config/credentials.yml.enc b/config/credentials.yml.enc
new file mode 100644
index 000000000..f841bce46
--- /dev/null
+++ b/config/credentials.yml.enc
@@ -0,0 +1 @@
+0IA4or7Uj2h8tbFNCIieBgNffEttG870ptomVMLO/YAAcfu3Uw7qt2xgpjTENFNuowFA8YeA1VtTyNb/YNiI9Jceexoczr98f1mAz5bS0cWnxeLxJv/fvdfgtsl7lrm8lon7OIzQq21IkGeHNZ4TOl3cqGOsvWhplKcX95NYaBG2YZzjNI0BtSeWaqr43iY4kIPI8ke1YLf+eBJ48aoKENCRz4nDrNZwkYvqBJl9Ltl1Lf47RAurQCW1WPMyCUu5Ty8v6UWXl+JoEDxP/R7ay9R0VtX7kquM+I862K74giHoZayJVQHXWxVArFIWzcLomFWteEU78mwt5KJyMNrodJu3DXJJV4XTYbHqnFpDTmmvXNMozz9wMi6jFaOrQ2QmOcx/FWh4k7zzS8Jgr/Uv74sFsR1LwUXARiIN--kLRE+K+pwILnIDO/--k7nwNl82MqSgqo40O6kQiw==
\ No newline at end of file
diff --git a/config/database.yml b/config/database.yml
new file mode 100644
index 000000000..40243c8b5
--- /dev/null
+++ b/config/database.yml
@@ -0,0 +1,85 @@
+# PostgreSQL. Versions 9.1 and up are supported.
+#
+# Install the pg driver:
+# gem install pg
+# On OS X with Homebrew:
+# gem install pg -- --with-pg-config=/usr/local/bin/pg_config
+# On OS X with MacPorts:
+# gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
+# On Windows:
+# gem install pg
+# Choose the win32 build.
+# Install PostgreSQL and put its /bin directory on your path.
+#
+# Configure Using Gemfile
+# gem 'pg'
+#
+default: &default
+ adapter: postgresql
+ encoding: unicode
+ # For details on connection pooling, see Rails configuration guide
+ # http://guides.rubyonrails.org/configuring.html#database-pooling
+ pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
+
+development:
+ <<: *default
+ database: TaskList_development
+
+ # The specified database role being used to connect to postgres.
+ # To create additional roles in postgres see `$ createuser --help`.
+ # When left blank, postgres will use the default role. This is
+ # the same name as the operating system user that initialized the database.
+ #username: TaskList
+
+ # The password associated with the postgres role (username).
+ #password:
+
+ # Connect on a TCP socket. Omitted by default since the client uses a
+ # domain socket that doesn't need configuration. Windows does not have
+ # domain sockets, so uncomment these lines.
+ #host: localhost
+
+ # The TCP port the server listens on. Defaults to 5432.
+ # If your server runs on a different port number, change accordingly.
+ #port: 5432
+
+ # Schema search path. The server defaults to $user,public
+ #schema_search_path: myapp,sharedapp,public
+
+ # Minimum log levels, in increasing order:
+ # debug5, debug4, debug3, debug2, debug1,
+ # log, notice, warning, error, fatal, and panic
+ # Defaults to warning.
+ #min_messages: notice
+
+# Warning: The database defined as "test" will be erased and
+# re-generated from your development database when you run "rake".
+# Do not set this db to the same as development or production.
+test:
+ <<: *default
+ database: TaskList_test
+
+# As with config/secrets.yml, you never want to store sensitive information,
+# like your database password, in your source code. If your source code is
+# ever seen by anyone, they now have access to your database.
+#
+# Instead, provide the password as a unix environment variable when you boot
+# the app. Read http://guides.rubyonrails.org/configuring.html#configuring-a-database
+# for a full rundown on how to provide these environment variables in a
+# production deployment.
+#
+# On Heroku and other platform providers, you may have a full connection URL
+# available as an environment variable. For example:
+#
+# DATABASE_URL="postgres://myuser:mypass@localhost/somedatabase"
+#
+# You can use this database configuration with:
+#
+# production:
+# url: <%= ENV['DATABASE_URL'] %>
+#
+production:
+ <<: *default
+ database: TaskList_production
+ username: TaskList
+ password: <%= ENV['TASKLIST_DATABASE_PASSWORD'] %>
diff --git a/config/environment.rb b/config/environment.rb
new file mode 100644
index 000000000..426333bb4
--- /dev/null
+++ b/config/environment.rb
@@ -0,0 +1,5 @@
+# Load the Rails application.
+require_relative 'application'
+
+# Initialize the Rails application.
+Rails.application.initialize!
diff --git a/config/environments/development.rb b/config/environments/development.rb
new file mode 100644
index 000000000..1311e3e4e
--- /dev/null
+++ b/config/environments/development.rb
@@ -0,0 +1,61 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # In the development environment your application's code is reloaded on
+ # every request. This slows down response time but is perfect for development
+ # since you don't have to restart the web server when you make code changes.
+ config.cache_classes = false
+
+ # Do not eager load code on boot.
+ config.eager_load = false
+
+ # Show full error reports.
+ config.consider_all_requests_local = true
+
+ # Enable/disable caching. By default caching is disabled.
+ # Run rails dev:cache to toggle caching.
+ if Rails.root.join('tmp', 'caching-dev.txt').exist?
+ config.action_controller.perform_caching = true
+
+ config.cache_store = :memory_store
+ config.public_file_server.headers = {
+ 'Cache-Control' => "public, max-age=#{2.days.to_i}"
+ }
+ else
+ config.action_controller.perform_caching = false
+
+ config.cache_store = :null_store
+ end
+
+ # Store uploaded files on the local file system (see config/storage.yml for options)
+ config.active_storage.service = :local
+
+ # Don't care if the mailer can't send.
+ config.action_mailer.raise_delivery_errors = false
+
+ config.action_mailer.perform_caching = false
+
+ # Print deprecation notices to the Rails logger.
+ config.active_support.deprecation = :log
+
+ # Raise an error on page load if there are pending migrations.
+ config.active_record.migration_error = :page_load
+
+ # Highlight code that triggered database queries in logs.
+ config.active_record.verbose_query_logs = true
+
+ # Debug mode disables concatenation and preprocessing of assets.
+ # This option may cause significant delays in view rendering with a large
+ # number of complex assets.
+ config.assets.debug = true
+
+ # Suppress logger output for asset requests.
+ config.assets.quiet = true
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+
+ # Use an evented file watcher to asynchronously detect changes in source code,
+ # routes, locales, etc. This feature depends on the listen gem.
+ config.file_watcher = ActiveSupport::EventedFileUpdateChecker
+end
diff --git a/config/environments/production.rb b/config/environments/production.rb
new file mode 100644
index 000000000..4cef70af5
--- /dev/null
+++ b/config/environments/production.rb
@@ -0,0 +1,94 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # Code is not reloaded between requests.
+ config.cache_classes = true
+
+ # Eager load code on boot. This eager loads most of Rails and
+ # your application in memory, allowing both threaded web servers
+ # and those relying on copy on write to perform better.
+ # Rake tasks automatically ignore this option for performance.
+ config.eager_load = true
+
+ # Full error reports are disabled and caching is turned on.
+ config.consider_all_requests_local = false
+ config.action_controller.perform_caching = true
+
+ # Ensures that a master key has been made available in either ENV["RAILS_MASTER_KEY"]
+ # or in config/master.key. This key is used to decrypt credentials (and other encrypted files).
+ # config.require_master_key = true
+
+ # Disable serving static files from the `/public` folder by default since
+ # Apache or NGINX already handles this.
+ config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
+
+ # Compress JavaScripts and CSS.
+ config.assets.js_compressor = :uglifier
+ # config.assets.css_compressor = :sass
+
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
+ config.assets.compile = false
+
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
+
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
+ # config.action_controller.asset_host = 'http://assets.example.com'
+
+ # Specifies the header that your server uses for sending files.
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
+
+ # Store uploaded files on the local file system (see config/storage.yml for options)
+ config.active_storage.service = :local
+
+ # Mount Action Cable outside main process or domain
+ # config.action_cable.mount_path = nil
+ # config.action_cable.url = 'wss://example.com/cable'
+ # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
+
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
+ # config.force_ssl = true
+
+ # Use the lowest log level to ensure availability of diagnostic information
+ # when problems arise.
+ config.log_level = :debug
+
+ # Prepend all log lines with the following tags.
+ config.log_tags = [ :request_id ]
+
+ # Use a different cache store in production.
+ # config.cache_store = :mem_cache_store
+
+ # Use a real queuing backend for Active Job (and separate queues per environment)
+ # config.active_job.queue_adapter = :resque
+ # config.active_job.queue_name_prefix = "TaskList_#{Rails.env}"
+
+ config.action_mailer.perform_caching = false
+
+ # Ignore bad email addresses and do not raise email delivery errors.
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
+ # config.action_mailer.raise_delivery_errors = false
+
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
+ # the I18n.default_locale when a translation cannot be found).
+ config.i18n.fallbacks = true
+
+ # Send deprecation notices to registered listeners.
+ config.active_support.deprecation = :notify
+
+ # Use default logging formatter so that PID and timestamp are not suppressed.
+ config.log_formatter = ::Logger::Formatter.new
+
+ # Use a different logger for distributed setups.
+ # require 'syslog/logger'
+ # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
+
+ if ENV["RAILS_LOG_TO_STDOUT"].present?
+ logger = ActiveSupport::Logger.new(STDOUT)
+ logger.formatter = config.log_formatter
+ config.logger = ActiveSupport::TaggedLogging.new(logger)
+ end
+
+ # Do not dump schema after migrations.
+ config.active_record.dump_schema_after_migration = false
+end
diff --git a/config/environments/test.rb b/config/environments/test.rb
new file mode 100644
index 000000000..0a38fd3ce
--- /dev/null
+++ b/config/environments/test.rb
@@ -0,0 +1,46 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # The test environment is used exclusively to run your application's
+ # test suite. You never need to work with it otherwise. Remember that
+ # your test database is "scratch space" for the test suite and is wiped
+ # and recreated between test runs. Don't rely on the data there!
+ config.cache_classes = true
+
+ # Do not eager load code on boot. This avoids loading your whole application
+ # just for the purpose of running a single test. If you are using a tool that
+ # preloads Rails for running tests, you may have to set it to true.
+ config.eager_load = false
+
+ # Configure public file server for tests with Cache-Control for performance.
+ config.public_file_server.enabled = true
+ config.public_file_server.headers = {
+ 'Cache-Control' => "public, max-age=#{1.hour.to_i}"
+ }
+
+ # Show full error reports and disable caching.
+ config.consider_all_requests_local = true
+ config.action_controller.perform_caching = false
+
+ # Raise exceptions instead of rendering exception templates.
+ config.action_dispatch.show_exceptions = false
+
+ # Disable request forgery protection in test environment.
+ config.action_controller.allow_forgery_protection = false
+
+ # Store uploaded files on the local file system in a temporary directory
+ config.active_storage.service = :test
+
+ config.action_mailer.perform_caching = false
+
+ # Tell Action Mailer not to deliver emails to the real world.
+ # The :test delivery method accumulates sent emails in the
+ # ActionMailer::Base.deliveries array.
+ config.action_mailer.delivery_method = :test
+
+ # Print deprecation notices to the stderr.
+ config.active_support.deprecation = :stderr
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+end
diff --git a/config/initializers/action_view.rb b/config/initializers/action_view.rb
new file mode 100644
index 000000000..142d382f8
--- /dev/null
+++ b/config/initializers/action_view.rb
@@ -0,0 +1 @@
+Rails.application.config.action_view.form_with_generates_remote_forms = false
diff --git a/config/initializers/application_controller_renderer.rb b/config/initializers/application_controller_renderer.rb
new file mode 100644
index 000000000..89d2efab2
--- /dev/null
+++ b/config/initializers/application_controller_renderer.rb
@@ -0,0 +1,8 @@
+# Be sure to restart your server when you modify this file.
+
+# ActiveSupport::Reloader.to_prepare do
+# ApplicationController.renderer.defaults.merge!(
+# http_host: 'example.org',
+# https: false
+# )
+# end
diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb
new file mode 100644
index 000000000..4b828e80c
--- /dev/null
+++ b/config/initializers/assets.rb
@@ -0,0 +1,14 @@
+# Be sure to restart your server when you modify this file.
+
+# Version of your assets, change this if you want to expire all your assets.
+Rails.application.config.assets.version = '1.0'
+
+# Add additional assets to the asset load path.
+# Rails.application.config.assets.paths << Emoji.images_path
+# Add Yarn node_modules folder to the asset load path.
+Rails.application.config.assets.paths << Rails.root.join('node_modules')
+
+# Precompile additional assets.
+# application.js, application.css, and all non-JS/CSS in the app/assets
+# folder are already added.
+# Rails.application.config.assets.precompile += %w( admin.js admin.css )
diff --git a/config/initializers/backtrace_silencers.rb b/config/initializers/backtrace_silencers.rb
new file mode 100644
index 000000000..59385cdf3
--- /dev/null
+++ b/config/initializers/backtrace_silencers.rb
@@ -0,0 +1,7 @@
+# Be sure to restart your server when you modify this file.
+
+# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
+# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
+
+# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
+# Rails.backtrace_cleaner.remove_silencers!
diff --git a/config/initializers/content_security_policy.rb b/config/initializers/content_security_policy.rb
new file mode 100644
index 000000000..d3bcaa5ec
--- /dev/null
+++ b/config/initializers/content_security_policy.rb
@@ -0,0 +1,25 @@
+# Be sure to restart your server when you modify this file.
+
+# Define an application-wide content security policy
+# For further information see the following documentation
+# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy
+
+# Rails.application.config.content_security_policy do |policy|
+# policy.default_src :self, :https
+# policy.font_src :self, :https, :data
+# policy.img_src :self, :https, :data
+# policy.object_src :none
+# policy.script_src :self, :https
+# policy.style_src :self, :https
+
+# # Specify URI for violation reports
+# # policy.report_uri "/csp-violation-report-endpoint"
+# end
+
+# If you are using UJS then enable automatic nonce generation
+# Rails.application.config.content_security_policy_nonce_generator = -> request { SecureRandom.base64(16) }
+
+# Report CSP violations to a specified URI
+# For further information see the following documentation:
+# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only
+# Rails.application.config.content_security_policy_report_only = true
diff --git a/config/initializers/cookies_serializer.rb b/config/initializers/cookies_serializer.rb
new file mode 100644
index 000000000..5a6a32d37
--- /dev/null
+++ b/config/initializers/cookies_serializer.rb
@@ -0,0 +1,5 @@
+# Be sure to restart your server when you modify this file.
+
+# Specify a serializer for the signed and encrypted cookie jars.
+# Valid options are :json, :marshal, and :hybrid.
+Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/config/initializers/filter_parameter_logging.rb b/config/initializers/filter_parameter_logging.rb
new file mode 100644
index 000000000..4a994e1e7
--- /dev/null
+++ b/config/initializers/filter_parameter_logging.rb
@@ -0,0 +1,4 @@
+# Be sure to restart your server when you modify this file.
+
+# Configure sensitive parameters which will be filtered from the log file.
+Rails.application.config.filter_parameters += [:password]
diff --git a/config/initializers/inflections.rb b/config/initializers/inflections.rb
new file mode 100644
index 000000000..ac033bf9d
--- /dev/null
+++ b/config/initializers/inflections.rb
@@ -0,0 +1,16 @@
+# Be sure to restart your server when you modify this file.
+
+# Add new inflection rules using the following format. Inflections
+# are locale specific, and you may define rules for as many different
+# locales as you wish. All of these examples are active by default:
+# ActiveSupport::Inflector.inflections(:en) do |inflect|
+# inflect.plural /^(ox)$/i, '\1en'
+# inflect.singular /^(ox)en/i, '\1'
+# inflect.irregular 'person', 'people'
+# inflect.uncountable %w( fish sheep )
+# end
+
+# These inflection rules are supported but not enabled by default:
+# ActiveSupport::Inflector.inflections(:en) do |inflect|
+# inflect.acronym 'RESTful'
+# end
diff --git a/config/initializers/mime_types.rb b/config/initializers/mime_types.rb
new file mode 100644
index 000000000..dc1899682
--- /dev/null
+++ b/config/initializers/mime_types.rb
@@ -0,0 +1,4 @@
+# Be sure to restart your server when you modify this file.
+
+# Add new mime types for use in respond_to blocks:
+# Mime::Type.register "text/richtext", :rtf
diff --git a/config/initializers/wrap_parameters.rb b/config/initializers/wrap_parameters.rb
new file mode 100644
index 000000000..bbfc3961b
--- /dev/null
+++ b/config/initializers/wrap_parameters.rb
@@ -0,0 +1,14 @@
+# Be sure to restart your server when you modify this file.
+
+# This file contains settings for ActionController::ParamsWrapper which
+# is enabled by default.
+
+# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
+ActiveSupport.on_load(:action_controller) do
+ wrap_parameters format: [:json]
+end
+
+# To enable root element in JSON for ActiveRecord objects.
+# ActiveSupport.on_load(:active_record) do
+# self.include_root_in_json = true
+# end
diff --git a/config/locales/en.yml b/config/locales/en.yml
new file mode 100644
index 000000000..decc5a857
--- /dev/null
+++ b/config/locales/en.yml
@@ -0,0 +1,33 @@
+# Files in the config/locales directory are used for internationalization
+# and are automatically loaded by Rails. If you want to use locales other
+# than English, add the necessary files in this directory.
+#
+# To use the locales, use `I18n.t`:
+#
+# I18n.t 'hello'
+#
+# In views, this is aliased to just `t`:
+#
+# <%= t('hello') %>
+#
+# To use a different locale, set it with `I18n.locale`:
+#
+# I18n.locale = :es
+#
+# This would use the information in config/locales/es.yml.
+#
+# The following keys must be escaped otherwise they will not be retrieved by
+# the default I18n backend:
+#
+# true, false, on, off, yes, no
+#
+# Instead, surround them with single quotes.
+#
+# en:
+# 'true': 'foo'
+#
+# To learn more, please read the Rails Internationalization guide
+# available at http://guides.rubyonrails.org/i18n.html.
+
+en:
+ hello: "Hello world"
diff --git a/config/puma.rb b/config/puma.rb
new file mode 100644
index 000000000..a5eccf816
--- /dev/null
+++ b/config/puma.rb
@@ -0,0 +1,34 @@
+# Puma can serve each request in a thread from an internal thread pool.
+# The `threads` method setting takes two numbers: a minimum and maximum.
+# Any libraries that use thread pools should be configured to match
+# the maximum value specified for Puma. Default is set to 5 threads for minimum
+# and maximum; this matches the default thread size of Active Record.
+#
+threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
+threads threads_count, threads_count
+
+# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
+#
+port ENV.fetch("PORT") { 3000 }
+
+# Specifies the `environment` that Puma will run in.
+#
+environment ENV.fetch("RAILS_ENV") { "development" }
+
+# Specifies the number of `workers` to boot in clustered mode.
+# Workers are forked webserver processes. If using threads and workers together
+# the concurrency of the application would be max `threads` * `workers`.
+# Workers do not work on JRuby or Windows (both of which do not support
+# processes).
+#
+# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
+
+# Use the `preload_app!` method when specifying a `workers` number.
+# This directive tells Puma to first boot the application and load code
+# before forking the application. This takes advantage of Copy On Write
+# process behavior so workers use less memory.
+#
+# preload_app!
+
+# Allow puma to be restarted by `rails restart` command.
+plugin :tmp_restart
diff --git a/config/routes.rb b/config/routes.rb
new file mode 100644
index 000000000..787824f88
--- /dev/null
+++ b/config/routes.rb
@@ -0,0 +1,3 @@
+Rails.application.routes.draw do
+ # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
+end
diff --git a/config/spring.rb b/config/spring.rb
new file mode 100644
index 000000000..9fa7863f9
--- /dev/null
+++ b/config/spring.rb
@@ -0,0 +1,6 @@
+%w[
+ .ruby-version
+ .rbenv-vars
+ tmp/restart.txt
+ tmp/caching-dev.txt
+].each { |path| Spring.watch(path) }
diff --git a/config/storage.yml b/config/storage.yml
new file mode 100644
index 000000000..d32f76e8f
--- /dev/null
+++ b/config/storage.yml
@@ -0,0 +1,34 @@
+test:
+ service: Disk
+ root: <%= Rails.root.join("tmp/storage") %>
+
+local:
+ service: Disk
+ root: <%= Rails.root.join("storage") %>
+
+# Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
+# amazon:
+# service: S3
+# access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %>
+# secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %>
+# region: us-east-1
+# bucket: your_own_bucket
+
+# Remember not to checkin your GCS keyfile to a repository
+# google:
+# service: GCS
+# project: your_project
+# credentials: <%= Rails.root.join("path/to/gcs.keyfile") %>
+# bucket: your_own_bucket
+
+# Use rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key)
+# microsoft:
+# service: AzureStorage
+# storage_account_name: your_account_name
+# storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %>
+# container: your_container_name
+
+# mirror:
+# service: Mirror
+# primary: local
+# mirrors: [ amazon, google, microsoft ]
diff --git a/db/seeds.rb b/db/seeds.rb
new file mode 100644
index 000000000..1beea2acc
--- /dev/null
+++ b/db/seeds.rb
@@ -0,0 +1,7 @@
+# This file should contain all the record creation needed to seed the database with its default values.
+# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
+#
+# Examples:
+#
+# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
+# Character.create(name: 'Luke', movie: movies.first)
diff --git a/lib/assets/.keep b/lib/assets/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/lib/tasks/.keep b/lib/tasks/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/log/.keep b/log/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/log/development.log b/log/development.log
new file mode 100644
index 000000000..aa26fa393
--- /dev/null
+++ b/log/development.log
@@ -0,0 +1,4 @@
+ [1m[35m (480.7ms)[0m [1m[35mCREATE DATABASE "TaskList_development" ENCODING = 'unicode'[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (395.7ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
diff --git a/package.json b/package.json
new file mode 100644
index 000000000..f9cbc5515
--- /dev/null
+++ b/package.json
@@ -0,0 +1,5 @@
+{
+ "name": "TaskList",
+ "private": true,
+ "dependencies": {}
+}
diff --git a/public/404.html b/public/404.html
new file mode 100644
index 000000000..2be3af26f
--- /dev/null
+++ b/public/404.html
@@ -0,0 +1,67 @@
+
+
+
+ The page you were looking for doesn't exist (404)
+
+
+
+
+
+
+
+
+
The page you were looking for doesn't exist.
+
You may have mistyped the address or the page may have moved.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/public/422.html b/public/422.html
new file mode 100644
index 000000000..c08eac0d1
--- /dev/null
+++ b/public/422.html
@@ -0,0 +1,67 @@
+
+
+
+ The change you wanted was rejected (422)
+
+
+
+
+
+
+
+
+
The change you wanted was rejected.
+
Maybe you tried to change something you didn't have access to.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/public/500.html b/public/500.html
new file mode 100644
index 000000000..78a030af2
--- /dev/null
+++ b/public/500.html
@@ -0,0 +1,66 @@
+
+
+
+ We're sorry, but something went wrong (500)
+
+
+
+
+
+
+
+
+
We're sorry, but something went wrong.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/public/apple-touch-icon-precomposed.png b/public/apple-touch-icon-precomposed.png
new file mode 100644
index 000000000..e69de29bb
diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png
new file mode 100644
index 000000000..e69de29bb
diff --git a/public/favicon.ico b/public/favicon.ico
new file mode 100644
index 000000000..e69de29bb
diff --git a/public/robots.txt b/public/robots.txt
new file mode 100644
index 000000000..37b576a4a
--- /dev/null
+++ b/public/robots.txt
@@ -0,0 +1 @@
+# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
diff --git a/storage/.keep b/storage/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/test/application_system_test_case.rb b/test/application_system_test_case.rb
new file mode 100644
index 000000000..d19212abd
--- /dev/null
+++ b/test/application_system_test_case.rb
@@ -0,0 +1,5 @@
+require "test_helper"
+
+class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
+ driven_by :selenium, using: :chrome, screen_size: [1400, 1400]
+end
diff --git a/test/fixtures/.keep b/test/fixtures/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/test/fixtures/files/.keep b/test/fixtures/files/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/test/helpers/.keep b/test/helpers/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/test/integration/.keep b/test/integration/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/test/mailers/.keep b/test/mailers/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/test/models/.keep b/test/models/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/test/system/.keep b/test/system/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/test/test_helper.rb b/test/test_helper.rb
new file mode 100644
index 000000000..10594a324
--- /dev/null
+++ b/test/test_helper.rb
@@ -0,0 +1,26 @@
+ENV["RAILS_ENV"] = "test"
+require File.expand_path("../../config/environment", __FILE__)
+require "rails/test_help"
+require "minitest/rails"
+require "minitest/reporters" # for Colorized output
+
+# For colorful output!
+Minitest::Reporters.use!(
+ Minitest::Reporters::SpecReporter.new,
+ ENV,
+ Minitest.backtrace_filter
+)
+
+
+# To add Capybara feature tests add `gem "minitest-rails-capybara"`
+# to the test group in the Gemfile and uncomment the following:
+# require "minitest/rails/capybara"
+
+# Uncomment for awesome colorful output
+# require "minitest/pride"
+
+class ActiveSupport::TestCase
+ # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
+ fixtures :all
+ # Add more helper methods to be used by all tests here...
+end
diff --git a/vendor/.keep b/vendor/.keep
new file mode 100644
index 000000000..e69de29bb
From 3efe44ef6b5ac5d33b4ad0549f9b4ea9b994041b Mon Sep 17 00:00:00 2001
From: Heather Izumi
Date: Thu, 11 Apr 2019 16:44:20 -0700
Subject: [PATCH 2/9] Added tasks actions create edit and test for edit
---
app/assets/javascripts/tasks.js | 2 +
app/assets/stylesheets/tasks.scss | 3 +
app/controllers/tasks_controller.rb | 60 +
app/helpers/tasks_helper.rb | 2 +
app/models/task.rb | 2 +
app/views/tasks/edit.html.erb | 16 +
app/views/tasks/index.html.erb | 13 +
app/views/tasks/new.html.erb | 16 +
app/views/tasks/show.html.erb | 12 +
config/routes.rb | 10 +-
db/migrate/20190409212859_create_tasks.rb | 10 +
...90409213314_add_completion_date_to_task.rb | 5 +
...09214416_changed_data_type_date_in_task.rb | 5 +
.../20190409215953_add_datetime_completion.rb | 5 +
db/schema.rb | 26 +
log/development.log | 2401 +++++++
log/test.log | 5586 +++++++++++++++++
test/controllers/tasks_controller_test.rb | 26 +-
test/fixtures/tasks.yml | 9 +
test/models/task_test.rb | 9 +
20 files changed, 8206 insertions(+), 12 deletions(-)
create mode 100644 app/assets/javascripts/tasks.js
create mode 100644 app/assets/stylesheets/tasks.scss
create mode 100644 app/controllers/tasks_controller.rb
create mode 100644 app/helpers/tasks_helper.rb
create mode 100644 app/models/task.rb
create mode 100644 app/views/tasks/edit.html.erb
create mode 100644 app/views/tasks/index.html.erb
create mode 100644 app/views/tasks/new.html.erb
create mode 100644 app/views/tasks/show.html.erb
create mode 100644 db/migrate/20190409212859_create_tasks.rb
create mode 100644 db/migrate/20190409213314_add_completion_date_to_task.rb
create mode 100644 db/migrate/20190409214416_changed_data_type_date_in_task.rb
create mode 100644 db/migrate/20190409215953_add_datetime_completion.rb
create mode 100644 db/schema.rb
create mode 100644 log/test.log
create mode 100644 test/fixtures/tasks.yml
create mode 100644 test/models/task_test.rb
diff --git a/app/assets/javascripts/tasks.js b/app/assets/javascripts/tasks.js
new file mode 100644
index 000000000..dee720fac
--- /dev/null
+++ b/app/assets/javascripts/tasks.js
@@ -0,0 +1,2 @@
+// Place all the behaviors and hooks related to the matching controller here.
+// All this logic will automatically be available in application.js.
diff --git a/app/assets/stylesheets/tasks.scss b/app/assets/stylesheets/tasks.scss
new file mode 100644
index 000000000..c5e7712d4
--- /dev/null
+++ b/app/assets/stylesheets/tasks.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Tasks controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb
new file mode 100644
index 000000000..a32aed6bf
--- /dev/null
+++ b/app/controllers/tasks_controller.rb
@@ -0,0 +1,60 @@
+class TasksController < ApplicationController
+ TASKS = [
+ { name: "cleaning", description: "vacuum" },
+ { name: "dinner", description: "make soup" },
+ { name: "shopping", description: "Go to Target" },
+ ]
+
+ def index
+ @tasks = Task.all
+ end
+
+ def show
+ task_id = params[:id]
+ @task = Task.find_by(id: task_id)
+
+ # puts params
+
+ if @task.nil?
+ redirect_to root_path
+ end
+ end
+
+ def new
+ @task = Task.new(name: "Default task")
+ end
+
+ def create
+ # puts params
+ task = Task.new(
+ name: params["task"]["name"],
+ description: params["task"]["description"],
+ )
+
+ is_successful = task.save
+
+ if is_successful
+ redirect_to task_path(task.id)
+ else
+ head :not_found
+ end
+ end
+
+ def edit
+ puts params
+ task_id = params[:id]
+
+ @task = Task.find_by(id: task_id)
+ 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
+end
diff --git a/app/helpers/tasks_helper.rb b/app/helpers/tasks_helper.rb
new file mode 100644
index 000000000..ce894d00c
--- /dev/null
+++ b/app/helpers/tasks_helper.rb
@@ -0,0 +1,2 @@
+module TasksHelper
+end
diff --git a/app/models/task.rb b/app/models/task.rb
new file mode 100644
index 000000000..3c2342421
--- /dev/null
+++ b/app/models/task.rb
@@ -0,0 +1,2 @@
+class Task < ApplicationRecord
+end
diff --git a/app/views/tasks/edit.html.erb b/app/views/tasks/edit.html.erb
new file mode 100644
index 000000000..c53341b48
--- /dev/null
+++ b/app/views/tasks/edit.html.erb
@@ -0,0 +1,16 @@
+
+Edit Task
+
+
+<%= form_with model: @task, class: 'edit-task' do |f| %>
+
+ Fill in the information below to create a new task
+
+ <%= f.label :name %>
+ <%= f.text_field :name %>
+ <%= f.label :description %>
+ <%= f.text_field :description %>
+
+ <%= f.submit "Update Task", class: "task-edit-button" %>
+
+<% end %>
\ No newline at end of file
diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb
new file mode 100644
index 000000000..64c62b5fe
--- /dev/null
+++ b/app/views/tasks/index.html.erb
@@ -0,0 +1,13 @@
+My Task List
+<%# Find me in app/views/tasks/index.html.erb
%>
+
+
+<% @tasks.each do |task|%>
+
+
+
+<%= link_to task.name, task_path(task.id) %> : <%= task[:description] %>
+
+
+<% end%>
+
\ 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..7a5c439eb
--- /dev/null
+++ b/app/views/tasks/new.html.erb
@@ -0,0 +1,16 @@
+
+Create a new Task!
+
+
+<%= form_with model: @task, class: 'create-task' do |f| %>
+
+ Fill in the information below to create a new task
+
+ <%= f.label :name %>
+ <%= f.text_field :name %>
+ <%= f.label :description %>
+ <%= f.text_field :description %>
+
+ <%= f.submit "Save Task", class: "task-submit-button" %>
+
+<% 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..2b77b8528
--- /dev/null
+++ b/app/views/tasks/show.html.erb
@@ -0,0 +1,12 @@
+My Task List
+<%# Find me in app/views/tasks/show.html.erb
%>
+
+Task: <%=@task.name%>
+
+Description:
+
+<%= @task.description %>
+
+
+<%= link_to "Back to all tasks", tasks_path %>
+<%= link_to "Delete #{@task.name}", task_path(@task.id, method: :delete) %>
\ No newline at end of file
diff --git a/config/routes.rb b/config/routes.rb
index 787824f88..ead4d1a82 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,3 +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"
+ root to: "tasks#index"
+
+ get "/tasks/new", to: "tasks#new", as: "new_task"
+ post "/tasks/", to: "tasks#create"
+
+ get "/tasks/:id", to: "tasks#show", as: "task"
+
+ get "/tasks/:id/edit", to: "tasks#edit", as: "edit_task"
end
diff --git a/db/migrate/20190409212859_create_tasks.rb b/db/migrate/20190409212859_create_tasks.rb
new file mode 100644
index 000000000..3ad1519c2
--- /dev/null
+++ b/db/migrate/20190409212859_create_tasks.rb
@@ -0,0 +1,10 @@
+class CreateTasks < ActiveRecord::Migration[5.2]
+ def change
+ create_table :tasks do |t|
+ t.string :name
+ t.string :description
+
+ t.timestamps
+ end
+ end
+end
diff --git a/db/migrate/20190409213314_add_completion_date_to_task.rb b/db/migrate/20190409213314_add_completion_date_to_task.rb
new file mode 100644
index 000000000..3107f13fe
--- /dev/null
+++ b/db/migrate/20190409213314_add_completion_date_to_task.rb
@@ -0,0 +1,5 @@
+class AddCompletionDateToTask < ActiveRecord::Migration[5.2]
+ def change
+ add_column(:tasks, :completed_at, :string)
+ end
+end
diff --git a/db/migrate/20190409214416_changed_data_type_date_in_task.rb b/db/migrate/20190409214416_changed_data_type_date_in_task.rb
new file mode 100644
index 000000000..77fdb04f1
--- /dev/null
+++ b/db/migrate/20190409214416_changed_data_type_date_in_task.rb
@@ -0,0 +1,5 @@
+class ChangedDataTypeDateInTask < ActiveRecord::Migration[5.2]
+ def change
+ remove_column(:tasks, :completed_at)
+ end
+end
diff --git a/db/migrate/20190409215953_add_datetime_completion.rb b/db/migrate/20190409215953_add_datetime_completion.rb
new file mode 100644
index 000000000..946fb8abc
--- /dev/null
+++ b/db/migrate/20190409215953_add_datetime_completion.rb
@@ -0,0 +1,5 @@
+class AddDatetimeCompletion < ActiveRecord::Migration[5.2]
+ def change
+ add_column(:tasks, :completed_at, :datetime)
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
new file mode 100644
index 000000000..ecf1b42bf
--- /dev/null
+++ b/db/schema.rb
@@ -0,0 +1,26 @@
+# This file is auto-generated from the current state of the database. Instead
+# of editing this file, please use the migrations feature of Active Record to
+# incrementally modify your database, and then regenerate this schema definition.
+#
+# Note that this schema.rb definition is the authoritative source for your
+# database schema. If you need to create the application database on another
+# system, you should be using db:schema:load, not running all the migrations
+# from scratch. The latter is a flawed and unsustainable approach (the more migrations
+# you'll amass, the slower it'll run and the greater likelihood for issues).
+#
+# It's strongly recommended that you check this file into your version control system.
+
+ActiveRecord::Schema.define(version: 2019_04_09_215953) do
+
+ # These are extensions that must be enabled in order to support this database
+ enable_extension "plpgsql"
+
+ create_table "tasks", force: :cascade do |t|
+ t.string "name"
+ t.string "description"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.datetime "completed_at"
+ end
+
+end
diff --git a/log/development.log b/log/development.log
index aa26fa393..e99431840 100644
--- a/log/development.log
+++ b/log/development.log
@@ -2,3 +2,2404 @@
↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
[1m[35m (395.7ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+Started GET "/tasks" for ::1 at 2019-04-08 14:35:08 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 347ms (Views: 338.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-08 14:39:51 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 24ms (Views: 21.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-08 14:40:31 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 26ms (Views: 23.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-08 14:41:48 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 29ms (Views: 26.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-08 14:44:27 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 46ms (Views: 41.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-08 14:52:37 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 32ms (Views: 29.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/books" for ::1 at 2019-04-08 15:04:41 -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:05:14 -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:14:26 -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 "/" for ::1 at 2019-04-08 15:15:01 -0700
+Processing by Rails::WelcomeController#index as HTML
+ Rendering /Users/heather.izumi/.rvm/rubies/ruby-2.5.3/lib/ruby/gems/2.5.0/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb
+ Rendered /Users/heather.izumi/.rvm/rubies/ruby-2.5.3/lib/ruby/gems/2.5.0/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb (3.4ms)
+Completed 200 OK in 12ms (Views: 7.6ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/books" for ::1 at 2019-04-08 15:15:06 -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:17:29 -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:23:48 -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/tasks" for ::1 at 2019-04-08 21:45:13 -0700
+
+ActionController::RoutingError (No route matches [GET] "/books/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 "/" for ::1 at 2019-04-08 21:45:36 -0700
+Processing by Rails::WelcomeController#index as HTML
+ Rendering /Users/heather.izumi/.rvm/rubies/ruby-2.5.3/lib/ruby/gems/2.5.0/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb
+ Rendered /Users/heather.izumi/.rvm/rubies/ruby-2.5.3/lib/ruby/gems/2.5.0/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb (2.2ms)
+Completed 200 OK in 24ms (Views: 6.9ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-08 21:45:43 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 197ms (Views: 192.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-09 14:26:32 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 203ms (Views: 194.0ms | ActiveRecord: 0.0ms)
+
+
+ [1m[35m (23.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (38.7ms)[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
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.8ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+Migrating to CreateTasks (20190409212859)
+ [1m[35m (40.7ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (6.9ms)[0m [1m[35mCREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ ↳ db/migrate/20190409212859_create_tasks.rb:3
+ [1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190409212859"]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [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]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[36mActiveRecord::InternalMetadata Create (1.0ms)[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 21:30:29.999965"], ["updated_at", "2019-04-09 21:30:29.999965"]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+Started GET "/tasks" for ::1 at 2019-04-09 14:31:04 -0700
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/better_errors-2.5.1/lib/better_errors/middleware.rb:84
+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 22ms (Views: 19.7ms | ActiveRecord: 0.0ms)
+
+
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+Migrating to AddCompletionDateToTask (20190409213314)
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (44.9ms)[0m [1m[35mALTER TABLE "tasks" ADD "completed_at" character varying[0m
+ ↳ db/migrate/20190409213314_add_completion_date_to_task.rb:3
+ [1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190409213314"]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [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]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (11.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.4ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+Migrating to ChangedDataTypeDateInTask (20190409214416)
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (29.0ms)[0m [1m[35mALTER TABLE "tasks" ALTER COLUMN "completed_at" TYPE timestamp[0m
+ ↳ db/migrate/20190409214416_changed_data_type_date_in_task.rb:3
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (4.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (233.9ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_development"[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (194.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (516.0ms)[0m [1m[35mCREATE DATABASE "TaskList_development" ENCODING = 'unicode'[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (430.9ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
+ ↳ db/schema.rb:16
+ [1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "tasks" CASCADE[0m
+ ↳ db/schema.rb:18
+ [1m[35m (5.3ms)[0m [1m[35mCREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completed_at" character varying)[0m
+ ↳ db/schema.rb:18
+ [1m[35m (3.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
+ ↳ db/schema.rb:13
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ db/schema.rb:13
+ [1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20190409213314)[0m
+ ↳ db/schema.rb:13
+ [1m[35m (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
+(20190409212859);
+
+[0m
+ ↳ db/schema.rb:13
+ [1m[35m (2.5ms)[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
+ ↳ db/schema.rb:13
+ [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]]
+ ↳ db/schema.rb:13
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ db/schema.rb:13
+ [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 21:54:45.730384"], ["updated_at", "2019-04-09 21:54:45.730384"]]
+ ↳ db/schema.rb:13
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ db/schema.rb:13
+ [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]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
+ ↳ db/schema.rb:16
+ [1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "tasks" CASCADE[0m
+ ↳ db/schema.rb:18
+ [1m[35m (6.0ms)[0m [1m[35mCREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completed_at" character varying)[0m
+ ↳ db/schema.rb:18
+ [1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
+ ↳ db/schema.rb:13
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ db/schema.rb:13
+ [1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20190409213314)[0m
+ ↳ db/schema.rb:13
+ [1m[35m (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
+(20190409212859);
+
+[0m
+ ↳ db/schema.rb:13
+ [1m[35m (2.5ms)[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
+ ↳ db/schema.rb:13
+ [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]]
+ ↳ db/schema.rb:13
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ db/schema.rb:13
+ [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 21:54:45.819541"], ["updated_at", "2019-04-09 21:54:45.819541"]]
+ ↳ db/schema.rb:13
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ db/schema.rb:13
+ [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]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[36mActiveRecord::InternalMetadata Update (0.4ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2019-04-09 21:54:45.827280"], ["key", "environment"]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (41.0ms)[0m [1m[35mCOMMIT[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.4ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+Migrating to ChangedDataTypeDateInTask (20190409214416)
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (69.5ms)[0m [1m[35mALTER TABLE "tasks" ALTER COLUMN "completed_at" TYPE timestamp[0m
+ ↳ db/migrate/20190409214416_changed_data_type_date_in_task.rb:3
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+Migrating to ChangedDataTypeDateInTask (20190409214416)
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (41.7ms)[0m [1m[35mALTER TABLE "tasks" DROP COLUMN "completed_at"[0m
+ ↳ db/migrate/20190409214416_changed_data_type_date_in_task.rb:3
+ [1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190409214416"]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [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]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+Migrating to AddDatetimeCompletion (20190409215953)
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (1.1ms)[0m [1m[35mALTER TABLE "tasks" ADD "completed_at" timestamp[0m
+ ↳ db/migrate/20190409215953_add_datetime_completion.rb:3
+ [1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190409215953"]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (129.0ms)[0m [1m[35mCOMMIT[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Create (1.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "laundry"], ["description", "wash darks"], ["created_at", "2019-04-09 22:08:11.471311"], ["updated_at", "2019-04-09 22:08:11.471311"]]
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "vacuum, clean bathrooms"], ["created_at", "2019-04-09 22:09:01.717905"], ["updated_at", "2019-04-09 22:09:01.717905"]]
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks" for ::1 at 2019-04-09 15:12:22 -0700
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/better_errors-2.5.1/lib/better_errors/middleware.rb:84
+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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (11.5ms)
+Completed 200 OK in 61ms (Views: 51.7ms | ActiveRecord: 5.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-09 15:58:19 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (13.6ms)
+Completed 200 OK in 41ms (Views: 30.1ms | ActiveRecord: 6.7ms)
+
+
+Started GET "/tasks/task_details" for ::1 at 2019-04-09 15:58:33 -0700
+
+ActionController::RoutingError (No route matches [GET] "/tasks/task_details"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/task_details" for ::1 at 2019-04-09 15:59:31 -0700
+Processing by TasksController#show as HTML
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 46ms (Views: 28.9ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-09 16:02:12 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (3.7ms)
+Completed 200 OK in 57ms (Views: 51.6ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/" for ::1 at 2019-04-09 16:04: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 34ms (Views: 31.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/task_details" for ::1 at 2019-04-09 16:04:30 -0700
+Processing by TasksController#show as HTML
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 36ms (Views: 31.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-09 16:05:40 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 41ms (Views: 38.2ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/task_details" for ::1 at 2019-04-09 16:05:42 -0700
+Processing by TasksController#show as HTML
+ [1m[36mTask Load (6.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 40ms (Views: 29.1ms | ActiveRecord: 6.1ms)
+
+
+Started GET "/task_details" for ::1 at 2019-04-09 16:09:36 -0700
+Processing by TasksController#show as HTML
+ [1m[36mTask Load (8.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 48ms (Views: 33.6ms | ActiveRecord: 8.9ms)
+
+
+Started GET "/task_details" for ::1 at 2019-04-09 16:10:01 -0700
+Processing by TasksController#show as HTML
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (6.7ms)
+Completed 500 Internal Server Error in 20ms (ActiveRecord: 0.7ms)
+
+
+
+NoMethodError - undefined method `description' for nil:NilClass:
+ app/views/tasks/show.html.erb:5:in `_app_views_tasks_show_html_erb__3828774633725994344_70327105687820'
+
+Started POST "/__better_errors/79ba043af1d5c819/variables" for ::1 at 2019-04-09 16:10:01 -0700
+Started GET "/" for ::1 at 2019-04-09 16:10:06 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 28ms (Views: 24.7ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/task_details" for ::1 at 2019-04-09 16:11:43 -0700
+Processing by TasksController#show as HTML
+ [1m[36mTask Load (9.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (5.2ms)
+Completed 500 Internal Server Error in 29ms (ActiveRecord: 9.5ms)
+
+
+
+NoMethodError - undefined method `description' for nil:NilClass:
+ app/views/tasks/show.html.erb:5:in `_app_views_tasks_show_html_erb__3828774633725994344_70327103390180'
+
+Started POST "/__better_errors/c7ae65268496e21f/variables" for ::1 at 2019-04-09 16:11:43 -0700
+Started GET "/task_details/1" for ::1 at 2019-04-09 16:11:48 -0700
+
+ActionController::RoutingError (No route matches [GET] "/task_details/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 "/task_details/1" for ::1 at 2019-04-09 16:13:07 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (3.9ms)
+Completed 500 Internal Server Error in 23ms (ActiveRecord: 4.4ms)
+
+
+
+NoMethodError - undefined method `description' for nil:NilClass:
+ app/views/tasks/show.html.erb:5:in `_app_views_tasks_show_html_erb__3828774633725994344_70327105164080'
+
+Started POST "/__better_errors/ba7b0b6bcc457298/variables" for ::1 at 2019-04-09 16:13:07 -0700
+Started POST "/__better_errors/ba7b0b6bcc457298/eval" for ::1 at 2019-04-09 16:13:25 -0700
+Started POST "/__better_errors/ba7b0b6bcc457298/eval" for ::1 at 2019-04-09 16:13:32 -0700
+Started GET "/task_details/1" for ::1 at 2019-04-09 16:14:48 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 36ms (Views: 31.5ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-09 16:16: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 42ms (Views: 37.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/task_details/1" for ::1 at 2019-04-09 16:21:50 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 46ms (Views: 42.0ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/task_details/1" for ::1 at 2019-04-09 16:22:06 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 32ms (Views: 26.1ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/task_details/1" for ::1 at 2019-04-09 16:23:11 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 29ms (Views: 24.4ms | ActiveRecord: 0.3ms)
+
+
+ [1m[36mTask Load (1.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Create (1.1ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "homework"], ["description", "Review CS Fun algorithms"], ["created_at", "2019-04-10 03:43:31.961534"], ["updated_at", "2019-04-10 03:43:31.961534"]]
+ [1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Destroy (0.7ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 3]]
+ [1m[35m (40.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "test task"], ["description", "test description"], ["created_at", "2019-04-10 04:00:36.712466"], ["updated_at", "2019-04-10 04:00:36.712466"]]
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+Started GET "/task_details/1" for ::1 at 2019-04-10 16:12:03 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 165ms (Views: 47.6ms | ActiveRecord: 50.7ms)
+
+
+Started GET "/task_details/" for ::1 at 2019-04-10 16:12:09 -0700
+
+ActionController::RoutingError (No route matches [GET] "/task_details"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/" for ::1 at 2019-04-10 16:12: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 53ms (Views: 48.8ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/new_task" for ::1 at 2019-04-10 16:34:51 -0700
+
+ActionController::RoutingError (No route matches [GET] "/new_task"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/2" for ::1 at 2019-04-10 16:35:08 -0700
+
+ActionController::RoutingError (No route matches [GET] "/2"):
+
+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'
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/1" for ::1 at 2019-04-10 16:36:00 -0700
+
+ActionController::RoutingError (No route matches [GET] "/1"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/1" for ::1 at 2019-04-10 16:36:07 -0700
+
+ActionController::RoutingError (No route matches [GET] "/1"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/" for ::1 at 2019-04-10 16:36:10 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (13.2ms)
+Completed 200 OK in 53ms (Views: 41.0ms | ActiveRecord: 6.7ms)
+
+
+Started GET "/task_details" for ::1 at 2019-04-10 16:36:14 -0700
+
+ActionController::RoutingError (No route matches [GET] "/task_details"):
+
+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'
+ [1m[35m (3.3ms)[0m [1m[35mCREATE DATABASE "TaskList_development" ENCODING = 'unicode'[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (1.5ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (2.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (43.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35mSQL (41.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
+ ↳ db/schema.rb:16
+ [1m[35m (9.2ms)[0m [1m[35mDROP TABLE IF EXISTS "tasks" CASCADE[0m
+ ↳ db/schema.rb:18
+ [1m[35m (10.3ms)[0m [1m[35mCREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completed_at" timestamp)[0m
+ ↳ db/schema.rb:18
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ db/schema.rb:13
+ [1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ ↳ db/schema.rb:13
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ db/schema.rb:13
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ db/schema.rb:13
+ [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]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
+ ↳ db/schema.rb:16
+ [1m[35m (50.7ms)[0m [1m[35mDROP TABLE IF EXISTS "tasks" CASCADE[0m
+ ↳ db/schema.rb:18
+ [1m[35m (6.1ms)[0m [1m[35mCREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completed_at" timestamp)[0m
+ ↳ db/schema.rb:18
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ db/schema.rb:13
+ [1m[36mActiveRecord::InternalMetadata Load (1.9ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ ↳ db/schema.rb:13
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ db/schema.rb:13
+ [1m[36mActiveRecord::InternalMetadata Update (0.9ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "development"], ["updated_at", "2019-04-10 23:37:19.892618"], ["key", "environment"]]
+ ↳ db/schema.rb:13
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ db/schema.rb:13
+ [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]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[36mActiveRecord::InternalMetadata Update (0.2ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2019-04-10 23:37:19.899098"], ["key", "environment"]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.4ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[36mActiveRecord::InternalMetadata Load (0.9ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.6ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+Started GET "/" for ::1 at 2019-04-10 16:47:11 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (11.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (17.7ms)
+Completed 200 OK in 49ms (Views: 24.7ms | ActiveRecord: 15.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 16:47:14 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 22ms (Views: 20.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 16:47: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 22ms (Views: 19.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 16:48:26 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (4.4ms)
+Completed 200 OK in 216ms (Views: 204.8ms | ActiveRecord: 1.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 20:26:20 -0700
+ [1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/better_errors-2.5.1/lib/better_errors/middleware.rb:84
+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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (43.8ms)
+Completed 200 OK in 275ms (Views: 225.1ms | ActiveRecord: 41.2ms)
+
+
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Create (3.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "vacuum, bathrooms"], ["created_at", "2019-04-11 03:57:32.982144"], ["updated_at", "2019-04-11 03:57:32.982144"]]
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "massage"], ["description", "see Irina at 1:00 on Sunday"], ["created_at", "2019-04-11 03:58:16.257155"], ["updated_at", "2019-04-11 03:58:16.257155"]]
+ [1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mTask Load (1.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/" for ::1 at 2019-04-10 20:58:55 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (19.8ms)
+Completed 200 OK in 43ms (Views: 35.3ms | ActiveRecord: 5.5ms)
+
+
+Started GET "/1" for ::1 at 2019-04-10 20:59:03 -0700
+
+ActionController::RoutingError (No route matches [GET] "/1"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/task" for ::1 at 2019-04-10 21:04:22 -0700
+
+ActionController::RoutingError (No route matches [GET] "/task"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+ [1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+Started GET "/task" for ::1 at 2019-04-10 21:10:06 -0700
+
+ActionController::RoutingError (No route matches [GET] "/task"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/new" for ::1 at 2019-04-10 21:10:11 -0700
+
+ActionController::RoutingError (No route matches [GET] "/new"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/2" for ::1 at 2019-04-10 21:10:26 -0700
+
+ActionController::RoutingError (No route matches [GET] "/2"):
+
+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 21:13:26 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (20.4ms)
+Completed 200 OK in 56ms (Views: 38.7ms | ActiveRecord: 9.2ms)
+
+
+Started GET "/task" for ::1 at 2019-04-10 21:13:35 -0700
+
+ActionController::RoutingError (No route matches [GET] "/task"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/new_task" for ::1 at 2019-04-10 21:13:47 -0700
+
+ActionController::RoutingError (No route matches [GET] "/new_task"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/tasks/task" for ::1 at 2019-04-10 21:14:06 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"task"}
+ [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:14
+Redirected to http://localhost:3000/
+Completed 302 Found in 14ms (ActiveRecord: 0.5ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 21:14: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 27ms (Views: 23.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 21:14:17 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 22ms (Views: 18.4ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-10 21:14:36 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 31ms (Views: 25.5ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks/new_task" for ::1 at 2019-04-10 21:14:50 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"new_task"}
+ [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:14
+Redirected to http://localhost:3000/
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 21:14: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 28ms (Views: 25.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 21:23:41 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (1.0ms)
+Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '('
+...er.safe_append='", task_path %> : '.freeze;@output_buffer.ap...
+... ^~
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:17: unterminated regexp meets end of file
+ end
+ ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:17: syntax error, unexpected end-of-input, expecting ')'
+ end
+ ^:
+ app/views/tasks/index.html.erb:9:in `'
+
+Started POST "/__better_errors/498f39a2b3ec758a/variables" for ::1 at 2019-04-10 21:23:41 -0700
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/better_errors-2.5.1/lib/better_errors/inspectable_value.rb:28
+Started GET "/" for ::1 at 2019-04-10 21:24:05 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (7.1ms)
+Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.4ms)
+
+
+
+ActionController::UrlGenerationError - No route matches {:action=>"show", :controller=>"tasks"}, missing required keys: [:id]:
+ app/views/tasks/index.html.erb:9:in `block in _app_views_tasks_index_html_erb__2419797067999971236_70263866766660'
+ app/views/tasks/index.html.erb:5:in `_app_views_tasks_index_html_erb__2419797067999971236_70263866766660'
+
+Started POST "/__better_errors/ad400349b079fd79/variables" for ::1 at 2019-04-10 21:24:05 -0700
+Started GET "/" for ::1 at 2019-04-10 21:25:05 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (13.8ms)
+Completed 500 Internal Server Error in 32ms (ActiveRecord: 0.6ms)
+
+
+
+ActionController::UrlGenerationError - No route matches {:action=>"show", :controller=>"tasks"}, missing required keys: [:id]:
+ app/views/tasks/index.html.erb:9:in `block in _app_views_tasks_index_html_erb__2419797067999971236_70263834571940'
+ app/views/tasks/index.html.erb:5:in `_app_views_tasks_index_html_erb__2419797067999971236_70263834571940'
+
+Started POST "/__better_errors/fd4a191335f959ce/variables" for ::1 at 2019-04-10 21:25:05 -0700
+Started GET "/" for ::1 at 2019-04-10 21:25:07 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (7.1ms)
+Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.9ms)
+
+
+
+ActionController::UrlGenerationError - No route matches {:action=>"show", :controller=>"tasks"}, missing required keys: [:id]:
+ app/views/tasks/index.html.erb:9:in `block in _app_views_tasks_index_html_erb__2419797067999971236_70263834246240'
+ app/views/tasks/index.html.erb:5:in `_app_views_tasks_index_html_erb__2419797067999971236_70263834246240'
+
+Started POST "/__better_errors/2af002e810ef6ce7/variables" for ::1 at 2019-04-10 21:25:07 -0700
+Started GET "/" for ::1 at 2019-04-10 21:25:40 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.7ms)
+Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - unknown regexp option - l
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:11: unmatched close parenthesis: /a> : <%=task[:description]);@output_buffer.safe_append=' %>
+
+'.freeze;;@output_buffer.safe_append=' : '.freeze;@output_buffer.append=(task[:id][:description]);@output_buffer.safe_append=' %>
+
+ : <%=task[:description]);@output_buffer.safe_append=' %>
+
+'.freeze;;@output_buffer.safe_append=' : '.freeze;@output_buffer.append=(task[:id][:description]);@output_buffer.safe_append=' %>
+
+"show", :controller=>"tasks"}, missing required keys: [:id]:
+ app/views/tasks/index.html.erb:9:in `block in _app_views_tasks_index_html_erb__2419797067999971236_70263840408300'
+ app/views/tasks/index.html.erb:5:in `_app_views_tasks_index_html_erb__2419797067999971236_70263840408300'
+
+Started POST "/__better_errors/035b67601b91c368/variables" for ::1 at 2019-04-10 21:28:53 -0700
+Started GET "/" for ::1 at 2019-04-10 21:29:19 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (1.1ms)
+Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '('
+...er.safe_append='", task_path %>
+... ^~
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:12: syntax error, unexpected '<', expecting ')'
+
+^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:14: unknown regexp option - l
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:18: unterminated string meets end of file
+ end
+ ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:18: syntax error, unexpected end-of-input, expecting ')'
+ end
+ ^:
+ app/views/tasks/index.html.erb:9:in `'
+
+Started POST "/__better_errors/45870db9abdc96e6/variables" for ::1 at 2019-04-10 21:29:20 -0700
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/better_errors-2.5.1/lib/better_errors/inspectable_value.rb:28
+Started GET "/" for ::1 at 2019-04-10 21:29:41 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (1.0ms)
+Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '('
+...er.safe_append='", task_path %>
+... ^~
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:12: syntax error, unexpected '<', expecting ')'
+
+^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:14: unknown regexp option - l
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:18: unterminated string meets end of file
+ end
+ ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:18: syntax error, unexpected end-of-input, expecting ')'
+ end
+ ^:
+ app/views/tasks/index.html.erb:9:in `'
+
+Started POST "/__better_errors/c44bc0d43a2522b5/variables" for ::1 at 2019-04-10 21:29:41 -0700
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/better_errors-2.5.1/lib/better_errors/inspectable_value.rb:28
+Started GET "/" for ::1 at 2019-04-10 21:30:11 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (2.2ms)
+Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '('
+...er.safe_append='", task_path %>
+... ^~
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:12: syntax error, unexpected '<', expecting ')'
+
+^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:14: unknown regexp option - l
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:18: unterminated string meets end of file
+ end
+ ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:18: syntax error, unexpected end-of-input, expecting ')'
+ end
+ ^:
+ app/views/tasks/index.html.erb:9:in `'
+
+Started POST "/__better_errors/7d7a111c286e165e/variables" for ::1 at 2019-04-10 21:30:11 -0700
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/better_errors-2.5.1/lib/better_errors/inspectable_value.rb:28
+Started GET "/" for ::1 at 2019-04-10 21:30:57 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (1.1ms)
+Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - unknown regexp option - l
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:12: unmatched close parenthesis: /a> );@output_buffer.safe_append=': '.freeze;@output_buffer.append=(task[:description]);@output_buffer.safe_append='
+'.freeze;@output_buffer.safe_append='
+'.freeze;;@output_buffer.safe_append=' %>
+'.freeze;;@output_buffer.safe_append=' %>
+
+ );@output_buffer.safe_append=': '.freeze;@output_buffer.append=(task[:description]);@output_buffer.safe_append='
+'.freeze;@output_buffer.safe_append='
+'.freeze;;@output_buffer.safe_append=' %>
+'.freeze;;@output_buffer.safe_append=' %>
+
+"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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 54ms (Views: 49.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-10 21:33:24 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (5.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 43ms (Views: 31.9ms | ActiveRecord: 5.3ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-10 21:38:42 -0700
+
+SyntaxError - syntax error, unexpected end-of-input, expecting keyword_end:
+ app/controllers/tasks_controller.rb:40:in `'
+
+Started POST "/__better_errors/6ee1bc474b48a0cc/variables" for ::1 at 2019-04-10 21:38:42 -0700
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Create (0.7ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "homework"], ["description", "finish TaskList"], ["created_at", "2019-04-11 04:40:01.556891"], ["updated_at", "2019-04-11 04:40:01.556891"]]
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+Started GET "/tasks/2" for ::1 at 2019-04-10 21:44:57 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+Completed 500 Internal Server Error in 19ms (ActiveRecord: 10.2ms)
+
+
+
+RuntimeError - :
+ app/controllers/tasks_controller.rb:15:in `show'
+
+Started POST "/__better_errors/e048880ee84f068e/variables" for ::1 at 2019-04-10 21:44:57 -0700
+Started GET "/tasks/" for ::1 at 2019-04-10 21:45:02 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (6.5ms)
+Completed 200 OK in 40ms (Views: 35.6ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/" for ::1 at 2019-04-10 21:50:06 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 60ms (Views: 52.7ms | ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 21:50:10 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"new"}
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.7ms)
+
+
+
+RuntimeError - :
+ app/controllers/tasks_controller.rb:15:in `show'
+
+Started POST "/__better_errors/1e6bd2f05dc39552/variables" for ::1 at 2019-04-10 21:50:10 -0700
+Started GET "/tasks/task/" for ::1 at 2019-04-10 21:50:24 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"task"}
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.7ms)
+
+
+
+RuntimeError - :
+ app/controllers/tasks_controller.rb:15:in `show'
+
+Started POST "/__better_errors/ddcde431a1f256d9/variables" for ::1 at 2019-04-10 21:50:24 -0700
+Started GET "/tasks/new_task" for ::1 at 2019-04-10 21:50:45 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"new_task"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.5ms)
+
+
+
+RuntimeError - :
+ app/controllers/tasks_controller.rb:15:in `show'
+
+Started POST "/__better_errors/a28cd262efc91846/variables" for ::1 at 2019-04-10 21:50:45 -0700
+Started GET "/tasks/task" for ::1 at 2019-04-10 21:51:06 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"task"}
+ [1m[36mTask Load (0.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.9ms)
+
+
+
+RuntimeError - :
+ app/controllers/tasks_controller.rb:15:in `show'
+
+Started POST "/__better_errors/841bdf4fdaff3c41/variables" for ::1 at 2019-04-10 21:51:06 -0700
+Started GET "/tasks/" for ::1 at 2019-04-10 21: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (5.4ms)
+Completed 200 OK in 36ms (Views: 31.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-10 21:51:14 -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:14
+Completed 500 Internal Server Error in 6ms (ActiveRecord: 3.2ms)
+
+
+
+RuntimeError - :
+ app/controllers/tasks_controller.rb:15:in `show'
+
+Started POST "/__better_errors/5d7df1f00bfb6605/variables" for ::1 at 2019-04-10 21:51:14 -0700
+Started GET "/tasks/new_task" for ::1 at 2019-04-10 21:51:27 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"new_task"}
+ [1m[36mTask Load (2.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+Completed 500 Internal Server Error in 7ms (ActiveRecord: 2.4ms)
+
+
+
+RuntimeError - :
+ app/controllers/tasks_controller.rb:15:in `show'
+
+Started POST "/__better_errors/beb2b318a03ecc7e/variables" for ::1 at 2019-04-10 21:51:27 -0700
+Started GET "/tasks/new" for ::1 at 2019-04-10 21:51:35 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"new"}
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.6ms)
+
+
+
+RuntimeError - :
+ app/controllers/tasks_controller.rb:15:in `show'
+
+Started POST "/__better_errors/369c0a3f993ed127/variables" for ::1 at 2019-04-10 21:51:35 -0700
+Started GET "/tasks/new_task" for ::1 at 2019-04-10 21:52:00 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"new_task"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.2ms)
+
+
+
+RuntimeError - :
+ app/controllers/tasks_controller.rb:15:in `show'
+
+Started POST "/__better_errors/09e78a620d5b6686/variables" for ::1 at 2019-04-10 21:52:00 -0700
+Started GET "/books/new" for ::1 at 2019-04-10 21:56:49 -0700
+
+ActionController::RoutingError (No route matches [GET] "/books/new"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/books/new" for ::1 at 2019-04-10 21:57:23 -0700
+
+ActionController::RoutingError (No route matches [GET] "/books/new"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/books/new" for ::1 at 2019-04-10 21:57:40 -0700
+
+ActionController::RoutingError (No route matches [GET] "/books/new"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/tasks/2" for ::1 at 2019-04-10 22:10:19 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 39ms (Views: 20.7ms | ActiveRecord: 7.8ms)
+
+
+Started GET "/tasks/new_task" for ::1 at 2019-04-10 22:10:33 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"new_task"}
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+Redirected to http://localhost:3000/
+Completed 302 Found in 2ms (ActiveRecord: 0.7ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 22:10: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 37ms (Views: 33.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 22:11:15 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"new"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+Redirected to http://localhost:3000/
+Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 22: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 31ms (Views: 25.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new_task" for ::1 at 2019-04-10 22:11:53 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"new_task"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+Redirected to http://localhost:3000/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 22:11: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 41ms (Views: 37.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 22:14: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (10.6ms)
+Completed 200 OK in 34ms (Views: 26.5ms | ActiveRecord: 4.1ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-10 22:14:20 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.9ms)
+
+
+
+RuntimeError - :
+ app/controllers/tasks_controller.rb:15:in `show'
+
+Started POST "/__better_errors/c089424bdb5976d3/variables" for ::1 at 2019-04-10 22:14:21 -0700
+Started POST "/__better_errors/c089424bdb5976d3/eval" for ::1 at 2019-04-10 22:14:27 -0700
+Started POST "/__better_errors/c089424bdb5976d3/eval" for ::1 at 2019-04-10 22:15:19 -0700
+Started POST "/__better_errors/c089424bdb5976d3/eval" for ::1 at 2019-04-10 22:15:54 -0700
+Started GET "/tasks/2" for ::1 at 2019-04-10 22:55:10 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.6ms)
+
+
+
+RuntimeError - :
+ app/controllers/tasks_controller.rb:15:in `show'
+
+Started POST "/__better_errors/c1577500050939f2/variables" for ::1 at 2019-04-10 22:55:11 -0700
+Started GET "/" for ::1 at 2019-04-11 09:46:46 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (23.8ms)
+Completed 200 OK in 63ms (Views: 48.4ms | ActiveRecord: 8.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-11 09:46:56 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (27.8ms)
+Completed 200 OK in 70ms (Views: 63.6ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-11 09:52:52 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (1.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 48ms (Views: 34.5ms | ActiveRecord: 1.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 09:52:55 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (3.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (6.4ms)
+Completed 200 OK in 50ms (Views: 41.5ms | ActiveRecord: 3.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 14:32:19 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (12.0ms)
+Completed 200 OK in 44ms (Views: 33.0ms | ActiveRecord: 5.7ms)
+
+
+Started GET "/" for ::1 at 2019-04-11 14: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 34ms (Views: 29.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-11 14:32:28 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 25ms (Views: 21.3ms | ActiveRecord: 0.9ms)
+
+
+Started GET "/task" for ::1 at 2019-04-11 14:33:03 -0700
+
+ActionController::RoutingError (No route matches [GET] "/task"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/tasks/2" for ::1 at 2019-04-11 14:33:33 -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:14
+Completed 500 Internal Server Error in 20ms (ActiveRecord: 5.9ms)
+
+
+
+RuntimeError - :
+ app/controllers/tasks_controller.rb:15:in `show'
+
+Started POST "/__better_errors/c2866bf17bdc050a/variables" for ::1 at 2019-04-11 14:33:33 -0700
+Started POST "/__better_errors/c2866bf17bdc050a/eval" for ::1 at 2019-04-11 14:33:48 -0700
+Started GET "/tasks/2" for ::1 at 2019-04-11 14:36:09 -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:14
+ 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.7ms | ActiveRecord: 3.2ms)
+
+
+Started GET "/tasks/:id/edit" for ::1 at 2019-04-11 15:31:17 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>":id"}
+ [1m[36mTask Load (2.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE (:id) LIMIT $1[0m [["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:44
+Completed 500 Internal Server Error in 11ms (ActiveRecord: 7.0ms)
+
+
+
+PG::SyntaxError - ERROR: syntax error at or near ":"
+LINE 1: SELECT "tasks".* FROM "tasks" WHERE (:id) LIMIT $1
+ ^
+:
+ app/controllers/tasks_controller.rb:44:in `edit'
+
+Started POST "/__better_errors/9239c212cbdf6cc5/variables" for ::1 at 2019-04-11 15:31:17 -0700
+Started GET "/tasks/2/edit" for ::1 at 2019-04-11 15:31:36 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (2.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE (2) LIMIT $1[0m [["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:44
+Completed 500 Internal Server Error in 5ms (ActiveRecord: 2.4ms)
+
+
+
+PG::DatatypeMismatch - ERROR: argument of WHERE must be type boolean, not type integer
+LINE 1: SELECT "tasks".* FROM "tasks" WHERE (2) LIMIT $1
+ ^
+:
+ app/controllers/tasks_controller.rb:44:in `edit'
+
+Started POST "/__better_errors/57ea4ccdcb91f3a6/variables" for ::1 at 2019-04-11 15:31:36 -0700
+Started POST "/__better_errors/57ea4ccdcb91f3a6/eval" for ::1 at 2019-04-11 15:32:20 -0700
+Started GET "/tasks/2/edit" for ::1 at 2019-04-11 15:36:40 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (3.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE (2) LIMIT $1[0m [["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:44
+Completed 500 Internal Server Error in 7ms (ActiveRecord: 3.4ms)
+
+
+
+PG::DatatypeMismatch - ERROR: argument of WHERE must be type boolean, not type integer
+LINE 1: SELECT "tasks".* FROM "tasks" WHERE (2) LIMIT $1
+ ^
+:
+ app/controllers/tasks_controller.rb:44:in `edit'
+
+Started POST "/__better_errors/595fb43fb38c7dd9/variables" for ::1 at 2019-04-11 15:36:40 -0700
+Started GET "/tasks/2/edit" for ::1 at 2019-04-11 15:36:42 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (1.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE (2) LIMIT $1[0m [["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:44
+Completed 500 Internal Server Error in 2ms (ActiveRecord: 1.0ms)
+
+
+
+PG::DatatypeMismatch - ERROR: argument of WHERE must be type boolean, not type integer
+LINE 1: SELECT "tasks".* FROM "tasks" WHERE (2) LIMIT $1
+ ^
+:
+ app/controllers/tasks_controller.rb:44:in `edit'
+
+Started POST "/__better_errors/c6b3bf9d3d78f610/variables" for ::1 at 2019-04-11 15:36:42 -0700
+Started GET "/tasks/2/edit" for ::1 at 2019-04-11 15:45:37 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (18.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE (2) LIMIT $1[0m [["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:44
+Completed 500 Internal Server Error in 19ms (ActiveRecord: 18.1ms)
+
+
+
+PG::DatatypeMismatch - ERROR: argument of WHERE must be type boolean, not type integer
+LINE 1: SELECT "tasks".* FROM "tasks" WHERE (2) LIMIT $1
+ ^
+:
+ app/controllers/tasks_controller.rb:44:in `edit'
+
+Started POST "/__better_errors/7ffb438bfd9fdc7d/variables" for ::1 at 2019-04-11 15:45:37 -0700
+Started POST "/__better_errors/7ffb438bfd9fdc7d/variables" for ::1 at 2019-04-11 16:06:29 -0700
+Started GET "/tasks/2/edit" for ::1 at 2019-04-11 16:06:32 -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:46
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 39ms (Views: 21.9ms | ActiveRecord: 7.0ms)
+
+
+Started PATCH "/tasks/2" for ::1 at 2019-04-11 16:06:42 -0700
+
+ActionController::RoutingError (No route matches [PATCH] "/tasks/2"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/tasks/2/edit" for ::1 at 2019-04-11 16:09:03 -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:46
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 26ms (Views: 23.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/2/edit" for ::1 at 2019-04-11 16:09:31 -0700
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/better_errors-2.5.1/lib/better_errors/middleware.rb:84
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:46
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (9.4ms)
+Completed 200 OK in 215ms (Views: 196.0ms | ActiveRecord: 4.3ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-11 16:09:39 -0700
+Processing by TasksController#edit 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:46
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 31ms (Views: 25.2ms | ActiveRecord: 0.4ms)
+
+
diff --git a/log/test.log b/log/test.log
new file mode 100644
index 000000000..d6be30078
--- /dev/null
+++ b/log/test.log
@@ -0,0 +1,5586 @@
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ [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[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ [1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ [1m[35m (205.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ [1m[35m (405.2ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ [1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
+ [1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "tasks" CASCADE[0m
+ [1m[35m (5.8ms)[0m [1m[35mCREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completed_at" timestamp)[0m
+ [1m[35m (2.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
+ [1m[35m (0.4ms)[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 (20190409215953)[0m
+ [1m[35m (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
+(20190409212859),
+(20190409214416),
+(20190409213314);
+
+[0m
+ [1m[35m (2.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
+ [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.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mActiveRecord::InternalMetadata Create (0.7ms)[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-09 22:14:34.737954"], ["updated_at", "2019-04-09 22:14:34.737954"]]
+ [1m[35m (0.4ms)[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.2ms)[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.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (41.2ms)[0m [1m[35mALTER 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.1ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-09 22:14:35.121525', '2019-04-09 22:14:35.121525', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-09 22:14:35.121525', '2019-04-09 22:14:35.121525', 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 "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::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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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
+-------------------------------------------------------
+ [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-09 15:14:35 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (16.1ms)
+Completed 200 OK in 289ms (Views: 278.9ms | ActiveRecord: 0.9ms)
+ [1m[35m (0.3ms)[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.2ms)[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 "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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-09 22:25:23.556960', '2019-04-09 22:25:23.556960', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-09 22:25:23.556960', '2019-04-09 22:25:23.556960', DEFAULT)[0m
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER 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[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
+ [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.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_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-09 15:25: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 153ms (Views: 147.4ms | 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-09 15:25: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+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::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::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.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 "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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-09 22:26:21.427554', '2019-04-09 22:26:21.427554', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-09 22:26:21.427554', '2019-04-09 22:26:21.427554', DEFAULT)[0m
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER 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::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_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-09 15:26: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (8.3ms)
+Completed 200 OK in 158ms (Views: 151.8ms | 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
+-------------------------------------------------------
+ [1m[35m (0.1ms)[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
+-----------------------------
+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[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.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.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 "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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-09 22:26:50.201935', '2019-04-09 22:26:50.201935', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-09 22:26:50.201935', '2019-04-09 22:26:50.201935', DEFAULT)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER 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::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.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::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.2ms)[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-09 15:26: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 179ms (Views: 169.6ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[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-09 15:26: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.7ms)[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.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (39.9ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (3.6ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (3.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-10 23:02:55.013361', '2019-04-10 23:02:55.013361', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-10 23:02:55.013361', '2019-04-10 23:02:55.013361', DEFAULT)[0m
+ [1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER 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[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:02:55 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (11.9ms)
+Completed 200 OK in 176ms (Views: 165.2ms | 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-10 16: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 3ms (Views: 1.9ms | 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::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.9ms)[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.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::create: test_0001_can create a new 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 "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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-10 23:06:16.383576', '2019-04-10 23:06:16.383576', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-10 23:06:16.383576', '2019-04-10 23:06:16.383576', DEFAULT)[0m
+ [1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER 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
+---------------------------------------------------------
+ [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.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.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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-10 16:06: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 155ms (Views: 149.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-10 16:06: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"[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.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-10 23:08:20.022931', '2019-04-10 23:08:20.022931', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-10 23:08:20.022931', '2019-04-10 23:08:20.022931', DEFAULT)[0m
+ [1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[35mALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[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.2ms)[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:08: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 152ms (Views: 145.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-10 16:08: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 3ms (Views: 1.7ms | 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.6ms)[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::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.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.3ms)[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 "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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-10 23:16:46.595755', '2019-04-10 23:16:46.595755', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-10 23:16:46.595755', '2019-04-10 23:16:46.595755', DEFAULT)[0m
+ [1m[35m (40.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER 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::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.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-10 23:16:46.688010"], ["updated_at", "2019-04-10 23:16:46.688010"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-10 16:16: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 143ms (Views: 134.5ms | ActiveRecord: 0.3ms)
+ [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-10 16:16: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.7ms)[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.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.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 "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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-10 23:19:18.636294', '2019-04-10 23:19:18.636294', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-10 23:19:18.636294', '2019-04-10 23:19:18.636294', DEFAULT)[0m
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[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.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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-10 23:19:18.682047"], ["updated_at", "2019-04-10 23:19:18.682047"]]
+ [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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-10 16:19:18 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 131ms (Views: 123.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-10 16:19: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 3ms (Views: 2.3ms | 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.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
+---------------------------------------------------------
+ [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 "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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-10 23:21:07.744403', '2019-04-10 23:21:07.744403', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-10 23:21:07.744403', '2019-04-10 23:21:07.744403', DEFAULT)[0m
+ [1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER 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::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::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.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.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:21: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 129ms (Views: 121.9ms | 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-10 16:21: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 2ms (Views: 1.8ms | 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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-10 23:21:07.930391"], ["updated_at", "2019-04-10 23:21:07.930391"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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 "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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-10 23:22:43.370206', '2019-04-10 23:22:43.370206', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-10 23:22:43.370206', '2019-04-10 23:22:43.370206', DEFAULT)[0m
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER 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.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.5ms)[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:22: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 194ms (Views: 186.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-10 16:22: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.8ms)
+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::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.6ms)[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[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_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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-10 23:22:43.626305"], ["updated_at", "2019-04-10 23:22:43.626305"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 16:22:43 -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.5ms)
+Completed 200 OK in 12ms (Views: 4.6ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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.5ms)[0m [1m[35mALTER 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.7ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-10 23:24:04.688185', '2019-04-10 23:24:04.688185', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-10 23:24:04.688185', '2019-04-10 23:24:04.688185', DEFAULT)[0m
+ [1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER 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-10 16:24: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (8.1ms)
+Completed 200 OK in 178ms (Views: 171.6ms | 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-10 16:24: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 2ms (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_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.4ms)[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[31mROLLBACK[0m
+ [1m[35m (0.4ms)[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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-10 23:24:04.907788"], ["updated_at", "2019-04-10 23:24:04.907788"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 16:24:04 -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: 2.2ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (1.0ms)[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.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.8ms)[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 (1.0ms)[0m [1m[35mALTER 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-10 23:24:17.443787', '2019-04-10 23:24:17.443787', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-10 23:24:17.443787', '2019-04-10 23:24:17.443787', DEFAULT)[0m
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER 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::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-10 16:24: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (7.2ms)
+Completed 200 OK in 183ms (Views: 176.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-10 16:24: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.4ms)
+ [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
+---------------------------------------------------------
+ [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.2ms)[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-10 16:24: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]]
+Completed 404 Not Found in 3ms (ActiveRecord: 0.4ms)
+ [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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-10 23:24:17.679954"], ["updated_at", "2019-04-10 23:24:17.679954"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 16:24:17 -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: 3.3ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[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.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.6ms)[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 "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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-10 23:28:34.987679', '2019-04-10 23:28:34.987679', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-10 23:28:34.987679', '2019-04-10 23:28:34.987679', DEFAULT)[0m
+ [1m[35m (40.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER 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
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [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::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[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.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-10 23:28:35.066699"], ["updated_at", "2019-04-10 23:28:35.066699"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 16:28: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.2ms)
+Completed 200 OK in 171ms (Views: 159.4ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.3ms)[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-10 16:28:35 -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/
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[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:28: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 7ms (Views: 2.4ms | 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-10 16:28: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 4ms (Views: 2.8ms | 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.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.3ms)[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.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 "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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-10 23:33:07.801081', '2019-04-10 23:33:07.801081', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-10 23:33:07.801081', '2019-04-10 23:33:07.801081', DEFAULT)[0m
+ [1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER 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-10 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"[0m
+ Rendered tasks/index.html.erb within layouts/application (7.8ms)
+Completed 200 OK in 146ms (Views: 139.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-10 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"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.6ms)[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[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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-10 23:33:07.995992"], ["updated_at", "2019-04-10 23:33:07.995992"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 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.7ms)
+Completed 200 OK in 7ms (Views: 2.7ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.7ms)[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-10 16:33:08 -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/
+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-10 16:33:08 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"new"}
+ [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/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[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.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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-10 23:38:12.499579', '2019-04-10 23:38:12.499579', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-10 23:38:12.499579', '2019-04-10 23:38:12.499579', DEFAULT)[0m
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[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-10 16:38:12 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"new"}
+ [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/
+Completed 302 Found in 7ms (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[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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-10 16:38: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (7.9ms)
+Completed 200 OK in 146ms (Views: 143.7ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.7ms)[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:38: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.7ms)[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_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 16:38:12 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (1.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/
+Completed 302 Found in 3ms (ActiveRecord: 1.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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-10 23:38:12.702085"], ["updated_at", "2019-04-10 23:38:12.702085"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 16:38: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 (0.4ms)
+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
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (1.0ms)[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 (43.3ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (1.2ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 04:00:38.125736', '2019-04-11 04:00:38.125736', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 04:00:38.125736', '2019-04-11 04:00:38.125736', DEFAULT)[0m
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 21:00:38 -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/
+Completed 302 Found in 7ms (ActiveRecord: 0.4ms)
+ [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.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 04:00:38.219684"], ["updated_at", "2019-04-11 04:00:38.219684"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 21:00:38 -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 157ms (Views: 153.4ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.4ms)[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.4ms)[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.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-10 21:00:38 -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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.5ms)[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 21:00:38 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 9ms (Views: 4.5ms | ActiveRecord: 0.9ms)
+ [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-10 21:00: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 2ms (Views: 1.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.3ms)[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.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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 04:09:33.179243', '2019-04-11 04:09:33.179243', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 04:09:33.179243', '2019-04-11 04:09:33.179243', DEFAULT)[0m
+ [1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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.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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 04:09:33.216520"], ["updated_at", "2019-04-11 04:09:33.216520"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 21:09:33 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.9ms)[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 141ms (Views: 128.7ms | ActiveRecord: 1.1ms)
+ [1m[35m (0.3ms)[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-10 21:09:33 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.4ms)[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 21:09:33 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (3.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (5.1ms)
+Completed 200 OK in 11ms (Views: 4.3ms | ActiveRecord: 3.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-10 21:09: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"[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.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (3.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (1.8ms)[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-10 21:09:33 -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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [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.4ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.9ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 04:33:39.297813', '2019-04-11 04:33:39.297813', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 04:33:39.297813', '2019-04-11 04:33:39.297813', DEFAULT)[0m
+ [1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-10 21:33:39 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"new"}
+ [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/
+Completed 302 Found in 6ms (ActiveRecord: 0.4ms)
+ [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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 04:33:39.343432"], ["updated_at", "2019-04-11 04:33:39.343432"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 21:33:39 -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.8ms)
+Completed 200 OK in 210ms (Views: 205.6ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[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-10 21:33:39 -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/
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.5ms)[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.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.2ms)[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.3ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.5ms)[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 21:33:39 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 7ms (Views: 4.1ms | ActiveRecord: 0.9ms)
+ [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-10 21:33: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"[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.6ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 05:04:11.333295', '2019-04-11 05:04:11.333295', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 05:04:11.333295', '2019-04-11 05:04:11.333295', DEFAULT)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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.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.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 22:04: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 140ms (Views: 133.9ms | 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-10 22:04:11 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.4ms)
+ [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::update: test_0001_can update an existing 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
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-10 22:04:11 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"new"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[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.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 05:04:11.548738"], ["updated_at", "2019-04-11 05:04:11.548738"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 22:04:11 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.3ms)[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-10 22:04: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 500 Internal Server Error in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.7ms)[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.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 05:05:35.360818', '2019-04-11 05:05:35.360818', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 05:05:35.360818', '2019-04-11 05:05:35.360818', DEFAULT)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.4ms)[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 22:05: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (17.1ms)
+Completed 200 OK in 153ms (Views: 147.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-10 22:05: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"[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
+-----------------------------
+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.2ms)[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-10 22:05:35 -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]]
+Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (1.0ms)[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.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 05:05:35.574728"], ["updated_at", "2019-04-11 05:05:35.574728"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 22:05:35 -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]]
+Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[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-10 22:05:35 -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]]
+Completed 500 Internal Server Error in 2ms (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[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.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 (1.2ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 05:06:48.779882', '2019-04-11 05:06:48.779882', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 05:06:48.779882', '2019-04-11 05:06:48.779882', DEFAULT)[0m
+ [1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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-10 22:06:48 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"new"}
+ [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/
+Completed 302 Found in 7ms (ActiveRecord: 0.4ms)
+ [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.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 22:06: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (29.4ms)
+Completed 200 OK in 151ms (Views: 148.7ms | 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-10 22:06: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 4ms (Views: 2.7ms | 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.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.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.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 05:06:48.995283"], ["updated_at", "2019-04-11 05:06:48.995283"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 22:06:48 -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.6ms)
+Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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-10 22:06:49 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (1.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/
+Completed 302 Found in 4ms (ActiveRecord: 1.8ms)
+ [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.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 05:07:16.107382', '2019-04-11 05:07:16.107382', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 05:07:16.107382', '2019-04-11 05:07:16.107382', DEFAULT)[0m
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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-10 22:07: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 135ms (Views: 129.0ms | 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-10 22:07: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.4ms)
+ [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.3ms)[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::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::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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 05:07:16.300615"], ["updated_at", "2019-04-11 05:07:16.300615"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 22:07: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.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::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 22:07:16 -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/
+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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-10 22:07:16 -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]]
+Redirected to http://www.example.com/
+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::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-10 22:07:16 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-10T22:07:16-07:00"}}
+Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 05:08:21.326193', '2019-04-11 05:08:21.326193', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 05:08:21.326193', '2019-04-11 05:08:21.326193', DEFAULT)[0m
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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.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 22:08: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (9.6ms)
+Completed 200 OK in 143ms (Views: 136.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-10 22:08: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"[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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 05:08:21.510650"], ["updated_at", "2019-04-11 05:08:21.510650"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 22:08:21 -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 10ms (Views: 2.5ms | ActiveRecord: 0.6ms)
+ [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-10 22:08:21 -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/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[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::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-10 22:08:21 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-10T22:08:21-07:00"}}
+Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.6ms)[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-10 22:08:21 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"new"}
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Redirected to http://www.example.com/
+Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.2ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 05:08:38.412064', '2019-04-11 05:08:38.412064', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 05:08:38.412064', '2019-04-11 05:08:38.412064', DEFAULT)[0m
+ [1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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-10 22:08: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (8.0ms)
+Completed 200 OK in 209ms (Views: 201.7ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[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 22:08: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"[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::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_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.5ms)[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.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-10 22:08:38 -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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 05:08:38.679679"], ["updated_at", "2019-04-11 05:08:38.679679"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 22:08:38 -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: 2.1ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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-10 22:08:38 -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/
+Completed 302 Found in 1ms (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-10 22:08:38 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-10T22:08:38-07:00"}}
+Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
+ [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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 05:55:32.774614', '2019-04-11 05:55:32.774614', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 05:55:32.774614', '2019-04-11 05:55:32.774614', 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 "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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-10 22:55:32 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"new"}
+ [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/
+Completed 302 Found in 8ms (ActiveRecord: 0.5ms)
+ [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 (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 05:55:32.914764"], ["updated_at", "2019-04-11 05:55:32.914764"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 22:55:32 -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.3ms)
+Completed 200 OK in 242ms (Views: 237.2ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[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-10 22:55:33 -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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (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-10 22:55:33 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 11ms (Views: 6.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-10 22:55: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"[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::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-10 22:55:33 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-10T22:55:33-07:00"}}
+Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
+ [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.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.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (39.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (2.8ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (2.3ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 16:15:56.820496', '2019-04-11 16:15:56.820496', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 16:15:56.820496', '2019-04-11 16:15:56.820496', DEFAULT)[0m
+ [1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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.5ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 09:15:56 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T09:15:56-07:00"}}
+Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.0ms)
+ [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
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 09:15:56 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"new"}
+ [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/
+Completed 302 Found in 3ms (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 09:15:56 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (40.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (53.4ms)
+Completed 200 OK in 277ms (Views: 231.4ms | ActiveRecord: 40.8ms)
+ [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 09:15: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"[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::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.5ms)[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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 16:15:57.220470"], ["updated_at", "2019-04-11 16:15:57.220470"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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 09:15:57 -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.3ms)
+Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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-11 09:15:57 -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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.9ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 16:19:38.991836', '2019-04-11 16:19:38.991836', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 16:19:38.991836', '2019-04-11 16:19:38.991836', DEFAULT)[0m
+ [1m[35m (2.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 09:19:39 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T09:19:39-07:00"}}
+Completed 500 Internal Server Error in 5ms (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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 09:19:39 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (15.7ms)
+Completed 200 OK in 164ms (Views: 155.2ms | 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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-11 09:19:39 -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/
+Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 16:19:39.209714"], ["updated_at", "2019-04-11 16:19:39.209714"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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 09:19:39 -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.4ms)
+Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[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
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-11 09:19:39 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[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-11 09:19: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"[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.6ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 16:39:52.768765', '2019-04-11 16:39:52.768765', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 16:39:52.768765', '2019-04-11 16:39:52.768765', DEFAULT)[0m
+ [1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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
+------------------------------------------------------------------------------------------------------
+ [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.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 09:39:52 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T09:39:52-07:00"}}
+Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms)
+ [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 09:39: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (5.7ms)
+Completed 200 OK in 144ms (Views: 140.4ms | 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 09:39: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"[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
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 09:39:53 -0700
+Processing by TasksController#new as HTML
+Completed 500 Internal Server Error in 2ms (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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 16:39:53.008300"], ["updated_at", "2019-04-11 16:39:53.008300"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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 09:39:53 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.4ms)[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.4ms | ActiveRecord: 0.7ms)
+ [1m[35m (0.3ms)[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-11 09:39:53 -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/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.6ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 16:40:09.087340', '2019-04-11 16:40:09.087340', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 16:40:09.087340', '2019-04-11 16:40:09.087340', DEFAULT)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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 09:40:09 -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 138ms (Views: 126.8ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[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-11 09:40:09 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 10ms (Views: 6.5ms | ActiveRecord: 0.5ms)
+ [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 09:40: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms)
+ [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.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 16:40:09.291003"], ["updated_at", "2019-04-11 16:40:09.291003"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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 09:40:09 -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: 2.6ms | 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-11 09:40:09 -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/
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
+ [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.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 (1.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 09:40:09 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T09:40:09-07:00"}}
+Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.9ms)[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.3ms)[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.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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 21:45:33.674986', '2019-04-11 21:45:33.674986', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 21:45:33.674986', '2019-04-11 21:45:33.674986', DEFAULT)[0m
+ [1m[35m (27.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-11 14:45: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (9.5ms)
+Completed 200 OK in 226ms (Views: 219.2ms | 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 14:45: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 3ms (Views: 2.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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-11 14:45:33 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (1.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/
+Completed 302 Found in 7ms (ActiveRecord: 1.8ms)
+ [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.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 21:45:33.977574"], ["updated_at", "2019-04-11 21:45:33.977574"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-11 14:45:33 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.4ms)[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 7ms (Views: 2.3ms | ActiveRecord: 0.4ms)
+ [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-11 14:45:33 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T14:45:33-07:00"}}
+Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
+ [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
+------------------------------------------------------------------------------------------------------
+ [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 14:45:34 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (12.0ms)
+Completed 200 OK in 17ms (Views: 14.1ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[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.7ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.4ms)[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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 21:47:25.009557', '2019-04-11 21:47:25.009557', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 21:47:25.009557', '2019-04-11 21:47:25.009557', DEFAULT)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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 14:47:25 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (7.1ms)
+Completed 200 OK in 203ms (Views: 189.1ms | 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.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-11 14:47:25 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T14:47:25-07:00"}}
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (1.8ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 21:47:25.257636"], ["updated_at", "2019-04-11 21:47:25.257636"]]
+ [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: 2.2ms)
+ [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.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:47:25 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 8ms (Views: 4.6ms | ActiveRecord: 0.8ms)
+ [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-11 14:47: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"[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::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.1ms)[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
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.7ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 21:47:25.323475"], ["updated_at", "2019-04-11 21:47:25.323475"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-11 14:47:25 -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.3ms)
+Completed 200 OK in 9ms (Views: 3.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[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-11 14:47:25 -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/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [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.3ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 21:50:03.426048', '2019-04-11 21:50:03.426048', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 21:50:03.426048', '2019-04-11 21:50:03.426048', DEFAULT)[0m
+ [1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 21:50:03.453900"], ["updated_at", "2019-04-11 21:50:03.453900"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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 14:50:03 -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.5ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.3ms)[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-11 14:50:03 -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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
+ [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.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.2ms)[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-11 14:50:03 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T14:50:03-07:00"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 21:50:03.662399"], ["updated_at", "2019-04-11 21:50:03.662399"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+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.1ms)[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-11 14:50:03 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (7.5ms)
+Completed 200 OK in 12ms (Views: 9.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.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 14:50:03 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 9ms (Views: 4.1ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.5ms)[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: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (43.2ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (1.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 22:26:15.858955', '2019-04-11 22:26:15.858955', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 22:26:15.858955', '2019-04-11 22:26:15.858955', DEFAULT)[0m
+ [1m[35m (40.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[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 15:26:15 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (10.4ms)
+Completed 200 OK in 164ms (Views: 152.3ms | ActiveRecord: 0.0ms)
+ [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.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.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.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.9ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 22:26:16.105402"], ["updated_at", "2019-04-11 22:26:16.105402"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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 15:26:16 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.4ms)[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.7ms)
+Completed 200 OK in 8ms (Views: 1.8ms | ActiveRecord: 0.6ms)
+ [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-11 15:26:16 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.3ms)[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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 22:26:16.130505"], ["updated_at", "2019-04-11 22:26:16.130505"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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-11 15:26:16 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (28.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE (980190964) LIMIT $1[0m [["LIMIT", 1]]
+Completed 500 Internal Server Error in 29ms (ActiveRecord: 28.5ms)
+ [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:26: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[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-11 15:26:16 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.8ms)
+ [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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 15:26:16 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T15:26:16-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 22:26:16.196167"], ["updated_at", "2019-04-11 22:26:16.196167"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+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.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.6ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (1.6ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 22:36:31.099042', '2019-04-11 22:36:31.099042', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 22:36:31.099042', '2019-04-11 22:36:31.099042', DEFAULT)[0m
+ [1m[35m (36.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[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 15:36:31 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T15:36:31-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 22:36:31.192681"], ["updated_at", "2019-04-11 22:36:31.192681"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 28ms (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.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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 15:36:31 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (13.6ms)
+Completed 200 OK in 156ms (Views: 152.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[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.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 22:36:31.367457"], ["updated_at", "2019-04-11 22:36:31.367457"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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-11 15:36:31 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (40.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE (980190964) LIMIT $1[0m [["LIMIT", 1]]
+Completed 500 Internal Server Error in 41ms (ActiveRecord: 40.3ms)
+ [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[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:36: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 0.3ms)
+ [1m[35m (1.1ms)[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-11 15:36: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"[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.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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 22:36:31.439075"], ["updated_at", "2019-04-11 22:36:31.439075"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-11 15:36:31 -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.7ms)
+Completed 200 OK in 7ms (Views: 1.6ms | 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-11 15:36: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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 22:42:52.475238', '2019-04-11 22:42:52.475238', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 22:42:52.475238', '2019-04-11 22:42:52.475238', DEFAULT)[0m
+ [1m[35m (40.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 15:42:52 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T15:42:52-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 22:42:52.566586"], ["updated_at", "2019-04-11 22:42:52.566586"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 21ms (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.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:42:52 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.7ms)
+Completed 200 OK in 138ms (Views: 135.4ms | ActiveRecord: 0.5ms)
+ [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 15:42:52 -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"[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::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::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::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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 22:42:52.733677"], ["updated_at", "2019-04-11 22:42:52.733677"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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 15:42:52 -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: 2.0ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.3ms)[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-11 15:42:52 -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/
+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-11 15:42:52 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (14.0ms)
+Completed 200 OK in 18ms (Views: 15.5ms | ActiveRecord: 0.0ms)
+ [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.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.1ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 22:43:24.470486', '2019-04-11 22:43:24.470486', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 22:43:24.470486', '2019-04-11 22:43:24.470486', DEFAULT)[0m
+ [1m[35m (27.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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-11 15:43: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (9.6ms)
+Completed 200 OK in 161ms (Views: 153.9ms | 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 15:43: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms)
+ [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 15:43:24 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (11.8ms)
+Completed 200 OK in 19ms (Views: 13.5ms | 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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 15:43:24 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T15:43:24-07:00"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 22:43:24.734191"], ["updated_at", "2019-04-11 22:43:24.734191"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+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.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::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[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.1ms)[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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 22:43:24.828281"], ["updated_at", "2019-04-11 22:43:24.828281"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-11 15:43:24 -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 (3.2ms)
+Completed 200 OK in 9ms (Views: 4.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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-11 15:43:24 -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/
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 22:48:51.431304', '2019-04-11 22:48:51.431304', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 22:48:51.431304', '2019-04-11 22:48:51.431304', DEFAULT)[0m
+ [1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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 15:48:51 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (10.3ms)
+Completed 200 OK in 221ms (Views: 213.4ms | ActiveRecord: 0.6ms)
+ [1m[35m (0.4ms)[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:48: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.4ms)
+ [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.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.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.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 22:48:51.695925"], ["updated_at", "2019-04-11 22:48:51.695925"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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:48:51 -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 10ms (Views: 2.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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-11 15:48:51 -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/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [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
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 15:48:51 -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.4ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.7ms)[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 15:48:51 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T15:48:51-07:00"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 22:48:51.744889"], ["updated_at", "2019-04-11 22:48:51.744889"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+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 (2.3ms)[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.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.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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 22:53:06.626242', '2019-04-11 22:53:06.626242', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 22:53:06.626242', '2019-04-11 22:53:06.626242', DEFAULT)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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.2ms)[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
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 15:53:06 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (9.1ms)
+Completed 200 OK in 314ms (Views: 288.9ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 15:53:07 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T15:53:07-07:00"}}
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 22:53:07.046726"], ["updated_at", "2019-04-11 22:53:07.046726"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
+ [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.5ms)[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-11 15:53: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.3ms)
+ [1m[35m (1.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-11 15:53: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.0ms)
+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::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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 22:53:07.080852"], ["updated_at", "2019-04-11 22:53:07.080852"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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 15:53:07 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.8ms)[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.1ms)
+Completed 200 OK in 10ms (Views: 3.1ms | ActiveRecord: 0.8ms)
+ [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-11 15:53:07 -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/
+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::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.9ms)[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.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 22:53:44.876825', '2019-04-11 22:53:44.876825', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 22:53:44.876825', '2019-04-11 22:53:44.876825', DEFAULT)[0m
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.3ms)[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.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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 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 (10.6ms)
+Completed 200 OK in 226ms (Views: 217.0ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[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-11 15:53:45 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/
+Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
+ [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.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 22:53:45.154043"], ["updated_at", "2019-04-11 22:53:45.154043"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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 15:53:45 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.8ms)[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.7ms)
+Completed 200 OK in 9ms (Views: 1.7ms | ActiveRecord: 0.8ms)
+ [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.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.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 15:53:45 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T15:53:45-07:00"}}
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (3.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 22:53:45.243743"], ["updated_at", "2019-04-11 22:53:45.243743"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 7ms (ActiveRecord: 4.2ms)
+ [1m[35m (0.5ms)[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-11 15:53:45 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (9.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (11.4ms)
+Completed 200 OK in 16ms (Views: 2.9ms | ActiveRecord: 9.9ms)
+ [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:53:45 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.3ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 22:56:13.293733', '2019-04-11 22:56:13.293733', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 22:56:13.293733', '2019-04-11 22:56:13.293733', DEFAULT)[0m
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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 15:56: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (8.6ms)
+Completed 200 OK in 233ms (Views: 227.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:56: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 4ms (Views: 2.7ms | 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.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.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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 22:56:13.627324"], ["updated_at", "2019-04-11 22:56:13.627324"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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:56:13 -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.7ms)
+Completed 200 OK in 6ms (Views: 1.8ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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-11 15:56:13 -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/
+Completed 302 Found in 3ms (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::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 15:56:13 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T15:56:13-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 22:56:13.671938"], ["updated_at", "2019-04-11 22:56:13.671938"]]
+ [1m[35m (0.2ms)[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[35m (1.6ms)[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.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 15:56:13 -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 11ms (Views: 8.4ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[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.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.9ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 22:58:17.658904', '2019-04-11 22:58:17.658904', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 22:58:17.658904', '2019-04-11 22:58:17.658904', DEFAULT)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (1.8ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[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::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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 15:58:17 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (8.0ms)
+Completed 200 OK in 218ms (Views: 204.9ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 22:58:17.994908"], ["updated_at", "2019-04-11 22:58:17.994908"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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 15:58:17 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.8ms)[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 14ms (Views: 2.6ms | ActiveRecord: 1.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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-11 15:58:18 -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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.3ms)[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-11 15:58:18 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 7ms (Views: 3.5ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.6ms)[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:18 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[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 15:58:18 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T15:58:18-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 22:58:18.059515"], ["updated_at", "2019-04-11 22:58:18.059515"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
+ [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.4ms)[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.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 22:59:10.540156', '2019-04-11 22:59:10.540156', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 22:59:10.540156', '2019-04-11 22:59:10.540156', DEFAULT)[0m
+ [1m[35m (2.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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.3ms)[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::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-11 15:59: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (13.0ms)
+Completed 200 OK in 209ms (Views: 202.3ms | 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:59: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms)
+ [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.2ms)[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-11 15:59:10 -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 11ms (Views: 6.2ms | 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-11 15:59:10 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T15:59:10-07:00"}}
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 22:59:10.876006"], ["updated_at", "2019-04-11 22:59:10.876006"]]
+ [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: 1.2ms)
+ [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.5ms)[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.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (1.1ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 22:59:10.889514"], ["updated_at", "2019-04-11 22:59:10.889514"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-11 15:59:10 -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 7ms (Views: 2.3ms | 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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-11 15:59: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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[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.5ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 23:03:27.293007', '2019-04-11 23:03:27.293007', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 23:03:27.293007', '2019-04-11 23:03:27.293007', DEFAULT)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.4ms)[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:03:27 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T16:03:27-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 23:03:27.335278"], ["updated_at", "2019-04-11 23:03:27.335278"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 14ms (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::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-11 16:03: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 212ms (Views: 209.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-11 16:03: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[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
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 16:03:27 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (8.2ms)
+Completed 200 OK in 11ms (Views: 9.3ms | 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.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[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.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 23:03:27.650794"], ["updated_at", "2019-04-11 23:03:27.650794"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-11 16:03:27 -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.1ms)
+Completed 200 OK in 7ms (Views: 3.3ms | 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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-11 16:03:27 -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/
+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::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.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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (1.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 23:05:48.930922', '2019-04-11 23:05:48.930922', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 23:05:48.930922', '2019-04-11 23:05:48.930922', DEFAULT)[0m
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 16:05:48 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T16:05:48-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 23:05:48.972958"], ["updated_at", "2019-04-11 23:05:48.972958"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 14ms (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::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::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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 23:05:48.985980"], ["updated_at", "2019-04-11 23:05:48.985980"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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:05:48 -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.3ms)
+Completed 200 OK in 201ms (Views: 196.2ms | 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-11 16:05:49 -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/
+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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 16:05:49 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (8.2ms)
+Completed 200 OK in 16ms (Views: 11.2ms | ActiveRecord: 0.0ms)
+ [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-11 16:05:49 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[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:05: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.3ms)
+ [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[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 23:07:00.978870', '2019-04-11 23:07:00.978870', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 23:07:00.978870', '2019-04-11 23:07:00.978870', DEFAULT)[0m
+ [1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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.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:07: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (9.2ms)
+Completed 200 OK in 204ms (Views: 196.2ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[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-11 16:07: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.3ms)[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 (2.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 23:07:01.228560"], ["updated_at", "2019-04-11 23:07:01.228560"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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:07: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.7ms)
+Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.3ms)[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-11 16:07:01 -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/
+Completed 302 Found in 1ms (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.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[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.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.5ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 16:07:01 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T16:07:01-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 23:07:01.351485"], ["updated_at", "2019-04-11 23:07:01.351485"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 16:07:01 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (10.6ms)
+Completed 200 OK in 15ms (Views: 12.0ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[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.4ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (2.2ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 23:10:51.932260', '2019-04-11 23:10:51.932260', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 23:10:51.932260', '2019-04-11 23:10:51.932260', DEFAULT)[0m
+ [1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.8ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.3ms)[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-11 16:10:52 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T16:10:51-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 23:10:52.016030"], ["updated_at", "2019-04-11 23:10:52.016030"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+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.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:10:52 -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 186ms (Views: 183.2ms | ActiveRecord: 0.0ms)
+ [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:10:52 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.5ms)
+Completed 200 OK in 9ms (Views: 4.3ms | ActiveRecord: 1.9ms)
+ [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 16:10: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 3ms (Views: 2.4ms | 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.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 (3.1ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 23:10:52.241940"], ["updated_at", "2019-04-11 23:10:52.241940"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-11 16:10:52 -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.8ms)
+Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[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-11 16:10:52 -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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (1.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
+---------------------------------------------------------------------------
+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_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.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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 23:16:36.634413', '2019-04-11 23:16:36.634413', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 23:16:36.634413', '2019-04-11 23:16:36.634413', DEFAULT)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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.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.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::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.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-11 16:16:36 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T16:16:36-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 23:16:36.733389"], ["updated_at", "2019-04-11 23:16:36.733389"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 8ms (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.4ms)[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:16:36 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (6.7ms)
+Completed 200 OK in 189ms (Views: 186.2ms | ActiveRecord: 0.0ms)
+ [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-11 16:16: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 8ms (Views: 3.5ms | 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:16: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms)
+ [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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 23:16:36.959194"], ["updated_at", "2019-04-11 23:16:36.959194"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-11 16:16:36 -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 6ms (Views: 1.4ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.3ms)[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-11 16:16:36 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [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.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 23:17:48.905482', '2019-04-11 23:17:48.905482', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 23:17:48.905482', '2019-04-11 23:17:48.905482', DEFAULT)[0m
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.9ms)[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:17:48 -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 212ms (Views: 198.7ms | 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.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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 23:17:49.204229"], ["updated_at", "2019-04-11 23:17:49.204229"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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:17: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 (0.7ms)
+Completed 200 OK in 6ms (Views: 1.6ms | 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-11 16:17:49 -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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 1ms (ActiveRecord: 0.4ms)
+ [1m[35m (1.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[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:17:49 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T16:17:49-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 23:17:49.230762"], ["updated_at", "2019-04-11 23:17:49.230762"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [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.2ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (3.9ms)[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[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-11 16:17:49 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 8ms (Views: 4.8ms | 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-11 16:17:49 -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"[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.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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 23:27:00.996764', '2019-04-11 23:27:00.996764', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 23:27:00.996764', '2019-04-11 23:27:00.996764', DEFAULT)[0m
+ [1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 23:27:01.025479"], ["updated_at", "2019-04-11 23:27:01.025479"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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:27: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 (1.2ms)
+Completed 200 OK in 191ms (Views: 183.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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-11 16:27:01 -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/
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [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-11 16:27:01 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (8.3ms)
+Completed 200 OK in 14ms (Views: 10.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-11 16:27: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 4ms (Views: 1.9ms | 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-11 16:27: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"[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::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.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.5ms)[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::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:27:01 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T16:27:01-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 23:27:01.349353"], ["updated_at", "2019-04-11 23:27:01.349353"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.4ms)[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.5ms)[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.3ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 23:28:05.615377', '2019-04-11 23:28:05.615377', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 23:28:05.615377', '2019-04-11 23:28:05.615377', DEFAULT)[0m
+ [1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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-11 16:28:05 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (6.8ms)
+Completed 200 OK in 191ms (Views: 178.5ms | ActiveRecord: 0.0ms)
+ [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:28:05 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (6.1ms)
+Completed 200 OK in 11ms (Views: 6.2ms | ActiveRecord: 1.7ms)
+ [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:28: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.4ms)[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.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.6ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 16:28:05 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T16:28:05-07:00"}}
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 23:28:05.941326"], ["updated_at", "2019-04-11 23:28:05.941326"]]
+ [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[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
+-----------------------------------------------------
+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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 23:28:05.951749"], ["updated_at", "2019-04-11 23:28:05.951749"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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:28:05 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.4ms)[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: 1.8ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.3ms)[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-11 16:28:05 -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/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (1.6ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 23:33:50.781198', '2019-04-11 23:33:50.781198', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 23:33:50.781198', '2019-04-11 23:33:50.781198', DEFAULT)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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:33: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.1ms)
+Completed 200 OK in 175ms (Views: 163.0ms | ActiveRecord: 0.0ms)
+ [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: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.2ms)
+Completed 200 OK in 9ms (Views: 5.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-11 16:33:50 -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"[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::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.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 16:33:51 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T16:33:51-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.7ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 23:33:51.010291"], ["updated_at", "2019-04-11 23:33:51.010291"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
+ [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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-11 16:33:51 -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/
+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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 23:33:51.022113"], ["updated_at", "2019-04-11 23:33:51.022113"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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:33:51 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.5ms)[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 (2.5ms)
+Completed 200 OK in 8ms (Views: 4.3ms | ActiveRecord: 0.5ms)
+ [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.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.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 23:38:10.597970', '2019-04-11 23:38:10.597970', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 23:38:10.597970', '2019-04-11 23:38:10.597970', DEFAULT)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 16:38:10 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T16:38:10-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 23:38:10.634474"], ["updated_at", "2019-04-11 23:38:10.634474"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 13ms (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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 16:38:10 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (10.8ms)
+Completed 200 OK in 176ms (Views: 173.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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 23:38:10.828605"], ["updated_at", "2019-04-11 23:38:10.828605"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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:38:10 -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 6ms (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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-11 16:38:10 -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/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [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-11 16:38: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 4ms (Views: 1.8ms | 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:38:10 -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"[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 (1.0ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-11 23:38:10.866118"], ["updated_at", "2019-04-11 23:38:10.866118"]]
+ [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-11 16:38:10 -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.3ms)
+Completed 200 OK in 4ms (Views: 2.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
+------------------------------------------------------------------------------------------------------
+ [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.3ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 23:38:44.501867', '2019-04-11 23:38:44.501867', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 23:38:44.501867', '2019-04-11 23:38:44.501867', DEFAULT)[0m
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-11 16:38:44 -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/
+Completed 302 Found in 7ms (ActiveRecord: 0.4ms)
+ [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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 23:38:44.542486"], ["updated_at", "2019-04-11 23:38:44.542486"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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:38:44 -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 (3.1ms)
+Completed 200 OK in 169ms (Views: 165.5ms | ActiveRecord: 0.3ms)
+ [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.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 16:38:44 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T16:38:44-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 23:38:44.724452"], ["updated_at", "2019-04-11 23:38:44.724452"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-11 23:38:44.729753"], ["updated_at", "2019-04-11 23:38:44.729753"]]
+ [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-11 16:38:44 -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 (10.6ms)
+Completed 200 OK in 14ms (Views: 11.8ms | 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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 16:38: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.7ms)
+Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.0ms)
+ [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::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-11 16:38: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[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:38: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"[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::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.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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-11 23:42:06.005745', '2019-04-11 23:42:06.005745', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-11 23:42:06.005745', '2019-04-11 23:42:06.005745', DEFAULT)[0m
+ [1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 23:42:06.041548"], ["updated_at", "2019-04-11 23:42:06.041548"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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:42:06 -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.4ms)
+Completed 200 OK in 159ms (Views: 149.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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-11 16:42: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/
+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::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-11 23:42:06.217409"], ["updated_at", "2019-04-11 23:42:06.217409"]]
+ [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-11 16:42:06 -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 (10.0ms)
+Completed 200 OK in 15ms (Views: 11.6ms | 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::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 16:42:06 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T16:42:06-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.7ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 23:42:06.251021"], ["updated_at", "2019-04-11 23:42:06.251021"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 5ms (ActiveRecord: 1.3ms)
+ [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-11 16:42:06 -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 7ms (Views: 4.6ms | ActiveRecord: 0.0ms)
+ [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:42: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 7ms (Views: 2.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-11 16:42: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"[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.2ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.5ms)[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 971913898..c9dbf5646 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
+ completed_at: DateTime.new
}
# 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
+
# Act
get task_path(task.id)
@@ -37,19 +39,17 @@
end
it "will redirect for an invalid task" do
- skip
+
# Act
get task_path(-1)
# Assert
must_respond_with :redirect
- expect(flash[:error]).must_equal "Could not find task with id: -1"
end
end
describe "new" do
it "can get the new task page" do
- skip
# Act
get new_task_path
@@ -61,14 +61,15 @@
describe "create" do
it "can create a new task" do
- skip
# Arrange
+ # Note to students: Your Task model **may** be different and
+ # you may need to modify this.
task_hash = {
task: {
name: "new task",
description: "new task description",
- completion_date: nil,
+ completed_at: DateTime.now,
},
}
@@ -79,8 +80,7 @@
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.completed_at).must_equal task_hash[:task][:completed_at]
must_respond_with :redirect
must_redirect_to task_path(new_task.id)
@@ -90,8 +90,12 @@
# Unskip and complete these tests for Wave 3
describe "edit" do
it "can get the edit page for an existing task" do
- skip
- # Your code here
+ new_task = Task.create(name: "cleaning")
+ # new_task.save
+
+ get edit_task_path(new_task.id)
+
+ must_respond_with :success
end
it "will respond with redirect when attempting to edit a nonexistant task" do
diff --git a/test/fixtures/tasks.yml b/test/fixtures/tasks.yml
new file mode 100644
index 000000000..1a15e3476
--- /dev/null
+++ b/test/fixtures/tasks.yml
@@ -0,0 +1,9 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ name: MyString
+ description: MyString
+
+two:
+ name: MyString
+ description: MyString
diff --git a/test/models/task_test.rb b/test/models/task_test.rb
new file mode 100644
index 000000000..7928a374f
--- /dev/null
+++ b/test/models/task_test.rb
@@ -0,0 +1,9 @@
+require "test_helper"
+
+describe Task do
+ let(:task) { Task.new }
+
+ it "must be valid" do
+ value(task).must_be :valid?
+ end
+end
From 783cf6016e3cd537f9cbeaf57f45dcebc9234f74 Mon Sep 17 00:00:00 2001
From: Heather Izumi
Date: Thu, 11 Apr 2019 23:02:04 -0700
Subject: [PATCH 3/9] Updated TaskController edit action and aded update action
---
app/controllers/tasks_controller.rb | 16 +-
app/views/tasks/show.html.erb | 5 +-
config/routes.rb | 1 +
log/development.log | 1187 +++++++++
log/test.log | 2846 +++++++++++++++++++++
test/controllers/tasks_controller_test.rb | 25 +-
6 files changed, 4070 insertions(+), 10 deletions(-)
diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb
index a32aed6bf..1c924e58c 100644
--- a/app/controllers/tasks_controller.rb
+++ b/app/controllers/tasks_controller.rb
@@ -43,8 +43,22 @@ def create
def edit
puts params
task_id = params[:id]
-
@task = Task.find_by(id: task_id)
+
+ if @task.nil?
+ redirect_to tasks_path
+ end
+ end
+
+ def update
+ @task = Task.find_by(id: params["id"])
+ @task.update(name: params["task"]["name"], description: params["task"]["description"])
+
+ if @task.nil?
+ redirect_to tasks_path
+ else
+ redirect_to task_path(@task)
+ end
end
# def destroy
diff --git a/app/views/tasks/show.html.erb b/app/views/tasks/show.html.erb
index 2b77b8528..c5db3b84b 100644
--- a/app/views/tasks/show.html.erb
+++ b/app/views/tasks/show.html.erb
@@ -8,5 +8,6 @@
<%= @task.description %>
-<%= link_to "Back to all tasks", tasks_path %>
-<%= link_to "Delete #{@task.name}", task_path(@task.id, method: :delete) %>
\ No newline at end of file
+<%= link_to "Edit task", edit_task_path %>
+<%= link_to "Delete task", task_path(@task.id, method: :delete) %>
+<%= link_to "Show all tasks", tasks_path %>
\ No newline at end of file
diff --git a/config/routes.rb b/config/routes.rb
index ead4d1a82..b3fec52df 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -8,4 +8,5 @@
get "/tasks/:id", to: "tasks#show", as: "task"
get "/tasks/:id/edit", to: "tasks#edit", as: "edit_task"
+ patch "/tasks/:id", to: "tasks#update", as: "update_task"
end
diff --git a/log/development.log b/log/development.log
index e99431840..4d52abbde 100644
--- a/log/development.log
+++ b/log/development.log
@@ -2403,3 +2403,1190 @@ Processing by TasksController#edit as HTML
Completed 200 OK in 31ms (Views: 25.2ms | ActiveRecord: 0.4ms)
+Started PATCH "/tasks/1" for ::1 at 2019-04-11 20:36:32 -0700
+
+AbstractController::ActionNotFound - The action 'update' could not be found for TasksController:
+
+Started POST "/__better_errors/3f369ea35dc080f0/variables" for ::1 at 2019-04-11 20:36:32 -0700
+Started PATCH "/tasks/1" for ::1 at 2019-04-11 20:38:22 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"8HYns1Y7ETmIKnqi+PqVpmzauPcLdw3ZEC2pkPpzY1suHfh4GOhRIRgD+jOHlxZib/XBp9ml3yv32SV/nYlg7g==", "task"=>{"name"=>"cleaning", "description"=>"vacuum, bathrooms, yard"}, "commit"=>"Update Task", "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:54
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[36mTask Update (2.8ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", nil], ["description", nil], ["updated_at", "2019-04-12 03:38:23.099201"], ["id", 1]]
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:55
+Redirected to http://localhost:3000/tasks/1
+Completed 302 Found in 72ms (ActiveRecord: 52.9ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 20:38:23 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 50ms (Views: 43.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 20:38:28 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (6.5ms)
+Completed 200 OK in 73ms (Views: 65.7ms | ActiveRecord: 1.5ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-11 20:38: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.9ms)
+Completed 200 OK in 42ms (Views: 38.0ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-11 20:39:20 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Mj0khG9fELA+jbYvTABc+20bZMzmkJQbowLRlLR9T0vsVvtPIYxQqK6kNr4zbd8/bjQdnDRCRulE9l1704dM/g==", "task"=>{"name"=>"walk Piffer", "description"=>"Go to Green Lake"}, "commit"=>"Save Task"}
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:34
+ [1m[36mTask Create (148.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "walk Piffer"], ["description", "Go to Green Lake"], ["created_at", "2019-04-12 03:39:20.922356"], ["updated_at", "2019-04-12 03:39:20.922356"]]
+ ↳ app/controllers/tasks_controller.rb:34
+ [1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:34
+Redirected to http://localhost:3000/tasks/4
+Completed 302 Found in 157ms (ActiveRecord: 150.1ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-11 20:39:21 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 38ms (Views: 33.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 20:39:30 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (2.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (5.9ms)
+Completed 200 OK in 63ms (Views: 57.3ms | ActiveRecord: 2.8ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-11 20:39:33 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (2.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 78ms (Views: 69.1ms | ActiveRecord: 2.6ms)
+
+
+Started GET "/tasks/4?method=delete" for ::1 at 2019-04-11 20:39:38 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"method"=>"delete", "id"=>"4"}
+ [1m[36mTask Load (7.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 68ms (Views: 56.0ms | ActiveRecord: 7.6ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 20:39:42 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (4.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (7.2ms)
+Completed 200 OK in 56ms (Views: 46.6ms | ActiveRecord: 4.6ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-11 20:39:57 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 43ms (Views: 38.8ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-11 20:43:37 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 40ms (Views: 37.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/4/edit" for ::1 at 2019-04-11 20:43:41 -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:46
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (6.1ms)
+Completed 200 OK in 68ms (Views: 56.6ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/4" for ::1 at 2019-04-11 20:43:54 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"CSHWpZh0nk0GyJKXMrFbY8A1QjlvoWK/at2B/MrGzLpmcnQUC6HGN+DIgLfPWbt9DObXcgR7wRWp8GXy7HNNRQ==", "task"=>{"name"=>"walk Pfeiffer", "description"=>"Go to Green Lake"}, "commit"=>"Update 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:54
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[36mTask Update (1.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", nil], ["description", nil], ["updated_at", "2019-04-12 03:43:54.222194"], ["id", 4]]
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[35m (39.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:55
+Redirected to http://localhost:3000/tasks/4
+Completed 302 Found in 50ms (ActiveRecord: 41.4ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-11 20:43:54 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 33ms (Views: 29.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 20:44:03 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (3.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (10.3ms)
+Completed 200 OK in 61ms (Views: 51.0ms | ActiveRecord: 3.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 20:45:09 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (16.1ms)
+Completed 200 OK in 58ms (Views: 47.0ms | ActiveRecord: 4.2ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 20:45:11 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 48ms (Views: 42.2ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 20:45:16 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (6.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (11.5ms)
+Completed 200 OK in 50ms (Views: 41.6ms | ActiveRecord: 6.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 20:45:26 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (4.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 46ms (Views: 35.1ms | ActiveRecord: 4.2ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-11 20:45:27 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (3.6ms)[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 (3.9ms)
+Completed 200 OK in 46ms (Views: 33.4ms | ActiveRecord: 3.6ms)
+
+
+Started PATCH "/tasks/1" for ::1 at 2019-04-11 20:45:52 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"LIVI0N2Qgrdpn58zb5LpLtBZ+Xs+JllZTQb1StEN31e2ymTkiRVOr16udeTIPpPU/JlNJuKazx4od5RRC9dD/Q==", "task"=>{"name"=>"clean", "description"=>"vacuum, bathrooms"}, "commit"=>"Update Task", "id"=>"1"}
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:54
+ [1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:55
+Completed 500 Internal Server Error in 210ms (ActiveRecord: 2.9ms)
+
+
+
+NameError - undefined local variable or method `task' for #
+Did you mean? @task:
+ app/controllers/tasks_controller.rb:56:in `update'
+
+Started POST "/__better_errors/af462e0017f0116a/variables" for ::1 at 2019-04-11 20:45:53 -0700
+Started PATCH "/tasks/1" for ::1 at 2019-04-11 20:47:15 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"3cOr14yxp03lhpq8Oy0Gg2fwk0qjlROHtJV71ylXQWkDqHQcwmLnVXWvGi1EQIVHZN/qGnFHwXVTYfc4Tq1C3A==", "task"=>{"name"=>"clean", "description"=>"vacuum, bathrooms"}, "commit"=>"Update Task", "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:54
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:55
+Redirected to http://localhost:3000/tasks/1
+Completed 302 Found in 23ms (ActiveRecord: 4.0ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 20:47: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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 36ms (Views: 31.2ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-11 20:47:23 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (3.5ms)[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 (4.5ms)
+Completed 200 OK in 76ms (Views: 68.2ms | ActiveRecord: 3.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 20:47:27 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (5.0ms)
+Completed 200 OK in 38ms (Views: 30.1ms | ActiveRecord: 1.7ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 20:47:28 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (10.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 57ms (Views: 40.0ms | ActiveRecord: 10.4ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-11 20:47:31 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.7ms)[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.5ms)
+Completed 200 OK in 35ms (Views: 26.9ms | ActiveRecord: 0.7ms)
+
+
+Started PATCH "/tasks/1" for ::1 at 2019-04-11 20:47:39 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"TyvBkOukRESRfNPNrrl95PJGTQskiXypQplEcDB4nzzVZO2kvyGIXKZNORoJFQce3ob5Vvg16u4n6CVr6qIDlg==", "task"=>{"name"=>"clean", "description"=>"vacuum"}, "commit"=>"Update Task", "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:54
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:55
+Redirected to http://localhost:3000/tasks/1
+Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 20:47:39 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 26ms (Views: 23.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-11 20:51:06 -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 29ms (Views: 25.1ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-11 20:51:38 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"IK6/AhMj45qC1RiFyc3ijuqqFDwEsGmGA1taCLPuZ2f+xWDJXfCjghL8mBS2oGFK6YVtbNZiu3Tkr9bn1BRk0g==", "task"=>{"name"=>"laundry", "description"=>"darks and baby clothes"}, "commit"=>"Save Task"}
+ [1m[35m (1.8ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:34
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "laundry"], ["description", "darks and baby clothes"], ["created_at", "2019-04-12 03:51:38.741036"], ["updated_at", "2019-04-12 03:51:38.741036"]]
+ ↳ app/controllers/tasks_controller.rb:34
+ [1m[35m (39.9ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:34
+Redirected to http://localhost:3000/tasks/5
+Completed 302 Found in 49ms (ActiveRecord: 42.2ms)
+
+
+Started GET "/tasks/5" for ::1 at 2019-04-11 20:51:38 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 24ms (Views: 20.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 20:51:47 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (3.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (6.1ms)
+Completed 200 OK in 44ms (Views: 39.0ms | ActiveRecord: 3.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 20:52: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (5.2ms)
+Completed 200 OK in 44ms (Views: 37.3ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 20:53:59 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 34ms (Views: 17.8ms | ActiveRecord: 4.0ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-11 20:54:02 -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 (5.9ms)
+Completed 200 OK in 54ms (Views: 47.4ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/1" for ::1 at 2019-04-11 20:54:18 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"rEei+BG72waqpYecd4sfBkJdPI6oFAKgejbe9MHeIhM2CI7MRT4XHp2UbUvQJ2X8bp2I03SolOcfR7/vGwS+uQ==", "task"=>{"name"=>"walk dog", "description"=>"GL"}, "commit"=>"Update Task", "id"=>"1"}
+ [1m[36mTask Load (3.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:56
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:56
+Redirected to http://localhost:3000/tasks/1
+Completed 302 Found in 10ms (ActiveRecord: 4.1ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 20:54:18 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 26ms (Views: 23.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 20:56:29 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 50ms (Views: 31.3ms | ActiveRecord: 6.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 20:56:31 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (2.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (5.4ms)
+Completed 200 OK in 48ms (Views: 43.0ms | ActiveRecord: 2.4ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 20:56:33 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (2.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 63ms (Views: 54.6ms | ActiveRecord: 2.1ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-11 20:56:37 -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 (5.2ms)
+Completed 200 OK in 47ms (Views: 42.0ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/1" for ::1 at 2019-04-11 20:56:44 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"PIC4hKgI0fprcQ0PDWSxM1ytmnFUQFYGdYIfqYVTI1+mz5Sw/I0d4lxA59iqyMvJcG0uLIj8wEEQ836yX4m/9Q==", "task"=>{"name"=>"walk dog", "description"=>"GL"}, "commit"=>"Update Task", "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:55
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:56
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:56
+Redirected to http://localhost:3000/tasks/1
+Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 20:56:44 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 25ms (Views: 22.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-11 21:02:23 -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 (1.9ms)
+Completed 200 OK in 35ms (Views: 19.0ms | ActiveRecord: 6.1ms)
+
+
+Started PATCH "/tasks/1" for ::1 at 2019-04-11 21:02:31 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"hn6gfJvP5pPe7mU5u7wQABdDVmzi+wNveQKhuZ74uzkcMYxIz0oqi+nfj+4cEGr6O4PiMT5HlSgcc8CiRCInkw==", "task"=>{"name"=>"walk P", "description"=>"GL"}, "commit"=>"Update Task", "id"=>"1"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:56
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:56
+Redirected to http://localhost:3000/tasks/1
+Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 21:02: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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 28ms (Views: 24.7ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/1" for ::1 at 2019-04-11 21:03:13 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"YDIdPhY7SW7lbdhYOm5NnIa1PIe5+9PwougaQdZvsey+WcL1WOgJdnVEWMlFA85YhZpF12spAQJFHJausZWyWQ==", "task"=>{"name"=>"walk P", "description"=>"GL"}, "commit"=>"Update Task", "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:55
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:56
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:56
+Redirected to http://localhost:3000/tasks/1
+Completed 302 Found in 14ms (ActiveRecord: 4.6ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 21:03:13 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 28ms (Views: 24.5ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 21:03:18 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (4.4ms)
+Completed 200 OK in 49ms (Views: 44.4ms | ActiveRecord: 1.0ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 21:06:28 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (8.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 53ms (Views: 39.2ms | ActiveRecord: 8.9ms)
+
+
+Started GET "/tasks/5" for ::1 at 2019-04-11 21:06:42 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"5"}
+ [1m[36mTask Load (3.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 44ms (Views: 36.4ms | ActiveRecord: 3.5ms)
+
+
+Started GET "/tasks/5/edit" for ::1 at 2019-04-11 21:06:50 -0700
+Processing by TasksController#edit 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:46
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (5.2ms)
+Completed 200 OK in 48ms (Views: 40.8ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/5" for ::1 at 2019-04-11 21:07:13 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"5etJvm5yt/2B9mRSVwaSz3QwNlRXgvZE7+BtJ0EwX8rzFdVAMZDsP4/QYJ5ODdH1MrBaxQCVyAU73vH3AyMfzw==", "task"=>{"name"=>"laundry", "description"=>"white, darks and baby clothes"}, "commit"=>"Update Task", "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:55
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:56
+ [1m[36mTask Update (3.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", nil], ["description", nil], ["updated_at", "2019-04-12 04:07:13.976329"], ["id", 5]]
+ ↳ app/controllers/tasks_controller.rb:56
+ [1m[35m (41.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:56
+Redirected to http://localhost:3000/tasks/5
+Completed 302 Found in 52ms (ActiveRecord: 45.0ms)
+
+
+Started GET "/tasks/5" for ::1 at 2019-04-11 21:07:14 -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:14
+ 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.8ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 21:07:20 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (5.4ms)
+Completed 200 OK in 55ms (Views: 51.1ms | ActiveRecord: 1.5ms)
+
+
+Started GET "/tasks/5" for ::1 at 2019-04-11 21:09:40 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"5"}
+ [1m[36mTask Load (8.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 56ms (Views: 41.9ms | ActiveRecord: 8.8ms)
+
+
+Started GET "/tasks/5/edit" for ::1 at 2019-04-11 21:09:44 -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:46
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 45ms (Views: 39.0ms | ActiveRecord: 0.4ms)
+
+
+Started PATCH "/tasks/5" for ::1 at 2019-04-11 21:16:43 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"dSpJ1/DY06fN0fHkKLwMWWYequDQ4sLKKc21kS/MdPFj1NUprzqIZcP39Sgxt09jIJ7GcYf1/Iv98ylBbd809A==", "task"=>{"name"=>"asdf", "description"=>"asdf"}, "commit"=>"Update Task", "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:55
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:56
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:56
+Redirected to http://localhost:3000/tasks/5
+Completed 302 Found in 19ms (ActiveRecord: 8.2ms)
+
+
+Started GET "/tasks/5" for ::1 at 2019-04-11 21:16:43 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 26ms (Views: 22.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 21:16:45 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (2.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (6.9ms)
+Completed 200 OK in 48ms (Views: 40.9ms | ActiveRecord: 2.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-11 21:16:51 -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 31ms (Views: 25.4ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-11 21:17:12 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"a3c3sjgVsmIDiPDZjwzKFkP++vYcp7SdwBt2bh5FlCm1HOh5dsbyepOhcEjwYUnSQNGDps51Zm8n7/qBeb+XnA==", "task"=>{"name"=>"piffer bath", "description"=>"bath!!!!!"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:34
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "piffer bath"], ["description", "bath!!!!!"], ["created_at", "2019-04-12 04:17:12.478185"], ["updated_at", "2019-04-12 04:17:12.478185"]]
+ ↳ app/controllers/tasks_controller.rb:34
+ [1m[35m (40.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:34
+Redirected to http://localhost:3000/tasks/6
+Completed 302 Found in 45ms (ActiveRecord: 41.0ms)
+
+
+Started GET "/tasks/6" for ::1 at 2019-04-11 21:17:12 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 24ms (Views: 20.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/6/edit" for ::1 at 2019-04-11 21:17:44 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (6.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:46
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 57ms (Views: 42.9ms | ActiveRecord: 6.8ms)
+
+
+Started PATCH "/tasks/6" for ::1 at 2019-04-11 21:17:57 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"4gYrkkPy9OpjwidLMscjXAxFeThhZJMbZdMVEClbqwsmHOwLv7oH+pKj1fHNnPeTMgp3NykC589ncCizH5uzLQ==", "task"=>{"name"=>"bn bath", "description"=>"bath!!!!!"}, "commit"=>"Update Task", "id"=>"6"}
+ [1m[36mTask Load (1.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:56
+ [1m[36mTask Update (2.0ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", nil], ["description", nil], ["updated_at", "2019-04-12 04:17:57.213755"], ["id", 6]]
+ ↳ app/controllers/tasks_controller.rb:56
+ [1m[35m (40.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:56
+Redirected to http://localhost:3000/tasks/6
+Completed 302 Found in 53ms (ActiveRecord: 44.4ms)
+
+
+Started GET "/tasks/6" for ::1 at 2019-04-11 21:17:57 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 26ms (Views: 23.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/6/edit" for ::1 at 2019-04-11 21:24:56 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["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.2ms)
+Completed 200 OK in 47ms (Views: 28.1ms | ActiveRecord: 8.0ms)
+
+
+Started PATCH "/tasks/6" for ::1 at 2019-04-11 21:25:14 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Rt27KuozNP2xr9P9KowDVrQPn4Vuv6632XyV1iJBEJaCx3yzFnvH7UDOIUfV19eZikCRiibZ2mPb36h1FIEIsA==", "task"=>{"name"=>"mcP", "description"=>"so many tasks"}, "commit"=>"Update Task", "id"=>"6"}
+ [1m[36mTask Load (1.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:55
+Completed 500 Internal Server Error in 6ms (ActiveRecord: 1.4ms)
+
+
+
+NoMethodError - undefined method `update' for nil:NilClass:
+ app/controllers/tasks_controller.rb:56:in `update'
+
+Started POST "/__better_errors/38615a33e08a1b6e/variables" for ::1 at 2019-04-11 21:25:15 -0700
+Started GET "/tasks/" for ::1 at 2019-04-11 21:26: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (13.4ms)
+Completed 200 OK in 46ms (Views: 30.9ms | ActiveRecord: 5.5ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 21:26:37 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (7.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 57ms (Views: 39.2ms | ActiveRecord: 7.2ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-11 21:26:46 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.5ms)[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 (9.3ms)
+Completed 200 OK in 51ms (Views: 45.3ms | ActiveRecord: 0.5ms)
+
+
+Started PATCH "/tasks/1" for ::1 at 2019-04-11 21:27:01 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"7M6AbQVE9+rSiWUp56I17bpaUDVvYxpLCVsh25H2Vt52gaxZUcE78uW4j/5ADk8XlprkaLPfjAxsKkDASyzKdA==", "task"=>{"name"=>"test1", "description"=>"asdfda"}, "commit"=>"Update Task", "id"=>"1"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:56
+ [1m[36mTask Update (1.8ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "test1"], ["description", "asdfda"], ["updated_at", "2019-04-12 04:27:01.104065"], ["id", 1]]
+ ↳ app/controllers/tasks_controller.rb:56
+ [1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:56
+Redirected to http://localhost:3000/tasks/1
+Completed 302 Found in 12ms (ActiveRecord: 4.2ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 21:27:01 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 31ms (Views: 26.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 21:27:24 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (4.2ms)
+Completed 200 OK in 59ms (Views: 53.0ms | ActiveRecord: 1.4ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-11 21:31:49 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 32ms (Views: 18.2ms | ActiveRecord: 2.9ms)
+
+
+Started GET "/tasks/4/edit" for ::1 at 2019-04-11 21:31:52 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["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.5ms)
+Completed 200 OK in 48ms (Views: 40.3ms | ActiveRecord: 0.5ms)
+
+
+Started PATCH "/tasks/4" for ::1 at 2019-04-11 21:32:02 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"mV58hYkFUJE1s06bFSqp49qPDToaXY9Szd7+JcJlIyf2Dd40GtAI69OzXLvowkn9FlyYcXGHLPgO8xor5NCi2A==", "task"=>{"name"=>"test2", "description"=>"12345"}, "commit"=>"Update Task", "id"=>"4"}
+Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)
+
+
+
+RuntimeError - :
+ app/controllers/tasks_controller.rb:54:in `update'
+
+Started POST "/__better_errors/d6460219637de93d/variables" for ::1 at 2019-04-11 21:32:03 -0700
+Started POST "/__better_errors/d6460219637de93d/eval" for ::1 at 2019-04-11 21:32:08 -0700
+Started GET "/tasks/" for ::1 at 2019-04-11 21:35: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (23.3ms)
+Completed 200 OK in 60ms (Views: 51.7ms | ActiveRecord: 2.8ms)
+
+
+Started GET "/tasks/" for ::1 at 2019-04-11 21: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 37ms (Views: 33.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-11 21:35:20 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (15.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 75ms (Views: 54.7ms | ActiveRecord: 15.3ms)
+
+
+Started GET "/tasks/4/edit" for ::1 at 2019-04-11 21:35:22 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (7.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:46
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (6.7ms)
+Completed 200 OK in 48ms (Views: 33.3ms | ActiveRecord: 7.7ms)
+
+
+Started PATCH "/tasks/4" for ::1 at 2019-04-11 21:35:36 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"fXwjJZEB7cGTJ3j/AE4SDHjF2a6SsmWu9jSE/H8C3YQSL4GUAtS1u3Unat/9pvIStBZM5floxgQ1GWDyWbdcew==", "task"=>{"name"=>"test3", "description"=>"babynose"}, "commit"=>"Update Task", "id"=>"4"}
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:54
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[36mTask Update (3.7ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "test3"], ["description", "babynose"], ["updated_at", "2019-04-12 04:35:36.760726"], ["id", 4]]
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[35m (40.2ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:55
+Redirected to http://localhost:3000/tasks/4
+Completed 302 Found in 51ms (ActiveRecord: 44.6ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-11 21:35:36 -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:14
+ 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.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 21:35:56 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 50ms (Views: 45.9ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 21:36:07 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 57ms (Views: 51.9ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-11 21:36:11 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (1.2ms)[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.6ms)
+Completed 200 OK in 39ms (Views: 33.4ms | ActiveRecord: 1.2ms)
+
+
+Started PATCH "/tasks/1" for ::1 at 2019-04-11 21:36:19 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"M7VyP3SW6Rw54EDSOYEpz5dALoBPYwoy8TxZjXkA09ep+l4LIBMlBA7RqgWeLVM1u4Ca3ZPfnHWUTTiWo9pPfQ==", "task"=>{"name"=>"test4", "description"=>"asdfda"}, "commit"=>"Update Task", "id"=>"1"}
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:54
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[36mTask Update (1.4ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "test4"], ["updated_at", "2019-04-12 04:36:19.666270"], ["id", 1]]
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[35m (41.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:55
+Redirected to http://localhost:3000/tasks/1
+Completed 302 Found in 52ms (ActiveRecord: 44.0ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 21:36:19 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 22ms (Views: 18.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-11 21:36:42 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (4.7ms)[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 (7.3ms)
+Completed 200 OK in 54ms (Views: 42.0ms | ActiveRecord: 4.7ms)
+
+
+Started PATCH "/tasks/1" for ::1 at 2019-04-11 21:36:51 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"yFtuNVy5uPA9Y4c9L0NBM5QTcnyk5Q/hgRBjQns564tSFEIBCDx06ApSbeqI7zvJuNPGIXhZmabkYQJZoeN3IQ==", "task"=>{"name"=>"test5", "description"=>"789"}, "commit"=>"Update Task", "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:54
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "test5"], ["description", "789"], ["updated_at", "2019-04-12 04:36:51.509196"], ["id", 1]]
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:55
+Redirected to http://localhost:3000/tasks/1
+Completed 302 Found in 11ms (ActiveRecord: 2.5ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 21:36:51 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 34ms (Views: 30.8ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 21: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (12.6ms)
+Completed 200 OK in 35ms (Views: 27.2ms | ActiveRecord: 3.8ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 21:37:46 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 46ms (Views: 35.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-11 21:37:55 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (1.0ms)[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.9ms)
+Completed 200 OK in 47ms (Views: 41.2ms | ActiveRecord: 1.0ms)
+
+
+Started PATCH "/tasks/1" for ::1 at 2019-04-11 21:38:07 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"fUkRPSw9hC8u7wvpg+zIo/JMTZsGMnT4DoNS78hQfb3nBj0JeLhINxne4T4kQLJZ3oz5xtqO4r9r8jP0EorhFw==", "task"=>{"name"=>"test7", "description"=>"yes!"}, "commit"=>"Update Task", "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:54
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[36mTask Update (2.4ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "test7"], ["description", "yes!"], ["updated_at", "2019-04-12 04:38:07.253852"], ["id", 1]]
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[35m (40.2ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:55
+Redirected to http://localhost:3000/tasks/1
+Completed 302 Found in 51ms (ActiveRecord: 43.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 21:38:07 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 21ms (Views: 17.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 21:39: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (9.5ms)
+Completed 200 OK in 33ms (Views: 26.0ms | ActiveRecord: 2.6ms)
+
+
+Started GET "/tasks/5" for ::1 at 2019-04-11 21:39:07 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"5"}
+ [1m[36mTask Load (1.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 47ms (Views: 39.0ms | ActiveRecord: 1.4ms)
+
+
+Started GET "/tasks/5/edit" for ::1 at 2019-04-11 21:39:09 -0700
+Processing by TasksController#edit 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:46
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 54ms (Views: 46.0ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/5" for ::1 at 2019-04-11 21:39:24 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"i7wzeR0c98hC4u2R4ak0zJZaN78dasXgTzcoHNejbFCdQq+HQv6sCkzE6V34onf20NpbLkp9+6GbCbTMlbAsVQ==", "task"=>{"name"=>"hi", "description"=>"no!"}, "commit"=>"Update Task", "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:54
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[36mTask Update (0.9ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "hi"], ["description", "no!"], ["updated_at", "2019-04-12 04:39:24.287343"], ["id", 5]]
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[35m (40.0ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:55
+Redirected to http://localhost:3000/tasks/5
+Completed 302 Found in 50ms (ActiveRecord: 41.7ms)
+
+
+Started GET "/tasks/5" for ::1 at 2019-04-11 21:39:24 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 20ms (Views: 17.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/5" for ::1 at 2019-04-11 21:46:04 -0700
+Processing by TasksController#show 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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 36ms (Views: 32.8ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks/5" for ::1 at 2019-04-11 21:46:35 -0700
+Processing by TasksController#show 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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 39ms (Views: 32.9ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/5" for ::1 at 2019-04-11 21:46:48 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"5"}
+ [1m[36mTask Load (1.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 43ms (Views: 34.9ms | ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks/" for ::1 at 2019-04-11 22:12:49 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (13.1ms)
+Completed 200 OK in 51ms (Views: 40.2ms | ActiveRecord: 6.7ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-11 22:12:56 -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 40ms (Views: 33.5ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-11 22:13:18 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"kiRVqIuI3SHkhF7iTlFLuIb+Axapk+wpiesb2OYAdZNMT4pjxVudOXSt3nMxPMh8hdF6RntBPttuH5c3gfp2Jg==", "task"=>{"name"=>"New Test 1", "description"=>"hello world"}, "commit"=>"Save Task"}
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:34
+ [1m[36mTask Create (0.9ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "New Test 1"], ["description", "hello world"], ["created_at", "2019-04-12 05:13:18.793477"], ["updated_at", "2019-04-12 05:13:18.793477"]]
+ ↳ app/controllers/tasks_controller.rb:34
+ [1m[35m (40.8ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:34
+Redirected to http://localhost:3000/tasks/7
+Completed 302 Found in 47ms (ActiveRecord: 41.9ms)
+
+
+Started GET "/tasks/7" for ::1 at 2019-04-11 22:13:18 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 22ms (Views: 17.6ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 22:53:01 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (13.3ms)
+Completed 200 OK in 43ms (Views: 31.0ms | ActiveRecord: 6.2ms)
+
+
+Started GET "/tasks/6" for ::1 at 2019-04-11 22:53:04 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (0.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (5.7ms)
+Completed 200 OK in 49ms (Views: 39.8ms | ActiveRecord: 2.4ms)
+
+
diff --git a/log/test.log b/log/test.log
index d6be30078..ab94a11c1 100644
--- a/log/test.log
+++ b/log/test.log
@@ -5584,3 +5584,2849 @@ 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.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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 03:13:25.868678', '2019-04-12 03:13:25.868678', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 03:13:25.868678', '2019-04-12 03:13:25.868678', DEFAULT)[0m
+ [1m[35m (42.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[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::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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 03:13:25.935866"], ["updated_at", "2019-04-12 03:13:25.935866"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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 20:13:25 -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 (3.0ms)
+Completed 200 OK in 161ms (Views: 146.1ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.4ms)[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-11 20:13:26 -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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.3ms)[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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 03:13:26.120141"], ["updated_at", "2019-04-12 03:13:26.120141"]]
+ [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-11 20:13:26 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.4ms)[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 (12.9ms)
+Completed 200 OK in 19ms (Views: 14.2ms | ActiveRecord: 0.4ms)
+ [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.2ms)[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-11 20:13:26 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+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 20:13:26 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.9ms)
+ [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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 20:13:26 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T20:13:26-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (1.1ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 03:13:26.232591"], ["updated_at", "2019-04-12 03:13:26.232591"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 5ms (ActiveRecord: 1.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.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 20:13: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.0ms)
+Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 03:17:46.532608', '2019-04-12 03:17:46.532608', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 03:17:46.532608', '2019-04-12 03:17:46.532608', DEFAULT)[0m
+ [1m[35m (40.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 03:17:46.614702"], ["updated_at", "2019-04-12 03:17:46.614702"]]
+ [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-11 20:17:46 -0700
+Processing by TasksController#edit 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/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (10.8ms)
+Completed 200 OK in 154ms (Views: 142.8ms | ActiveRecord: 0.7ms)
+ [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.2ms)[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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 03:17:46.838424"], ["updated_at", "2019-04-12 03:17:46.838424"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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 20:17: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 (0.6ms)
+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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-11 20:17:46 -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/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [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-11 20:17:46 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T20:17:46-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 03:17:46.860039"], ["updated_at", "2019-04-12 03:17:46.860039"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+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.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 20:17:46 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 6ms (Views: 2.4ms | 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::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-11 20:17: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 6ms (Views: 2.6ms | 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-11 20:17: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"[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.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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 03:18:18.897110', '2019-04-12 03:18:18.897110', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 03:18:18.897110', '2019-04-12 03:18:18.897110', DEFAULT)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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.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 20:18:18 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T20:18:18-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 03:18:18.956753"], ["updated_at", "2019-04-12 03:18:18.956753"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 13ms (ActiveRecord: 0.6ms)
+ [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.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-11 20:18: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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 03:18:18.972187"], ["updated_at", "2019-04-12 03:18:18.972187"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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 20:18:18 -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.5ms)
+Completed 200 OK in 131ms (Views: 128.1ms | ActiveRecord: 0.2ms)
+ [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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 03:18:19.111695"], ["updated_at", "2019-04-12 03:18:19.111695"]]
+ [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-11 20:18:19 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.6ms)
+ [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.2ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-11 20:18: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 6ms (Views: 3.4ms | 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-11 20:18: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"[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.3ms)[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 20:18:19 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (27.2ms)
+Completed 200 OK in 31ms (Views: 28.6ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 03:24:02.877326', '2019-04-12 03:24:02.877326', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 03:24:02.877326', '2019-04-12 03:24:02.877326', DEFAULT)[0m
+ [1m[35m (40.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[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.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 03:24:02.951562"], ["updated_at", "2019-04-12 03:24:02.951562"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963/edit" for 127.0.0.1 at 2019-04-11 20:24:02 -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 (12.1ms)
+Completed 200 OK in 159ms (Views: 147.2ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.5ms)[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
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-11 20:24:03 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (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 20:24:03 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 9ms (Views: 4.0ms | ActiveRecord: 0.7ms)
+ [1m[35m (0.4ms)[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-11 20:24: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms)
+ [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
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 20:24:03 -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 8ms (Views: 4.9ms | 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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 20:24:03 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T20:24:03-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 03:24:03.182032"], ["updated_at", "2019-04-12 03:24:03.182032"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 23ms (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::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-11 20:24:03 -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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 1ms (ActiveRecord: 0.4ms)
+ [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 (1.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 03:24:03.213686"], ["updated_at", "2019-04-12 03:24:03.213686"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-11 20:24:03 -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.6ms)
+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
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (29.0ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.9ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 04:53:07.873378', '2019-04-12 04:53:07.873378', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 04:53:07.873378', '2019-04-12 04:53:07.873378', DEFAULT)[0m
+ [1m[35m (40.0ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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.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 (1.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 04:53:07.949612"], ["updated_at", "2019-04-12 04:53:07.949612"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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 21:53:07 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.7ms)[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 (3.0ms)
+Completed 200 OK in 233ms (Views: 215.2ms | ActiveRecord: 0.9ms)
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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-11 21:53:08 -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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
+ [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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 04:53:08.204630"], ["updated_at", "2019-04-12 04:53:08.204630"]]
+ [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-11 21:53: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 (11.6ms)
+Completed 200 OK in 17ms (Views: 13.1ms | 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/999/edit" for 127.0.0.1 at 2019-04-11 21:53:08 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (1.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.4ms)
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 04:53:08.237015"], ["updated_at", "2019-04-12 04:53:08.237015"]]
+ [1m[35m (0.4ms)[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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-11 21:53:08 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 9ms (Views: 4.3ms | ActiveRecord: 0.5ms)
+ [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 21:53: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 3ms (Views: 2.0ms | 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-11 21:53:08 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T21:53:08-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 04:53:08.271470"], ["updated_at", "2019-04-12 04:53:08.271470"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190966
+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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 21:53:08 -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 8ms (Views: 3.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 04:56:04.341332', '2019-04-12 04:56:04.341332', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 04:56:04.341332', '2019-04-12 04:56:04.341332', DEFAULT)[0m
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 21:56:04 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T21:56:04-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 04:56:04.378113"], ["updated_at", "2019-04-12 04:56:04.378113"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 14ms (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::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 04:56:04.388801"], ["updated_at", "2019-04-12 04:56:04.388801"]]
+ [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-11 21:56:04 -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 (7.6ms)
+Completed 200 OK in 148ms (Views: 145.0ms | ActiveRecord: 0.2ms)
+ [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
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-11 21:56:04 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 04:56:04.547845"], ["updated_at", "2019-04-12 04:56:04.547845"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 21:56: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 8ms (Views: 3.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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (1.0ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 04:56:04.569515"], ["updated_at", "2019-04-12 04:56:04.569515"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966" for 127.0.0.1 at 2019-04-11 21:56:04 -0700
+Processing by TasksController#update 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]]
+Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.4ms)
+ [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_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-11 21:56:04 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 8ms (Views: 4.6ms | ActiveRecord: 0.7ms)
+ [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 21:56: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"[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::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-11 21:56:04 -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/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[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 (1.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 04:56:04.604887"], ["updated_at", "2019-04-12 04:56:04.604887"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190967" for 127.0.0.1 at 2019-04-11 21:56:04 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 04:56:36.125666', '2019-04-12 04:56:36.125666', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 04:56:36.125666', '2019-04-12 04:56:36.125666', DEFAULT)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 21:56:36 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T21:56:36-07:00"}}
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 04:56:36.172747"], ["updated_at", "2019-04-12 04:56:36.172747"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 18ms (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.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-11 21:56:36 -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/
+Completed 302 Found in 2ms (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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 04:56:36.187944"], ["updated_at", "2019-04-12 04:56:36.187944"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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 21:56:36 -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.3ms)
+Completed 200 OK in 146ms (Views: 143.9ms | ActiveRecord: 0.2ms)
+ [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 21:56: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[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-11 21:56:36 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.6ms)
+ [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 21:56:36 -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 10ms (Views: 8.4ms | ActiveRecord: 0.0ms)
+ [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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 04:56:36.378041"], ["updated_at", "2019-04-12 04:56:36.378041"]]
+ [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-11 21:56:36 -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 (2.4ms)
+Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (1.6ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-11 21:56:36 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 04:56:36.397943"], ["updated_at", "2019-04-12 04:56:36.397943"]]
+ [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::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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 04:56:36.401048"], ["updated_at", "2019-04-12 04:56:36.401048"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967" for 127.0.0.1 at 2019-04-11 21:56:36 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (2.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+Completed 500 Internal Server Error in 6ms (ActiveRecord: 2.5ms)
+ [1m[35m (0.9ms)[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.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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 04:59:35.647080', '2019-04-12 04:59:35.647080', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 04:59:35.647080', '2019-04-12 04:59:35.647080', 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 "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 04:59:35.671211"], ["updated_at", "2019-04-12 04:59:35.671211"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963" for 127.0.0.1 at 2019-04-11 21:59:35 -0700
+Processing by TasksController#update 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]]
+Completed 500 Internal Server Error in 7ms (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::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-11 21:59:35 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 04:59:35.700374"], ["updated_at", "2019-04-12 04:59:35.700374"]]
+ [1m[35m (0.3ms)[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::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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 04:59:35.705186"], ["updated_at", "2019-04-12 04:59:35.705186"]]
+ [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-11 21:59:35 -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 (8.0ms)
+Completed 200 OK in 161ms (Views: 157.7ms | ActiveRecord: 0.3ms)
+ [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.7ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 04:59:35.873672"], ["updated_at", "2019-04-12 04:59:35.873672"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-11 21:59:35 -0700
+Processing by TasksController#show 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/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 8ms (Views: 3.2ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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-11 21:59:35 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (1.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/
+Completed 302 Found in 4ms (ActiveRecord: 1.9ms)
+ [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
+ [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 21:59:35 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (12.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (14.8ms)
+Completed 200 OK in 20ms (Views: 3.9ms | ActiveRecord: 12.9ms)
+ [1m[35m (7.7ms)[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 21:59:35 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 1.0ms)
+ [1m[35m (0.7ms)[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-11 21:59:35 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T21:59:35-07:00"}}
+ [1m[35m (1.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (21.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 04:59:35.955785"], ["updated_at", "2019-04-12 04:59:35.955785"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190967
+Completed 302 Found in 27ms (ActiveRecord: 23.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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 21:59:35 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 12ms (Views: 8.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (2.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.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 05:00:23.294086', '2019-04-12 05:00:23.294086', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 05:00:23.294086', '2019-04-12 05:00:23.294086', DEFAULT)[0m
+ [1m[35m (40.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 05:00:23.380700"], ["updated_at", "2019-04-12 05:00:23.380700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963" for 127.0.0.1 at 2019-04-11 22:00:23 -0700
+Processing by TasksController#update 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]]
+Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.4ms)
+ [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.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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 05:00:23.400135"], ["updated_at", "2019-04-12 05:00:23.400135"]]
+ [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-11 22:00:23 -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 (5.4ms)
+Completed 200 OK in 143ms (Views: 139.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/999/edit" for 127.0.0.1 at 2019-04-11 22:00:23 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 05:00:23.556090"], ["updated_at", "2019-04-12 05:00:23.556090"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[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 22:00:23 -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 10ms (Views: 7.4ms | ActiveRecord: 0.0ms)
+ [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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 05:00:23.575589"], ["updated_at", "2019-04-12 05:00:23.575589"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-11 22:00:23 -0700
+Processing by TasksController#show 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/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 5ms (Views: 2.0ms | 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-11 22:00:23 -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/
+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::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 22:00:23 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T22:00:23-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 05:00:23.595346"], ["updated_at", "2019-04-12 05:00:23.595346"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190967
+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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-11 22:00: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 7ms (Views: 2.7ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-11 22:00: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 3ms (Views: 2.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.6ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 05:17:43.357740', '2019-04-12 05:17:43.357740', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 05:17:43.357740', '2019-04-12 05:17:43.357740', DEFAULT)[0m
+ [1m[35m (31.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 05:17:43.427347"], ["updated_at", "2019-04-12 05:17:43.427347"]]
+ [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-11 22:17:43 -0700
+Processing by TasksController#edit 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/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (12.7ms)
+Completed 200 OK in 156ms (Views: 146.5ms | ActiveRecord: 0.5ms)
+ [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
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-11 22:17:43 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 05:17:43.599601"], ["updated_at", "2019-04-12 05:17:43.599601"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [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 22:17:43 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T22:17:43-07:00"}}
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 05:17:43.615574"], ["updated_at", "2019-04-12 05:17:43.615574"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
+ [1m[35m (0.5ms)[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-11 22:17:43 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 9ms (Views: 5.7ms | ActiveRecord: 0.0ms)
+ [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 22:17: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.6ms)[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 22:17: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 4ms (Views: 2.8ms | 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.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 05:17:43.653750"], ["updated_at", "2019-04-12 05:17:43.653750"]]
+ [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::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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-11 22:17: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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[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 (1.0ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 05:17:43.666497"], ["updated_at", "2019-04-12 05:17:43.666497"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190967" for 127.0.0.1 at 2019-04-11 22:17:43 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.3ms)[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.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 05:19:24.717369', '2019-04-12 05:19:24.717369', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 05:19:24.717369', '2019-04-12 05:19:24.717369', DEFAULT)[0m
+ [1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.3ms)[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 22:19:24 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T22:19:24-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 05:19:24.758960"], ["updated_at", "2019-04-12 05:19:24.758960"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 13ms (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-11 22:19:24 -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 140ms (Views: 137.5ms | 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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 05:19:24.912808"], ["updated_at", "2019-04-12 05:19:24.912808"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[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.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 22:19:24 -0700
+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"[0m
+ Rendered tasks/index.html.erb within layouts/application (5.4ms)
+Completed 200 OK in 11ms (Views: 5.8ms | ActiveRecord: 1.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-11 22:19: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms)
+ [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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 05:19:24.944220"], ["updated_at", "2019-04-12 05:19:24.944220"]]
+ [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-11 22:19:24 -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.3ms)
+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::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-11 22:19:24 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [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_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-11 22:19:24 -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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
+ [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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 05:19:24.972891"], ["updated_at", "2019-04-12 05:19:24.972891"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-11 22:19:24 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190966"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190966], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 10ms (Views: 5.9ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 05:19:57.982306', '2019-04-12 05:19:57.982306', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 05:19:57.982306', '2019-04-12 05:19:57.982306', DEFAULT)[0m
+ [1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[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-11 22:19:58 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T22:19:58-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 05:19:58.024510"], ["updated_at", "2019-04-12 05:19:58.024510"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 16ms (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.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 22:19:58 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (8.7ms)
+Completed 200 OK in 205ms (Views: 203.3ms | ActiveRecord: 0.0ms)
+ [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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 05:19:58.243679"], ["updated_at", "2019-04-12 05:19:58.243679"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-11 22:19:58 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.4ms)[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 8ms (Views: 2.9ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.3ms)[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-11 22:19:58 -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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (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
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-11 22:19:58 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 05:19:58.271347"], ["updated_at", "2019-04-12 05:19:58.271347"]]
+ [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-11 22:19:58 -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.9ms)
+Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.2ms)
+ [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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 05:19:58.285671"], ["updated_at", "2019-04-12 05:19:58.285671"]]
+ [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::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_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-11 22:19: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-11 22:19:58 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.2ms)
+ [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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 05:22:16.892134', '2019-04-12 05:22:16.892134', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 05:22:16.892134', '2019-04-12 05:22:16.892134', DEFAULT)[0m
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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 22:22:16 -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 214ms (Views: 201.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[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.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 05:22:17.140774"], ["updated_at", "2019-04-12 05:22:17.140774"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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 22:22:17 -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 (2.1ms)
+Completed 200 OK in 11ms (Views: 4.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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-11 22:22: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]]
+Redirected to http://www.example.com/
+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.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 05:22:17.165343"], ["updated_at", "2019-04-12 05:22:17.165343"]]
+ [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-11 22:22:17 -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.4ms)
+Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-11 22:22:17 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::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 22:22:17 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T22:22:17-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 05:22:17.190219"], ["updated_at", "2019-04-12 05:22:17.190219"]]
+ [1m[35m (0.2ms)[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[35m (1.5ms)[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.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-11 22:22:17 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.7ms)
+ [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 22:22: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"[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.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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 05:22:17.223199"], ["updated_at", "2019-04-12 05:22:17.223199"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.8ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.6ms)[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.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 05:23:46.514346', '2019-04-12 05:23:46.514346', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 05:23:46.514346', '2019-04-12 05:23:46.514346', DEFAULT)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 05:23:46.542048"], ["updated_at", "2019-04-12 05:23:46.542048"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-11 22:23:46 -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 204ms (Views: 194.5ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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-11 22:23:46 -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/
+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.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/999/edit" for 127.0.0.1 at 2019-04-11 22:23:46 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (1.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 05:23:46.775204"], ["updated_at", "2019-04-12 05:23:46.775204"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964/edit" for 127.0.0.1 at 2019-04-11 22:23:46 -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 (7.5ms)
+Completed 200 OK in 12ms (Views: 8.7ms | 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.7ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 22:23:46 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T22:23:46-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 05:23:46.803973"], ["updated_at", "2019-04-12 05:23:46.803973"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.6ms)[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.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.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 05:23:46.813304"], ["updated_at", "2019-04-12 05:23:46.813304"]]
+ [1m[35m (0.2ms)[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::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-11 22:23:46 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (4.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (6.7ms)
+Completed 200 OK in 13ms (Views: 5.6ms | ActiveRecord: 4.8ms)
+ [1m[35m (2.4ms)[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 22:23:46 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.7ms)
+ [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 22:23:46 -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 9ms (Views: 3.4ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[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.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 05:25:07.413973', '2019-04-12 05:25:07.413973', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 05:25:07.413973', '2019-04-12 05:25:07.413973', DEFAULT)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (2.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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 22:25: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (8.4ms)
+Completed 200 OK in 214ms (Views: 205.7ms | ActiveRecord: 0.3ms)
+ [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 22:25: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[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.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 05:25:07.668884"], ["updated_at", "2019-04-12 05:25:07.668884"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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 22:25:07 -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 (1.6ms)
+Completed 200 OK in 14ms (Views: 4.0ms | ActiveRecord: 1.7ms)
+ [1m[35m (0.3ms)[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-11 22:25:07 -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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
+ [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 22:25: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.6ms)
+Completed 200 OK in 12ms (Views: 8.4ms | ActiveRecord: 0.0ms)
+ [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.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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 05:25:07.719325"], ["updated_at", "2019-04-12 05:25:07.719325"]]
+ [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::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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 05:25:07.723041"], ["updated_at", "2019-04-12 05:25:07.723041"]]
+ [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-11 22:25:07 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.4ms)[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.8ms)
+Completed 200 OK in 10ms (Views: 3.9ms | 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/999/edit" for 127.0.0.1 at 2019-04-11 22:25:07 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::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 22:25:07 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T22:25:07-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 05:25:07.752859"], ["updated_at", "2019-04-12 05:25:07.752859"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190966
+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
+-----------------------------
+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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 05:26:33.647379', '2019-04-12 05:26:33.647379', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 05:26:33.647379', '2019-04-12 05:26:33.647379', DEFAULT)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 05:26:33.675661"], ["updated_at", "2019-04-12 05:26:33.675661"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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 22:26:33 -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 200ms (Views: 190.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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-11 22:26:33 -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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
+ [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.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 05:26:33.896282"], ["updated_at", "2019-04-12 05:26:33.896282"]]
+ [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-11 22:26:33 -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]]
+Completed 500 Internal Server Error in 14ms (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/999/edit" for 127.0.0.1 at 2019-04-11 22:26:33 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 22:26:33 -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 12ms (Views: 9.7ms | ActiveRecord: 0.0ms)
+ [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::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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 05:26:33.941139"], ["updated_at", "2019-04-12 05:26:33.941139"]]
+ [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::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::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-11 22:26:33 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T22:26:33-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 05:26:33.953718"], ["updated_at", "2019-04-12 05:26:33.953718"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190966
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+ [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 (4.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 22:26:33 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 9ms (Views: 3.1ms | ActiveRecord: 1.1ms)
+ [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 22:26: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 05:27:20.535574', '2019-04-12 05:27:20.535574', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 05:27:20.535574', '2019-04-12 05:27:20.535574', DEFAULT)[0m
+ [1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[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-11 22:27: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (8.6ms)
+Completed 200 OK in 191ms (Views: 184.9ms | 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 22:27:20 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.4ms)
+ [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-11 22:27:20 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T22:27:20-07:00"}}
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 05:27:20.779506"], ["updated_at", "2019-04-12 05:27:20.779506"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 5ms (ActiveRecord: 1.1ms)
+ [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.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 05:27:20.795653"], ["updated_at", "2019-04-12 05:27:20.795653"]]
+ [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-11 22:27:20 -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]]
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 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/999/edit" for 127.0.0.1 at 2019-04-11 22:27:20 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (1.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.4ms)
+ [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.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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 05:27:20.813623"], ["updated_at", "2019-04-12 05:27:20.813623"]]
+ [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::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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 05:27:20.817423"], ["updated_at", "2019-04-12 05:27:20.817423"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-11 22:27:20 -0700
+Processing by TasksController#show 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/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 8ms (Views: 4.1ms | 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-11 22:27:20 -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/
+Completed 302 Found in 1ms (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-11 22:27:20 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (8.2ms)
+Completed 200 OK in 13ms (Views: 10.0ms | ActiveRecord: 0.0ms)
+ [1m[35m (2.9ms)[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.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 05:28:17.750430', '2019-04-12 05:28:17.750430', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 05:28:17.750430', '2019-04-12 05:28:17.750430', DEFAULT)[0m
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[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 22:28:17 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T22:28:17-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 05:28:17.801394"], ["updated_at", "2019-04-12 05:28:17.801394"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 15ms (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.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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 05:28:17.811262"], ["updated_at", "2019-04-12 05:28:17.811262"]]
+ [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::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-11 22: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 239ms (Views: 235.4ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[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 22:28: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 3ms (Views: 2.5ms | 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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 05:28:18.067793"], ["updated_at", "2019-04-12 05:28:18.067793"]]
+ [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-11 22:28:18 -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]]
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (2.8ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-11 22:28:18 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[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 22:28:18 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (9.4ms)
+Completed 200 OK in 14ms (Views: 11.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (10.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[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.7ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 05:28:18.131274"], ["updated_at", "2019-04-12 05:28:18.131274"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-11 22:28:18 -0700
+Processing by TasksController#show 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/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 8ms (Views: 3.8ms | ActiveRecord: 0.4ms)
+ [1m[35m (14.9ms)[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-11 22:28: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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 05:29:15.233165', '2019-04-12 05:29:15.233165', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 05:29:15.233165', '2019-04-12 05:29:15.233165', DEFAULT)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 05:29:15.262592"], ["updated_at", "2019-04-12 05:29:15.262592"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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 22:29:15 -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.4ms)
+Completed 200 OK in 203ms (Views: 193.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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-11 22:29:15 -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/
+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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 22:29:15 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (10.2ms)
+Completed 200 OK in 15ms (Views: 11.6ms | 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-11 22:29:15 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 9ms (Views: 4.4ms | ActiveRecord: 0.8ms)
+ [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 22:29:15 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.6ms)
+ [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/999/edit" for 127.0.0.1 at 2019-04-11 22:29:15 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[35m (4.8ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (5.2ms)[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 (1.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 05:29:15.546664"], ["updated_at", "2019-04-12 05:29:15.546664"]]
+ [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-11 22:29:15 -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 (2.1ms)
+Completed 200 OK in 7ms (Views: 3.7ms | 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::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 22:29:15 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T22:29:15-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 05:29:15.572469"], ["updated_at", "2019-04-12 05:29:15.572469"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+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::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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 05:29:15.581852"], ["updated_at", "2019-04-12 05:29:15.581852"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 05:34:37.809348', '2019-04-12 05:34:37.809348', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 05:34:37.809348', '2019-04-12 05:34:37.809348', DEFAULT)[0m
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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.5ms)[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 22:34:37 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 215ms (Views: 207.7ms | 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 22:34:38 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 4ms (Views: 3.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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-11 22:34:38 -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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 05:34:38.086647"], ["updated_at", "2019-04-12 05:34:38.086647"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [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 22:34:38 -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.0ms)
+Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.3ms)
+ [1m[35m (2.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.5ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 22:34:38 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T22:34:38-07:00"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 05:34:38.109183"], ["updated_at", "2019-04-12 05:34:38.109183"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+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-11 22:34:38 -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.4ms | 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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.7ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 05:34:38.129245"], ["updated_at", "2019-04-12 05:34:38.129245"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (1.1ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "not cleaning"], ["updated_at", "2019-04-12 05:34:38.133261"], ["id", 980190965]]
+ [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::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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 05:34:38.139328"], ["updated_at", "2019-04-12 05:34:38.139328"]]
+ [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-11 22:34:38 -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.6ms)
+Completed 200 OK in 8ms (Views: 2.9ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.6ms)[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/999/edit" for 127.0.0.1 at 2019-04-11 22:34:38 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [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.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 05:36:58.854740', '2019-04-12 05:36:58.854740', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 05:36:58.854740', '2019-04-12 05:36:58.854740', DEFAULT)[0m
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 05:36:58.881315"], ["updated_at", "2019-04-12 05:36:58.881315"]]
+ [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-11 22:36:58 -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 (8.1ms)
+Completed 200 OK in 206ms (Views: 197.3ms | ActiveRecord: 0.4ms)
+ [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
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-11 22:36:59 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (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 22:36:59 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 9ms (Views: 4.4ms | 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 22:36: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 2ms (Views: 1.4ms | 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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 05:36:59.127366"], ["updated_at", "2019-04-12 05:36:59.127366"]]
+ [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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "not cleaning"], ["updated_at", "2019-04-12 05:36:59.128956"], ["id", 980190964]]
+ [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::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.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 05:36:59.133580"], ["updated_at", "2019-04-12 05:36:59.133580"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-11 22:36:59 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (1.4ms)[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.7ms)
+Completed 200 OK in 9ms (Views: 1.8ms | ActiveRecord: 1.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-11 22:36: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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[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-11 22:36: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.5ms)
+Completed 200 OK in 7ms (Views: 3.4ms | ActiveRecord: 0.0ms)
+ [1m[35m (2.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (6.0ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 22:36:59 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T22:36:59-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 05:36:59.184429"], ["updated_at", "2019-04-12 05:36:59.184429"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190966
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (1.9ms)[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.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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (1.1ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 05:40:11.990744', '2019-04-12 05:40:11.990744', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 05:40:11.990744', '2019-04-12 05:40:11.990744', DEFAULT)[0m
+ [1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 05:40:12.018490"], ["updated_at", "2019-04-12 05:40:12.018490"]]
+ [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.4ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "not cleaning"], ["updated_at", "2019-04-12 05:40:12.021701"], ["id", 980190963]]
+ [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::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_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-11 22:40:12 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 181ms (Views: 174.3ms | ActiveRecord: 0.5ms)
+ [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 22:40:12 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.4ms)
+ [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
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-11 22:40:12 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [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.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.8ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 05:40:12.282465"], ["updated_at", "2019-04-12 05:40:12.282465"]]
+ [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-11 22:40:12 -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 (8.6ms)
+Completed 200 OK in 14ms (Views: 11.1ms | 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-11 22:40:12 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 05:40:12.317415"], ["updated_at", "2019-04-12 05:40:12.317415"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-11 22:40:12 -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.9ms)
+Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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-11 22:40:12 -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/
+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::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 22:40:12 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-11T22:40:12-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.7ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 05:40:12.340426"], ["updated_at", "2019-04-12 05:40:12.340426"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190966
+Completed 302 Found in 5ms (ActiveRecord: 1.1ms)
+ [1m[35m (0.6ms)[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.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 c9dbf5646..7c43e91d5 100644
--- a/test/controllers/tasks_controller_test.rb
+++ b/test/controllers/tasks_controller_test.rb
@@ -91,7 +91,6 @@
describe "edit" do
it "can get the edit page for an existing task" do
new_task = Task.create(name: "cleaning")
- # new_task.save
get edit_task_path(new_task.id)
@@ -99,8 +98,13 @@
end
it "will respond with redirect when attempting to edit a nonexistant task" do
- skip
- # Your code here
+ invalid_task_id = 999
+
+ # Act
+ get edit_task_path(invalid_task_id)
+
+ # Assert
+ must_redirect_to tasks_path
end
end
@@ -108,14 +112,21 @@
describe "update" do
# Note: If there was a way to fail to save the changes to a task, that would be a great
# thing to test.
+
it "can update an existing task" do
- skip
- # Your code here
+ new_task = Task.create(name: "cleaning", description: "not fun")
+
+ new_task.update(name: "not cleaning")
+
+ expect(new_task["created_at"]).wont_equal new_task["updated_at"]
end
it "will redirect to the root page if given an invalid id" do
- skip
- # Your code here
+ invalid_task_id = 999
+
+ patch update_path(invalid_task_id)
+
+ must_redirect_to tasks_path
end
end
From 604d20bc881f902a7dd34e2e6f2068251dd93144 Mon Sep 17 00:00:00 2001
From: Heather Izumi
Date: Fri, 12 Apr 2019 15:34:03 -0700
Subject: [PATCH 4/9] Updated update action, added destroy action, with tests
---
app/controllers/tasks_controller.rb | 39 +-
app/views/tasks/show.html.erb | 2 +-
config/routes.rb | 9 +-
log/development.log | 865 +++++
log/test.log | 3651 +++++++++++++++++++++
test/controllers/tasks_controller_test.rb | 44 +-
6 files changed, 4584 insertions(+), 26 deletions(-)
diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb
index 1c924e58c..66658cfdb 100644
--- a/app/controllers/tasks_controller.rb
+++ b/app/controllers/tasks_controller.rb
@@ -51,24 +51,37 @@ def edit
end
def update
- @task = Task.find_by(id: params["id"])
- @task.update(name: params["task"]["name"], description: params["task"]["description"])
+ task = Task.find_by(id: params["id"])
+ # task.update(name: params["task"]["name"], description: params["task"]["description"])
- if @task.nil?
+ if task.nil?
redirect_to tasks_path
+ elsif task.update(task_params)
+ redirect_to task_path(task.id)
else
- redirect_to task_path(@task)
+ redirect_to tasks_path
end
end
- # def destroy
- # task = Task.find_by(id: params[:id])
+ def destroy
+ task = Task.find_by(id: params[:id])
- # if task.nil?
- # head: not_found
- # else
- # task.destroy
- # redirect_to tasks_path
- # end
- # end
+ if task.nil?
+ head :not_found
+ else
+ task.destroy
+ redirect_to tasks_path
+ end
+ end
+
+ def toggle
+ end
+
+ private
+
+ def task_params
+ return params.require(:task).permit(:name, :description, :completed_at)
+ #need to update def create if you want to use this.
+ #only permitted params can be allowed, so make sure to include what you want
+ end
end
diff --git a/app/views/tasks/show.html.erb b/app/views/tasks/show.html.erb
index c5db3b84b..b5839eadc 100644
--- a/app/views/tasks/show.html.erb
+++ b/app/views/tasks/show.html.erb
@@ -9,5 +9,5 @@
<%= link_to "Edit task", edit_task_path %>
-<%= link_to "Delete task", task_path(@task.id, method: :delete) %>
+<%= link_to "Delete task", task_path(@task.id), method: :delete, data: { confirm: 'Are you sure?' } %>
<%= link_to "Show all tasks", tasks_path %>
\ No newline at end of file
diff --git a/config/routes.rb b/config/routes.rb
index b3fec52df..6e134f7ad 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,12 +1,5 @@
Rails.application.routes.draw do
- get "/tasks", to: "tasks#index", as: "tasks"
root to: "tasks#index"
- get "/tasks/new", to: "tasks#new", as: "new_task"
- post "/tasks/", to: "tasks#create"
-
- get "/tasks/:id", to: "tasks#show", as: "task"
-
- get "/tasks/:id/edit", to: "tasks#edit", as: "edit_task"
- patch "/tasks/:id", to: "tasks#update", as: "update_task"
+ resources :tasks
end
diff --git a/log/development.log b/log/development.log
index 4d52abbde..5a86298c8 100644
--- a/log/development.log
+++ b/log/development.log
@@ -3590,3 +3590,868 @@ Processing by TasksController#show as HTML
Completed 200 OK in 49ms (Views: 39.8ms | ActiveRecord: 2.4ms)
+Started GET "/tasks/6?method=delete" for ::1 at 2019-04-12 10:17:12 -0700
+
+SyntaxError - syntax error, unexpected ':', expecting keyword_end
+ head: not_found
+ ^:
+ app/controllers/tasks_controller.rb:68:in `'
+
+Started POST "/__better_errors/b4d9962c79dc1f6f/variables" for ::1 at 2019-04-12 10:17:12 -0700
+Started GET "/tasks/" for ::1 at 2019-04-12 10:17:44 -0700
+
+SyntaxError - syntax error, unexpected ':', expecting keyword_end
+ head: not_found
+ ^:
+ app/controllers/tasks_controller.rb:68:in `'
+
+Started POST "/__better_errors/a8a0ece7cc320642/variables" for ::1 at 2019-04-12 10:17:44 -0700
+Started GET "/tasks/" for ::1 at 2019-04-12 10:18:02 -0700
+ [1m[35m (43.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/better_errors-2.5.1/lib/better_errors/middleware.rb:84
+
+SyntaxError - syntax error, unexpected ':', expecting keyword_end
+ head: not_found
+ ^:
+ app/controllers/tasks_controller.rb:68:in `'
+
+Started POST "/__better_errors/acdf10f2ee039a20/variables" for ::1 at 2019-04-12 10:18:02 -0700
+Started GET "/tasks/" for ::1 at 2019-04-12 10:21:34 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (11.8ms)
+Completed 200 OK in 196ms (Views: 183.9ms | ActiveRecord: 4.0ms)
+
+
+Started GET "/tasks/6" for ::1 at 2019-04-12 10:21:50 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 36ms (Views: 24.2ms | ActiveRecord: 2.0ms)
+
+
+Started GET "/tasks/6?method=delete" for ::1 at 2019-04-12 10:21:51 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"method"=>"delete", "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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 52ms (Views: 46.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/6?method=delete" for ::1 at 2019-04-12 10:21:54 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"method"=>"delete", "id"=>"6"}
+ [1m[36mTask Load (3.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 41ms (Views: 31.6ms | ActiveRecord: 3.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 10:24: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 36ms (Views: 30.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/5" for ::1 at 2019-04-12 10:24:24 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 40ms (Views: 35.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/5?method=delete" for ::1 at 2019-04-12 10:24:25 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"method"=>"delete", "id"=>"5"}
+ [1m[36mTask Load (2.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 56ms (Views: 46.3ms | ActiveRecord: 2.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 10:24:27 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (5.7ms)
+Completed 200 OK in 48ms (Views: 44.9ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/6" for ::1 at 2019-04-12 10:25:47 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 39ms (Views: 23.9ms | ActiveRecord: 3.8ms)
+
+
+Started GET "/tasks/6?method=delete" for ::1 at 2019-04-12 10:25:48 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"method"=>"delete", "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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 34ms (Views: 25.8ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/6?method=delete" for ::1 at 2019-04-12 10:37:12 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"method"=>"delete", "id"=>"6"}
+ [1m[36mTask Load (0.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 37ms (Views: 19.3ms | ActiveRecord: 6.7ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 10:37:14 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 34ms (Views: 28.5ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks/6" for ::1 at 2019-04-12 10:37:15 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 37ms (Views: 33.6ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/6?method=delete" for ::1 at 2019-04-12 10:37:16 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"method"=>"delete", "id"=>"6"}
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 45ms (Views: 39.0ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks/6?method=delete" for ::1 at 2019-04-12 10:37:17 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"method"=>"delete", "id"=>"6"}
+ [1m[36mTask Load (4.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 34ms (Views: 25.4ms | ActiveRecord: 4.4ms)
+
+
+Started GET "/tasks/6?method=delete" for ::1 at 2019-04-12 10:37:18 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"method"=>"delete", "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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 31ms (Views: 27.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/6?method=delete" for ::1 at 2019-04-12 10:37:18 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"method"=>"delete", "id"=>"6"}
+ [1m[36mTask Load (7.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 41ms (Views: 29.7ms | ActiveRecord: 7.2ms)
+
+
+Started GET "/tasks/6?method=delete" for ::1 at 2019-04-12 10:37:18 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"method"=>"delete", "id"=>"6"}
+ [1m[36mTask Load (2.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 32ms (Views: 24.2ms | ActiveRecord: 2.6ms)
+
+
+Started GET "/tasks/6?method=delete" for ::1 at 2019-04-12 10:37:19 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"method"=>"delete", "id"=>"6"}
+ [1m[36mTask Load (1.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 32ms (Views: 26.4ms | ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks/6?method=delete" for ::1 at 2019-04-12 11:05:43 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"method"=>"delete", "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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 42ms (Views: 24.3ms | ActiveRecord: 6.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 11:05: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 35ms (Views: 30.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/6" for ::1 at 2019-04-12 11:05:47 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (8.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 35ms (Views: 22.6ms | ActiveRecord: 8.8ms)
+
+
+Started GET "/tasks/6/edit" for ::1 at 2019-04-12 11:05:49 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:46
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (13.1ms)
+Completed 200 OK in 46ms (Views: 39.0ms | ActiveRecord: 0.8ms)
+
+
+Started PATCH "/tasks/6" for ::1 at 2019-04-12 11:06:07 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"fmRKBgciDjlMqD4uHewYstD5WNExfeEWanuedle4kj66fo2f+2r9Kb3JzJTit8x97rZW3nkblcJo2KPVYXiKGA==", "task"=>{"name"=>"in class", "description"=>"resources test"}, "commit"=>"Update Task", "id"=>"6"}
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:54
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[36mTask Update (2.1ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "in class"], ["description", "resources test"], ["updated_at", "2019-04-12 18:06:07.875629"], ["id", 6]]
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[35m (42.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:55
+Redirected to http://localhost:3000/tasks/6
+Completed 302 Found in 53ms (ActiveRecord: 45.7ms)
+
+
+Started GET "/tasks/6" for ::1 at 2019-04-12 11:06:07 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 29ms (Views: 25.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 11:06:11 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 40ms (Views: 35.4ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-12 12:38:31 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 68ms (Views: 47.1ms | ActiveRecord: 6.1ms)
+
+
+Started DELETE "/tasks/1" for ::1 at 2019-04-12 12:38:33 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"tUS+mnkEqKQeo9ReVRDjS845wdi4vT2if7Y8UbZJLgVrL2FRN9fovI6KVM8qfWCPzRa4iGpv71CYQrC+0bMtsA==", "id"=>"1"}
+ [1m[36mTask Load (0.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:65
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:70
+ [1m[36mTask Destroy (0.8ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 1]]
+ ↳ app/controllers/tasks_controller.rb:70
+ [1m[35m (41.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:70
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 50ms (ActiveRecord: 42.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 12:38: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 29ms (Views: 26.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-12 12:42:04 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 39ms (Views: 22.7ms | ActiveRecord: 4.4ms)
+
+
+Started GET "/tasks/4/edit" for ::1 at 2019-04-12 12:42:07 -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:46
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 34ms (Views: 28.2ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/4" for ::1 at 2019-04-12 12:42:15 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"nz/UBFCzBKR7uWz27ury50v2pVQcPnhm7BC7xTGiZQXwbHa1w2Zc3p25ftYTAhL5hyUwH3fk28wvPV/LFxfk+g==", "task"=>{"name"=>"test3 - updated", "description"=>"babynose"}, "commit"=>"Update Task", "id"=>"4"}
+ [1m[36mTask Load (1.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:54
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[36mTask Update (0.6ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "test3 - updated"], ["updated_at", "2019-04-12 19:42:15.124294"], ["id", 4]]
+ ↳ app/controllers/tasks_controller.rb:55
+ [1m[35m (41.8ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:55
+Redirected to http://localhost:3000/tasks/4
+Completed 302 Found in 50ms (ActiveRecord: 43.7ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-12 12:42:15 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 23ms (Views: 18.9ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 12:50:31 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (11.7ms)
+Completed 200 OK in 42ms (Views: 32.8ms | ActiveRecord: 5.4ms)
+
+
+Started GET "/tasks/7" for ::1 at 2019-04-12 12:50:36 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 37ms (Views: 27.2ms | ActiveRecord: 3.0ms)
+
+
+Started GET "/tasks/7/edit" for ::1 at 2019-04-12 12:50:41 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"7"}
+ [1m[36mTask Load (1.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 7], ["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.5ms)
+Completed 200 OK in 43ms (Views: 37.0ms | ActiveRecord: 1.2ms)
+
+
+Started PATCH "/tasks/7" for ::1 at 2019-04-12 12:50:46 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"QBu0du8/GoUOpPdrXt7qgpum0qOAa8MBF18mLgNgW+9CJ56AiRN26CIwwDLMKY8vju6DS/C8TLUr3hkxWl3PpA==", "task"=>{"name"=>"New Test 1 - updated", "description"=>"hello world"}, "commit"=>"Update Task", "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:54
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:57
+ [1m[36mTask Update (1.7ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "New Test 1 - updated"], ["updated_at", "2019-04-12 19:50:46.978486"], ["id", 7]]
+ ↳ app/controllers/tasks_controller.rb:57
+ [1m[35m (41.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:57
+Redirected to http://localhost:3000/tasks/7
+Completed 302 Found in 50ms (ActiveRecord: 43.9ms)
+
+
+Started GET "/tasks/7" for ::1 at 2019-04-12 12:50:47 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 22ms (Views: 19.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 12:50:49 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 45ms (Views: 40.2ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 13:17:06 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 40ms (Views: 36.7ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/5" for ::1 at 2019-04-12 14:09:38 -0700
+Processing by TasksController#show 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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 31ms (Views: 26.7ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/5/edit" for ::1 at 2019-04-12 14:09:41 -0700
+Processing by TasksController#edit 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:46
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (5.3ms)
+Completed 200 OK in 45ms (Views: 39.9ms | ActiveRecord: 0.2ms)
+
+
+Started PATCH "/tasks/5" for ::1 at 2019-04-12 14:09:54 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"aSfmeEgwwaU9DnP5KKSjqFi4jo26gQ0qNv8IZYr5vb1/2XqGF9KaZzModzUxr+CSHjjiHO2WM2viwZS1yOr9uA==", "task"=>{"name"=>"hi Faiza", "description"=>"no ride share!!!!"}, "commit"=>"Update Task", "id"=>"5"}
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 5], ["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, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "hi Faiza"], ["description", "no ride share!!!!"], ["updated_at", "2019-04-12 21:09:54.515995"], ["id", 5]]
+ ↳ app/controllers/tasks_controller.rb:57
+ [1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:57
+Redirected to http://localhost:3000/tasks/5
+Completed 302 Found in 8ms (ActiveRecord: 3.3ms)
+
+
+Started GET "/tasks/5" for ::1 at 2019-04-12 14:09:54 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 26ms (Views: 20.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 14:09: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 39ms (Views: 35.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/999" for ::1 at 2019-04-12 14:42:56 -0700
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/better_errors-2.5.1/lib/better_errors/middleware.rb:84
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+Redirected to http://localhost:3000/
+Completed 302 Found in 11ms (ActiveRecord: 1.8ms)
+
+
+Started GET "/" for ::1 at 2019-04-12 14:42: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (12.4ms)
+Completed 200 OK in 198ms (Views: 193.1ms | ActiveRecord: 2.7ms)
+
+
+Started GET "/" for ::1 at 2019-04-12 14:43:07 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 25ms (Views: 22.3ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/6" for ::1 at 2019-04-12 14:43:09 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 42ms (Views: 35.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/999" for ::1 at 2019-04-12 14:43:16 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+Redirected to http://localhost:3000/
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-12 14:43:16 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (5.0ms)
+Completed 200 OK in 28ms (Views: 24.9ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-12 15:01:28 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 56ms (Views: 23.3ms | ActiveRecord: 6.1ms)
+
+
+Started GET "/tasks/4/edit" for ::1 at 2019-04-12 15:01:31 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (3.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:46
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (14.9ms)
+Completed 200 OK in 50ms (Views: 39.7ms | ActiveRecord: 3.0ms)
+
+
+Started PATCH "/tasks/4" for ::1 at 2019-04-12 15:01:46 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZM575yCNNdoBjhAT7YMBCfzmQUDRTBgLUqPVlMD8ZL8LndlWs1htoOeOAjMQa+EXMDXUC7qWu6GRjjGa5knlQA==", "task"=>{"name"=>"working on update", "description"=>"babynose"}, "commit"=>"Update Task", "id"=>"4"}
+ [1m[36mTask Load (1.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:54
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:59
+ [1m[36mTask Update (0.8ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "working on update"], ["updated_at", "2019-04-12 22:01:46.473253"], ["id", 4]]
+ ↳ app/controllers/tasks_controller.rb:59
+ [1m[35m (40.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:59
+Redirected to http://localhost:3000/tasks/4
+Completed 302 Found in 52ms (ActiveRecord: 43.0ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-12 15:01:46 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 24ms (Views: 21.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 15:01:50 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (4.3ms)
+Completed 200 OK in 43ms (Views: 38.1ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks/3/destroy" for ::1 at 2019-04-12 15:21:12 -0700
+
+ActionController::RoutingError (No route matches [GET] "/tasks/3/destroy"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/tasks/5" for ::1 at 2019-04-12 15:22:17 -0700
+Processing by TasksController#show 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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 59ms (Views: 25.2ms | ActiveRecord: 7.4ms)
+
+
+Started DELETE "/tasks/5" for ::1 at 2019-04-12 15:22:20 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"U2JrRobF3TLHi2g/a8Ug28HAW7EHoOEUIB6cvxLlQdmNCbSNyBadKlei6K4UqKMfwu8i4dVyM+bH6hBQdR9CbA==", "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:67
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[36mTask Destroy (0.5ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 5]]
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[35m (40.9ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:72
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 47ms (ActiveRecord: 42.1ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 15:22: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 24ms (Views: 20.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/6" for ::1 at 2019-04-12 15:25:52 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (3.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 39ms (Views: 29.6ms | ActiveRecord: 3.5ms)
+
+
+Started DELETE "/tasks/6" for ::1 at 2019-04-12 15:25:54 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"7Ch4EbbFq1GRsSj8+RsEI0hLtcce+sTrTGlbSGdAa/YyQ6fa+BbrSQGYqG2GdofnS2TMl8woFhmrndenALpoQw==", "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:67
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[36mTask Destroy (0.7ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 6]]
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[35m (41.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:72
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 46ms (ActiveRecord: 42.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 15:25: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 21ms (Views: 19.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 15:27: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 31ms (Views: 27.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/3" for ::1 at 2019-04-12 15:27:15 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (1.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 35ms (Views: 28.3ms | ActiveRecord: 1.1ms)
+
+
+Started DELETE "/tasks/3" for ::1 at 2019-04-12 15:27:23 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"pvPQ9gKnusyJwyD34hQAj12ZXuuRYWP/2uU4BJG6BE14mA89THT61BnqoGadeYNLXrYnu0OzsQ09EbTr9kAH+A==", "id"=>"3"}
+ [1m[36mTask Load (2.8ms)[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:72
+ [1m[36mTask Destroy (1.6ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 3]]
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[35m (40.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:72
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 49ms (ActiveRecord: 44.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 15:27: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 21ms (Views: 18.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/7" for ::1 at 2019-04-12 15:27:30 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"7"}
+ [1m[36mTask Load (13.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 51ms (Views: 32.9ms | ActiveRecord: 13.9ms)
+
+
+Started DELETE "/tasks/7" for ::1 at 2019-04-12 15:27:49 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"BvK/5/0LFnnT0alItTI2ya/oTbvauaUDQ2s57MkH5MzYmWAss9hWYUP4KdnKX7UNrMc06whrd/Gkn7UDrv3neQ==", "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:67
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[36mTask Destroy (0.5ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 7]]
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[35m (41.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:72
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 48ms (ActiveRecord: 42.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 15:27: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 23ms (Views: 19.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-12 15:29: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.8ms)
+Completed 200 OK in 29ms (Views: 25.2ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-12 15:29:34 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"XAbOOUHRMC1wvIe6dH5KoUcuKe0qGZBTGxv4SrkbNh+CbRHyDwJwNeCVBysLE8llRAFQvfjLQqH873Sl3uE1qg==", "task"=>{"name"=>"test 1", "description"=>"hello"}, "commit"=>"Save Task"}
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:34
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "test 1"], ["description", "hello"], ["created_at", "2019-04-12 22:29:34.779284"], ["updated_at", "2019-04-12 22:29:34.779284"]]
+ ↳ app/controllers/tasks_controller.rb:34
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:34
+Redirected to http://localhost:3000/tasks/8
+Completed 302 Found in 6ms (ActiveRecord: 2.0ms)
+
+
+Started GET "/tasks/8" for ::1 at 2019-04-12 15:29:34 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"8"}
+ [1m[36mTask Load (0.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 27ms (Views: 21.6ms | ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks/8" for ::1 at 2019-04-12 15:29:40 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"8"}
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 23ms (Views: 18.9ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-12 15:29: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.2ms)
+Completed 200 OK in 38ms (Views: 35.1ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-12 15:29:52 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"YTl1H1Uyers5Yc60GYmm13zECdi2MDekUdpSeLrj7ci/UqrUG+E6o6lITiVm5CUTf+twiGTi5Va2Lt6X3RnufQ==", "task"=>{"name"=>"test 2", "description"=>"bye!"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:34
+ [1m[36mTask Create (0.8ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "test 2"], ["description", "bye!"], ["created_at", "2019-04-12 22:29:52.954534"], ["updated_at", "2019-04-12 22:29:52.954534"]]
+ ↳ app/controllers/tasks_controller.rb:34
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:34
+Redirected to http://localhost:3000/tasks/9
+Completed 302 Found in 5ms (ActiveRecord: 1.4ms)
+
+
+Started GET "/tasks/9" for ::1 at 2019-04-12 15:29:52 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 25ms (Views: 20.0ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 15:29:55 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 41ms (Views: 34.4ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 15:31: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 31ms (Views: 27.7ms | ActiveRecord: 0.3ms)
+
+
diff --git a/log/test.log b/log/test.log
index ab94a11c1..10c1b5fd1 100644
--- a/log/test.log
+++ b/log/test.log
@@ -8430,3 +8430,3654 @@ Completed 302 Found in 5ms (ActiveRecord: 1.1ms)
Task: test_0001_must be valid
-----------------------------
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.6ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (3.0ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 15:39:29.317725', '2019-04-12 15:39:29.317725', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 15:39:29.317725', '2019-04-12 15:39:29.317725', DEFAULT)[0m
+ [1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-12 08:39:29 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-12T08:39:29-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 15:39:29.414858"], ["updated_at", "2019-04-12 15:39:29.414858"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 21ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (40.3ms)[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_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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 15:39:29.470239"], ["updated_at", "2019-04-12 15:39:29.470239"]]
+ [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-12 08:39:29 -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 (15.9ms)
+Completed 200 OK in 247ms (Views: 242.0ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.4ms)[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/999/edit" for 127.0.0.1 at 2019-04-12 08:39:29 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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-12 08: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 5ms (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-12 08:39:29 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.4ms)
+ [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-12 08:39: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 8ms (Views: 3.8ms | ActiveRecord: 0.0ms)
+ [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::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-12 08:39:29 -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/
+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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 15:39:29.762099"], ["updated_at", "2019-04-12 15:39:29.762099"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-12 08:39: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 (1.1ms)
+Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 15:39:29.776142"], ["updated_at", "2019-04-12 15:39:29.776142"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (41.6ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "not cleaning"], ["updated_at", "2019-04-12 15:39:29.778695"], ["id", 980190966]]
+ [1m[35m (0.2ms)[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::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.8ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 15:39:41.259090', '2019-04-12 15:39:41.259090', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 15:39:41.259090', '2019-04-12 15:39:41.259090', DEFAULT)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.3ms)[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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 15:39:41.288074"], ["updated_at", "2019-04-12 15:39:41.288074"]]
+ [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-12 08:39:41 -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.7ms)
+Completed 200 OK in 204ms (Views: 196.1ms | ActiveRecord: 0.4ms)
+ [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
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-12 08:39:41 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 15:39:41.572928"], ["updated_at", "2019-04-12 15:39:41.572928"]]
+ [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-12 08:39:41 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-12T08:39:41-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (1.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 15:39:41.598097"], ["updated_at", "2019-04-12 15:39:41.598097"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 21ms (ActiveRecord: 1.6ms)
+ [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (1.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.4ms)[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-12 08:39:41 -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/
+Completed 302 Found in 1ms (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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 15:39:41.619328"], ["updated_at", "2019-04-12 15:39:41.619328"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-12 08:39:41 -0700
+Processing by TasksController#show 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/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 7ms (Views: 3.5ms | ActiveRecord: 0.3ms)
+ [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-12 08:39:41 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 8ms (Views: 4.1ms | ActiveRecord: 1.2ms)
+ [1m[35m (1.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-12 08:39:41 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.6ms)
+ [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
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-12 08:39:41 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.4ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 15:40:12.763036', '2019-04-12 15:40:12.763036', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 15:40:12.763036', '2019-04-12 15:40:12.763036', DEFAULT)[0m
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 15:40:12.847441"], ["updated_at", "2019-04-12 15:40:12.847441"]]
+ [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.6ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "not cleaning"], ["updated_at", "2019-04-12 15:40:12.849577"], ["id", 980190963]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 15:40:12.857959"], ["updated_at", "2019-04-12 15:40:12.857959"]]
+ [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-12 08:40:12 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.4ms)[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 (8.5ms)
+Completed 200 OK in 209ms (Views: 198.5ms | ActiveRecord: 0.6ms)
+ [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/999/edit" for 127.0.0.1 at 2019-04-12 08:40:13 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 15:40:13.085529"], ["updated_at", "2019-04-12 15:40:13.085529"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-12 08:40:13 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.4ms)[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 (2.7ms)
+Completed 200 OK in 10ms (Views: 5.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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-12 08:40:13 -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/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [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.6ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-12 08:40:13 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-12T08:40:13-07:00"}}
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 15:40:13.120569"], ["updated_at", "2019-04-12 15:40:13.120569"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190966
+Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
+ [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.5ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-12 08:40:13 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 8ms (Views: 3.8ms | ActiveRecord: 0.4ms)
+ [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-12 08:40:13 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.4ms)
+ [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-12 08:40: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 8ms (Views: 4.5ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.6ms)[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.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.8ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 15:53:34.775401', '2019-04-12 15:53:34.775401', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 15:53:34.775401', '2019-04-12 15:53:34.775401', DEFAULT)[0m
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-12 08:53:34 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-12T08:53:34-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 15:53:34.820587"], ["updated_at", "2019-04-12 15:53:34.820587"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 13ms (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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-12 08:53:34 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (9.2ms)
+Completed 200 OK in 204ms (Views: 201.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[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-12 08:53: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-12 08:53: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 4ms (Views: 2.6ms | 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/999/edit" for 127.0.0.1 at 2019-04-12 08:53:35 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 15:53:35.064293"], ["updated_at", "2019-04-12 15:53:35.064293"]]
+ [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-12 08:53:35 -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 (2.4ms)
+Completed 200 OK in 8ms (Views: 5.2ms | 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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 15:53:35.079239"], ["updated_at", "2019-04-12 15:53:35.079239"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-12 08:53:35 -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.8ms | ActiveRecord: 0.3ms)
+ [1m[35m (2.6ms)[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-12 08:53:35 -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/
+Completed 302 Found in 1ms (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::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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 15:53:35.101447"], ["updated_at", "2019-04-12 15:53:35.101447"]]
+ [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.5ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "not cleaning"], ["updated_at", "2019-04-12 15:53:35.102942"], ["id", 980190966]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (41.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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (40.9ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 18:43:21.251938', '2019-04-12 18:43:21.251938', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 18:43:21.251938', '2019-04-12 18:43:21.251938', DEFAULT)[0m
+ [1m[35m (2.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-12 11:43:21 -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/
+Completed 302 Found in 8ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.4ms)[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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 18:43:21.359962"], ["updated_at", "2019-04-12 18:43:21.359962"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-12 11:43:21 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.4ms)[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 (2.7ms)
+Completed 200 OK in 191ms (Views: 183.9ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.5ms)[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-12 11:43:21 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-12T11:43:21-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (1.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 18:43:21.565486"], ["updated_at", "2019-04-12 18:43:21.565486"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 6ms (ActiveRecord: 1.8ms)
+ [1m[35m (1.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.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
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-12 11:43:21 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 18:43:21.584649"], ["updated_at", "2019-04-12 18:43:21.584649"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965/edit" for 127.0.0.1 at 2019-04-12 11:43:21 -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 (12.5ms)
+Completed 200 OK in 18ms (Views: 14.4ms | ActiveRecord: 0.2ms)
+ [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-12 11:43: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 6ms (Views: 4.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-12 11:43: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 3ms (Views: 2.0ms | 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-12 11:43:21 -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 9ms (Views: 5.8ms | ActiveRecord: 0.0ms)
+ [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::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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 18:43:21.647994"], ["updated_at", "2019-04-12 18:43:21.647994"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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.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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 18:54:04.511292', '2019-04-12 18:54:04.511292', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 18:54:04.511292', '2019-04-12 18:54:04.511292', DEFAULT)[0m
+ [1m[35m (37.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 18:54:04.579280"], ["updated_at", "2019-04-12 18:54:04.579280"]]
+ [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::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.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 18:54:04.589809"], ["updated_at", "2019-04-12 18:54:04.589809"]]
+ [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-12 11:54:04 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (2.4ms)[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 (12.3ms)
+Completed 200 OK in 168ms (Views: 155.1ms | ActiveRecord: 2.5ms)
+ [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
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-12 11:54:04 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-12 11:54:04 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 7ms (Views: 3.6ms | ActiveRecord: 0.5ms)
+ [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-12 11: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms)
+ [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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 18:54:04.790712"], ["updated_at", "2019-04-12 18:54:04.790712"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-12 11:54:04 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.4ms)[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 (1.3ms)
+Completed 200 OK in 7ms (Views: 3.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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-12 11:54:04 -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/
+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::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-12 11:54:04 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-12T11:54:04-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 18:54:04.813205"], ["updated_at", "2019-04-12 18:54:04.813205"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190966
+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 (1.0ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[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-12 11: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 (1.4ms)
+Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (3.1ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 18:57:18.466895', '2019-04-12 18:57:18.466895', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 18:57:18.466895', '2019-04-12 18:57:18.466895', DEFAULT)[0m
+ [1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.9ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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-12 11: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (9.0ms)
+Completed 200 OK in 151ms (Views: 144.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-12 11: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms)
+ [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
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-12 11:57:18 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (5.9ms)
+Completed 200 OK in 9ms (Views: 7.3ms | 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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-12 11:57:18 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-12T11:57:18-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 18:57:18.686691"], ["updated_at", "2019-04-12 18:57:18.686691"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 4ms (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.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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 18:57:18.722499"], ["updated_at", "2019-04-12 18:57:18.722499"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-12 11:57:18 -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.8ms)
+Completed 200 OK in 5ms (Views: 2.0ms | 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-12 11:57: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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 18:57:18.739706"], ["updated_at", "2019-04-12 18:57:18.739706"]]
+ [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-12 11:57:18 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.9ms)[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.1ms)
+Completed 200 OK in 9ms (Views: 3.4ms | ActiveRecord: 0.9ms)
+ [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/999/edit" for 127.0.0.1 at 2019-04-12 11:57:18 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (1.9ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 18:57:18.767181"], ["updated_at", "2019-04-12 18:57:18.767181"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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.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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 18:57:30.207432', '2019-04-12 18:57:30.207432', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 18:57:30.207432', '2019-04-12 18:57:30.207432', DEFAULT)[0m
+ [1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[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-12 11:57:30 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-12T11:57:30-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 18:57:30.251873"], ["updated_at", "2019-04-12 18:57:30.251873"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 14ms (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::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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 18:57:30.260700"], ["updated_at", "2019-04-12 18:57:30.260700"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-12 11:57:30 -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 (3.1ms)
+Completed 200 OK in 195ms (Views: 191.3ms | 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-12 11:57:30 -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/
+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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-12 11:57:30 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 8ms (Views: 4.5ms | ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[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-12 11:57: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"[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::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 18:57:30.486236"], ["updated_at", "2019-04-12 18:57:30.486236"]]
+ [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-12 11:57:30 -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 (6.9ms)
+Completed 200 OK in 11ms (Views: 7.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/999/edit" for 127.0.0.1 at 2019-04-12 11:57:30 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 18:57:30.511706"], ["updated_at", "2019-04-12 18:57:30.511706"]]
+ [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::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.3ms)[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-12 11:57:30 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (41.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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (1.0ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 21:07:12.834274', '2019-04-12 21:07:12.834274', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 21:07:12.834274', '2019-04-12 21:07:12.834274', DEFAULT)[0m
+ [1m[35m (42.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[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 GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-12 14:07:12 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 8ms (ActiveRecord: 0.5ms)
+ [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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 21:07:12.939970"], ["updated_at", "2019-04-12 21:07:12.939970"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963/edit" for 127.0.0.1 at 2019-04-12 14:07:12 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.4ms)[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 (13.5ms)
+Completed 200 OK in 211ms (Views: 206.2ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.4ms)[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-12 14:07:13 -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 7ms (Views: 4.5ms | 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-12 14:07:13 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.4ms)
+ [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-12 14:07: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"[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
+-----------------------------
+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.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:07:13.188912"], ["updated_at", "2019-04-12 21:07:13.188912"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-12 14:07:13 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.5ms)[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 7ms (Views: 1.7ms | 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-12 14:07:13 -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/
+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::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-12 14:07:13 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-12T14:07:13-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 21:07:13.217738"], ["updated_at", "2019-04-12 21:07:13.217738"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+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 (1.3ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 21:07:13.235848"], ["updated_at", "2019-04-12 21:07:13.235848"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 14:07:13 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"980190966"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190966], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (1.0ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-12 21:07:13.241132"], ["id", 980190966]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190966
+Completed 302 Found in 7ms (ActiveRecord: 1.7ms)
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190966], ["LIMIT", 1]]
+ [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.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (1.2ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 21:27:45.660008', '2019-04-12 21:27:45.660008', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 21:27:45.660008', '2019-04-12 21:27:45.660008', DEFAULT)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:27:45.688832"], ["updated_at", "2019-04-12 21:27:45.688832"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-12 14:27: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 (1.5ms)
+Completed 200 OK in 204ms (Views: 195.9ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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-12 14:27:45 -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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (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.2ms)[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-12 14:27:45 -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 15ms (Views: 11.2ms | 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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 21:27:45.935983"], ["updated_at", "2019-04-12 21:27:45.935983"]]
+ [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-12 14:27:45 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.4ms)[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.6ms)
+Completed 200 OK in 9ms (Views: 2.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/999/edit" for 127.0.0.1 at 2019-04-12 14:27:45 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (1.5ms)[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-12 14:27: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 5ms (Views: 2.3ms | 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-12 14:27: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 6ms (Views: 4.3ms | 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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-12 14:27:45 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-12T14:27:45-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.7ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 21:27:45.988227"], ["updated_at", "2019-04-12 21:27:45.988227"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 5ms (ActiveRecord: 1.2ms)
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (1.1ms)[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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 21:27:45.999902"], ["updated_at", "2019-04-12 21:27:45.999902"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 14:27:46 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"980190966"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190966], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.6ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-12 21:27:46.004724"], ["id", 980190966]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190966
+Completed 302 Found in 7ms (ActiveRecord: 1.3ms)
+ [1m[36mTask Load (1.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190966], ["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 GET "/tasks/999" for 127.0.0.1 at 2019-04-12 14:27:46 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 21:28:08.204198', '2019-04-12 21:28:08.204198', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 21:28:08.204198', '2019-04-12 21:28:08.204198', DEFAULT)[0m
+ [1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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-12 14:28: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (11.2ms)
+Completed 200 OK in 210ms (Views: 200.1ms | 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-12 14:28: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started GET "/tasks/999" for 127.0.0.1 at 2019-04-12 14:28:08 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/
+Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
+ [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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.9ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 21:28:08.476126"], ["updated_at", "2019-04-12 21:28:08.476126"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 14:28:08 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"980190963"}
+ [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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-12 21:28:08.487448"], ["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 4ms (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.2ms)[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.8ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:28:08.495721"], ["updated_at", "2019-04-12 21:28:08.495721"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-12 14:28:08 -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 4ms (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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-12 14:28: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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-12 14:28:08 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 21:28:08.524066"], ["updated_at", "2019-04-12 21:28:08.524066"]]
+ [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-12 14:28:08 -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 (5.1ms)
+Completed 200 OK in 11ms (Views: 6.4ms | 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 (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-12 14:28:08 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-12T14:28:08-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 21:28:08.551391"], ["updated_at", "2019-04-12 21:28:08.551391"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190966
+Completed 302 Found in 4ms (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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-12 14:28:08 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (4.0ms)
+Completed 200 OK in 9ms (Views: 5.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 21:29:27.676644', '2019-04-12 21:29:27.676644', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 21:29:27.676644', '2019-04-12 21:29:27.676644', DEFAULT)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:29:27.710389"], ["updated_at", "2019-04-12 21:29:27.710389"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-12 14:29:27 -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.7ms)
+Completed 200 OK in 203ms (Views: 194.2ms | 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-12 14:29:27 -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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[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-12 14:29:27 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (8.7ms)
+Completed 200 OK in 15ms (Views: 10.9ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 21:29:27.958025"], ["updated_at", "2019-04-12 21:29:27.958025"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 14:29:27 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "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.4ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-12 21:29:27.964964"], ["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: 1.0ms)
+ [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.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 GET "/tasks/999" for 127.0.0.1 at 2019-04-12 14:29:27 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/
+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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 21:29:27.976280"], ["updated_at", "2019-04-12 21:29:27.976280"]]
+ [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-12 14:29:27 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.4ms)[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.9ms | 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/999/edit" for 127.0.0.1 at 2019-04-12 14:29:27 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (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-12 14:29:27 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-12T14:29:27-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 21:29:27.994442"], ["updated_at", "2019-04-12 21:29:27.994442"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190966
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.4ms)[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-12 14:29: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 6ms (Views: 2.7ms | 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-12 14:29:28 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.2ms)
+ [1m[35m (1.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.4ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.9ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 21:29:48.861806', '2019-04-12 21:29:48.861806', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 21:29:48.861806', '2019-04-12 21:29:48.861806', DEFAULT)[0m
+ [1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[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-12 14:29:48 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (7.1ms)
+Completed 200 OK in 197ms (Views: 184.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[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.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 21:29:49.093112"], ["updated_at", "2019-04-12 21:29:49.093112"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 14:29:49 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"980190963"}
+ [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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-12 21:29:49.107708"], ["id", 980190963]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 10ms (ActiveRecord: 1.5ms)
+ [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::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started GET "/tasks/999" for 127.0.0.1 at 2019-04-12 14:29:49 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/
+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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:29:49.123895"], ["updated_at", "2019-04-12 21:29:49.123895"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-12 14:29:49 -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.8ms)
+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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-12 14:29:49 -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/
+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-12 14:29:49 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 9ms (Views: 5.0ms | 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-12 14:29:49 -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"[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::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-12 14:29:49 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [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.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (1.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 21:29:49.164132"], ["updated_at", "2019-04-12 21:29:49.164132"]]
+ [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-12 14:29:49 -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.3ms)
+Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.2ms)
+ [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.9ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-12 14:29:49 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-12T14:29:49-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 21:29:49.185393"], ["updated_at", "2019-04-12 21:29:49.185393"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190966
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (1.0ms)[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.9ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.3ms)[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 (2.1ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.3ms)[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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 21:30:53.748754', '2019-04-12 21:30:53.748754', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 21:30:53.748754', '2019-04-12 21:30:53.748754', DEFAULT)[0m
+ [1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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-12 14:30: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (9.9ms)
+Completed 200 OK in 187ms (Views: 180.6ms | 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-12 14:30:53 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.8ms)
+ [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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.8ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 21:30:53.982025"], ["updated_at", "2019-04-12 21:30:53.982025"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963/edit" for 127.0.0.1 at 2019-04-12 14:30:53 -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 (8.7ms)
+Completed 200 OK in 15ms (Views: 11.1ms | 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/999/edit" for 127.0.0.1 at 2019-04-12 14:30:54 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (2.1ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-12 14:30:54 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-12T14:30:54-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 21:30:54.020036"], ["updated_at", "2019-04-12 21:30:54.020036"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-12 14:30:54 -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 10ms (Views: 5.7ms | ActiveRecord: 0.0ms)
+ [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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:30:54.039467"], ["updated_at", "2019-04-12 21:30:54.039467"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-12 14:30:54 -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 (1.4ms)
+Completed 200 OK in 9ms (Views: 3.6ms | 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-12 14:30:54 -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/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [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.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (1.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 21:30:54.061303"], ["updated_at", "2019-04-12 21:30:54.061303"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 14:30:54 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"980190966"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190966], ["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, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-12 21:30:54.071180"], ["id", 980190966]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190966
+Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190966], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started GET "/tasks/999" for 127.0.0.1 at 2019-04-12 14:30:54 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 21:31:10.478726', '2019-04-12 21:31:10.478726', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 21:31:10.478726', '2019-04-12 21:31:10.478726', DEFAULT)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[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-12 14:31: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (8.7ms)
+Completed 200 OK in 189ms (Views: 181.8ms | 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-12 14:31: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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-12 14:31:10 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (1.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/
+Completed 302 Found in 5ms (ActiveRecord: 1.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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:31:10.721958"], ["updated_at", "2019-04-12 21:31:10.721958"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-12 14:31:10 -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.5ms)
+Completed 200 OK in 9ms (Views: 4.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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-12 14:31:10 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-12T14:31:10-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.8ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 21:31:10.742197"], ["updated_at", "2019-04-12 21:31:10.742197"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 4ms (ActiveRecord: 1.2ms)
+ [1m[35m (0.9ms)[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.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-12 14:31:10 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (9.7ms)
+Completed 200 OK in 14ms (Views: 11.8ms | ActiveRecord: 0.0ms)
+ [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::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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 21:31:10.773331"], ["updated_at", "2019-04-12 21:31:10.773331"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 14:31:10 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"980190965"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-12 21:31:10.782089"], ["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 8ms (ActiveRecord: 1.2ms)
+ [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 GET "/tasks/999" for 127.0.0.1 at 2019-04-12 14:31:10 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 21:31:10.800035"], ["updated_at", "2019-04-12 21:31:10.800035"]]
+ [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-12 14:31:10 -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 (1.2ms)
+Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.2ms)
+ [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
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-12 14:31:10 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (1.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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (2.3ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 21:45:18.291854', '2019-04-12 21:45:18.291854', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 21:45:18.291854', '2019-04-12 21:45:18.291854', 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 "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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-12 14:45: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (10.1ms)
+Completed 200 OK in 213ms (Views: 203.5ms | 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-12 14:45:18 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/999" for 127.0.0.1 at 2019-04-12 14:45:18 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (1.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Completed 400 Bad Request in 9ms (ActiveRecord: 2.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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 21:45:18.567209"], ["updated_at", "2019-04-12 21:45:18.567209"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 14:45:18 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"980190963"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-12 21:45:18.578349"], ["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 7ms (ActiveRecord: 1.3ms)
+ [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
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[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-12 14:45:18 -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 11ms (Views: 6.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.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 21:45:18.613505"], ["updated_at", "2019-04-12 21:45:18.613505"]]
+ [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-12 14:45:18 -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 (3.7ms)
+Completed 200 OK in 11ms (Views: 6.6ms | ActiveRecord: 0.3ms)
+ [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
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-12 14:45:18 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (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.5ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-12 14:45:18 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-12T14:45:18-07:00"}}
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.8ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 21:45:18.642988"], ["updated_at", "2019-04-12 21:45:18.642988"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 7ms (ActiveRecord: 1.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.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:45:18.651920"], ["updated_at", "2019-04-12 21:45:18.651920"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-12 14:45:18 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190966"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190966], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 7ms (Views: 1.7ms | 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-12 14:45: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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[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.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 21:46:17.653963', '2019-04-12 21:46:17.653963', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 21:46:17.653963', '2019-04-12 21:46:17.653963', DEFAULT)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[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-12 14:46:17 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-12T14:46:17-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 21:46:17.696076"], ["updated_at", "2019-04-12 21:46:17.696076"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 13ms (ActiveRecord: 0.5ms)
+ [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::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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 21:46:17.705435"], ["updated_at", "2019-04-12 21:46:17.705435"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 14:46:17 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"980190964"}
+ [1m[36mTask Load (0.4ms)[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, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-12 21:46:17.714736"], ["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 7ms (ActiveRecord: 1.0ms)
+ [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/999?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 14:46:17 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[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-12 14:46:17 -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 207ms (Views: 204.5ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[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-12 14:46: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 9ms (Views: 5.5ms | 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-12 14:46: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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-12 14:46:17 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (1.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/
+Completed 302 Found in 3ms (ActiveRecord: 1.0ms)
+ [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.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:46:17.972477"], ["updated_at", "2019-04-12 21:46:17.972477"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-12 14:46:17 -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 (2.0ms)
+Completed 200 OK in 7ms (Views: 3.8ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.6ms)[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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 21:46:17.989579"], ["updated_at", "2019-04-12 21:46:17.989579"]]
+ [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-12 14:46:17 -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 (2.3ms)
+Completed 200 OK in 8ms (Views: 4.5ms | ActiveRecord: 0.3ms)
+ [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
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-12 14:46:18 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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.6ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 21:54:13.852550', '2019-04-12 21:54:13.852550', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 21:54:13.852550', '2019-04-12 21:54:13.852550', DEFAULT)[0m
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 21:54:13.880944"], ["updated_at", "2019-04-12 21:54:13.880944"]]
+ [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-12 14:54:13 -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.9ms)
+Completed 200 OK in 197ms (Views: 188.6ms | ActiveRecord: 0.6ms)
+ [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/999/edit" for 127.0.0.1 at 2019-04-12 14:54:14 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-12 14:54:14 -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/
+Completed 302 Found in 2ms (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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:54:14.102081"], ["updated_at", "2019-04-12 21:54:14.102081"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-12 14:54:14 -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.1ms)
+Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[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-12 14:54:14 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-12T14:54:14-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 21:54:14.121826"], ["updated_at", "2019-04-12 21:54:14.121826"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.4ms)[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.5ms)[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
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 21:54:14.134123"], ["updated_at", "2019-04-12 21:54:14.134123"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 14:54:14 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"980190966"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190966], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-12 21:54:14.139749"], ["id", 980190966]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190966
+Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190966], ["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/999?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 14:54:14 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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-12 14:54:14 -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 7ms (Views: 4.5ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.5ms)[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-12 14:54:14 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[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-12 14:54:14 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.7ms)
+ [1m[35m (0.2ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 21:56:15.330600', '2019-04-12 21:56:15.330600', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 21:56:15.330600', '2019-04-12 21:56:15.330600', DEFAULT)[0m
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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-12 14:56:15 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (6.3ms)
+Completed 200 OK in 181ms (Views: 169.1ms | 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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 21:56:15.554784"], ["updated_at", "2019-04-12 21:56:15.554784"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 14:56:15 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "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.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-12 21:56:15.566331"], ["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 9ms (ActiveRecord: 1.1ms)
+ [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/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 14:56:15 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [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-12 14:56:15 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-12T14:56:15-07:00"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 21:56:15.583014"], ["updated_at", "2019-04-12 21:56:15.583014"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+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::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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 21:56:15.590525"], ["updated_at", "2019-04-12 21:56:15.590525"]]
+ [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-12 14:56:15 -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 (1.6ms)
+Completed 200 OK in 8ms (Views: 3.4ms | 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/999/edit" for 127.0.0.1 at 2019-04-12 14:56:15 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:56:15.607978"], ["updated_at", "2019-04-12 21:56:15.607978"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-12 14:56:15 -0700
+Processing by TasksController#show 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/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+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::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-12 14:56:15 -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/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [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-12 14:56: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 7ms (Views: 2.7ms | ActiveRecord: 0.3ms)
+ [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-12 14:56:15 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.4ms)
+ [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.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[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[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-12 22:06:08.142182"], ["updated_at", "2019-04-12 22:06:08.142182"]]
+ [1m[35m (40.9ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.6ms)[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[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-12 22:09:30.420530"], ["updated_at", "2019-04-12 22:09:30.420530"]]
+ [1m[35m (23.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.7ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 22:10:37.592879', '2019-04-12 22:10:37.592879', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 22:10:37.592879', '2019-04-12 22:10:37.592879', DEFAULT)[0m
+ [1m[35m (40.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[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::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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 22:10:37.665904"], ["updated_at", "2019-04-12 22:10:37.665904"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-12 15:10:37 -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 (2.2ms)
+Completed 200 OK in 231ms (Views: 218.6ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.3ms)[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-12 15:10:37 -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/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[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-12 15:10:37 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (10.8ms)
+Completed 200 OK in 14ms (Views: 12.3ms | 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.7ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-12 15:10:37 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-12T15:10:37-07:00"}}
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 22:10:37.942713"], ["updated_at", "2019-04-12 22:10:37.942713"]]
+ [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[35m (0.4ms)[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_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 15:10:37 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
+ [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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (1.1ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 22:10:37.956968"], ["updated_at", "2019-04-12 22:10:37.956968"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 15:10:37 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "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.4ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-12 22:10:37.963023"], ["id", 980190965]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[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-12 15:10:37 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.2ms)
+ [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-12 15:10:37 -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"[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_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 22:10:37.986492"], ["updated_at", "2019-04-12 22:10:37.986492"]]
+ [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-12 15:10:37 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190966"}
+ [1m[36mTask Load (0.5ms)[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.4ms)
+Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.5ms)
+ [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
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-12 15:10:38 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::destroy: test_0001_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-12 22:10:38.008392"], ["updated_at", "2019-04-12 22:10:38.008392"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190967" for 127.0.0.1 at 2019-04-12 15:10:38 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["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", 980190967]]
+ [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.2ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 22:10:44.372527', '2019-04-12 22:10:44.372527', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 22:10:44.372527', '2019-04-12 22:10:44.372527', DEFAULT)[0m
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 22:10:44.399270"], ["updated_at", "2019-04-12 22:10:44.399270"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 15:10:44 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "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, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-12 22:10:44.416246"], ["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 11ms (ActiveRecord: 1.0ms)
+ [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/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 15:10:44 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::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-12 15:10:44 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-12T15:10:44-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 22:10:44.441729"], ["updated_at", "2019-04-12 22:10:44.441729"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.6ms)[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::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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 22:10:44.450325"], ["updated_at", "2019-04-12 22:10:44.450325"]]
+ [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-12 15:10:44 -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 (9.2ms)
+Completed 200 OK in 206ms (Views: 203.1ms | ActiveRecord: 0.3ms)
+ [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
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-12 15:10:44 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-12 15:10:44 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.2ms)
+ [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-12 15:10: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"[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.2ms)[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.9ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 22:10:44.685485"], ["updated_at", "2019-04-12 22:10:44.685485"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-12 15:10:44 -0700
+Processing by TasksController#show 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/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 6ms (Views: 2.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-12 15:10:44 -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/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[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-12 15:10: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.8ms)
+Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-12 22:10:44.716103"], ["updated_at", "2019-04-12 22:10:44.716103"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190967" for 127.0.0.1 at 2019-04-12 15:10:44 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["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", 980190967]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.3ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [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.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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 22:11:16.056061', '2019-04-12 22:11:16.056061', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 22:11:16.056061', '2019-04-12 22:11:16.056061', DEFAULT)[0m
+ [1m[35m (40.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-12 15:11:16 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-12T15:11:16-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 22:11:16.137357"], ["updated_at", "2019-04-12 22:11:16.137357"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 13ms (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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-12 15:11:16 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (8.3ms)
+Completed 200 OK in 191ms (Views: 187.5ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-12 22:11:16.342984"], ["updated_at", "2019-04-12 22:11:16.342984"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-12 15:11:16 -0700
+Processing by TasksController#destroy 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]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 980190964]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 6ms (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.2ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 15:11:16 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (1.1ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 22:11:16.362306"], ["updated_at", "2019-04-12 22:11:16.362306"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 15:11:16 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"980190965"}
+ [1m[36mTask Load (0.4ms)[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.4ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-12 22:11:16.371766"], ["id", 980190965]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 6ms (ActiveRecord: 1.1ms)
+ [1m[36mTask Load (0.3ms)[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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-12 15:11: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.7ms)[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-12 15:11: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 3ms (Views: 2.2ms | 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 22:11:16.402228"], ["updated_at", "2019-04-12 22:11:16.402228"]]
+ [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-12 15:11:16 -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.3ms)
+Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[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
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-12 15:11:16 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (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.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-12 15:11:16 -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/
+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.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 22:11:16.428450"], ["updated_at", "2019-04-12 22:11:16.428450"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190967" for 127.0.0.1 at 2019-04-12 15:11:16 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["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: 1.9ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 22:14:41.090419', '2019-04-12 22:14:41.090419', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 22:14:41.090419', '2019-04-12 22:14:41.090419', DEFAULT)[0m
+ [1m[35m (42.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-12 22:14:41.156803"], ["updated_at", "2019-04-12 22:14:41.156803"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-12 15:14:41 -0700
+Processing by TasksController#destroy 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]]
+ [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", 980190963]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 9ms (ActiveRecord: 1.0ms)
+ [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 a 404 if the task is not found
+--------------------------------------------------------------------------
+Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-12 15:14:41 -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[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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-12 15:14:41 -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/
+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::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" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 22:14:41.195342"], ["updated_at", "2019-04-12 22:14:41.195342"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-12 15:14:41 -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 (3.8ms)
+Completed 200 OK in 182ms (Views: 178.2ms | ActiveRecord: 0.3ms)
+ [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
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-12 15:14:41 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 22:14:41.391814"], ["updated_at", "2019-04-12 22:14:41.391814"]]
+ [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-12 15:14:41 -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 (12.3ms)
+Completed 200 OK in 20ms (Views: 14.2ms | 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.6ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-12 15:14:41 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-12T15:14:41-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 22:14:41.424214"], ["updated_at", "2019-04-12 22:14:41.424214"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190966
+Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
+ [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.3ms)[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-12 15:14:41 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.0ms)
+ [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-12 15:14: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 6ms (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_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-12 15:14: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"[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.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.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 22:14:41.459889"], ["updated_at", "2019-04-12 22:14:41.459889"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 15:14:41 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"980190967"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.6ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-12 22:14:41.467009"], ["id", 980190967]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190967
+Completed 302 Found in 5ms (ActiveRecord: 1.1ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["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/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 15:14:41 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[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.5ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 22:14:56.100698', '2019-04-12 22:14:56.100698', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 22:14:56.100698', '2019-04-12 22:14:56.100698', DEFAULT)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.7ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 22:14:56.131160"], ["updated_at", "2019-04-12 22:14:56.131160"]]
+ [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-12 15:14:56 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.4ms)[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 (6.8ms)
+Completed 200 OK in 174ms (Views: 165.1ms | ActiveRecord: 0.6ms)
+ [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/999/edit" for 127.0.0.1 at 2019-04-12 15:14:56 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-12 15:14:56 -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/
+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.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 22:14:56.326802"], ["updated_at", "2019-04-12 22:14:56.326802"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-12 15:14:56 -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.9ms)
+Completed 200 OK in 10ms (Views: 3.2ms | 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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-12 15:14:56 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-12T15:14:56-07:00"}}
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 22:14:56.351609"], ["updated_at", "2019-04-12 22:14:56.351609"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 22ms (ActiveRecord: 1.0ms)
+ [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 a 404 if the task is not found
+--------------------------------------------------------------------------
+Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-12 15:14:56 -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[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-12 22:14:56.382798"], ["updated_at", "2019-04-12 22:14:56.382798"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190966" for 127.0.0.1 at 2019-04-12 15:14:56 -0700
+Processing by TasksController#destroy 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]]
+ [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", 980190966]]
+ [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.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-12 15:14: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 7ms (Views: 4.5ms | 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-12 15:14:56 -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"[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
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-12 15:14:56 -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 9ms (Views: 4.5ms | ActiveRecord: 0.0ms)
+ [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.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 22:14:56.424927"], ["updated_at", "2019-04-12 22:14:56.424927"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 15:14:56 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"980190967"}
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (2.5ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-12 22:14:56.430397"], ["id", 980190967]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190967
+Completed 302 Found in 12ms (ActiveRecord: 4.1ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 15:14:56 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[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 "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "tasks" 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", "name", "description", "created_at", "updated_at", "completed_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-12 22:15:06.783517', '2019-04-12 22:15:06.783517', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-12 22:15:06.783517', '2019-04-12 22:15:06.783517', DEFAULT)[0m
+ [1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "tasks" 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-12 15:15: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (8.2ms)
+Completed 200 OK in 182ms (Views: 176.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-12 15:15: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[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.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-12 22:15:07.006557"], ["updated_at", "2019-04-12 22:15:07.006557"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 15:15:07 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "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, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-12 22:15:07.014803"], ["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.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/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-12 15:15:07 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (1.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 1.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-12 15:15:07 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (10.4ms)
+Completed 200 OK in 14ms (Views: 11.7ms | ActiveRecord: 0.0ms)
+ [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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-12 22:15:07.051027"], ["updated_at", "2019-04-12 22:15:07.051027"]]
+ [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-12 15:15:07 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.4ms)[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 (3.9ms)
+Completed 200 OK in 11ms (Views: 6.5ms | 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/999/edit" for 127.0.0.1 at 2019-04-12 15:15:07 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-12 15:15:07 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed_at"=>"2019-04-12T15:15:07-07:00"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 22:15:07.082523"], ["updated_at", "2019-04-12 22:15:07.082523"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 22:15:07.090460"], ["updated_at", "2019-04-12 22:15:07.090460"], ["completed_at", "4713-01-01 00:00:00 BC"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-12 15:15:07 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190966"}
+ [1m[36mTask Load (1.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190966], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 8ms (Views: 2.2ms | ActiveRecord: 1.0ms)
+ [1m[35m (0.3ms)[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-12 15:15:07 -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/
+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_0002_returns a 404 if the task is not found
+--------------------------------------------------------------------------
+Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-12 15:15: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.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-12 22:15:07.118357"], ["updated_at", "2019-04-12 22:15:07.118357"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190967" for 127.0.0.1 at 2019-04-12 15:15:07 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["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", 980190967]]
+ [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.5ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [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 7c43e91d5..6a1ecdbe7 100644
--- a/test/controllers/tasks_controller_test.rb
+++ b/test/controllers/tasks_controller_test.rb
@@ -114,17 +114,32 @@
# thing to test.
it "can update an existing task" do
+ task_hash = {
+ task: {
+ name: "I am not cleaning",
+ description: "new task description",
+ },
+ }
+
new_task = Task.create(name: "cleaning", description: "not fun")
- new_task.update(name: "not cleaning")
+ patch task_path(new_task.id, params: task_hash)
+
+ new_task.reload
expect(new_task["created_at"]).wont_equal new_task["updated_at"]
end
it "will redirect to the root page if given an invalid id" do
- invalid_task_id = 999
+ task_hash = {
+ task: {
+ name: "I am not cleaning",
+ },
+ }
+
+ invalid_id = 999
- patch update_path(invalid_task_id)
+ patch task_path(invalid_id, params: task_hash)
must_redirect_to tasks_path
end
@@ -132,8 +147,29 @@
# Complete these tests for Wave 4
describe "destroy" do
- # Your tests go here
+ it "can delete a task" do
+ # Arrange - Create a task
+ new_task = Task.create(name: "Task to destroy")
+
+ expect {
+
+ # Act
+ delete task_path(new_task.id)
+
+ # Assert
+ }.must_change "Task.count", -1
+
+ must_respond_with :redirect
+ must_redirect_to tasks_path
+ end
+ it "returns a 404 if the task is not found" do
+ invalid_id = "NOT A VALID ID"
+
+ delete task_path(invalid_id)
+
+ must_respond_with :missing
+ end
end
# Complete for Wave 4
From 02dd7da8a906c54c09d9e7d1e5ccfcc11167ad5e Mon Sep 17 00:00:00 2001
From: Heather Izumi
Date: Sat, 13 Apr 2019 20:33:51 -0700
Subject: [PATCH 5/9] Added mark_complete action to TaskController
---
app/assets/stylesheets/tasks.scss | 24 +
app/controllers/tasks_controller.rb | 10 +-
app/views/layouts/application.html.erb | 25 +-
app/views/tasks/index.html.erb | 14 +-
app/views/tasks/show.html.erb | 3 +-
config/routes.rb | 2 +
...413194306_change_completed_at_data_type.rb | 5 +
...190413200430_create_new_completed_field.rb | 5 +
db/schema.rb | 4 +-
log/development.log | 1571 +++++++
log/test.log | 3764 +++++++++++++++++
test/controllers/tasks_controller_test.rb | 16 +-
12 files changed, 5430 insertions(+), 13 deletions(-)
create mode 100644 db/migrate/20190413194306_change_completed_at_data_type.rb
create mode 100644 db/migrate/20190413200430_create_new_completed_field.rb
diff --git a/app/assets/stylesheets/tasks.scss b/app/assets/stylesheets/tasks.scss
index c5e7712d4..843271295 100644
--- a/app/assets/stylesheets/tasks.scss
+++ b/app/assets/stylesheets/tasks.scss
@@ -1,3 +1,27 @@
// Place all the styles related to the Tasks controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
+
+.container {
+ display: grid;
+ grid-template-columns: 50px 1fr;
+ grid-template-rows: 30px auto 30px;
+}
+
+header {
+ grid-row: 1 / 3;
+}
+nav {
+ grid-column: 1;
+ grid-row: 2;
+
+}
+
+main {
+ grid-column: 2;
+ grid-row: 2;
+}
+
+footer {
+ grid-row: 3;
+}
\ No newline at end of file
diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb
index 66658cfdb..ca64092e9 100644
--- a/app/controllers/tasks_controller.rb
+++ b/app/controllers/tasks_controller.rb
@@ -6,7 +6,7 @@ class TasksController < ApplicationController
]
def index
- @tasks = Task.all
+ @tasks = Task.all.order(:name)
end
def show
@@ -74,13 +74,17 @@ def destroy
end
end
- def toggle
+ def mark_complete
+ task = Task.find_by(id: params[:id])
+ task.toggle(:completed)
+ task.save
+ task.touch
end
private
def task_params
- return params.require(:task).permit(:name, :description, :completed_at)
+ return params.require(:task).permit(:name, :description, :completed)
#need to update def create if you want to use this.
#only permitted params can be allowed, so make sure to include what you want
end
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index b9ce64348..c57775369 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -9,7 +9,28 @@
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
-
- <%= yield %>
+
+
+
+
+
+
+ All tasks
+
+
+ Add task
+
+
+
+
+
+ <%= yield %>
+
+
+
diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb
index 64c62b5fe..91b34689f 100644
--- a/app/views/tasks/index.html.erb
+++ b/app/views/tasks/index.html.erb
@@ -6,7 +6,19 @@
-<%= link_to task.name, task_path(task.id) %> : <%= task[:description] %>
+
+
+
+<%= link_to task.name, task_path(task.id) %>
+
+
+<% if task.completed == false %>
+<%= button_to "Mark Complete", mark_complete_path(task.id), method: :patch, class: "complete-button" %>
+
+<%else%>
+<%= button_to "Mark Incomplete", mark_complete_path(task.id), method: :patch, class: "incomplete-button" %>
+
+<%end %>
<% end%>
diff --git a/app/views/tasks/show.html.erb b/app/views/tasks/show.html.erb
index b5839eadc..3a24f4db7 100644
--- a/app/views/tasks/show.html.erb
+++ b/app/views/tasks/show.html.erb
@@ -6,8 +6,9 @@
Description:
<%= @task.description %>
+<%= @task.completed %>
<%= link_to "Edit task", edit_task_path %>
<%= link_to "Delete task", task_path(@task.id), method: :delete, data: { confirm: 'Are you sure?' } %>
-<%= link_to "Show all tasks", tasks_path %>
\ No newline at end of file
+<%= link_to "Show all tasks", tasks_path %>
diff --git a/config/routes.rb b/config/routes.rb
index 6e134f7ad..efbe75ce1 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -2,4 +2,6 @@
root to: "tasks#index"
resources :tasks
+
+ patch "/tasks/:id/complete", to: "tasks#mark_complete", as: "mark_complete"
end
diff --git a/db/migrate/20190413194306_change_completed_at_data_type.rb b/db/migrate/20190413194306_change_completed_at_data_type.rb
new file mode 100644
index 000000000..b6ef28919
--- /dev/null
+++ b/db/migrate/20190413194306_change_completed_at_data_type.rb
@@ -0,0 +1,5 @@
+class ChangeCompletedAtDataType < ActiveRecord::Migration[5.2]
+ def change
+ remove_column(:tasks, :completed_at)
+ end
+end
diff --git a/db/migrate/20190413200430_create_new_completed_field.rb b/db/migrate/20190413200430_create_new_completed_field.rb
new file mode 100644
index 000000000..b353e1d68
--- /dev/null
+++ b/db/migrate/20190413200430_create_new_completed_field.rb
@@ -0,0 +1,5 @@
+class CreateNewCompletedField < ActiveRecord::Migration[5.2]
+ def change
+ add_column(:tasks, :completed, :boolean, default: false)
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index ecf1b42bf..c5ba9682c 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_09_215953) do
+ActiveRecord::Schema.define(version: 2019_04_13_200430) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -20,7 +20,7 @@
t.string "description"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
- t.datetime "completed_at"
+ t.boolean "completed", default: false
end
end
diff --git a/log/development.log b/log/development.log
index 5a86298c8..b5247bbc9 100644
--- a/log/development.log
+++ b/log/development.log
@@ -4455,3 +4455,1574 @@ Processing by TasksController#index as HTML
Completed 200 OK in 31ms (Views: 27.7ms | ActiveRecord: 0.3ms)
+Started GET "/tasks" for ::1 at 2019-04-12 20:50:52 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (43.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (68.3ms)
+Completed 200 OK in 124ms (Views: 60.7ms | ActiveRecord: 50.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-12 20:50: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 38ms (Views: 32.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-12 20:51:01 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 65ms (Views: 49.0ms | ActiveRecord: 1.0ms)
+
+
+Started GET "/tasks/2/complete" for ::1 at 2019-04-12 20:51:05 -0700
+
+ActionController::RoutingError (No route matches [GET] "/tasks/2/complete"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/tasks/2" for ::1 at 2019-04-12 20:52:56 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 37ms (Views: 21.5ms | ActiveRecord: 3.7ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 20:52:59 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 37ms (Views: 31.2ms | ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks/9" for ::1 at 2019-04-12 21:11:42 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mTask Load (1.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 39ms (Views: 19.6ms | ActiveRecord: 7.0ms)
+
+
+Started GET "/tasks/9/complete" for ::1 at 2019-04-12 21:11:44 -0700
+
+ActionController::RoutingError (No route matches [GET] "/tasks/9/complete"):
+
+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/9" for ::1 at 2019-04-12 21:12:05 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 45ms (Views: 36.3ms | ActiveRecord: 0.8ms)
+
+
+ [1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (9.7ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+Migrating to ChangeCompletedAtDataType (20190413194306)
+ [1m[35m (43.4ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (12.4ms)[0m [1m[35mALTER TABLE "tasks" ALTER COLUMN "completed_at" TYPE boolean[0m
+ ↳ db/migrate/20190413194306_change_completed_at_data_type.rb:3
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.4ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+Migrating to ChangeCompletedAtDataType (20190413194306)
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.5ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+Migrating to ChangeCompletedAtDataType (20190413194306)
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.5ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (3.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+Migrating to ChangeCompletedAtDataType (20190413194306)
+ [1m[35m (5.2ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.4ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+Migrating to ChangeCompletedAtDataType (20190413194306)
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (11.0ms)[0m [1m[35mALTER TABLE "tasks" ALTER COLUMN "completed_at" TYPE boolean, ALTER COLUMN "completed_at" SET DEFAULT FALSE[0m
+ ↳ db/migrate/20190413194306_change_completed_at_data_type.rb:3
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.7ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+Migrating to ChangeCompletedAtDataType (20190413194306)
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (1.0ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+Migrating to ChangeCompletedAtDataType (20190413194306)
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (2.3ms)[0m [1m[31mROLLBACK[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (1.7ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.6ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+Migrating to ChangeCompletedAtDataType (20190413194306)
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.5ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (4.9ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+Migrating to ChangeCompletedAtDataType (20190413194306)
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (63.2ms)[0m [1m[35mALTER TABLE "tasks" DROP COLUMN "completed_at"[0m
+ ↳ db/migrate/20190413194306_change_completed_at_data_type.rb:3
+ [1m[36mActiveRecord::SchemaMigration Create (2.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190413194306"]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[36mActiveRecord::InternalMetadata Load (34.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.6ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+Migrating to CreateNewCompletedField (20190413200430)
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (40.8ms)[0m [1m[35mALTER TABLE "tasks" ADD "completed" boolean DEFAULT FALSE[0m
+ ↳ db/migrate/20190413200430_create_new_completed_field.rb:3
+ [1m[36mActiveRecord::SchemaMigration Create (2.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190413200430"]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [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]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+ [1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/rake-12.3.2/lib/rake/task.rb:273
+Started GET "/tasks" for ::1 at 2019-04-13 13:20:00 -0700
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/better_errors-2.5.1/lib/better_errors/middleware.rb:84
+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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (17.0ms)
+Completed 200 OK in 227ms (Views: 211.3ms | ActiveRecord: 4.6ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-13 13:20:07 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (12.0ms)
+Completed 200 OK in 47ms (Views: 43.4ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-13 13:20:28 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"35ll71BwQP1L5MOu8fJzb5nmBz2WUh2zO9cqVZBXtX8B8rokHqMA5dvNQz+On/Crmsl+bUSAz0HcI6a69622yg==", "task"=>{"name"=>"testing toggle", "description"=>"hi toggle"}, "commit"=>"Save Task"}
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:34
+ [1m[36mTask Create (1.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "testing toggle"], ["description", "hi toggle"], ["created_at", "2019-04-13 20:20:28.131152"], ["updated_at", "2019-04-13 20:20:28.131152"]]
+ ↳ app/controllers/tasks_controller.rb:34
+ [1m[35m (40.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:34
+Redirected to http://localhost:3000/tasks/10
+Completed 302 Found in 48ms (ActiveRecord: 42.2ms)
+
+
+Started GET "/tasks/10" for ::1 at 2019-04-13 13:20:28 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 30ms (Views: 23.1ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 13:20:32 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (4.4ms)
+Completed 200 OK in 55ms (Views: 48.1ms | ActiveRecord: 0.5ms)
+
+
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Create (0.7ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "hi"], ["description", "testing"], ["created_at", "2019-04-13 20:23:23.193126"], ["updated_at", "2019-04-13 20:23:23.193126"]]
+ [1m[35m (40.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "bye"], ["description", "test method"], ["created_at", "2019-04-13 20:33:41.107511"], ["updated_at", "2019-04-13 20:33:41.107511"]]
+ [1m[35m (40.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Create (1.0ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "test a"], ["description", "hello"], ["created_at", "2019-04-13 20:42:32.669685"], ["updated_at", "2019-04-13 20:42:32.669685"]]
+ [1m[35m (40.1ms)[0m [1m[35mCOMMIT[0m
+Started GET "/tasks" for ::1 at 2019-04-13 13:45:18 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (15.5ms)
+Completed 200 OK in 44ms (Views: 32.2ms | ActiveRecord: 7.7ms)
+
+
+Started GET "/tasks/13" for ::1 at 2019-04-13 13:45:20 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"13"}
+ [1m[36mTask Load (3.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 53ms (Views: 41.6ms | ActiveRecord: 3.5ms)
+
+
+Started GET "/tasks/13/complete" for ::1 at 2019-04-13 13:45:29 -0700
+
+ActionController::RoutingError (No route matches [GET] "/tasks/13/complete"):
+
+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-13 13:48:06 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"13"}
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 48ms (Views: 40.7ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks/13/complete" for ::1 at 2019-04-13 13:48:07 -0700
+
+ActionController::RoutingError (No route matches [GET] "/tasks/13/complete"):
+
+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/complete" for ::1 at 2019-04-13 13:48:20 -0700
+
+ActionController::RoutingError (No route matches [GET] "/tasks/13/complete"):
+
+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-13 13:50:05 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (4.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (7.6ms)
+Completed 200 OK in 47ms (Views: 35.9ms | ActiveRecord: 4.5ms)
+
+
+Started GET "/tasks/13" for ::1 at 2019-04-13 13:50:08 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"13"}
+ [1m[36mTask Load (4.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 41ms (Views: 28.6ms | ActiveRecord: 4.8ms)
+
+
+Started GET "/tasks/" for ::1 at 2019-04-13 13:52:09 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (8.6ms)
+Completed 500 Internal Server Error in 21ms (ActiveRecord: 0.8ms)
+
+
+
+ActionController::UrlGenerationError - No route matches {:action=>"mark_complete", :controller=>"tasks"}, missing required keys: [:id]:
+ app/views/tasks/index.html.erb:10:in `block in _app_views_tasks_index_html_erb___3640752333429475593_70155808330920'
+ app/views/tasks/index.html.erb:5:in `_app_views_tasks_index_html_erb___3640752333429475593_70155808330920'
+
+Started POST "/__better_errors/f1d233d4e75908a6/variables" for ::1 at 2019-04-13 13:52:09 -0700
+Started GET "/tasks" for ::1 at 2019-04-13 13:53: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (11.5ms)
+Completed 500 Internal Server Error in 33ms (ActiveRecord: 0.7ms)
+
+
+
+ActionController::UrlGenerationError - No route matches {:action=>"mark_complete", :controller=>"tasks"}, missing required keys: [:id]:
+ app/views/tasks/index.html.erb:10:in `block in _app_views_tasks_index_html_erb___3640752333429475593_70155757488840'
+ app/views/tasks/index.html.erb:5:in `_app_views_tasks_index_html_erb___3640752333429475593_70155757488840'
+
+Started POST "/__better_errors/826ce73942c62f74/variables" for ::1 at 2019-04-13 13:53:29 -0700
+Started GET "/tasks" for ::1 at 2019-04-13 13:54:15 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (4.1ms)
+Completed 200 OK in 41ms (Views: 37.2ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/13/complete" for ::1 at 2019-04-13 13:54:19 -0700
+
+ActionController::RoutingError (No route matches [GET] "/tasks/13/complete"):
+
+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-13 13:54: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (5.6ms)
+Completed 200 OK in 82ms (Views: 76.6ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:09:29 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (5.8ms)
+Completed 500 Internal Server Error in 14ms (ActiveRecord: 1.0ms)
+
+
+
+ActionController::UrlGenerationError - No route matches {:action=>"complete", :controller=>"tasks", :id=>2}:
+ app/views/tasks/index.html.erb:14:in `block in _app_views_tasks_index_html_erb___3640752333429475593_70155809433940'
+ app/views/tasks/index.html.erb:5:in `_app_views_tasks_index_html_erb___3640752333429475593_70155809433940'
+
+Started POST "/__better_errors/ad4a35e6759f7a3f/variables" for ::1 at 2019-04-13 14:09:30 -0700
+Started GET "/tasks/" for ::1 at 2019-04-13 14:12:01 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (9.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (25.6ms)
+Completed 200 OK in 75ms (Views: 60.9ms | ActiveRecord: 9.5ms)
+
+
+Started PATCH "/?id=2" for ::1 at 2019-04-13 14:12:05 -0700
+
+ActionController::RoutingError (No route matches [PATCH] "/"):
+
+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-13 14:12: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 26ms (Views: 23.8ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/2/complete" for ::1 at 2019-04-13 14:12:59 -0700
+Processing by TasksController#mark_complete as HTML
+ Parameters: {"authenticity_token"=>"nyr9S6b47mPCoLQKvG5vko4PUAIKdlDXD4N8uUaLPStBQSKA6Cuue1KJNJvDA+xWjSApUtikgiXod/BWIXE+ng==", "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:78
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[36mTask Update (0.9ms)[0m [1m[33mUPDATE "tasks" SET "completed" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completed", true], ["updated_at", "2019-04-13 21:12:59.869087"], ["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "updated_at" = $1 WHERE "tasks"."id" = $2[0m [["updated_at", "2019-04-13 21:12:59.874608"], ["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:81
+No template found for TasksController#mark_complete, rendering head :no_content
+Completed 204 No Content in 116ms (ActiveRecord: 4.4ms)
+
+
+Started PATCH "/tasks/2/complete" for ::1 at 2019-04-13 14:14:02 -0700
+Processing by TasksController#mark_complete as HTML
+ Parameters: {"authenticity_token"=>"nyr9S6b47mPCoLQKvG5vko4PUAIKdlDXD4N8uUaLPStBQSKA6Cuue1KJNJvDA+xWjSApUtikgiXod/BWIXE+ng==", "id"=>"2"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:78
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "completed" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completed", false], ["updated_at", "2019-04-13 21:14:02.929349"], ["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "updated_at" = $1 WHERE "tasks"."id" = $2[0m [["updated_at", "2019-04-13 21:14:02.933225"], ["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:81
+No template found for TasksController#mark_complete, rendering head :no_content
+Completed 204 No Content in 110ms (ActiveRecord: 3.2ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-13 14:14:04 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (5.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.4ms)
+Completed 500 Internal Server Error in 23ms (ActiveRecord: 5.1ms)
+
+
+
+SyntaxError - syntax error, unexpected ')', expecting '='
+....description, @task.completed );@output_buffer.safe_append='
+... ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/show.html.erb:16: syntax error, unexpected keyword_ensure, expecting ')'
+ ensure
+ ^~~~~~
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/show.html.erb:18: syntax error, unexpected keyword_end, expecting ')'
+ end
+ ^~~:
+ app/views/tasks/show.html.erb:8:in `'
+
+Started POST "/__better_errors/f7acb3dd9f9b6317/variables" for ::1 at 2019-04-13 14:14:04 -0700
+Started GET "/tasks/2" for ::1 at 2019-04-13 14:17:33 -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:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 40ms (Views: 25.4ms | ActiveRecord: 5.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:17:41 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (15.2ms)
+Completed 200 OK in 62ms (Views: 55.8ms | ActiveRecord: 1.7ms)
+
+
+Started PATCH "/tasks/2/complete" for ::1 at 2019-04-13 14:17:53 -0700
+Processing by TasksController#mark_complete as HTML
+ Parameters: {"authenticity_token"=>"7B/rjCzgflXsH7AK1yMQQoUA0bv8FwI4V7km2mCJzHDZQ/5gGxJsdwac3FEiUsEcXazUuAGY9tEMgANPUPqGTg==", "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:78
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "completed" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completed", true], ["updated_at", "2019-04-13 21:17:53.502466"], ["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "updated_at" = $1 WHERE "tasks"."id" = $2[0m [["updated_at", "2019-04-13 21:17:53.507549"], ["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:81
+No template found for TasksController#mark_complete, rendering head :no_content
+Completed 204 No Content in 112ms (ActiveRecord: 3.4ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-13 14:17:59 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 56ms (Views: 48.5ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:19:58 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (2.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (10.8ms)
+Completed 200 OK in 57ms (Views: 49.6ms | ActiveRecord: 2.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:20:35 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (11.6ms)
+Completed 200 OK in 59ms (Views: 54.2ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:21:05 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (6.1ms)
+Completed 200 OK in 43ms (Views: 38.4ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-13 14:21:09 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 56ms (Views: 46.9ms | ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:27: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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (9.8ms)
+Completed 500 Internal Server Error in 19ms (ActiveRecord: 0.6ms)
+
+
+
+NoMethodError - undefined method `complete' for #
+Did you mean? completed
+ completed?
+ completed=:
+ app/views/tasks/index.html.erb:13:in `block in _app_views_tasks_index_html_erb___3640752333429475593_70155798365420'
+ app/views/tasks/index.html.erb:5:in `_app_views_tasks_index_html_erb___3640752333429475593_70155798365420'
+
+Started POST "/__better_errors/af89b4017b39d9f2/variables" for ::1 at 2019-04-13 14:27:23 -0700
+Started GET "/tasks" for ::1 at 2019-04-13 14:27:38 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (7.6ms)
+Completed 200 OK in 54ms (Views: 47.2ms | ActiveRecord: 0.9ms)
+
+
+Started PATCH "/tasks/4/complete" for ::1 at 2019-04-13 14:27:40 -0700
+Processing by TasksController#mark_complete as HTML
+ Parameters: {"authenticity_token"=>"Vz7ZvhISX/dW4CpQHyJMSJU9yYsqkFnAZZygdwYUkqqJVQZ1XMEf78bJqsFgT8+MlhKw2/hCizKCaCyYYe6RHw==", "id"=>"4"}
+ [1m[36mTask Load (1.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:78
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[36mTask Update (1.2ms)[0m [1m[33mUPDATE "tasks" SET "completed" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completed", true], ["updated_at", "2019-04-13 21:27:40.693737"], ["id", 4]]
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (41.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "updated_at" = $1 WHERE "tasks"."id" = $2[0m [["updated_at", "2019-04-13 21:27:40.740602"], ["id", 4]]
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[35m (36.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:81
+No template found for TasksController#mark_complete, rendering head :no_content
+Completed 204 No Content in 237ms (ActiveRecord: 82.1ms)
+
+
+Started PATCH "/tasks/4/complete" for ::1 at 2019-04-13 14:28:27 -0700
+Processing by TasksController#mark_complete as HTML
+ Parameters: {"authenticity_token"=>"Vz7ZvhISX/dW4CpQHyJMSJU9yYsqkFnAZZygdwYUkqqJVQZ1XMEf78bJqsFgT8+MlhKw2/hCizKCaCyYYe6RHw==", "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:78
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[36mTask Update (0.7ms)[0m [1m[33mUPDATE "tasks" SET "completed" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completed", false], ["updated_at", "2019-04-13 21:28:27.992643"], ["id", 4]]
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (39.8ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "updated_at" = $1 WHERE "tasks"."id" = $2[0m [["updated_at", "2019-04-13 21:28:28.037219"], ["id", 4]]
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:81
+No template found for TasksController#mark_complete, rendering head :no_content
+Completed 204 No Content in 171ms (ActiveRecord: 42.9ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-13 14:28:30 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (2.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 64ms (Views: 55.0ms | ActiveRecord: 2.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:28:32 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (15.2ms)
+Completed 200 OK in 89ms (Views: 82.1ms | ActiveRecord: 1.1ms)
+
+
+Started PATCH "/tasks/4/complete" for ::1 at 2019-04-13 14:28:40 -0700
+Processing by TasksController#mark_complete as HTML
+ Parameters: {"authenticity_token"=>"jlGb9BFsb1rGyvl6O6Sm/g6eAl26whFQAzVOyYd0jFBUYSeMzvBS7DVrV9LHbBi9Cl+OTBQQ7L9AjKi2OBpfOA==", "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:78
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "completed" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completed", true], ["updated_at", "2019-04-13 21:28:40.066741"], ["id", 4]]
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (40.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "updated_at" = $1 WHERE "tasks"."id" = $2[0m [["updated_at", "2019-04-13 21:28:40.110738"], ["id", 4]]
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:81
+No template found for TasksController#mark_complete, rendering head :no_content
+Completed 204 No Content in 164ms (ActiveRecord: 42.9ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-13 14:28:42 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (5.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:14
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 77ms (Views: 65.4ms | ActiveRecord: 5.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:28:44 -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"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (11.7ms)
+Completed 200 OK in 73ms (Views: 66.7ms | ActiveRecord: 1.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 16:27:31 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected ')'
+'.freeze; @tasks.order(name:).each do |task|
+ ^:
+ app/views/tasks/index.html.erb:5:in `'
+
+Started POST "/__better_errors/9b5daea22b00fbfb/variables" for ::1 at 2019-04-13 16:27:32 -0700
+ [1m[36mTask Load (3.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/better_errors-2.5.1/lib/better_errors/inspectable_value.rb:28
+Started GET "/tasks" for ::1 at 2019-04-13 16:28:22 -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:5
+ Rendered tasks/index.html.erb within layouts/application (13.1ms)
+Completed 200 OK in 73ms (Views: 35.5ms | ActiveRecord: 31.2ms)
+
+
+Started PATCH "/tasks/12/complete" for ::1 at 2019-04-13 16:28:35 -0700
+Processing by TasksController#mark_complete as HTML
+ Parameters: {"authenticity_token"=>"SgOprB3KevVWPRiFwBcQTf37IM1qpJEKRMCboLPNHbGUaHZnUxk67cYUmBS/epOJ/tRZnbh2Q/ijNBdP1DceBA==", "id"=>"12"}
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:78
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[36mTask Update (0.6ms)[0m [1m[33mUPDATE "tasks" SET "completed" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completed", true], ["updated_at", "2019-04-13 23:28:35.555161"], ["id", 12]]
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "updated_at" = $1 WHERE "tasks"."id" = $2[0m [["updated_at", "2019-04-13 23:28:35.559308"], ["id", 12]]
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:81
+No template found for TasksController#mark_complete, rendering head :no_content
+Completed 204 No Content in 116ms (ActiveRecord: 3.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 16:35:43 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected ':', expecting tSTRING_DEND
+..._to "#{task.completed? "true" : "false" }, mark_complete_pat...
+... ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:14: syntax error, unexpected tIDENTIFIER, expecting ')'
+...ethod: :patch, class: "complete-button" );@output_buffer.sa...
+... ^~~~~~~~
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:14: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '('
+...patch, class: "complete-button" );@output_buffer.safe_appen...
+... ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:20: syntax error, unexpected '<', expecting ')'
+
+^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:22: unknown regexp option - l
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:26: unterminated string meets end of file
+ end
+ ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:26: syntax error, unexpected end-of-input, expecting ')'
+ end
+ ^:
+ app/views/tasks/index.html.erb:14:in `'
+
+Started POST "/__better_errors/87d3d79b52dec745/variables" for ::1 at 2019-04-13 16:35:43 -0700
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/better_errors-2.5.1/lib/better_errors/inspectable_value.rb:28
+Started GET "/tasks" for ::1 at 2019-04-13 16:36:02 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (3.9ms)
+Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected ':', expecting tSTRING_DEND
+...n_to "#{task.completed "true" : "false" }, mark_complete_pat...
+... ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:14: syntax error, unexpected tIDENTIFIER, expecting ')'
+...ethod: :patch, class: "complete-button" );@output_buffer.sa...
+... ^~~~~~~~
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:14: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '('
+...patch, class: "complete-button" );@output_buffer.safe_appen...
+... ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:20: syntax error, unexpected '<', expecting ')'
+
+^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:22: unknown regexp option - l
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:26: unterminated string meets end of file
+ end
+ ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:26: syntax error, unexpected end-of-input, expecting ')'
+ end
+ ^:
+ app/views/tasks/index.html.erb:14:in `'
+
+Started POST "/__better_errors/e770f5600ce5db35/variables" for ::1 at 2019-04-13 16:36:03 -0700
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/better_errors-2.5.1/lib/better_errors/inspectable_value.rb:28
+Started GET "/tasks" for ::1 at 2019-04-13 16:36:04 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected ':', expecting tSTRING_DEND
+...n_to "#{task.completed "true" : "false" }, mark_complete_pat...
+... ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:14: syntax error, unexpected tIDENTIFIER, expecting ')'
+...ethod: :patch, class: "complete-button" );@output_buffer.sa...
+... ^~~~~~~~
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:14: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '('
+...patch, class: "complete-button" );@output_buffer.safe_appen...
+... ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:20: syntax error, unexpected '<', expecting ')'
+
+^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:22: unknown regexp option - l
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:26: unterminated string meets end of file
+ end
+ ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:26: syntax error, unexpected end-of-input, expecting ')'
+ end
+ ^:
+ app/views/tasks/index.html.erb:14:in `'
+
+Started POST "/__better_errors/eb82a673ede6311b/variables" for ::1 at 2019-04-13 16:36:04 -0700
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/better_errors-2.5.1/lib/better_errors/inspectable_value.rb:28
+Started GET "/tasks" for ::1 at 2019-04-13 16:36:23 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (1.0ms)
+Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected tIDENTIFIER, expecting ')'
+...ethod: :patch, class: "complete-button" );@output_buffer.sa...
+... ^~~~~~~~
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:14: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '('
+...patch, class: "complete-button" );@output_buffer.safe_appen...
+... ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:20: syntax error, unexpected '<', expecting ')'
+
+^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:22: unknown regexp option - l
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:26: unterminated string meets end of file
+ end
+ ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:26: syntax error, unexpected end-of-input, expecting ')'
+ end
+ ^:
+ app/views/tasks/index.html.erb:14:in `'
+
+Started POST "/__better_errors/b6d88aeea0cc7c22/variables" for ::1 at 2019-04-13 16:36:23 -0700
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/better_errors-2.5.1/lib/better_errors/inspectable_value.rb:28
+Started GET "/tasks" for ::1 at 2019-04-13 16:39:31 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected ':', expecting tSTRING_DEND
+..._to "#{task.completed? "true" : "false" }, mark_complete_pat...
+... ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:16: syntax error, unexpected tIDENTIFIER, expecting ')'
+...ethod: :patch, class: "complete-button" );@output_buffer.sa...
+... ^~~~~~~~
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:16: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '('
+...patch, class: "complete-button" );@output_buffer.safe_appen...
+... ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:18: syntax error, unexpected tCONSTANT, expecting ')'
+...buffer.append=( button_to "Mark Incomplete", mark_complete_p...
+... ^~~~
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:18: syntax error, unexpected tIDENTIFIER, expecting ')'
+...hod: :patch, class: "incomplete-button" );@output_buffer.s...
+... ^~~~~~~~~~
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:18: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '('
+...tch, class: "incomplete-button" );@output_buffer.safe_appe...
+... ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:26: unterminated string meets end of file
+ end
+ ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:26: syntax error, unexpected end-of-input, expecting ')'
+ end
+ ^:
+ app/views/tasks/index.html.erb:16:in `'
+
+Started POST "/__better_errors/cedc49aafe9f67fd/variables" for ::1 at 2019-04-13 16:39:31 -0700
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/better_errors-2.5.1/lib/better_errors/inspectable_value.rb:28
+Started GET "/tasks" for ::1 at 2019-04-13 16:39:32 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (1.0ms)
+Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected ':', expecting tSTRING_DEND
+..._to "#{task.completed? "true" : "false" }, mark_complete_pat...
+... ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:16: syntax error, unexpected tIDENTIFIER, expecting ')'
+...ethod: :patch, class: "complete-button" );@output_buffer.sa...
+... ^~~~~~~~
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:16: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '('
+...patch, class: "complete-button" );@output_buffer.safe_appen...
+... ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:18: syntax error, unexpected tCONSTANT, expecting ')'
+...buffer.append=( button_to "Mark Incomplete", mark_complete_p...
+... ^~~~
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:18: syntax error, unexpected tIDENTIFIER, expecting ')'
+...hod: :patch, class: "incomplete-button" );@output_buffer.s...
+... ^~~~~~~~~~
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:18: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '('
+...tch, class: "incomplete-button" );@output_buffer.safe_appe...
+... ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:26: unterminated string meets end of file
+ end
+ ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:26: syntax error, unexpected end-of-input, expecting ')'
+ end
+ ^:
+ app/views/tasks/index.html.erb:16:in `'
+
+Started POST "/__better_errors/ea2b9045dd31dabe/variables" for ::1 at 2019-04-13 16:39:32 -0700
+ [1m[36mTask Load (1.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/better_errors-2.5.1/lib/better_errors/inspectable_value.rb:28
+Started GET "/tasks" for ::1 at 2019-04-13 16:42:35 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (1.0ms)
+Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - unknown regexp option - l
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:26: unterminated string meets end of file
+ end
+ ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:26: syntax error, unexpected end-of-input, expecting ')'
+ end
+ ^:
+ app/views/tasks/index.html.erb:22:in `'
+
+Started POST "/__better_errors/45316bbfa0de0198/variables" for ::1 at 2019-04-13 16:42:35 -0700
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/better_errors-2.5.1/lib/better_errors/inspectable_value.rb:28
+Started GET "/tasks" for ::1 at 2019-04-13 16:42:36 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - unknown regexp option - l
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:26: unterminated string meets end of file
+ end
+ ^
+/Users/heather.izumi/Documents/Ada/projects/TaskList/app/views/tasks/index.html.erb:26: syntax error, unexpected end-of-input, expecting ')'
+ end
+ ^:
+ app/views/tasks/index.html.erb:22:in `'
+
+Started POST "/__better_errors/4c181f78e90ebd15/variables" for ::1 at 2019-04-13 16:42:36 -0700
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/heather.izumi/.rvm/gems/ruby-2.5.3/gems/better_errors-2.5.1/lib/better_errors/inspectable_value.rb:28
+Started GET "/tasks" for ::1 at 2019-04-13 16:44: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:5
+ Rendered tasks/index.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 49ms (Views: 43.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 16:45:17 -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:5
+ Rendered tasks/index.html.erb within layouts/application (12.1ms)
+Completed 200 OK in 47ms (Views: 30.0ms | ActiveRecord: 8.7ms)
+
+
+Started PATCH "/tasks/12/complete" for ::1 at 2019-04-13 16:45:19 -0700
+Processing by TasksController#mark_complete as HTML
+ Parameters: {"authenticity_token"=>"UV+ACA7S90NCh0TzISGGLSqEy7pUsDi15hoC4tngPE+PNF/DQAG3W9KuxGJeTAXpKauy6oZi6kcB7o4Nvho/+g==", "id"=>"12"}
+ [1m[36mTask Load (1.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:78
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[36mTask Update (2.1ms)[0m [1m[33mUPDATE "tasks" SET "completed" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completed", false], ["updated_at", "2019-04-13 23:45:19.399770"], ["id", 12]]
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "updated_at" = $1 WHERE "tasks"."id" = $2[0m [["updated_at", "2019-04-13 23:45:19.404404"], ["id", 12]]
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:81
+ [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:82
+No template found for TasksController#mark_complete, rendering head :no_content
+Completed 204 No Content in 121ms (ActiveRecord: 5.7ms)
+
+
+Started PATCH "/tasks/12/complete" for ::1 at 2019-04-13 16:45:21 -0700
+Processing by TasksController#mark_complete as HTML
+ Parameters: {"authenticity_token"=>"UV+ACA7S90NCh0TzISGGLSqEy7pUsDi15hoC4tngPE+PNF/DQAG3W9KuxGJeTAXpKauy6oZi6kcB7o4Nvho/+g==", "id"=>"12"}
+ [1m[36mTask Load (4.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:78
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[36mTask Update (1.3ms)[0m [1m[33mUPDATE "tasks" SET "completed" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completed", true], ["updated_at", "2019-04-13 23:45:21.050755"], ["id", 12]]
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "updated_at" = $1 WHERE "tasks"."id" = $2[0m [["updated_at", "2019-04-13 23:45:21.056381"], ["id", 12]]
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:81
+ [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:82
+No template found for TasksController#mark_complete, rendering head :no_content
+Completed 204 No Content in 122ms (ActiveRecord: 8.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 16:45: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:5
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 29ms (Views: 24.6ms | ActiveRecord: 0.4ms)
+
+
+Started PATCH "/tasks/12/complete" for ::1 at 2019-04-13 16:45:24 -0700
+Processing by TasksController#mark_complete as HTML
+ Parameters: {"authenticity_token"=>"hExiDaW/ViexpYjwJr3icIVPYvXeqV45G58Up6lGbbNaJ73G62wWPyGMCGFZ0GG0hmAbpQx7jMv8a5hIzrxuBg==", "id"=>"12"}
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:78
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completed" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completed", false], ["updated_at", "2019-04-13 23:45:24.869351"], ["id", 12]]
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (40.9ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "updated_at" = $1 WHERE "tasks"."id" = $2[0m [["updated_at", "2019-04-13 23:45:24.912845"], ["id", 12]]
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:81
+ [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:82
+No template found for TasksController#mark_complete, rendering head :no_content
+Completed 204 No Content in 162ms (ActiveRecord: 44.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 16:45: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:5
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 32ms (Views: 27.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 16:47: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:5
+ Rendered tasks/index.html.erb within layouts/application (10.5ms)
+Completed 200 OK in 46ms (Views: 38.3ms | ActiveRecord: 3.3ms)
+
+
+Started PATCH "/tasks/12/complete" for ::1 at 2019-04-13 16:47:16 -0700
+Processing by TasksController#mark_complete as HTML
+ Parameters: {"authenticity_token"=>"wbSd2s/vM0qpScFoh80E7aPFatRmVTwmIFBaUrYXfvIf30IRgTxzUjlgQfn4oIcpoOoThLSH7tTHpNa90e19Rw==", "id"=>"12"}
+ [1m[36mTask Load (1.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:78
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[36mTask Update (0.9ms)[0m [1m[33mUPDATE "tasks" SET "completed" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completed", true], ["updated_at", "2019-04-13 23:47:16.355737"], ["id", 12]]
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "updated_at" = $1 WHERE "tasks"."id" = $2[0m [["updated_at", "2019-04-13 23:47:16.361286"], ["id", 12]]
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:81
+ [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:82
+No template found for TasksController#mark_complete, rendering head :no_content
+Completed 204 No Content in 117ms (ActiveRecord: 4.6ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 16:47: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:5
+ Rendered tasks/index.html.erb within layouts/application (5.1ms)
+Completed 200 OK in 27ms (Views: 22.9ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 16:48: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:5
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:20
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:20
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:20
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:20
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:20
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:20
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:20
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:20
+ Rendered tasks/index.html.erb within layouts/application (19.1ms)
+Completed 200 OK in 46ms (Views: 34.8ms | ActiveRecord: 5.3ms)
+
+
+Started PATCH "/tasks/8/complete" for ::1 at 2019-04-13 16:48:14 -0700
+Processing by TasksController#mark_complete as HTML
+ Parameters: {"authenticity_token"=>"NT1Mq3lD16VwrR+X2KUnsAmDm9ax7hYRc0lsfhMRrTzrVpNgN5CXveCEnwanyKR0CqzihmM8xOOUveCRdOuuiQ==", "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:78
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[36mTask Update (1.6ms)[0m [1m[33mUPDATE "tasks" SET "completed" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completed", true], ["updated_at", "2019-04-13 23:48:14.232863"], ["id", 8]]
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "updated_at" = $1 WHERE "tasks"."id" = $2[0m [["updated_at", "2019-04-13 23:48:14.239533"], ["id", 8]]
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:81
+No template found for TasksController#mark_complete, rendering head :no_content
+Completed 204 No Content in 117ms (ActiveRecord: 4.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 16:48:16 -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:5
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:20
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:20
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:20
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:20
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:20
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:20
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:20
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:20
+ Rendered tasks/index.html.erb within layouts/application (11.3ms)
+Completed 200 OK in 36ms (Views: 30.9ms | ActiveRecord: 1.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 16:48:57 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:5
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:20
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:17
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:20
+ [1m[36mTask Load (1.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:20
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:17
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:17
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:17
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:20
+ Rendered tasks/index.html.erb within layouts/application (23.9ms)
+Completed 200 OK in 59ms (Views: 50.1ms | ActiveRecord: 5.7ms)
+
+
+Started PATCH "/tasks/8/complete" for ::1 at 2019-04-13 16:49:00 -0700
+Processing by TasksController#mark_complete as HTML
+ Parameters: {"authenticity_token"=>"xxA+fNB74iS66A7J/x5PijexlIwbqW/r56MheQkTYm4Ze+G3nqiiPCrBjliAc8xONJ7t3Ml7vRkAV62Wbulh2w==", "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:78
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "completed" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completed", false], ["updated_at", "2019-04-13 23:49:00.188795"], ["id", 8]]
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (40.9ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:80
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "updated_at" = $1 WHERE "tasks"."id" = $2[0m [["updated_at", "2019-04-13 23:49:00.232764"], ["id", 8]]
+ ↳ app/controllers/tasks_controller.rb:81
+ [1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:81
+No template found for TasksController#mark_complete, rendering head :no_content
+Completed 204 No Content in 157ms (ActiveRecord: 44.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 16:49: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:5
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:20
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:17
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:20
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:17
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:17
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:17
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:17
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:20
+ Rendered tasks/index.html.erb within layouts/application (15.2ms)
+Completed 200 OK in 41ms (Views: 35.2ms | ActiveRecord: 2.1ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 16:55:14 -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:5
+ Rendered tasks/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 47ms (Views: 41.6ms | ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 16:57:15 -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:5
+ Rendered tasks/index.html.erb within layouts/application (8.3ms)
+Completed 200 OK in 119ms (Views: 111.7ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 16:58:56 -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:5
+ Rendered tasks/index.html.erb within layouts/application (8.9ms)
+Completed 200 OK in 83ms (Views: 78.9ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 17:00:38 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (60.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (65.8ms)
+Completed 200 OK in 150ms (Views: 84.3ms | ActiveRecord: 60.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 17:01:04 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (9.6ms)
+Completed 200 OK in 52ms (Views: 42.8ms | ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 17:01: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:5
+ Rendered tasks/index.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 60ms (Views: 54.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 17:02:41 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (2.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (11.2ms)
+Completed 200 OK in 79ms (Views: 71.1ms | ActiveRecord: 2.6ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 17:03:03 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (6.2ms)
+Completed 200 OK in 73ms (Views: 68.6ms | ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 17:03:49 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (2.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."name" ASC[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (8.5ms)
+Completed 200 OK in 56ms (Views: 46.7ms | ActiveRecord: 2.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 17:04:01 -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:5
+ Rendered tasks/index.html.erb within layouts/application (4.8ms)
+Completed 200 OK in 45ms (Views: 41.0ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 17:04: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:5
+ Rendered tasks/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 27ms (Views: 23.1ms | ActiveRecord: 0.3ms)
+
+
diff --git a/log/test.log b/log/test.log
index 10c1b5fd1..49d1446a5 100644
--- a/log/test.log
+++ b/log/test.log
@@ -12081,3 +12081,3767 @@ Redirected to http://www.example.com/tasks
Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ [1m[35m (207.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ [1m[35m (479.6ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ [1m[35mSQL (1.0ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
+ [1m[35m (0.6ms)[0m [1m[35mDROP TABLE IF EXISTS "tasks" CASCADE[0m
+ [1m[35m (8.4ms)[0m [1m[35mCREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completed" boolean DEFAULT FALSE)[0m
+ [1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20190413200430)[0m
+ [1m[35m (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
+(20190409212859),
+(20190413194306),
+(20190409214416),
+(20190409215953),
+(20190409213314);
+
+[0m
+ [1m[35m (2.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.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mActiveRecord::InternalMetadata Create (1.0ms)[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-13 20:08:51.620439"], ["updated_at", "2019-04-13 20:08:51.620439"]]
+ [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 (32.4ms)[0m [1m[35mALTER 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.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-13 20:08:51.890511', '2019-04-13 20:08:51.890511', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-13 20:08:51.890511', '2019-04-13 20:08:51.890511', DEFAULT)[0m
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER 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_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-13 20:08:51.952182"], ["updated_at", "2019-04-13 20:08:51.952182"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-13 13:08:51 -0700
+Processing by TasksController#destroy 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]]
+ [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", 980190963]]
+ [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.9ms)
+ [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 a 404 if the task is not found
+--------------------------------------------------------------------------
+Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 13:08:51 -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.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-13 13:08:51 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (1.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-13 20:08:51.989008"], ["updated_at", "2019-04-13 20:08:51.989008"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 5ms (ActiveRecord: 1.9ms)
+ [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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[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-13 13:08:52 -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/
+Completed 302 Found in 1ms (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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-13 20:08:52.007754"], ["updated_at", "2019-04-13 20:08:52.007754"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:08:52 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"980190965"}
+ [1m[36mTask Load (0.3ms)[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 (1.4ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-13 20:08:52.012595"], ["id", 980190965]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 7ms (ActiveRecord: 2.0ms)
+ [1m[36mTask Load (0.3ms)[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/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:08:52 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-13 13:08:52 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-13 20:08:52.031211"], ["updated_at", "2019-04-13 20:08:52.031211"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966/edit" for 127.0.0.1 at 2019-04-13 13:08:52 -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 (12.5ms)
+Completed 200 OK in 216ms (Views: 211.6ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.4ms)[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-13 13:08: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.3ms)
+ [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-13 13:08: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"[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.5ms)[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-13 13:08:52 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[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 "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", "name", "description", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-13 20:09:21.768565', '2019-04-13 20:09:21.768565', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-13 20:09:21.768565', '2019-04-13 20:09:21.768565', DEFAULT)[0m
+ [1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER 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.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-13 20:09:21.791535"], ["updated_at", "2019-04-13 20:09:21.791535"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:09:21 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"980190963"}
+ [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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-13 20:09:21.807293"], ["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 10ms (ActiveRecord: 1.0ms)
+ [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/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:09:21 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [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-13 13:09: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 194ms (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_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 13:09: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms)
+ [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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.7ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-13 20:09:22.027433"], ["updated_at", "2019-04-13 20:09:22.027433"]]
+ [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-13 13:09:22 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.4ms)[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.1ms)
+Completed 200 OK in 11ms (Views: 6.7ms | ActiveRecord: 0.4ms)
+ [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
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-13 13:09:22 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+ [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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 13:09:22 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-13 20:09:22.054677"], ["updated_at", "2019-04-13 20:09:22.054677"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+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-13 13:09:22 -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 6ms (Views: 3.7ms | 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.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-13 20:09:22.071649"], ["updated_at", "2019-04-13 20:09:22.071649"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190966" for 127.0.0.1 at 2019-04-13 13:09:22 -0700
+Processing by TasksController#destroy 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]]
+ [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", 980190966]]
+ [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 a 404 if the task is not found
+--------------------------------------------------------------------------
+Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 13:09:22 -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[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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:09:22.085087"], ["updated_at", "2019-04-13 20:09:22.085087"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190967" for 127.0.0.1 at 2019-04-13 13:09:22 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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-13 13:09:22 -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/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[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.4ms)[0m [1m[35mALTER 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", "name", "description", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-13 20:27:47.917304', '2019-04-13 20:27:47.917304', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-13 20:27:47.917304', '2019-04-13 20:27:47.917304', DEFAULT)[0m
+ [1m[35m (36.9ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER 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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 13:27:47 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-13 20:27:47.995581"], ["updated_at", "2019-04-13 20:27:47.995581"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 13ms (ActiveRecord: 0.6ms)
+ [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
+-----------------------------
+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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:27:48.009527"], ["updated_at", "2019-04-13 20:27:48.009527"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-13 13:27:48 -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 (3.1ms)
+Completed 200 OK in 231ms (Views: 224.8ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[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-13 13:27:48 -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/
+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::toggle_complete: test_0001_changes the complete field to true, marking the task as complete
+------------------------------------------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.7ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:27:48.254233"], ["updated_at", "2019-04-13 20:27:48.254233"]]
+ [1m[35m (0.2ms)[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::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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-13 20:27:48.262148"], ["updated_at", "2019-04-13 20:27:48.262148"]]
+ [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-13 13:27:48 -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 (10.9ms)
+Completed 200 OK in 17ms (Views: 12.3ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-13 13:27:48 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (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-13 13:27:48 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[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-13 13:27: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 4ms (Views: 1.9ms | 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-13 13:27: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task is not found
+--------------------------------------------------------------------------
+Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 13:27:48 -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.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-13 20:27:48.321906"], ["updated_at", "2019-04-13 20:27:48.321906"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190967" for 127.0.0.1 at 2019-04-13 13:27:48 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["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", 980190967]]
+ [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: 1.1ms)
+ [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::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.7ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-13 20:27:48.332889"], ["updated_at", "2019-04-13 20:27:48.332889"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:27:48 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"980190968"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190968], ["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, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-13 20:27:48.338405"], ["id", 980190968]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190968
+Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190968], ["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/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:27:48 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[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 "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", "name", "description", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-13 20:27:59.141755', '2019-04-13 20:27:59.141755', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-13 20:27:59.141755', '2019-04-13 20:27:59.141755', DEFAULT)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER 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/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:27:59 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 8ms (ActiveRecord: 0.6ms)
+ [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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-13 20:27:59.188946"], ["updated_at", "2019-04-13 20:27:59.188946"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:27:59 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"980190963"}
+ [1m[36mTask Load (0.4ms)[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.4ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-13 20:27:59.195087"], ["id", 980190963]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 6ms (ActiveRecord: 1.1ms)
+ [1m[36mTask Load (1.0ms)[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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 13:27: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.3ms)
+Completed 200 OK in 200ms (Views: 196.7ms | 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-13 13:27:59 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.4ms)
+ [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.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (1.1ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-13 20:27:59.418689"], ["updated_at", "2019-04-13 20:27:59.418689"]]
+ [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-13 13:27:59 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.9ms)[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 (8.0ms)
+Completed 200 OK in 15ms (Views: 9.7ms | ActiveRecord: 0.9ms)
+ [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/999/edit" for 127.0.0.1 at 2019-04-13 13:27:59 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (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.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-13 13:27: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.6ms)
+Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-13 20:27:59.457874"], ["updated_at", "2019-04-13 20:27:59.457874"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190965" for 127.0.0.1 at 2019-04-13 13:27:59 -0700
+Processing by TasksController#destroy 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]]
+ [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", 980190965]]
+ [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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task is not found
+--------------------------------------------------------------------------
+Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 13:27:59 -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.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------------
+TasksController::toggle_complete: test_0001_changes the complete field to true, marking the task as complete
+------------------------------------------------------------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:27:59.474073"], ["updated_at", "2019-04-13 20:27:59.474073"]]
+ [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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 13:27:59 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-13 20:27:59.481306"], ["updated_at", "2019-04-13 20:27:59.481306"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190967
+Completed 302 Found in 4ms (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.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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:27:59.489227"], ["updated_at", "2019-04-13 20:27:59.489227"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190968" for 127.0.0.1 at 2019-04-13 13:27:59 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190968"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190968], ["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.8ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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-13 13:27:59 -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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
+ [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 "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", "name", "description", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-13 20:29:15.016680', '2019-04-13 20:29:15.016680', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-13 20:29:15.016680', '2019-04-13 20:29:15.016680', 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 "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::destroy: test_0001_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-13 20:29:15.043449"], ["updated_at", "2019-04-13 20:29:15.043449"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-13 13:29:15 -0700
+Processing by TasksController#destroy 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]]
+ [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", 980190963]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 9ms (ActiveRecord: 0.9ms)
+ [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 a 404 if the task is not found
+--------------------------------------------------------------------------
+Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 13:29:15 -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.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-13 13:29: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.9ms)
+Completed 200 OK in 199ms (Views: 195.4ms | ActiveRecord: 0.0ms)
+ [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::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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:29:15.275311"], ["updated_at", "2019-04-13 20:29:15.275311"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-13 13:29:15 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.4ms)[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.4ms)
+Completed 200 OK in 9ms (Views: 3.3ms | ActiveRecord: 0.4ms)
+ [1m[35m (1.0ms)[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-13 13:29:15 -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/
+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-13 13:29: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[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-13 13:29: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"[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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 13:29:15 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-13 20:29:15.318262"], ["updated_at", "2019-04-13 20:29:15.318262"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [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.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-13 20:29:15.328007"], ["updated_at", "2019-04-13 20:29:15.328007"]]
+ [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-13 13:29:15 -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.3ms)
+Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.3ms)
+ [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
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-13 13:29:15 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (2.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 2.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------------
+TasksController::toggle_complete: test_0001_changes the complete field to true, marking the task as complete
+------------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:29:15.347290"], ["updated_at", "2019-04-13 20:29:15.347290"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete" for 127.0.0.1 at 2019-04-13 13:29:15 -0700
+Processing by TasksController#mark_complete as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completed" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completed", true], ["updated_at", "2019-04-13 20:29:15.350818"], ["id", 980190967]]
+ [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.5ms)[0m [1m[33mUPDATE "tasks" SET "updated_at" = $1 WHERE "tasks"."id" = $2[0m [["updated_at", "2019-04-13 20:29:15.353124"], ["id", 980190967]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+No template found for TasksController#mark_complete, rendering head :no_content
+Completed 204 No Content in 110ms (ActiveRecord: 1.7ms)
+ [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/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:29:15 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.7ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-13 20:29:15.465892"], ["updated_at", "2019-04-13 20:29:15.465892"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:29:15 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"980190968"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190968], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-13 20:29:15.471049"], ["id", 980190968]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190968
+Completed 302 Found in 7ms (ActiveRecord: 1.3ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190968], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[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 "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", "name", "description", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-13 20:32:43.410311', '2019-04-13 20:32:43.410311', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-13 20:32:43.410311', '2019-04-13 20:32:43.410311', DEFAULT)[0m
+ [1m[35m (40.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER 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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 13:32:43 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.7ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-13 20:32:43.487521"], ["updated_at", "2019-04-13 20:32:43.487521"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 13ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.3ms)[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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 13:32: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 201ms (Views: 198.4ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[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-13 13:32: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 4ms (Views: 2.6ms | 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/999/edit" for 127.0.0.1 at 2019-04-13 13:32:43 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 4ms (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.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-13 20:32:43.721603"], ["updated_at", "2019-04-13 20:32:43.721603"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964/edit" for 127.0.0.1 at 2019-04-13 13:32:43 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.4ms)[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 (11.1ms)
+Completed 200 OK in 19ms (Views: 13.3ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 13:32:43 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.0ms)
+ [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.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-13 20:32:43.763562"], ["updated_at", "2019-04-13 20:32:43.763562"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:32:43 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "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.4ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-13 20:32:43.769236"], ["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.9ms)
+ [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/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:32:43 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
+ [1m[35m (1.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------------
+TasksController::toggle_complete: test_0001_changes the complete field to true, marking the task as complete
+------------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:32:43.784055"], ["updated_at", "2019-04-13 20:32:43.784055"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966/complete" for 127.0.0.1 at 2019-04-13 13:32:43 -0700
+Processing by TasksController#mark_complete 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]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "completed" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completed", true], ["updated_at", "2019-04-13 20:32:43.787754"], ["id", 980190966]]
+ [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 "updated_at" = $1 WHERE "tasks"."id" = $2[0m [["updated_at", "2019-04-13 20:32:43.789592"], ["id", 980190966]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+No template found for TasksController#mark_complete, rendering head :no_content
+Completed 204 No Content in 105ms (ActiveRecord: 1.1ms)
+ [1m[35m (0.2ms)[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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:32:43.897133"], ["updated_at", "2019-04-13 20:32:43.897133"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190967" for 127.0.0.1 at 2019-04-13 13:32:43 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 13:32:43 -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/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-13 20:32:43.916834"], ["updated_at", "2019-04-13 20:32:43.916834"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190968" for 127.0.0.1 at 2019-04-13 13:32:43 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190968"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190968], ["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", 980190968]]
+ [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.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task is not found
+--------------------------------------------------------------------------
+Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 13:32:43 -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[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 "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", "name", "description", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-13 20:37:06.392847', '2019-04-13 20:37:06.392847', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-13 20:37:06.392847', '2019-04-13 20:37:06.392847', DEFAULT)[0m
+ [1m[35m (39.9ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER 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-13 13:37:06 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (9.4ms)
+Completed 200 OK in 219ms (Views: 212.6ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.4ms)[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-13 13:37:06 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.4ms)
+ [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-13 13:37:06 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (11.1ms)
+Completed 200 OK in 18ms (Views: 13.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------------
+TasksController::toggle_complete: test_0001_changes the complete field to true, marking the task as complete
+------------------------------------------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:37:06.712736"], ["updated_at", "2019-04-13 20:37:06.712736"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963/complete" for 127.0.0.1 at 2019-04-13 13:37:06 -0700
+Processing by TasksController#mark_complete 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]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "completed" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completed", true], ["updated_at", "2019-04-13 20:37:06.723237"], ["id", 980190963]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "updated_at" = $1 WHERE "tasks"."id" = $2[0m [["updated_at", "2019-04-13 20:37:06.726578"], ["id", 980190963]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+No template found for TasksController#mark_complete, rendering head :no_content
+Completed 204 No Content in 106ms (ActiveRecord: 1.7ms)
+ [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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 13:37:06 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-13 20:37:06.830816"], ["updated_at", "2019-04-13 20:37:06.830816"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (1.0ms)[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::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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:37:06.839228"], ["updated_at", "2019-04-13 20:37:06.839228"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-13 13:37:06 -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.8ms)
+Completed 200 OK in 6ms (Views: 2.0ms | 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-13 13:37: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/
+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_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-13 20:37:06.855394"], ["updated_at", "2019-04-13 20:37:06.855394"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190966" for 127.0.0.1 at 2019-04-13 13:37:06 -0700
+Processing by TasksController#destroy 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]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Destroy (0.6ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 980190966]]
+ [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: 1.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_0002_returns a 404 if the task is not found
+--------------------------------------------------------------------------
+Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 13:37:06 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"NOT A VALID ID"}
+ [1m[36mTask Load (4.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 404 Not Found in 6ms (ActiveRecord: 4.8ms)
+ [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 (2.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-13 20:37:06.875653"], ["updated_at", "2019-04-13 20:37:06.875653"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:37:06 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"980190967"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-13 20:37:06.884152"], ["id", 980190967]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190967
+Completed 302 Found in 6ms (ActiveRecord: 1.2ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["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/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:37:06 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (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.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 (2.1ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-13 20:37:06.900190"], ["updated_at", "2019-04-13 20:37:06.900190"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190968/edit" for 127.0.0.1 at 2019-04-13 13:37:06 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190968"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190968], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 7ms (Views: 4.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/999/edit" for 127.0.0.1 at 2019-04-13 13:37:06 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.4ms)[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.5ms)[0m [1m[35mALTER 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.9ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-13 20:37:41.564492', '2019-04-13 20:37:41.564492', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-13 20:37:41.564492', '2019-04-13 20:37:41.564492', DEFAULT)[0m
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER 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-13 13:37:41 -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 220ms (Views: 207.5ms | ActiveRecord: 0.0ms)
+ [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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 13:37:41 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.6ms)
+Completed 200 OK in 10ms (Views: 5.6ms | ActiveRecord: 0.9ms)
+ [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-13 13:37: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms)
+ [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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-13 20:37:41.844090"], ["updated_at", "2019-04-13 20:37:41.844090"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963/edit" for 127.0.0.1 at 2019-04-13 13:37:41 -0700
+Processing by TasksController#edit 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/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 9ms (Views: 2.4ms | ActiveRecord: 0.6ms)
+ [1m[35m (0.4ms)[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/999/edit" for 127.0.0.1 at 2019-04-13 13:37:41 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task is not found
+--------------------------------------------------------------------------
+Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 13:37:41 -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.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-13 20:37:41.876886"], ["updated_at", "2019-04-13 20:37:41.876886"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-13 13:37:41 -0700
+Processing by TasksController#destroy 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]]
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Destroy (1.0ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 980190964]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 5ms (ActiveRecord: 2.1ms)
+ [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::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-13 20:37:41.891402"], ["updated_at", "2019-04-13 20:37:41.891402"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:37:41 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"980190965"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (1.2ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-13 20:37:41.899168"], ["id", 980190965]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 7ms (ActiveRecord: 1.9ms)
+ [1m[36mTask Load (0.3ms)[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/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:37:41 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.6ms)[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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:37:41.915980"], ["updated_at", "2019-04-13 20:37:41.915980"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-13 13:37:41 -0700
+Processing by TasksController#show 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/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 5ms (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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 13:37:41 -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/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------------
+TasksController::toggle_complete: test_0001_changes the complete field to true, marking the task as complete
+------------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:37:41.936411"], ["updated_at", "2019-04-13 20:37:41.936411"]]
+ [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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 13:37:41 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-13 20:37:41.942717"], ["updated_at", "2019-04-13 20:37:41.942717"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190968
+Completed 302 Found in 4ms (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.2ms)[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.7ms)[0m [1m[35mALTER 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", "name", "description", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-13 20:38:15.409926', '2019-04-13 20:38:15.409926', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-13 20:38:15.409926', '2019-04-13 20:38:15.409926', DEFAULT)[0m
+ [1m[35m (40.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER 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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 13:38:15 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (10.9ms)
+Completed 200 OK in 239ms (Views: 225.6ms | ActiveRecord: 0.0ms)
+ [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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:38:15.723107"], ["updated_at", "2019-04-13 20:38:15.723107"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-13 13:38:15 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.4ms)[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.7ms)
+Completed 200 OK in 10ms (Views: 1.8ms | ActiveRecord: 1.1ms)
+ [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-13 13:38:15 -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/
+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_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.7ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-13 20:38:15.745230"], ["updated_at", "2019-04-13 20:38:15.745230"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-13 13:38:15 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 980190964]]
+ [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: 1.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::destroy: test_0002_returns a 404 if the task is not found
+--------------------------------------------------------------------------
+Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 13:38:15 -0700
+Processing by TasksController#destroy 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 1ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------------
+TasksController::toggle_complete: test_0001_changes the complete field to true, marking the task as complete
+------------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:38:15.765771"], ["updated_at", "2019-04-13 20:38:15.765771"]]
+ [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.5ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 13:38:15 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-13 20:38:15.773700"], ["updated_at", "2019-04-13 20:38:15.773700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190966
+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.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.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-13 20:38:15.780876"], ["updated_at", "2019-04-13 20:38:15.780876"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:38:15 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"980190967"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.9ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-13 20:38:15.785950"], ["id", 980190967]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190967
+Completed 302 Found in 6ms (ActiveRecord: 1.5ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["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/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:38:15 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (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::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-13 20:38:15.801202"], ["updated_at", "2019-04-13 20:38:15.801202"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190968/edit" for 127.0.0.1 at 2019-04-13 13:38:15 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190968"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190968], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-13 13:38:15 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [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-13 13: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.3ms)
+ [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-13 13:38:15 -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"[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.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.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.8ms)[0m [1m[35mALTER 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", "name", "description", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-13 20:38:26.075365', '2019-04-13 20:38:26.075365', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-13 20:38:26.075365', '2019-04-13 20:38:26.075365', DEFAULT)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER 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.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:38:26.104801"], ["updated_at", "2019-04-13 20:38:26.104801"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-13 13:38:26 -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.7ms)
+Completed 200 OK in 256ms (Views: 246.3ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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-13 13:38:26 -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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (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-13 13:38: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 7ms (Views: 2.3ms | 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-13 13:38: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"[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
+-----------------------------
+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-13 13:38:26 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-13 20:38:26.408506"], ["updated_at", "2019-04-13 20:38:26.408506"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+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
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:38:26 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-13 20:38:26.423284"], ["updated_at", "2019-04-13 20:38:26.423284"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:38:26 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "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, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-13 20:38:26.428467"], ["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.8ms)
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-13 20:38:26.438786"], ["updated_at", "2019-04-13 20:38:26.438786"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966/edit" for 127.0.0.1 at 2019-04-13 13:38:26 -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 (13.4ms)
+Completed 200 OK in 19ms (Views: 14.8ms | ActiveRecord: 0.3ms)
+ [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
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-13 13:38:26 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [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
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 13:38:26 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 7ms (Views: 2.8ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------------
+TasksController::toggle_complete: test_0001_changes the complete field to true, marking the task as complete
+------------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:38:26.482445"], ["updated_at", "2019-04-13 20:38:26.482445"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete" for 127.0.0.1 at 2019-04-13 13:38:26 -0700
+Processing by TasksController#mark_complete as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "completed" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completed", true], ["updated_at", "2019-04-13 20:38:26.487791"], ["id", 980190967]]
+ [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 "updated_at" = $1 WHERE "tasks"."id" = $2[0m [["updated_at", "2019-04-13 20:38:26.491286"], ["id", 980190967]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+No template found for TasksController#mark_complete, rendering head :no_content
+Completed 204 No Content in 119ms (ActiveRecord: 1.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-13 20:38:26.608870"], ["updated_at", "2019-04-13 20:38:26.608870"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190968" for 127.0.0.1 at 2019-04-13 13:38:26 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190968"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190968], ["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", 980190968]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
+ [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::destroy: test_0002_returns a 404 if the task is not found
+--------------------------------------------------------------------------
+Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 13:38:26 -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.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mALTER 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", "name", "description", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-13 20:39:35.358312', '2019-04-13 20:39:35.358312', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-13 20:39:35.358312', '2019-04-13 20:39:35.358312', DEFAULT)[0m
+ [1m[35m (40.9ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER 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.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-13 13:39:35 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description"}}
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-13 20:39:35.454273"], ["updated_at", "2019-04-13 20:39:35.454273"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 16ms (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.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-13 13:39: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.8ms)
+Completed 200 OK in 186ms (Views: 181.9ms | ActiveRecord: 0.4ms)
+ [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-13 13:39: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-13 20:39:35.664537"], ["updated_at", "2019-04-13 20:39:35.664537"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:39:35 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "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, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-13 20:39:35.670997"], ["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.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:39:35 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [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.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:39:35.685730"], ["updated_at", "2019-04-13 20:39:35.685730"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-13 13:39:35 -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 (1.0ms)
+Completed 200 OK in 6ms (Views: 3.2ms | 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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 13:39:35 -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]]
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
+ [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-13 13:39:35 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (10.1ms)
+Completed 200 OK in 14ms (Views: 11.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task is not found
+--------------------------------------------------------------------------
+Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 13:39:35 -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.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-13 20:39:35.724130"], ["updated_at", "2019-04-13 20:39:35.724130"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190966" for 127.0.0.1 at 2019-04-13 13:39:35 -0700
+Processing by TasksController#destroy 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]]
+ [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", 980190966]]
+ [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::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.7ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-13 20:39:35.733065"], ["updated_at", "2019-04-13 20:39:35.733065"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190967/edit" for 127.0.0.1 at 2019-04-13 13:39:35 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.3ms)
+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::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-13 13:39:35 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.9ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------------
+TasksController::toggle_complete: test_0001_changes the complete field to true, marking the task as complete
+------------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:39:35.752746"], ["updated_at", "2019-04-13 20:39:35.752746"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[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 "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", "name", "description", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-13 20:41:24.001116', '2019-04-13 20:41:24.001116', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-13 20:41:24.001116', '2019-04-13 20:41:24.001116', DEFAULT)[0m
+ [1m[35m (9.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER 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
+-----------------------------
+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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-13 20:41:24.043573"], ["updated_at", "2019-04-13 20:41:24.043573"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963/edit" for 127.0.0.1 at 2019-04-13 13:41:24 -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 (12.8ms)
+Completed 200 OK in 216ms (Views: 205.0ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.4ms)[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/999/edit" for 127.0.0.1 at 2019-04-13 13:41:24 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [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.5ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 13:41:24 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-13 20:41:24.290559"], ["updated_at", "2019-04-13 20:41:24.290559"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+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 (1.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:41:24 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.8ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-13 20:41:24.304300"], ["updated_at", "2019-04-13 20:41:24.304300"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:41:24 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "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.7ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-13 20:41:24.310492"], ["id", 980190965]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 7ms (ActiveRecord: 1.4ms)
+ [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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:41:24.321131"], ["updated_at", "2019-04-13 20:41:24.321131"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-13 13:41:24 -0700
+Processing by TasksController#show 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/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 6ms (Views: 3.6ms | 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-13 13:41:24 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (4.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/
+Completed 302 Found in 6ms (ActiveRecord: 4.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-13 20:41:24.346912"], ["updated_at", "2019-04-13 20:41:24.346912"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190967" for 127.0.0.1 at 2019-04-13 13:41:24 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 980190967]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 23ms (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 a 404 if the task is not found
+--------------------------------------------------------------------------
+Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 13:41:24 -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.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-13 13:41:24 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------------
+TasksController::toggle_complete: test_0001_changes the complete field to true, marking the task as complete
+------------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:41:24.392157"], ["updated_at", "2019-04-13 20:41:24.392157"]]
+ [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::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 13:41: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 6ms (Views: 3.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-13 13:41:24 -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"[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.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 "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", "name", "description", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-13 20:41:33.044665', '2019-04-13 20:41:33.044665', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-13 20:41:33.044665', '2019-04-13 20:41:33.044665', DEFAULT)[0m
+ [1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER 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::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:41:33 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 6ms (ActiveRecord: 0.4ms)
+ [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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-13 20:41:33.092786"], ["updated_at", "2019-04-13 20:41:33.092786"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:41:33 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"980190963"}
+ [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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-13 20:41:33.098215"], ["id", 980190963]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 7ms (ActiveRecord: 1.1ms)
+ [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::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-13 13:41:33 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-13 20:41:33.109415"], ["updated_at", "2019-04-13 20:41:33.109415"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.8ms)[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.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------------
+TasksController::toggle_complete: test_0001_changes the complete field to true, marking the task as complete
+------------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:41:33.117520"], ["updated_at", "2019-04-13 20:41:33.117520"]]
+ [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::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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-13 20:41:33.120625"], ["updated_at", "2019-04-13 20:41:33.120625"]]
+ [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-13 13:41:33 -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 (8.2ms)
+Completed 200 OK in 214ms (Views: 210.4ms | 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/999/edit" for 127.0.0.1 at 2019-04-13 13:41:33 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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-13 13:41:33 -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 9ms (Views: 3.2ms | ActiveRecord: 0.0ms)
+ [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::destroy: test_0002_returns a 404 if the task is not found
+--------------------------------------------------------------------------
+Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 13:41:33 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"NOT A VALID ID"}
+ [1m[36mTask Load (0.7ms)[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.7ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-13 20:41:33.363867"], ["updated_at", "2019-04-13 20:41:33.363867"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190967" for 127.0.0.1 at 2019-04-13 13:41:33 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["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", 980190967]]
+ [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: 1.0ms)
+ [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::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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:41:33.376334"], ["updated_at", "2019-04-13 20:41:33.376334"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190968" for 127.0.0.1 at 2019-04-13 13:41:33 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190968"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190968], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 8ms (Views: 4.9ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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-13 13:41:33 -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/
+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-13 13:41: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 13:41: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"[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.2ms)[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 "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", "name", "description", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-13 20:41:46.338065', '2019-04-13 20:41:46.338065', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-13 20:41:46.338065', '2019-04-13 20:41:46.338065', DEFAULT)[0m
+ [1m[35m (39.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER 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::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-13 13:41:46 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 9ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.3ms)[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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-13 20:41:46.431231"], ["updated_at", "2019-04-13 20:41:46.431231"]]
+ [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-13 13:41:46 -0700
+Processing by TasksController#edit 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/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (15.3ms)
+Completed 200 OK in 229ms (Views: 225.6ms | ActiveRecord: 0.3ms)
+ [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
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:41:46 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-13 20:41:46.679076"], ["updated_at", "2019-04-13 20:41:46.679076"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:41:46 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "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, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-13 20:41:46.683003"], ["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::toggle_complete: test_0001_changes the complete field to true, marking the task as complete
+------------------------------------------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.9ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:41:46.690272"], ["updated_at", "2019-04-13 20:41:46.690272"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[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.2ms)[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.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:41:46.699159"], ["updated_at", "2019-04-13 20:41:46.699159"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-13 13:41:46 -0700
+Processing by TasksController#show 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/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 9ms (Views: 6.1ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[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-13 13:41:46 -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/
+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-13 13:41: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 7ms (Views: 4.1ms | 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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 13:41:46 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-13 20:41:46.737091"], ["updated_at", "2019-04-13 20:41:46.737091"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190967
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.3ms)[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.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-13 13:41: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 5ms (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-13 13:41:46 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.0ms)
+Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-13 20:41:46.765249"], ["updated_at", "2019-04-13 20:41:46.765249"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190968" for 127.0.0.1 at 2019-04-13 13:41:46 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190968"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190968], ["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", 980190968]]
+ [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.5ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task is not found
+--------------------------------------------------------------------------
+Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 13:41:46 -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[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.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER 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", "name", "description", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-13 20:44:49.256838', '2019-04-13 20:44:49.256838', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-13 20:44:49.256838', '2019-04-13 20:44:49.256838', DEFAULT)[0m
+ [1m[35m (40.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER 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
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [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-13 13:44:49 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (11.3ms)
+Completed 200 OK in 230ms (Views: 222.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:44:49.569343"], ["updated_at", "2019-04-13 20:44:49.569343"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-13 13:44:49 -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.9ms)
+Completed 200 OK in 10ms (Views: 2.5ms | 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-13 13:44:49 -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/
+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_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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-13 20:44:49.590872"], ["updated_at", "2019-04-13 20:44:49.590872"]]
+ [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-13 13:44:49 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (1.5ms)[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.3ms)
+Completed 200 OK in 10ms (Views: 2.5ms | ActiveRecord: 1.5ms)
+ [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/999/edit" for 127.0.0.1 at 2019-04-13 13:44:49 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-13 20:44:49.612708"], ["updated_at", "2019-04-13 20:44:49.612708"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:44:49 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"980190965"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-13 20:44:49.621302"], ["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 6ms (ActiveRecord: 1.0ms)
+ [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/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 13:44:49 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::toggle_complete: test_0001_changes the complete field to true, marking the task as complete
+------------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 20:44:49.634454"], ["updated_at", "2019-04-13 20:44:49.634454"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966/complete" for 127.0.0.1 at 2019-04-13 13:44:49 -0700
+Processing by TasksController#mark_complete 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]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.6ms)[0m [1m[33mUPDATE "tasks" SET "completed" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completed", true], ["updated_at", "2019-04-13 20:44:49.638623"], ["id", 980190966]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+No template found for TasksController#mark_complete, rendering head :no_content
+Completed 204 No Content in 105ms (ActiveRecord: 1.2ms)
+ [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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 13:44:49 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-13 20:44:49.747705"], ["updated_at", "2019-04-13 20:44:49.747705"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190967
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.6ms)[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.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task is not found
+--------------------------------------------------------------------------
+Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 13:44:49 -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.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-13 20:44:49.760778"], ["updated_at", "2019-04-13 20:44:49.760778"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190968" for 127.0.0.1 at 2019-04-13 13:44:49 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190968"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190968], ["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", 980190968]]
+ [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.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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 13:44: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.3ms)
+ [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-13 13:44: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[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 "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", "name", "description", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-13 21:14:28.978280', '2019-04-13 21:14:28.978280', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-13 21:14:28.978280', '2019-04-13 21:14:28.978280', DEFAULT)[0m
+ [1m[35m (40.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER 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::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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-13 21:14:29.047326"], ["updated_at", "2019-04-13 21:14:29.047326"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 14:14:29 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "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, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-13 21:14:29.065192"], ["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 11ms (ActiveRecord: 1.0ms)
+ [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.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/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 14:14:29 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [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.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------------
+TasksController::toggle_complete: test_0001_changes the complete field to true, marking the task as complete
+------------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 21:14:29.083889"], ["updated_at", "2019-04-13 21:14:29.083889"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964/complete" for 127.0.0.1 at 2019-04-13 14:14:29 -0700
+Processing by TasksController#mark_complete 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]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "completed" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completed", true], ["updated_at", "2019-04-13 21:14:29.090475"], ["id", 980190964]]
+ [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.2ms)[0m [1m[33mUPDATE "tasks" SET "updated_at" = $1 WHERE "tasks"."id" = $2[0m [["updated_at", "2019-04-13 21:14:29.092675"], ["id", 980190964]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+No template found for TasksController#mark_complete, rendering head :no_content
+Completed 204 No Content in 107ms (ActiveRecord: 1.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-13 21:14:29.199813"], ["updated_at", "2019-04-13 21:14:29.199813"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190965" for 127.0.0.1 at 2019-04-13 14:14:29 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.7ms)[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 Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 980190965]]
+ [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: 1.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_0002_returns a 404 if the task is not found
+--------------------------------------------------------------------------
+Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 14:14: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.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-13 14:14:29 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (7.0ms)
+Completed 200 OK in 188ms (Views: 182.1ms | ActiveRecord: 1.1ms)
+ [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-13 14:14:29 -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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.4ms)
+ [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.5ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 14:14:29 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-13 21:14:29.422628"], ["updated_at", "2019-04-13 21:14:29.422628"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190966
+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-13 14:14:29 -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 16ms (Views: 13.5ms | 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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-13 21:14:29.447856"], ["updated_at", "2019-04-13 21:14:29.447856"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190967/edit" for 127.0.0.1 at 2019-04-13 14:14:29 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 9ms (Views: 3.6ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-13 14:14:29 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 21:14:29.467320"], ["updated_at", "2019-04-13 21:14:29.467320"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190968" for 127.0.0.1 at 2019-04-13 14:14:29 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190968"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190968], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.5ms)
+Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[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-13 14:14:29 -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/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[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 "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (1.6ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-13 21:15:01.587601', '2019-04-13 21:15:01.587601', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-13 21:15:01.587601', '2019-04-13 21:15:01.587601', DEFAULT)[0m
+ [1m[35m (21.0ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER 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-13 14:15: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (12.5ms)
+Completed 200 OK in 190ms (Views: 183.1ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[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-13 14:15: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.4ms)
+ [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 (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 14:15:01 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-13 21:15:01.849299"], ["updated_at", "2019-04-13 21:15:01.849299"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
+ [1m[35m (1.4ms)[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.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------------
+TasksController::toggle_complete: test_0001_changes the complete field to true, marking the task as complete
+------------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 21:15:01.864309"], ["updated_at", "2019-04-13 21:15:01.864309"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964/complete" for 127.0.0.1 at 2019-04-13 14:15:01 -0700
+Processing by TasksController#mark_complete as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.6ms)[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 "completed" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completed", true], ["updated_at", "2019-04-13 21:15:01.871514"], ["id", 980190964]]
+ [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.4ms)[0m [1m[33mUPDATE "tasks" SET "updated_at" = $1 WHERE "tasks"."id" = $2[0m [["updated_at", "2019-04-13 21:15:01.874352"], ["id", 980190964]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+No template found for TasksController#mark_complete, rendering head :no_content
+Completed 204 No Content in 112ms (ActiveRecord: 1.9ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task is not found
+--------------------------------------------------------------------------
+Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 14:15:01 -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[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (1.0ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-13 21:15:01.987268"], ["updated_at", "2019-04-13 21:15:01.987268"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190965" for 127.0.0.1 at 2019-04-13 14:15:01 -0700
+Processing by TasksController#destroy 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]]
+ [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", 980190965]]
+ [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::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 14:15:01 -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/
+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.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.7ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 21:15:02.002166"], ["updated_at", "2019-04-13 21:15:02.002166"]]
+ [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-13 14:15:02 -0700
+Processing by TasksController#show 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/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.5ms)
+Completed 500 Internal Server Error in 3ms (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.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-13 21:15:02.014802"], ["updated_at", "2019-04-13 21:15:02.014802"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 14:15:02 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"980190967"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-13 21:15:02.032477"], ["id", 980190967]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190967
+Completed 302 Found in 7ms (ActiveRecord: 1.4ms)
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 14:15:02 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-13 21:15:02.047985"], ["updated_at", "2019-04-13 21:15:02.047985"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190968/edit" for 127.0.0.1 at 2019-04-13 14:15:02 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190968"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190968], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (10.2ms)
+Completed 200 OK in 16ms (Views: 11.4ms | 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/999/edit" for 127.0.0.1 at 2019-04-13 14:15:02 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 14:15: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.3ms)
+Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.0ms)
+ [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 "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", "name", "description", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-13 21:21:35.944853', '2019-04-13 21:21:35.944853', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-13 21:21:35.944853', '2019-04-13 21:21:35.944853', DEFAULT)[0m
+ [1m[35m (37.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER 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::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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-13 21:21:36.009458"], ["updated_at", "2019-04-13 21:21:36.009458"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 14:21:36 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "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, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-13 21:21:36.028443"], ["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 11ms (ActiveRecord: 1.0ms)
+ [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.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/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 14:21:36 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [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-13 14:21: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.2ms)
+Completed 200 OK in 186ms (Views: 184.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-13 14:21: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms)
+ [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.2ms)[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.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 21:21:36.248117"], ["updated_at", "2019-04-13 21:21:36.248117"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-13 14:21:36 -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.9ms)
+Completed 200 OK in 5ms (Views: 2.0ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[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-13 14:21:36 -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/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [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-13 14:21: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.2ms)
+Completed 200 OK in 15ms (Views: 12.2ms | 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-13 14:21:36 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-13 21:21:36.288373"], ["updated_at", "2019-04-13 21:21:36.288373"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+ [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.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-13 21:21:36.295795"], ["updated_at", "2019-04-13 21:21:36.295795"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190966" for 127.0.0.1 at 2019-04-13 14:21:36 -0700
+Processing by TasksController#destroy 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]]
+ [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", 980190966]]
+ [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.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 a 404 if the task is not found
+--------------------------------------------------------------------------
+Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 14:21:36 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"NOT A VALID ID"}
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+Completed 404 Not Found in 3ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.4ms)[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/999/edit" for 127.0.0.1 at 2019-04-13 14:21:36 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.4ms)[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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-13 21:21:36.321302"], ["updated_at", "2019-04-13 21:21:36.321302"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190967/edit" for 127.0.0.1 at 2019-04-13 14:21:36 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 8ms (Views: 4.0ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------------
+TasksController::toggle_complete: test_0001_changes the complete field to true, marking the task as complete
+------------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 21:21:36.334853"], ["updated_at", "2019-04-13 21:21:36.334853"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968/complete" for 127.0.0.1 at 2019-04-13 14:21:36 -0700
+Processing by TasksController#mark_complete as HTML
+ Parameters: {"id"=>"980190968"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190968], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completed" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completed", true], ["updated_at", "2019-04-13 21:21:36.338504"], ["id", 980190968]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "updated_at" = $1 WHERE "tasks"."id" = $2[0m [["updated_at", "2019-04-13 21:21:36.342639"], ["id", 980190968]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+No template found for TasksController#mark_complete, rendering head :no_content
+Completed 204 No Content in 107ms (ActiveRecord: 1.8ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[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 "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", "name", "description", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-13 23:46:00.537313', '2019-04-13 23:46:00.537313', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-13 23:46:00.537313', '2019-04-13 23:46:00.537313', DEFAULT)[0m
+ [1m[35m (20.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER 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-13 16:46:00 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (12.0ms)
+Completed 200 OK in 236ms (Views: 221.6ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-13 23:46:00.826033"], ["updated_at", "2019-04-13 23:46:00.826033"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 16:46:00 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"980190963"}
+ [1m[36mTask Load (0.8ms)[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.4ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-13 23:46:00.844338"], ["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 12ms (ActiveRecord: 1.6ms)
+ [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.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
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 16:46:00 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [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.5ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 16:46:00 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-13 23:46:00.863008"], ["updated_at", "2019-04-13 23:46:00.863008"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (2.0ms)[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_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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-13 23:46:00.876675"], ["updated_at", "2019-04-13 23:46:00.876675"]]
+ [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-13 16:46:00 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (1.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 (1.7ms)
+Completed 200 OK in 10ms (Views: 2.9ms | ActiveRecord: 1.1ms)
+ [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/999/edit" for 127.0.0.1 at 2019-04-13 16:46:00 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 23:46:00.900654"], ["updated_at", "2019-04-13 23:46:00.900654"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-13 16:46:00 -0700
+Processing by TasksController#show 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/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 5ms (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_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 16:46:00 -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/
+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::toggle_complete: test_0001_changes the complete field to true, marking the task as complete
+------------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 23:46:00.916027"], ["updated_at", "2019-04-13 23:46:00.916027"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete" for 127.0.0.1 at 2019-04-13 16:46:00 -0700
+Processing by TasksController#mark_complete as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "completed" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completed", true], ["updated_at", "2019-04-13 23:46:00.919979"], ["id", 980190967]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.9ms)[0m [1m[33mUPDATE "tasks" SET "updated_at" = $1 WHERE "tasks"."id" = $2[0m [["updated_at", "2019-04-13 23:46:00.923041"], ["id", 980190967]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+No template found for TasksController#mark_complete, rendering head :no_content
+Completed 204 No Content in 112ms (ActiveRecord: 2.7ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-13 23:46:01.035034"], ["updated_at", "2019-04-13 23:46:01.035034"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190968" for 127.0.0.1 at 2019-04-13 16:46:01 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190968"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190968], ["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", 980190968]]
+ [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 5ms (ActiveRecord: 1.9ms)
+ [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 a 404 if the task is not found
+--------------------------------------------------------------------------
+Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 16:46:01 -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[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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 16:46: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
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 8ms (Views: 3.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-13 16:46: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.0ms)
+Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms)
+ [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 "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", "name", "description", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-13 23:46:32.882912', '2019-04-13 23:46:32.882912', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-13 23:46:32.882912', '2019-04-13 23:46:32.882912', DEFAULT)[0m
+ [1m[35m (13.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER 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-13 16:46:32 -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 (13.5ms)
+Completed 200 OK in 215ms (Views: 208.4ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.4ms)[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-13 16:46:33 -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 4ms (Views: 3.1ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_can delete a task
+-----------------------------------------------------
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Task to destroy"], ["created_at", "2019-04-13 23:46:33.153726"], ["updated_at", "2019-04-13 23:46:33.153726"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-13 16:46:33 -0700
+Processing by TasksController#destroy 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]]
+ [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", 980190963]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
+ [1m[35m (0.5ms)[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 a 404 if the task is not found
+--------------------------------------------------------------------------
+Started DELETE "/tasks/NOT%20A%20VALID%20ID" for 127.0.0.1 at 2019-04-13 16:46:33 -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[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------------
+TasksController::toggle_complete: test_0001_changes the complete field to true, marking the task as complete
+------------------------------------------------------------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 23:46:33.179275"], ["updated_at", "2019-04-13 23:46:33.179275"]]
+ [1m[35m (1.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964/complete" for 127.0.0.1 at 2019-04-13 16:46:33 -0700
+Processing by TasksController#mark_complete as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (1.7ms)[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 (1.8ms)[0m [1m[33mUPDATE "tasks" SET "completed" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completed", true], ["updated_at", "2019-04-13 23:46:33.189199"], ["id", 980190964]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "updated_at" = $1 WHERE "tasks"."id" = $2[0m [["updated_at", "2019-04-13 23:46:33.195557"], ["id", 980190964]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+No template found for TasksController#mark_complete, rendering head :no_content
+Completed 204 No Content in 111ms (ActiveRecord: 4.6ms)
+ [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[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-13 16:46:33 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (11.1ms)
+Completed 200 OK in 15ms (Views: 12.3ms | 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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "cleaning"], ["created_at", "2019-04-13 23:46:33.320001"], ["updated_at", "2019-04-13 23:46:33.320001"]]
+ [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-13 16:46:33 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (3.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 (2.2ms)
+Completed 200 OK in 12ms (Views: 3.9ms | ActiveRecord: 3.1ms)
+ [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
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/999/edit" for 127.0.0.1 at 2019-04-13 16:46:33 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (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::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-13 16:46:33 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-13 23:46:33.350182"], ["updated_at", "2019-04-13 23:46:33.350182"]]
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190966
+Completed 302 Found in 4ms (ActiveRecord: 1.7ms)
+ [1m[35m (0.7ms)[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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 16:46:33 -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/
+Completed 302 Found in 1ms (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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-13 23:46:33.362977"], ["updated_at", "2019-04-13 23:46:33.362977"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190967" for 127.0.0.1 at 2019-04-13 16:46:33 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 6ms (Views: 2.9ms | 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.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "cleaning"], ["description", "not fun"], ["created_at", "2019-04-13 23:46:33.375310"], ["updated_at", "2019-04-13 23:46:33.375310"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968?task%5Bdescription%5D=new+task+description&task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 16:46:33 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"description"=>"new task description", "name"=>"I am not cleaning"}, "id"=>"980190968"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190968], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "I am not cleaning"], ["description", "new task description"], ["updated_at", "2019-04-13 23:46:33.380149"], ["id", 980190968]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190968
+Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190968], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/999?task%5Bname%5D=I+am+not+cleaning" for 127.0.0.1 at 2019-04-13 16:46:33 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"I am not cleaning"}, "id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [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 6a1ecdbe7..df8c264ef 100644
--- a/test/controllers/tasks_controller_test.rb
+++ b/test/controllers/tasks_controller_test.rb
@@ -4,8 +4,7 @@
# Note to students: Your Task model **may** be different and
# you may need to modify this.
let (:task) {
- Task.create name: "sample task", description: "this is an example for a test",
- completed_at: DateTime.new
+ Task.create name: "sample task", description: "this is an example for a test"
}
# Tests for Wave 1
@@ -69,7 +68,6 @@
task: {
name: "new task",
description: "new task description",
- completed_at: DateTime.now,
},
}
@@ -174,6 +172,16 @@
# Complete for Wave 4
describe "toggle_complete" do
- # Your tests go here
+ it "changes the complete field to true, marking the task as complete" do
+ task
+
+ # expect(task.completed).must_equal true
+
+ patch mark_complete_path(task.id)
+
+ task.reload
+
+ expect(task.completed).must_equal true
+ end
end
end
From 5cb151a50d1cdc0273102604182d26c504c38766 Mon Sep 17 00:00:00 2001
From: Heather Izumi
Date: Sat, 13 Apr 2019 22:04:45 -0700
Subject: [PATCH 6/9] added styles, updated views
---
app/assets/stylesheets/tasks.scss | 62 +-
app/views/layouts/application.html.erb | 11 +-
app/views/tasks/edit.html.erb | 2 +-
app/views/tasks/index.html.erb | 2 +-
app/views/tasks/new.html.erb | 2 +-
app/views/tasks/show.html.erb | 7 +-
log/development.log | 1099 ++++++++++++++++++++++++
7 files changed, 1171 insertions(+), 14 deletions(-)
diff --git a/app/assets/stylesheets/tasks.scss b/app/assets/stylesheets/tasks.scss
index 843271295..381feb814 100644
--- a/app/assets/stylesheets/tasks.scss
+++ b/app/assets/stylesheets/tasks.scss
@@ -2,26 +2,82 @@
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
+@import url('https://fonts.googleapis.com/css?family=Lobster|Roboto');
+// font-family: 'Lobster', cursive;
+// font-family: 'Roboto', sans-serif;
+
.container {
display: grid;
- grid-template-columns: 50px 1fr;
- grid-template-rows: 30px auto 30px;
+ font-family: 'Roboto', sans-serif;
+ grid-template-columns: 150px 1fr;
+ // grid-template-rows: 60px auto 30px;
+ grid-template-rows: 80px 1fr 45px;
+
}
header {
- grid-row: 1 / 3;
+ background: #b33F62;
+ display: flex;
+ flex-direction: row;
+ justify-content: center;
+ align-items: center;
+ grid-column: 1 / 3;
+ font-size: 30pt;
+ font-family: 'Lobster', cursive;
+}
+
+.options-nav {
+ color: whitesmoke;
+ text-decoration: none;
+}
+
+.options-nav:hover {
+ color: yellow;
}
nav {
+ background: #7B1E74;
+ color: lightslategray;
grid-column: 1;
grid-row: 2;
+ text-decoration: none;
+
+}
+nav ul {
+ margin: 0;
+ padding: 15px 0px 0px 15px;
+ line-height: 40pt;
+ font-family: 'Roboto', sans-serif;
+}
+
+nav ul li {
+ list-style-type: none;
+}
+
+nav ul li:hover {
+ color: yellow;
}
main {
+ background: #F3C677;
+ background: #F0EAD6;
grid-column: 2;
grid-row: 2;
+ padding: 20px;
+
}
footer {
+ grid-column: 1/3;
grid-row: 3;
+ align-items: flex-start;
+ background: #0C0A3E;
+ color: whitesmoke;
+ display: flex;
+ flex-direction: row;
+ padding-left: 2rem;
+}
+
+footer p {
+
}
\ No newline at end of file
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index c57775369..fc9778028 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -12,15 +12,16 @@
- insert here
+ My Task List
- All tasks
+ <%= link_to "All tasks", tasks_path, class: "options-nav" %>
- Add task
+
+ <%= link_to "Add task", new_task_path, class: "options-nav"%>
@@ -30,7 +31,9 @@