From ce49f7d4b3a22f64cd2b1c82898dccef8d42709f Mon Sep 17 00:00:00 2001
From: K <774162+kaseea@users.noreply.github.com>
Date: Mon, 8 Apr 2019 15:02:20 -0700
Subject: [PATCH 1/6] baseline done
---
.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/javascripts/tasks.js | 2 +
app/assets/stylesheets/application.css | 15 +
app/assets/stylesheets/tasks.scss | 3 +
app/channels/application_cable/channel.rb | 4 +
app/channels/application_cable/connection.rb | 4 +
app/controllers/application_controller.rb | 2 +
app/controllers/concerns/.keep | 0
app/controllers/tasks_controller.rb | 7 +
app/helpers/application_helper.rb | 2 +
app/helpers/tasks_helper.rb | 2 +
app/jobs/application_job.rb | 2 +
app/mailers/application_mailer.rb | 4 +
app/models/application_record.rb | 3 +
app/models/concerns/.keep | 0
app/views/layouts/application.html.erb | 15 +
app/views/layouts/mailer.html.erb | 13 +
app/views/layouts/mailer.text.erb | 1 +
app/views/tasks/index.html.erb | 8 +
bin/bundle | 3 +
bin/rails | 9 +
bin/rake | 9 +
bin/setup | 36 +++
bin/spring | 17 ++
bin/update | 31 ++
bin/yarn | 11 +
config.ru | 5 +
config/application.rb | 26 ++
config/boot.rb | 4 +
config/cable.yml | 10 +
config/credentials.yml.enc | 1 +
config/database.yml | 85 ++++++
config/environment.rb | 5 +
config/environments/development.rb | 61 ++++
config/environments/production.rb | 94 ++++++
config/environments/test.rb | 46 +++
config/initializers/action_view.rb | 1 +
.../application_controller_renderer.rb | 8 +
config/initializers/assets.rb | 14 +
config/initializers/backtrace_silencers.rb | 7 +
.../initializers/content_security_policy.rb | 25 ++
config/initializers/cookies_serializer.rb | 5 +
.../initializers/filter_parameter_logging.rb | 4 +
config/initializers/inflections.rb | 16 +
config/initializers/mime_types.rb | 4 +
config/initializers/wrap_parameters.rb | 14 +
config/locales/en.yml | 33 +++
config/puma.rb | 34 +++
config/routes.rb | 5 +
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 | 53 ++++
log/test.log | 57 ++++
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
86 files changed, 1510 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/javascripts/tasks.js
create mode 100644 app/assets/stylesheets/application.css
create mode 100644 app/assets/stylesheets/tasks.scss
create mode 100644 app/channels/application_cable/channel.rb
create mode 100644 app/channels/application_cable/connection.rb
create mode 100644 app/controllers/application_controller.rb
create mode 100644 app/controllers/concerns/.keep
create mode 100644 app/controllers/tasks_controller.rb
create mode 100644 app/helpers/application_helper.rb
create mode 100644 app/helpers/tasks_helper.rb
create mode 100644 app/jobs/application_job.rb
create mode 100644 app/mailers/application_mailer.rb
create mode 100644 app/models/application_record.rb
create mode 100644 app/models/concerns/.keep
create mode 100644 app/views/layouts/application.html.erb
create mode 100644 app/views/layouts/mailer.html.erb
create mode 100644 app/views/layouts/mailer.text.erb
create mode 100644 app/views/tasks/index.html.erb
create mode 100755 bin/bundle
create mode 100755 bin/rails
create mode 100755 bin/rake
create mode 100755 bin/setup
create mode 100755 bin/spring
create mode 100755 bin/update
create mode 100755 bin/yarn
create mode 100644 config.ru
create mode 100644 config/application.rb
create mode 100644 config/boot.rb
create mode 100644 config/cable.yml
create mode 100644 config/credentials.yml.enc
create mode 100644 config/database.yml
create mode 100644 config/environment.rb
create mode 100644 config/environments/development.rb
create mode 100644 config/environments/production.rb
create mode 100644 config/environments/test.rb
create mode 100644 config/initializers/action_view.rb
create mode 100644 config/initializers/application_controller_renderer.rb
create mode 100644 config/initializers/assets.rb
create mode 100644 config/initializers/backtrace_silencers.rb
create mode 100644 config/initializers/content_security_policy.rb
create mode 100644 config/initializers/cookies_serializer.rb
create mode 100644 config/initializers/filter_parameter_logging.rb
create mode 100644 config/initializers/inflections.rb
create mode 100644 config/initializers/mime_types.rb
create mode 100644 config/initializers/wrap_parameters.rb
create mode 100644 config/locales/en.yml
create mode 100644 config/puma.rb
create mode 100644 config/routes.rb
create mode 100644 config/spring.rb
create mode 100644 config/storage.yml
create mode 100644 db/seeds.rb
create mode 100644 lib/assets/.keep
create mode 100644 lib/tasks/.keep
create mode 100644 log/.keep
create mode 100644 log/development.log
create mode 100644 log/test.log
create mode 100644 package.json
create mode 100644 public/404.html
create mode 100644 public/422.html
create mode 100644 public/500.html
create mode 100644 public/apple-touch-icon-precomposed.png
create mode 100644 public/apple-touch-icon.png
create mode 100644 public/favicon.ico
create mode 100644 public/robots.txt
create mode 100644 storage/.keep
create mode 100644 test/application_system_test_case.rb
create mode 100644 test/fixtures/.keep
create mode 100644 test/fixtures/files/.keep
create mode 100644 test/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..25c81fe39
--- /dev/null
+++ b/.ruby-version
@@ -0,0 +1 @@
+ruby-2.5.1
\ No newline at end of file
diff --git a/Gemfile b/Gemfile
new file mode 100644
index 000000000..e665f46d3
--- /dev/null
+++ b/Gemfile
@@ -0,0 +1,81 @@
+source 'https://rubygems.org'
+git_source(:github) { |repo| "https://github.com/#{repo}.git" }
+
+ruby '2.5.1'
+
+# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
+gem 'rails', '~> 5.2.3'
+# Use postgresql as the database for Active Record
+gem 'pg', '>= 0.18', '< 2.0'
+# Use Puma as the app server
+gem 'puma', '~> 3.11'
+# Use SCSS for stylesheets
+gem 'sass-rails', '~> 5.0'
+# Use Uglifier as compressor for JavaScript assets
+gem 'uglifier', '>= 1.3.0'
+# See https://github.com/rails/execjs#readme for more supported runtimes
+# gem 'mini_racer', platforms: :ruby
+
+# Use CoffeeScript for .coffee assets and views
+# gem 'coffee-rails', '~> 4.2'
+# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
+gem 'turbolinks', '~> 5'
+# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
+gem 'jbuilder', '~> 2.5'
+# Use Redis adapter to run Action Cable in production
+# gem 'redis', '~> 4.0'
+# Use ActiveModel has_secure_password
+# gem 'bcrypt', '~> 3.1.7'
+
+# Use ActiveStorage variant
+# gem 'mini_magick', '~> 4.8'
+
+# Use Capistrano for deployment
+# gem 'capistrano-rails', group: :development
+
+# Reduces boot times through caching; required in config/boot.rb
+gem 'bootsnap', '>= 1.1.0', require: false
+
+group :development, :test do
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
+ gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
+end
+
+group :development do
+ # Access an interactive console on exception pages or by calling 'console' anywhere in the code.
+ gem 'web-console', '>= 3.3.0'
+ gem 'listen', '>= 3.0.5', '< 3.2'
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
+ gem 'spring'
+ gem 'spring-watcher-listen', '~> 2.0.0'
+end
+
+group :test do
+ # Adds support for Capybara system testing and selenium driver
+ gem 'capybara', '>= 2.15'
+ gem 'selenium-webdriver'
+ # Easy installation and use of chromedriver to run system tests with Chrome
+ gem 'chromedriver-helper'
+end
+
+# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
+gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
+
+gem 'jquery-turbolinks'
+gem 'jquery-rails'
+group :development, :test do
+ gem 'pry-rails'
+end
+
+group :development do
+ gem 'better_errors'
+ gem 'binding_of_caller'
+ gem 'guard'
+ gem 'guard-minitest'
+end
+
+group :test do
+ gem 'minitest-rails'
+ gem 'minitest-reporters'
+ gem 'minitest-skip'
+end
diff --git a/Gemfile.lock b/Gemfile.lock
new file mode 100644
index 000000000..e5a2992a5
--- /dev/null
+++ b/Gemfile.lock
@@ -0,0 +1,274 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actioncable (5.2.3)
+ actionpack (= 5.2.3)
+ nio4r (~> 2.0)
+ websocket-driver (>= 0.6.1)
+ actionmailer (5.2.3)
+ actionpack (= 5.2.3)
+ actionview (= 5.2.3)
+ activejob (= 5.2.3)
+ mail (~> 2.5, >= 2.5.4)
+ rails-dom-testing (~> 2.0)
+ actionpack (5.2.3)
+ actionview (= 5.2.3)
+ activesupport (= 5.2.3)
+ rack (~> 2.0)
+ rack-test (>= 0.6.3)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
+ actionview (5.2.3)
+ activesupport (= 5.2.3)
+ builder (~> 3.1)
+ erubi (~> 1.4)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
+ activejob (5.2.3)
+ activesupport (= 5.2.3)
+ globalid (>= 0.3.6)
+ activemodel (5.2.3)
+ activesupport (= 5.2.3)
+ activerecord (5.2.3)
+ activemodel (= 5.2.3)
+ activesupport (= 5.2.3)
+ arel (>= 9.0)
+ activestorage (5.2.3)
+ actionpack (= 5.2.3)
+ activerecord (= 5.2.3)
+ marcel (~> 0.3.1)
+ activesupport (5.2.3)
+ concurrent-ruby (~> 1.0, >= 1.0.2)
+ i18n (>= 0.7, < 2)
+ minitest (~> 5.1)
+ tzinfo (~> 1.1)
+ addressable (2.6.0)
+ public_suffix (>= 2.0.2, < 4.0)
+ ansi (1.5.0)
+ archive-zip (0.12.0)
+ io-like (~> 0.3.0)
+ arel (9.0.0)
+ better_errors (2.5.1)
+ coderay (>= 1.0.0)
+ erubi (>= 1.0.0)
+ rack (>= 0.9.0)
+ bindex (0.7.0)
+ binding_of_caller (0.8.0)
+ debug_inspector (>= 0.0.1)
+ bootsnap (1.4.3)
+ msgpack (~> 1.0)
+ builder (3.2.3)
+ byebug (11.0.1)
+ capybara (3.16.1)
+ addressable
+ mini_mime (>= 0.1.3)
+ nokogiri (~> 1.8)
+ rack (>= 1.6.0)
+ rack-test (>= 0.6.3)
+ regexp_parser (~> 1.2)
+ xpath (~> 3.2)
+ childprocess (0.9.0)
+ ffi (~> 1.0, >= 1.0.11)
+ chromedriver-helper (2.1.1)
+ archive-zip (~> 0.10)
+ nokogiri (~> 1.8)
+ coderay (1.1.2)
+ concurrent-ruby (1.1.5)
+ crass (1.0.4)
+ debug_inspector (0.0.3)
+ erubi (1.8.0)
+ execjs (2.7.0)
+ ffi (1.10.0)
+ formatador (0.2.5)
+ globalid (0.4.2)
+ activesupport (>= 4.2.0)
+ guard (2.15.0)
+ formatador (>= 0.2.4)
+ listen (>= 2.7, < 4.0)
+ lumberjack (>= 1.0.12, < 2.0)
+ nenv (~> 0.1)
+ notiffany (~> 0.0)
+ pry (>= 0.9.12)
+ shellany (~> 0.0)
+ thor (>= 0.18.1)
+ guard-compat (1.2.1)
+ guard-minitest (2.4.6)
+ guard-compat (~> 1.2)
+ minitest (>= 3.0)
+ i18n (1.6.0)
+ concurrent-ruby (~> 1.0)
+ io-like (0.3.0)
+ jbuilder (2.8.0)
+ activesupport (>= 4.2.0)
+ multi_json (>= 1.2)
+ jquery-rails (4.3.3)
+ rails-dom-testing (>= 1, < 3)
+ railties (>= 4.2.0)
+ thor (>= 0.14, < 2.0)
+ jquery-turbolinks (2.1.0)
+ railties (>= 3.1.0)
+ turbolinks
+ listen (3.1.5)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ ruby_dep (~> 1.2)
+ loofah (2.2.3)
+ crass (~> 1.0.2)
+ nokogiri (>= 1.5.9)
+ lumberjack (1.0.13)
+ mail (2.7.1)
+ mini_mime (>= 0.1.1)
+ marcel (0.3.3)
+ mimemagic (~> 0.3.2)
+ method_source (0.9.2)
+ mimemagic (0.3.3)
+ mini_mime (1.0.1)
+ mini_portile2 (2.4.0)
+ minitest (5.11.3)
+ minitest-rails (3.0.0)
+ minitest (~> 5.8)
+ railties (~> 5.0)
+ minitest-reporters (1.3.6)
+ ansi
+ builder
+ minitest (>= 5.0)
+ ruby-progressbar
+ minitest-skip (0.0.1)
+ minitest (~> 5.0)
+ msgpack (1.2.9)
+ multi_json (1.13.1)
+ nenv (0.3.0)
+ nio4r (2.3.1)
+ nokogiri (1.10.2)
+ mini_portile2 (~> 2.4.0)
+ notiffany (0.1.1)
+ nenv (~> 0.1)
+ shellany (~> 0.0)
+ pg (1.1.4)
+ pry (0.12.2)
+ coderay (~> 1.1.0)
+ method_source (~> 0.9.0)
+ pry-rails (0.3.9)
+ pry (>= 0.10.4)
+ public_suffix (3.0.3)
+ puma (3.12.1)
+ rack (2.0.7)
+ rack-test (1.1.0)
+ rack (>= 1.0, < 3)
+ rails (5.2.3)
+ actioncable (= 5.2.3)
+ actionmailer (= 5.2.3)
+ actionpack (= 5.2.3)
+ actionview (= 5.2.3)
+ activejob (= 5.2.3)
+ activemodel (= 5.2.3)
+ activerecord (= 5.2.3)
+ activestorage (= 5.2.3)
+ activesupport (= 5.2.3)
+ bundler (>= 1.3.0)
+ railties (= 5.2.3)
+ sprockets-rails (>= 2.0.0)
+ rails-dom-testing (2.0.3)
+ activesupport (>= 4.2.0)
+ nokogiri (>= 1.6)
+ rails-html-sanitizer (1.0.4)
+ loofah (~> 2.2, >= 2.2.2)
+ railties (5.2.3)
+ actionpack (= 5.2.3)
+ activesupport (= 5.2.3)
+ method_source
+ rake (>= 0.8.7)
+ thor (>= 0.19.0, < 2.0)
+ rake (12.3.2)
+ rb-fsevent (0.10.3)
+ rb-inotify (0.10.0)
+ ffi (~> 1.0)
+ regexp_parser (1.4.0)
+ ruby-progressbar (1.10.0)
+ ruby_dep (1.5.0)
+ rubyzip (1.2.2)
+ sass (3.7.4)
+ sass-listen (~> 4.0.0)
+ sass-listen (4.0.0)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ sass-rails (5.0.7)
+ railties (>= 4.0.0, < 6)
+ sass (~> 3.1)
+ sprockets (>= 2.8, < 4.0)
+ sprockets-rails (>= 2.0, < 4.0)
+ tilt (>= 1.1, < 3)
+ selenium-webdriver (3.141.0)
+ childprocess (~> 0.5)
+ rubyzip (~> 1.2, >= 1.2.2)
+ shellany (0.0.1)
+ spring (2.0.2)
+ activesupport (>= 4.2)
+ spring-watcher-listen (2.0.1)
+ listen (>= 2.7, < 4.0)
+ spring (>= 1.2, < 3.0)
+ sprockets (3.7.2)
+ concurrent-ruby (~> 1.0)
+ rack (> 1, < 3)
+ sprockets-rails (3.2.1)
+ actionpack (>= 4.0)
+ activesupport (>= 4.0)
+ sprockets (>= 3.0.0)
+ thor (0.20.3)
+ thread_safe (0.3.6)
+ tilt (2.0.9)
+ turbolinks (5.2.0)
+ turbolinks-source (~> 5.2)
+ turbolinks-source (5.2.0)
+ tzinfo (1.2.5)
+ thread_safe (~> 0.1)
+ uglifier (4.1.20)
+ execjs (>= 0.3.0, < 3)
+ web-console (3.7.0)
+ actionview (>= 5.0)
+ activemodel (>= 5.0)
+ bindex (>= 0.4.0)
+ railties (>= 5.0)
+ websocket-driver (0.7.0)
+ websocket-extensions (>= 0.1.0)
+ websocket-extensions (0.1.3)
+ xpath (3.2.0)
+ nokogiri (~> 1.8)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ better_errors
+ binding_of_caller
+ bootsnap (>= 1.1.0)
+ byebug
+ capybara (>= 2.15)
+ chromedriver-helper
+ guard
+ guard-minitest
+ jbuilder (~> 2.5)
+ jquery-rails
+ jquery-turbolinks
+ listen (>= 3.0.5, < 3.2)
+ minitest-rails
+ minitest-reporters
+ minitest-skip
+ pg (>= 0.18, < 2.0)
+ pry-rails
+ puma (~> 3.11)
+ rails (~> 5.2.3)
+ sass-rails (~> 5.0)
+ selenium-webdriver
+ spring
+ spring-watcher-listen (~> 2.0.0)
+ turbolinks (~> 5)
+ tzinfo-data
+ uglifier (>= 1.3.0)
+ web-console (>= 3.3.0)
+
+RUBY VERSION
+ ruby 2.5.1p57
+
+BUNDLED WITH
+ 1.17.3
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/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/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/assets/stylesheets/tasks.scss b/app/assets/stylesheets/tasks.scss
new file mode 100644
index 000000000..c5e7712d4
--- /dev/null
+++ b/app/assets/stylesheets/tasks.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Tasks controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/app/channels/application_cable/channel.rb b/app/channels/application_cable/channel.rb
new file mode 100644
index 000000000..d67269728
--- /dev/null
+++ b/app/channels/application_cable/channel.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Channel < ActionCable::Channel::Base
+ end
+end
diff --git a/app/channels/application_cable/connection.rb b/app/channels/application_cable/connection.rb
new file mode 100644
index 000000000..0ff5442f4
--- /dev/null
+++ b/app/channels/application_cable/connection.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Connection < ActionCable::Connection::Base
+ end
+end
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
new file mode 100644
index 000000000..09705d12a
--- /dev/null
+++ b/app/controllers/application_controller.rb
@@ -0,0 +1,2 @@
+class ApplicationController < ActionController::Base
+end
diff --git a/app/controllers/concerns/.keep b/app/controllers/concerns/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb
new file mode 100644
index 000000000..b9486f43c
--- /dev/null
+++ b/app/controllers/tasks_controller.rb
@@ -0,0 +1,7 @@
+class TasksController < ApplicationController
+ TASKS = ["please please work", "more hoping", "etc"]
+
+ def index
+ @tasks = TASKS
+ end
+end
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
new file mode 100644
index 000000000..de6be7945
--- /dev/null
+++ b/app/helpers/application_helper.rb
@@ -0,0 +1,2 @@
+module ApplicationHelper
+end
diff --git a/app/helpers/tasks_helper.rb b/app/helpers/tasks_helper.rb
new file mode 100644
index 000000000..ce894d00c
--- /dev/null
+++ b/app/helpers/tasks_helper.rb
@@ -0,0 +1,2 @@
+module TasksHelper
+end
diff --git a/app/jobs/application_job.rb b/app/jobs/application_job.rb
new file mode 100644
index 000000000..a009ace51
--- /dev/null
+++ b/app/jobs/application_job.rb
@@ -0,0 +1,2 @@
+class ApplicationJob < ActiveJob::Base
+end
diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb
new file mode 100644
index 000000000..286b2239d
--- /dev/null
+++ b/app/mailers/application_mailer.rb
@@ -0,0 +1,4 @@
+class ApplicationMailer < ActionMailer::Base
+ default from: 'from@example.com'
+ layout 'mailer'
+end
diff --git a/app/models/application_record.rb b/app/models/application_record.rb
new file mode 100644
index 000000000..10a4cba84
--- /dev/null
+++ b/app/models/application_record.rb
@@ -0,0 +1,3 @@
+class ApplicationRecord < ActiveRecord::Base
+ self.abstract_class = true
+end
diff --git a/app/models/concerns/.keep b/app/models/concerns/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
new file mode 100644
index 000000000..b9ce64348
--- /dev/null
+++ b/app/views/layouts/application.html.erb
@@ -0,0 +1,15 @@
+
+
+
+ TaskList
+ <%= csrf_meta_tags %>
+ <%= csp_meta_tag %>
+
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
+ <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
+
+
+
+ <%= yield %>
+
+
diff --git a/app/views/layouts/mailer.html.erb b/app/views/layouts/mailer.html.erb
new file mode 100644
index 000000000..cbd34d2e9
--- /dev/null
+++ b/app/views/layouts/mailer.html.erb
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+ <%= yield %>
+
+
diff --git a/app/views/layouts/mailer.text.erb b/app/views/layouts/mailer.text.erb
new file mode 100644
index 000000000..37f0bddbd
--- /dev/null
+++ b/app/views/layouts/mailer.text.erb
@@ -0,0 +1 @@
+<%= yield %>
diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb
new file mode 100644
index 000000000..55885e244
--- /dev/null
+++ b/app/views/tasks/index.html.erb
@@ -0,0 +1,8 @@
+Tasks#index
+Find me in app/views/tasks/index.html.erb
+
+
+<% @tasks.each do |task| %>
+ <%= task %>
+
+ <% end %>
\ No newline at end of file
diff --git a/bin/bundle b/bin/bundle
new file mode 100755
index 000000000..f19acf5b5
--- /dev/null
+++ b/bin/bundle
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
+load Gem.bin_path('bundler', 'bundle')
diff --git a/bin/rails b/bin/rails
new file mode 100755
index 000000000..5badb2fde
--- /dev/null
+++ b/bin/rails
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+begin
+ load File.expand_path('../spring', __FILE__)
+rescue LoadError => e
+ raise unless e.message.include?('spring')
+end
+APP_PATH = File.expand_path('../config/application', __dir__)
+require_relative '../config/boot'
+require 'rails/commands'
diff --git a/bin/rake b/bin/rake
new file mode 100755
index 000000000..d87d5f578
--- /dev/null
+++ b/bin/rake
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+begin
+ load File.expand_path('../spring', __FILE__)
+rescue LoadError => e
+ raise unless e.message.include?('spring')
+end
+require_relative '../config/boot'
+require 'rake'
+Rake.application.run
diff --git a/bin/setup b/bin/setup
new file mode 100755
index 000000000..94fd4d797
--- /dev/null
+++ b/bin/setup
@@ -0,0 +1,36 @@
+#!/usr/bin/env ruby
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = File.expand_path('..', __dir__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a starting point to setup your application.
+ # Add necessary setup steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ # Install JavaScript dependencies if using Yarn
+ # system('bin/yarn')
+
+ # puts "\n== Copying sample files =="
+ # unless File.exist?('config/database.yml')
+ # cp 'config/database.yml.sample', 'config/database.yml'
+ # end
+
+ puts "\n== Preparing database =="
+ system! 'bin/rails db:setup'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/bin/spring b/bin/spring
new file mode 100755
index 000000000..fb2ec2ebb
--- /dev/null
+++ b/bin/spring
@@ -0,0 +1,17 @@
+#!/usr/bin/env ruby
+
+# This file loads spring without using Bundler, in order to be fast.
+# It gets overwritten when you run the `spring binstub` command.
+
+unless defined?(Spring)
+ require 'rubygems'
+ require 'bundler'
+
+ lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
+ spring = lockfile.specs.detect { |spec| spec.name == "spring" }
+ if spring
+ Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
+ gem 'spring', spring.version
+ require 'spring/binstub'
+ end
+end
diff --git a/bin/update b/bin/update
new file mode 100755
index 000000000..58bfaed51
--- /dev/null
+++ b/bin/update
@@ -0,0 +1,31 @@
+#!/usr/bin/env ruby
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = File.expand_path('..', __dir__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a way to update your development environment automatically.
+ # Add necessary update steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ # Install JavaScript dependencies if using Yarn
+ # system('bin/yarn')
+
+ puts "\n== Updating database =="
+ system! 'bin/rails db:migrate'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/bin/yarn b/bin/yarn
new file mode 100755
index 000000000..460dd565b
--- /dev/null
+++ b/bin/yarn
@@ -0,0 +1,11 @@
+#!/usr/bin/env ruby
+APP_ROOT = File.expand_path('..', __dir__)
+Dir.chdir(APP_ROOT) do
+ begin
+ exec "yarnpkg", *ARGV
+ rescue Errno::ENOENT
+ $stderr.puts "Yarn executable was not detected in the system."
+ $stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install"
+ exit 1
+ end
+end
diff --git a/config.ru b/config.ru
new file mode 100644
index 000000000..f7ba0b527
--- /dev/null
+++ b/config.ru
@@ -0,0 +1,5 @@
+# This file is used by Rack-based servers to start the application.
+
+require_relative 'config/environment'
+
+run Rails.application
diff --git a/config/application.rb b/config/application.rb
new file mode 100644
index 000000000..77b3ec01b
--- /dev/null
+++ b/config/application.rb
@@ -0,0 +1,26 @@
+require_relative 'boot'
+
+require 'rails/all'
+
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(*Rails.groups)
+
+module TaskList
+ class Application < Rails::Application
+ config.generators do |g|
+ # Force new test files to be generated in the minitest-spec style
+ g.test_framework :minitest, spec: true
+
+ # Always use .js files, never .coffee
+ g.javascript_engine :js
+ end
+ # Initialize configuration defaults for originally generated Rails version.
+ config.load_defaults 5.2
+
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration can go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded after loading
+ # the framework and any gems in your application.
+ end
+end
diff --git a/config/boot.rb b/config/boot.rb
new file mode 100644
index 000000000..b9e460cef
--- /dev/null
+++ b/config/boot.rb
@@ -0,0 +1,4 @@
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
+
+require 'bundler/setup' # Set up gems listed in the Gemfile.
+require 'bootsnap/setup' # Speed up boot time by caching expensive operations.
diff --git a/config/cable.yml b/config/cable.yml
new file mode 100644
index 000000000..51266cdbe
--- /dev/null
+++ b/config/cable.yml
@@ -0,0 +1,10 @@
+development:
+ adapter: async
+
+test:
+ adapter: async
+
+production:
+ adapter: redis
+ url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
+ channel_prefix: TaskList_production
diff --git a/config/credentials.yml.enc b/config/credentials.yml.enc
new file mode 100644
index 000000000..1013c3de7
--- /dev/null
+++ b/config/credentials.yml.enc
@@ -0,0 +1 @@
+P9AY4Q3+9rKqLuQDsMdpmUh0ideNH9jrmHKgajE3lVFtr2fVXdKraknglX1VfMuzuTMe87AyZK2GznB6OHTYqzaiivwqL+VtvV7Un0OIhyImWaFA/cRQ0zWNO7I7RkJMUCTFRW+rFyqBn/lqY5JclUOkcguFBooqoQa+vxftsC4tKBRcjooYxLoHYajf0Uu8K4yqdxWdAo/yiqvLWWRMtMPBUm01uQdwxicav5DQxSY+QZMtote6JHnxEXJm02/OgYF57n88beKoZ0tbn3p8N4yL5ZujaMLW9UW/83rPPhgSIPvn18EvYmoV8aUffqPVueiXKvv1YHWCZy3TwtwW6X14ZYFBAyEoLPSDN/gCDwlh5vWtZb5K1NpUQhTgETR0s6nLd7GFYRl0q/ZpHWp7be56DKlrj7boowA6--nLN/o3tj92EE5C3b--0fsSkaUdwpQ1S2vRIJ2vpA==
\ 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..805f15765
--- /dev/null
+++ b/config/routes.rb
@@ -0,0 +1,5 @@
+Rails.application.routes.draw do
+ get 'tasks/index'
+ # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
+ get "/tasks", to: "tasks#index"
+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..4f596e0c3
--- /dev/null
+++ b/log/development.log
@@ -0,0 +1,53 @@
+ [1m[35m (551.1ms)[0m [1m[35mCREATE DATABASE "TaskList_development" ENCODING = 'unicode'[0m
+ ↳ bin/rails:9
+ [1m[35m (426.4ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ ↳ bin/rails:9
+Started GET "/" for ::1 at 2019-04-08 14:33:45 -0700
+Processing by Rails::WelcomeController#index as HTML
+ Rendering /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb
+ Rendered /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb (3.4ms)
+Completed 200 OK in 19ms (Views: 11.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-08 14:33:48 -0700
+Processing by TasksController#index as HTML
+Completed 406 Not Acceptable in 106ms (ActiveRecord: 0.0ms)
+
+
+
+ActionController::UnknownFormat - TasksController#index is missing a template for this request format and variant.
+
+request.formats: ["text/html"]
+request.variant: []
+
+NOTE! For XHR/Ajax or API requests, this action would normally respond with 204 No Content: an empty white screen. Since you're loading it in a web browser, we assume that you expected to actually render a template, not nothing, so we're showing an error to be extra-clear. If you expect 204 No Content, carry on. That's what you'll get from an XHR or API request. Give it a shot.:
+
+Started POST "/__better_errors/07ed7a3a2a283227/variables" for ::1 at 2019-04-08 14:33:48 -0700
+Started GET "/tasks" for ::1 at 2019-04-08 14:36:39 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 358ms (Views: 351.6ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-08 14:38:49 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.8ms)
+Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected end-of-input, expecting keyword_end
+ end
+ ^:
+ app/views/tasks/index.html.erb:11:in `'
+
+Started POST "/__better_errors/a14ccbdef0dc5105/variables" for ::1 at 2019-04-08 14:38:49 -0700
+Started GET "/tasks" for ::1 at 2019-04-08 14:39:12 -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.1ms | ActiveRecord: 0.0ms)
+
+
diff --git a/log/test.log b/log/test.log
new file mode 100644
index 000000000..67d512194
--- /dev/null
+++ b/log/test.log
@@ -0,0 +1,57 @@
+ [1m[35m (277.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ [1m[35m (593.6ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::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.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-08 14:40: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.2ms)
+Completed 200 OK in 221ms (Views: 211.8ms | ActiveRecord: 0.0ms)
+ [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
+-------------------------------------------------------
+ [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
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 c80c7c24cdf6d072cfeb6325080de8ec52c0731b Mon Sep 17 00:00:00 2001
From: K <774162+kaseea@users.noreply.github.com>
Date: Tue, 9 Apr 2019 16:13:18 -0700
Subject: [PATCH 2/6] adds the Task model and has it show up on the task#index
---
app/controllers/tasks_controller.rb | 4 +-
app/models/task.rb | 2 +
app/views/tasks/index.html.erb | 13 +-
config/routes.rb | 2 +-
db/migrate/20190409222754_create_tasks.rb | 11 +
db/schema.rb | 26 ++
log/development.log | 291 ++++++++++++++++++++++
log/test.log | 52 ++++
test/fixtures/tasks.yml | 11 +
test/models/task_test.rb | 9 +
10 files changed, 416 insertions(+), 5 deletions(-)
create mode 100644 app/models/task.rb
create mode 100644 db/migrate/20190409222754_create_tasks.rb
create mode 100644 db/schema.rb
create mode 100644 test/fixtures/tasks.yml
create mode 100644 test/models/task_test.rb
diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb
index b9486f43c..5501f0bb8 100644
--- a/app/controllers/tasks_controller.rb
+++ b/app/controllers/tasks_controller.rb
@@ -1,7 +1,5 @@
class TasksController < ApplicationController
- TASKS = ["please please work", "more hoping", "etc"]
-
def index
- @tasks = TASKS
+ @tasks = Task.all
end
end
diff --git a/app/models/task.rb b/app/models/task.rb
new file mode 100644
index 000000000..3c2342421
--- /dev/null
+++ b/app/models/task.rb
@@ -0,0 +1,2 @@
+class Task < ApplicationRecord
+end
diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb
index 55885e244..6d3cb410d 100644
--- a/app/views/tasks/index.html.erb
+++ b/app/views/tasks/index.html.erb
@@ -2,7 +2,18 @@
Find me in app/views/tasks/index.html.erb
+Tasks to do
<% @tasks.each do |task| %>
- <%= task %>
+ <% if task.completion == false %>
+ <%= task.title %>: <%= task.description %> created at: <%= task.created_at%>
+ <% end %>
+ <% end %>
+
+ Tasks Completed
+ <% @tasks.each do |task| %>
+ <% if task.completion == true %>
+ <%= task.title %>: <%= task.description %> finished at: <%= task.updated_at%>
+
+ <% end %>
<% end %>
\ No newline at end of file
diff --git a/config/routes.rb b/config/routes.rb
index 805f15765..5dfa922ac 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,5 +1,5 @@
Rails.application.routes.draw do
- get 'tasks/index'
+ get "tasks/index"
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
get "/tasks", to: "tasks#index"
end
diff --git a/db/migrate/20190409222754_create_tasks.rb b/db/migrate/20190409222754_create_tasks.rb
new file mode 100644
index 000000000..3c3cad132
--- /dev/null
+++ b/db/migrate/20190409222754_create_tasks.rb
@@ -0,0 +1,11 @@
+class CreateTasks < ActiveRecord::Migration[5.2]
+ def change
+ create_table :tasks do |t|
+ t.string :title
+ t.string :description
+ t.boolean :completion
+
+ t.timestamps
+ end
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
new file mode 100644
index 000000000..2d7038058
--- /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_222754) 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 "title"
+ t.string "description"
+ t.boolean "completion"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
+end
diff --git a/log/development.log b/log/development.log
index 4f596e0c3..dda9127a6 100644
--- a/log/development.log
+++ b/log/development.log
@@ -51,3 +51,294 @@ Processing by TasksController#index as HTML
Completed 200 OK in 26ms (Views: 23.1ms | ActiveRecord: 0.0ms)
+Started GET "/tasks" for ::1 at 2019-04-08 15:05:54 -0700
+
+ActionController::RoutingError (No route matches [GET] "/tasks"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/" for ::1 at 2019-04-08 15:05:55 -0700
+Started GET "/" for ::1 at 2019-04-08 15:05:55 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.4ms)
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 64ms (Views: 61.1ms | ActiveRecord: 0.0ms)
+
+
+Completed 200 OK in 58ms (Views: 55.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2019-04-08 15:23:35 -0700
+Processing by Rails::WelcomeController#index as HTML
+ Rendering /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb
+ Rendered /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb (2.7ms)
+Completed 200 OK in 17ms (Views: 5.9ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2019-04-08 15:23:40 -0700
+Processing by Rails::WelcomeController#index as HTML
+ Rendering /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb
+ Rendered /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb (3.3ms)
+Completed 200 OK in 10ms (Views: 6.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/books" for ::1 at 2019-04-08 15:23:40 -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: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'
+ [1m[35m (45.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
+ ↳ bin/rails:9
+ [1m[35m (9.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
+ ↳ bin/rails:9
+ [1m[35m (1.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (1.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Migrating to CreateTasks (20190409222754)
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (11.2ms)[0m [1m[35mCREATE TABLE "tasks" ("id" bigserial primary key, "title" character varying, "description" character varying, "completion" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ ↳ db/migrate/20190409222754_create_tasks.rb:3
+ [1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190409222754"]]
+ ↳ bin/rails:9
+ [1m[35m (5.0ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2019-04-09 22:30:18.919558"], ["updated_at", "2019-04-09 22:30:18.919558"]]
+ ↳ bin/rails:9
+ [1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[35m (0.5ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Started GET "/" for ::1 at 2019-04-09 15:47:20 -0700
+ [1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+Processing by Rails::WelcomeController#index as HTML
+ Rendering /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb
+ Rendered /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb (3.0ms)
+Completed 200 OK in 24ms (Views: 8.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-09 15:47:25 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 269ms (Views: 266.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-09 15:47:26 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 23ms (Views: 20.4ms | ActiveRecord: 0.0ms)
+
+
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Create (2.6ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "make chilli"], ["description", "remeber to use mushrooms before they go off"], ["completion", false], ["created_at", "2019-04-09 22:59:56.683815"], ["updated_at", "2019-04-09 22:59:56.683815"]]
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "manny teeth cleaning"], ["description", "weekdays only before 9 am"], ["completion", false], ["created_at", "2019-04-09 23:00:42.929766"], ["updated_at", "2019-04-09 23:00:42.929766"]]
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/" for ::1 at 2019-04-09 16:02:11 -0700
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+Processing by Rails::WelcomeController#index as HTML
+ Rendering /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb
+ Rendered /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb (2.6ms)
+Completed 200 OK in 14ms (Views: 7.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-09 16:02:15 -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 (14.9ms)
+Completed 200 OK in 277ms (Views: 265.9ms | ActiveRecord: 6.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-09 16:02:15 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 26ms (Views: 22.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-09 16:02: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 (1.8ms)
+Completed 200 OK in 21ms (Views: 18.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-09 16:04: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
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 20ms (Views: 18.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-09 16:05: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.9ms)
+Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected end-of-input, expecting keyword_end
+ end
+ ^:
+ app/views/tasks/index.html.erb:16:in `'
+
+Started POST "/__better_errors/0a459e69b2f54772/variables" for ::1 at 2019-04-09 16:05:31 -0700
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+Started GET "/tasks" for ::1 at 2019-04-09 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
+ ↳ app/views/tasks/index.html.erb:5
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 23ms (Views: 20.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-09 16:06:57 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 31ms (Views: 28.9ms | ActiveRecord: 0.3ms)
+
+
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "finsih wave 1"], ["description", "can I get this in the right spot?"], ["completion", false], ["created_at", "2019-04-09 23:08:43.274204"], ["updated_at", "2019-04-09 23:08:43.274204"]]
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+Started GET "/tasks" for ::1 at 2019-04-09 16:08: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:6
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 20ms (Views: 17.4ms | ActiveRecord: 0.3ms)
+
+
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "finish wave 1"], ["LIMIT", 1]]
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "finish wave 1"], ["LIMIT", 1]]
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "finish wave 1"], ["LIMIT", 1]]
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "finish wave 1"], ["LIMIT", 1]]
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "finsih wave 1"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Update (9.0ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-09 23:12:09.947200"], ["id", 3]]
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+Started GET "/tasks" for ::1 at 2019-04-09 16:12:14 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 22ms (Views: 19.7ms | ActiveRecord: 0.3ms)
+
+
diff --git a/log/test.log b/log/test.log
index 67d512194..728600a9d 100644
--- a/log/test.log
+++ b/log/test.log
@@ -53,5 +53,57 @@ TasksController::edit: test_0001_can get the edit page for an existing task
[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 (227.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ [1m[35m (485.8ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.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
+--------------------------------------------------------
+ [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.4ms)[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::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
diff --git a/test/fixtures/tasks.yml b/test/fixtures/tasks.yml
new file mode 100644
index 000000000..d7c530223
--- /dev/null
+++ b/test/fixtures/tasks.yml
@@ -0,0 +1,11 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ title: MyString
+ description: MyString
+ completion: false
+
+two:
+ title: MyString
+ description: MyString
+ completion: false
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 e6e5493d938b583e7283908befacea1b4a41562a Mon Sep 17 00:00:00 2001
From: K <774162+kaseea@users.noreply.github.com>
Date: Thu, 11 Apr 2019 09:59:02 -0700
Subject: [PATCH 3/6] adds support to show all task, and adds ability to create
new task
---
app/assets/stylesheets/tasks.scss | 2 +
app/controllers/tasks_controller.rb | 23 +
app/views/tasks/index.html.erb | 21 +-
app/views/tasks/new.html.erb | 9 +
app/views/tasks/show.html.erb | 5 +
config/routes.rb | 18 +-
log/development.log | 1502 +++++++++++++++
log/test.log | 2075 +++++++++++++++++++++
test/controllers/tasks_controller_test.rb | 22 +-
9 files changed, 3654 insertions(+), 23 deletions(-)
create mode 100644 app/views/tasks/new.html.erb
create mode 100644 app/views/tasks/show.html.erb
diff --git a/app/assets/stylesheets/tasks.scss b/app/assets/stylesheets/tasks.scss
index c5e7712d4..b6621ccbb 100644
--- a/app/assets/stylesheets/tasks.scss
+++ b/app/assets/stylesheets/tasks.scss
@@ -1,3 +1,5 @@
// 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/
+
+@media(prefers-color-scheme: dark)
\ No newline at end of file
diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb
index 5501f0bb8..0a2c444f1 100644
--- a/app/controllers/tasks_controller.rb
+++ b/app/controllers/tasks_controller.rb
@@ -2,4 +2,27 @@ class TasksController < ApplicationController
def index
@tasks = Task.all
end
+
+ def show
+ task_id = params[:id].to_i
+ @task = Task.find_by(id: task_id)
+ if @task.nil?
+ redirect_to tasks_path
+ end
+ end
+
+ def new
+ @task = Task.new
+ end
+
+ def create
+ @task = Task.new(title: params[:task][:title], description: params[:task][:description], completion: params[:task][:completion]) #instantiate a new book
+ if @task.save # save returns true if the database insert succeeds
+ redirect_to task_path(@task.id) #why not task_path
+ # redirect_to root_path
+ # go to the index so we can see the book in the list
+ else # save failed :(
+ render :new # show the new book form view again
+ end
+ end
end
diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb
index 6d3cb410d..c654682a6 100644
--- a/app/views/tasks/index.html.erb
+++ b/app/views/tasks/index.html.erb
@@ -5,15 +5,18 @@
Tasks to do
<% @tasks.each do |task| %>
<% if task.completion == false %>
- <%= task.title %>: <%= task.description %> created at: <%= task.created_at%>
-
+ <%= task.title %>: <%= task.description %> created at: <%= task.created_at%>
+
<% end %>
- <% end %>
+<% end %>
- Tasks Completed
- <% @tasks.each do |task| %>
+Tasks Completed
+<% @tasks.each do |task| %>
<% if task.completion == true %>
- <%= task.title %>: <%= task.description %> finished at: <%= task.updated_at%>
-
- <% end %>
- <% end %>
\ No newline at end of file
+ <%= task.title %>: <%= task.description %> finished at: <%= task.updated_at%>
+
+<% end %>
+<% end %>
+
+
+<%= link_to "add a new task", new_task_path %>
\ 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..efc6823ad
--- /dev/null
+++ b/app/views/tasks/new.html.erb
@@ -0,0 +1,9 @@
+<%= form_with model: @task do |f| %>
+ Please provide the following information to save your task to our database:
+ title
<%= f.text_field :title %>
+
+ description
<%= f.text_field :description %>
+ completion (true or false)
<%= f.text_field :completion %>
+ <%= f.submit "Save Task", class: "task-button" %>
+<% end %>
+
diff --git a/app/views/tasks/show.html.erb b/app/views/tasks/show.html.erb
new file mode 100644
index 000000000..cf142f29f
--- /dev/null
+++ b/app/views/tasks/show.html.erb
@@ -0,0 +1,5 @@
+<%= @task.title %>
+
+<%= @task.description %>
+
+<%= @task %>
\ No newline at end of file
diff --git a/config/routes.rb b/config/routes.rb
index 5dfa922ac..f74b6c722 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,5 +1,19 @@
Rails.application.routes.draw do
- get "tasks/index"
+ # get "tasks/index"
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
- get "/tasks", to: "tasks#index"
+
+ #the fact that its tasks instead of task means I probably named everything wrong and maybe should fix
+ get "/tasks", to: "tasks#index", as: "tasks"
+
+ get "/tasks/new", to: "tasks#new", as: "new_task"
+ post "/tasks", to: "tasks#create"
+
+ get "/tasks/:id", to: "tasks#show", as: "task"
+
+ get "/tasks/:id/edit", to: "tasks#edit", as: "edit_task"
+ patch "tasks/:id", to: "tasks#update"
+
+ delete "/tasks/:id", to: "tasks#destroy"
+
+ root to: "tasks#index"
end
diff --git a/log/development.log b/log/development.log
index dda9127a6..d18ee1f4e 100644
--- a/log/development.log
+++ b/log/development.log
@@ -342,3 +342,1505 @@ Processing by TasksController#index as HTML
Completed 200 OK in 22ms (Views: 19.7ms | ActiveRecord: 0.3ms)
+Started GET "/" for ::1 at 2019-04-09 19:11:12 -0700
+
+NameError - uninitialized constant TaskController:
+
+Started POST "/__better_errors/ce7b37ba4e62df6b/variables" for ::1 at 2019-04-09 19:11:13 -0700
+Started GET "/" for ::1 at 2019-04-09 19:12:37 -0700
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+
+NameError - uninitialized constant TaskController:
+
+Started POST "/__better_errors/a2a03eb6abefd9c7/variables" for ::1 at 2019-04-09 19:12:37 -0700
+Started GET "/tasks" for ::1 at 2019-04-09 19:12:59 -0700
+
+ActionController::RoutingError (No route matches [GET] "/tasks"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/tasks" for ::1 at 2019-04-09 19:13:40 -0700
+
+ActionController::RoutingError (No route matches [GET] "/tasks"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/tasks" for ::1 at 2019-04-09 19:13:42 -0700
+
+ActionController::RoutingError (No route matches [GET] "/tasks"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/task" for ::1 at 2019-04-09 19:13:42 -0700
+
+ActionController::RoutingError (No route matches [GET] "/task"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/" for ::1 at 2019-04-09 19:13:47 -0700
+
+NameError - uninitialized constant TaskController:
+
+Started POST "/__better_errors/c2cd3c4dd6b32fed/variables" for ::1 at 2019-04-09 19:13:47 -0700
+Started GET "/" for ::1 at 2019-04-09 19:13:58 -0700
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+
+NameError - uninitialized constant TaskController:
+
+Started POST "/__better_errors/61c305ca11aa281d/variables" for ::1 at 2019-04-09 19:13:58 -0700
+Started GET "/" for ::1 at 2019-04-09 19:13:59 -0700
+
+NameError - uninitialized constant TaskController:
+
+Started POST "/__better_errors/1d591ac5bfc1aba8/variables" for ::1 at 2019-04-09 19:13:59 -0700
+Started GET "/task" for ::1 at 2019-04-09 19:14: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 "/task" for ::1 at 2019-04-09 19:14:19 -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" for ::1 at 2019-04-09 19:14:22 -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:6
+ Rendered tasks/index.html.erb within layouts/application (15.8ms)
+Completed 200 OK in 191ms (Views: 180.8ms | ActiveRecord: 6.1ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-09 19:14:23 -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:6
+ Rendered tasks/index.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 39ms (Views: 35.5ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/" for ::1 at 2019-04-09 19:14:27 -0700
+Processing by Rails::WelcomeController#index as HTML
+ Rendering /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb
+ Rendered /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb (2.2ms)
+Completed 200 OK in 16ms (Views: 5.6ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-09 19:18:52 -0700
+
+ActionController::RoutingError (No route matches [GET] "/tasks"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/tasks" for ::1 at 2019-04-09 19:19:07 -0700
+
+ActionController::RoutingError (No route matches [GET] "/tasks"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/tasks/index" for ::1 at 2019-04-09 19:19: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:6
+ Rendered tasks/index.html.erb within layouts/application (10.2ms)
+Completed 200 OK in 37ms (Views: 28.3ms | ActiveRecord: 3.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-09 19:21:28 -0700
+
+ActionController::RoutingError (No route matches [GET] "/tasks"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/" for ::1 at 2019-04-09 19:21:28 -0700
+Started GET "/" for ::1 at 2019-04-09 19:21:28 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (30.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (34.0ms)
+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:6
+ Rendered tasks/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 85ms (Views: 52.6ms | ActiveRecord: 30.3ms)
+
+
+Completed 200 OK in 44ms (Views: 41.1ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/" for ::1 at 2019-04-09 20:35:55 -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:6
+ Rendered tasks/index.html.erb within layouts/application (12.8ms)
+Completed 200 OK in 34ms (Views: 24.9ms | ActiveRecord: 6.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-09 20:36: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 30ms (Views: 26.7ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-09 20:36:08 -0700
+
+ActionController::RoutingError (No route matches [GET] "/tasks"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/tasks" for ::1 at 2019-04-09 20:36:08 -0700
+
+ActionController::RoutingError (No route matches [GET] "/tasks"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/tasks" for ::1 at 2019-04-09 20:36:09 -0700
+
+ActionController::RoutingError (No route matches [GET] "/tasks"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/tasks/index" for ::1 at 2019-04-09 20:36:10 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (31.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (60.1ms)
+Completed 200 OK in 258ms (Views: 223.8ms | ActiveRecord: 31.9ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-09 20:36:10 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms)
+
+
+
+NoMethodError - undefined method `[]' for #:
+ app/controllers/tasks_controller.rb:8:in `show'
+
+Started POST "/__better_errors/ecc1022dfa4ee02b/variables" for ::1 at 2019-04-09 20:36:10 -0700
+Started POST "/__better_errors/ecc1022dfa4ee02b/eval" for ::1 at 2019-04-09 20:36:21 -0700
+Started POST "/__better_errors/ecc1022dfa4ee02b/eval" for ::1 at 2019-04-09 20:36:36 -0700
+ [1m[36mTask Load (2.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started POST "/__better_errors/ecc1022dfa4ee02b/eval" for ::1 at 2019-04-09 20:38:00 -0700
+ [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:8
+Started GET "/tasks/1" for ::1 at 2019-04-09 20:38:42 -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]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 50ms (Views: 31.7ms | ActiveRecord: 6.9ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 20:52:00 -0700
+ [1m[35m (1.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (334.0ms)
+Completed 500 Internal Server Error in 355ms (ActiveRecord: 4.3ms)
+
+
+
+NameError - undefined local variable or method `new_task' for #<#:0x00007ff7affdba20>
+Did you mean? new_task_url:
+ app/views/tasks/index.html.erb:21:in `_app_views_tasks_index_html_erb__3879380051741221474_70350923326220'
+
+Started POST "/__better_errors/71a08f31f2bc9a41/variables" for ::1 at 2019-04-10 20:52:00 -0700
+Started GET "/" for ::1 at 2019-04-10 20:54: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"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (463.8ms)
+Completed 500 Internal Server Error in 471ms (ActiveRecord: 0.3ms)
+
+
+
+NameError - undefined local variable or method `new_task' for #<#:0x00007ff7b0eb7620>
+Did you mean? new_task_url:
+ app/views/tasks/index.html.erb:21:in `_app_views_tasks_index_html_erb__3879380051741221474_70350900947440'
+
+Started POST "/__better_errors/92c3af3ca58d9e5b/variables" for ::1 at 2019-04-10 20:54:03 -0700
+Started GET "/" for ::1 at 2019-04-10 20:54: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:6
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 226ms (Views: 222.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 20:54:19 -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:6
+ Rendered tasks/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 34ms (Views: 30.7ms | ActiveRecord: 1.0ms)
+
+
+Started GET "/show" for ::1 at 2019-04-10 20:54:20 -0700
+
+ActionController::RoutingError (No route matches [GET] "/show"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/show" for ::1 at 2019-04-10 20:54:29 -0700
+
+ActionController::RoutingError (No route matches [GET] "/show"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/tasks" for ::1 at 2019-04-10 20:54:30 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (26.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (29.9ms)
+Completed 200 OK in 78ms (Views: 47.9ms | ActiveRecord: 26.6ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-10 20:54:32 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 29ms (Views: 22.1ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-10 20:54:32 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 28ms (Views: 24.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-10 20:54:56 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 37ms (Views: 32.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 20:54:57 -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 39ms (Views: 35.2ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 20:55:10 -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 32ms (Views: 30.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/task" for ::1 at 2019-04-10 20:55:10 -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" for ::1 at 2019-04-10 20:55:11 -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"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (5.5ms)
+Completed 200 OK in 93ms (Views: 88.0ms | ActiveRecord: 2.9ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 20:55: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 34ms (Views: 30.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-10 20:57: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]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 29ms (Views: 24.7ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 20:57: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:6
+ Rendered tasks/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 39ms (Views: 36.5ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 20:57: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 41ms (Views: 33.9ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 20:57:48 -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:6
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 25ms (Views: 21.3ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 20:58:47 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (488.0ms)
+Completed 500 Internal Server Error in 495ms (ActiveRecord: 0.3ms)
+
+
+
+NameError - undefined local variable or method `new_task' for #<#:0x00007ff7b4d3c120>
+Did you mean? new_task_url:
+ app/views/tasks/index.html.erb:22:in `_app_views_tasks_index_html_erb__3879380051741221474_70350933714200'
+
+Started POST "/__better_errors/0c4a0c9ec1bdaf6f/variables" for ::1 at 2019-04-10 20:58:48 -0700
+Started GET "/tasks/index" for ::1 at 2019-04-10 20:59:00 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"index"}
+ [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:8
+Completed 404 Not Found in 3ms (ActiveRecord: 0.3ms)
+
+
+
+ActiveRecord::RecordNotFound - Couldn't find Task with 'id'=0:
+ app/controllers/tasks_controller.rb:8:in `show'
+
+Started POST "/__better_errors/5b1fccf94a255bd9/variables" for ::1 at 2019-04-10 20:59:01 -0700
+Started POST "/__better_errors/0c4a0c9ec1bdaf6f/variables" for ::1 at 2019-04-10 20:59:19 -0700
+Started POST "/__better_errors/0c4a0c9ec1bdaf6f/variables" for ::1 at 2019-04-10 20:59:20 -0700
+Started POST "/__better_errors/0c4a0c9ec1bdaf6f/variables" for ::1 at 2019-04-10 20:59:23 -0700
+Started GET "/" for ::1 at 2019-04-10 20:59:25 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 27ms (Views: 21.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 20:59:28 -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:6
+ Rendered tasks/index.html.erb within layouts/application (5.2ms)
+Completed 200 OK in 38ms (Views: 31.3ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 20:59: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (283.6ms)
+Completed 500 Internal Server Error in 290ms (ActiveRecord: 0.3ms)
+
+
+
+NameError - undefined local variable or method `task' for #<#:0x00007ff7b3b5d1e8>
+Did you mean? @tasks:
+ app/views/tasks/index.html.erb:22:in `_app_views_tasks_index_html_erb__3879380051741221474_70350924345900'
+
+Started POST "/__better_errors/b1d2c5d467963649/variables" for ::1 at 2019-04-10 20:59:42 -0700
+Started GET "/tasks" for ::1 at 2019-04-10 21:04:29 -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:6
+ Rendered tasks/index.html.erb within layouts/application (466.4ms)
+Completed 500 Internal Server Error in 475ms (ActiveRecord: 0.5ms)
+
+
+
+NameError - undefined local variable or method `new' for #<#:0x00007ff7b0571b88>
+Did you mean? Nenv:
+ app/views/tasks/index.html.erb:22:in `_app_views_tasks_index_html_erb__3879380051741221474_70350896075340'
+
+Started POST "/__better_errors/d06fd3468784b911/variables" for ::1 at 2019-04-10 21:04:30 -0700
+Started POST "/__better_errors/d06fd3468784b911/variables" for ::1 at 2019-04-10 21:04:38 -0700
+Started GET "/tasks" for ::1 at 2019-04-10 21:06: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:6
+ Rendered tasks/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 25ms (Views: 21.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 21:06:11 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 35ms (Views: 30.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 21:07:45 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (477.0ms)
+Completed 500 Internal Server Error in 485ms (ActiveRecord: 0.0ms)
+
+
+
+NameError - undefined local variable or method `f' for #<#:0x00007ff7b13669c8>:
+ app/views/tasks/new.html.erb:3:in `block in _app_views_tasks_new_html_erb___2017418898025921729_70350903392620'
+ app/views/tasks/new.html.erb:1:in `_app_views_tasks_new_html_erb___2017418898025921729_70350903392620'
+
+Started POST "/__better_errors/472b39c9a3dc3ec8/variables" for ::1 at 2019-04-10 21:07:46 -0700
+Started GET "/tasks/new" for ::1 at 2019-04-10 21:08:17 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (426.3ms)
+Completed 500 Internal Server Error in 434ms (ActiveRecord: 0.0ms)
+
+
+
+NameError - undefined local variable or method `f' for #<#:0x00007ff7b4c94768>:
+ app/views/tasks/new.html.erb:3:in `block in _app_views_tasks_new_html_erb___2017418898025921729_70350933371060'
+ app/views/tasks/new.html.erb:1:in `_app_views_tasks_new_html_erb___2017418898025921729_70350933371060'
+
+Started POST "/__better_errors/ddf548a3f8ba441c/variables" for ::1 at 2019-04-10 21:08:18 -0700
+Started GET "/tasks/new" for ::1 at 2019-04-10 21:09:21 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 21ms (Views: 18.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 21:09:51 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 19ms (Views: 16.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 21:09:57 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 22ms (Views: 18.9ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 21:12:28 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 17ms (Views: 15.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 21:12:45 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 17ms (Views: 14.9ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 21:23: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:6
+ Rendered tasks/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 31ms (Views: 27.4ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 21:23:28 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 29ms (Views: 26.8ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-10 21:23:31 -0700
+
+AbstractController::ActionNotFound - The action 'create' could not be found for TasksController:
+
+Started POST "/__better_errors/df3c45bdd6d380bf/variables" for ::1 at 2019-04-10 21:23:31 -0700
+Started GET "/tasks/new" for ::1 at 2019-04-10 21:24: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.7ms)
+Completed 200 OK in 38ms (Views: 21.9ms | ActiveRecord: 5.6ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-10 21:24:32 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"JOSpiBgtI6MDKqGQvY5EUXJKTordC6u9XjDuVGt/dIptmk+5VBD9APM0wv2CE7s3rxPkwzyOhS0b0etfajcPQQ==", "task"=>{"title"=>"", "description"=>"", "completion"=>""}, "commit"=>"Save Task"}
+No template found for TasksController#create, rendering head :no_content
+Completed 204 No Content in 87ms (ActiveRecord: 0.0ms)
+
+
+ [1m[36mTask Load (1.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks/new" for ::1 at 2019-04-10 21:26:54 -0700
+Processing by TasksController#new as HTML
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:13
+ [1m[36mTask Create (2.2ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2019-04-11 04:26:54.670555"], ["updated_at", "2019-04-11 04:26:54.670555"]]
+ ↳ app/controllers/tasks_controller.rb:13
+ [1m[35m (4.8ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:13
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 40ms (Views: 19.2ms | ActiveRecord: 9.8ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 21:26:55 -0700
+Processing by TasksController#new as HTML
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:13
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2019-04-11 04:26:55.844451"], ["updated_at", "2019-04-11 04:26:55.844451"]]
+ ↳ app/controllers/tasks_controller.rb:13
+ [1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:13
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 28ms (Views: 21.5ms | ActiveRecord: 2.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 21:26:58 -0700
+Processing by TasksController#new as HTML
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:13
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2019-04-11 04:26:58.757732"], ["updated_at", "2019-04-11 04:26:58.757732"]]
+ ↳ app/controllers/tasks_controller.rb:13
+ [1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:13
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 26ms (Views: 20.3ms | ActiveRecord: 2.1ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 21: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 (1.6ms)
+Completed 200 OK in 41ms (Views: 25.9ms | ActiveRecord: 4.0ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 21:31:15 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 38ms (Views: 35.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/" for ::1 at 2019-04-10 21:31: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 39ms (Views: 35.4ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 21:31:17 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 32ms (Views: 28.8ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-10 21:31:35 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"TTmasSLibAF8daR7trm8TUMyDeifg/I5kWqd5E9OmiIER3yAbt+yooxrxxaJJEMrnmunoX4G3KnUi5jvTgbh6Q==", "task"=>{"title"=>"taxes", "description"=>"double check spreadsheet", "completion"=>"false"}, "commit"=>"Save Task"}
+Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms)
+
+
+
+NameError - uninitialized constant TasksController::Book:
+ app/controllers/tasks_controller.rb:16:in `create'
+
+Started POST "/__better_errors/cf5f06bb645bde57/variables" for ::1 at 2019-04-10 21:31:35 -0700
+Started GET "/tasks/new" for ::1 at 2019-04-10 21:31:53 -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 38ms (Views: 20.5ms | ActiveRecord: 6.6ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-10 21:33:37 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"zQMg/t9fNeeMqQaIhts2zqEXY/guOQh0Z8nhJHaSOqKEfcbPk2LrRHy3ZeW5RsmofE7Jsc+8JuQiKOQvd9pBaQ==", "task"=>{"title"=>"journal", "description"=>"up to 20 minutes a night, talking about feelings in my body as a reaction, then write 3 things that I learned", "completion"=>"false"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:17
+ [1m[36mTask Create (0.9ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "journal"], ["description", "up to 20 minutes a night, talking about feelings in my body as a reaction, then write 3 things that I learned"], ["completion", false], ["created_at", "2019-04-11 04:33:37.144910"], ["updated_at", "2019-04-11 04:33:37.144910"]]
+ ↳ app/controllers/tasks_controller.rb:17
+ [1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:17
+Redirected to http://localhost:3000/
+Completed 302 Found in 7ms (ActiveRecord: 2.9ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 21:33: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 27ms (Views: 24.4ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 21:33:47 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 32ms (Views: 26.0ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-10 21:34:04 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"xXwt+pQdq0gJ0z3/HjdTOrNDeAkKepuqyF5JCipXcs+MAsvL2CB16/nNXpIhqqxcbhrSQOv/tTqNv0wBKx8JBA==", "task"=>{"title"=>"finish wave 2", "description"=>"lets get those tests working", "completion"=>"false"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:17
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "finish wave 2"], ["description", "lets get those tests working"], ["completion", false], ["created_at", "2019-04-11 04:34:04.880904"], ["updated_at", "2019-04-11 04:34:04.880904"]]
+ ↳ app/controllers/tasks_controller.rb:17
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:17
+Redirected to http://localhost:3000/
+Completed 302 Found in 5ms (ActiveRecord: 2.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 21:34: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:6
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 24ms (Views: 21.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/" for ::1 at 2019-04-10 21:55:57 -0700
+Started GET "/tasks/new" for ::1 at 2019-04-10 21:55:57 -0700
+Processing by TasksController#new as HTML
+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:6
+ Rendered tasks/index.html.erb within layouts/application (10.4ms)
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 50ms (Views: 29.8ms | ActiveRecord: 9.6ms)
+
+
+Completed 200 OK in 59ms (Views: 47.4ms | ActiveRecord: 7.8ms)
+
+
+Started GET "/tasks/3" for ::1 at 2019-04-10 21:55:58 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 28ms (Views: 24.7ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks/" for ::1 at 2019-04-10 21:56: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 25ms (Views: 23.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/7" for ::1 at 2019-04-10 21:56:04 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 23ms (Views: 20.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/" for ::1 at 2019-04-10 21:56:08 -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:6
+ Rendered tasks/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 30ms (Views: 27.2ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/9" for ::1 at 2019-04-10 21:56:09 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+Completed 404 Not Found in 2ms (ActiveRecord: 0.3ms)
+
+
+
+ActiveRecord::RecordNotFound - Couldn't find Task with 'id'=9:
+ app/controllers/tasks_controller.rb:8:in `show'
+
+Started POST "/__better_errors/ddd84961df1a93dd/variables" for ::1 at 2019-04-10 21:56:09 -0700
+Started GET "/tasks/7" for ::1 at 2019-04-10 21:58:55 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"7"}
+Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)
+
+
+
+ArgumentError - Unsupported argument type: 7 (Integer):
+ app/controllers/tasks_controller.rb:8:in `show'
+
+Started POST "/__better_errors/4f62e1bed0383066/variables" for ::1 at 2019-04-10 21:58:55 -0700
+Started GET "/tasks/3" for ::1 at 2019-04-10 21:58:56 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)
+
+
+
+ArgumentError - Unsupported argument type: 3 (Integer):
+ app/controllers/tasks_controller.rb:8:in `show'
+
+Started POST "/__better_errors/a7e1c87b6aa34069/variables" for ::1 at 2019-04-10 21:58:56 -0700
+Started GET "/tasks" for ::1 at 2019-04-10 21:58:56 -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:6
+ Rendered tasks/index.html.erb within layouts/application (8.0ms)
+Completed 200 OK in 32ms (Views: 28.6ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks/" for ::1 at 2019-04-10 21:59:00 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 31ms (Views: 28.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/3" for ::1 at 2019-04-10 21:59:01 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
+
+
+
+ArgumentError - Unsupported argument type: 3 (Integer):
+ app/controllers/tasks_controller.rb:8:in `show'
+
+Started POST "/__better_errors/115417e87175714c/variables" for ::1 at 2019-04-10 21:59:01 -0700
+Started GET "/tasks/3" for ::1 at 2019-04-10 21:59:02 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
+
+
+
+ArgumentError - Unsupported argument type: 3 (Integer):
+ app/controllers/tasks_controller.rb:8:in `show'
+
+Started POST "/__better_errors/fb247d9ee249db8d/variables" for ::1 at 2019-04-10 21:59:02 -0700
+Started GET "/tasks/3" for ::1 at 2019-04-10 22:02:02 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 46ms (Views: 28.7ms | ActiveRecord: 4.2ms)
+
+
+Started GET "/tasks/" for ::1 at 2019-04-10 22:02:05 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (3.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (8.6ms)
+Completed 200 OK in 46ms (Views: 38.9ms | ActiveRecord: 3.6ms)
+
+
+Started GET "/tasks/9" for ::1 at 2019-04-10 22:02:06 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+Completed 404 Not Found in 2ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/900" for ::1 at 2019-04-10 22:02:07 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"900"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 900], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+Completed 404 Not Found in 2ms (ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 22:13:07 -0700
+Started GET "/tasks" for ::1 at 2019-04-10 22:13:07 -0700
+Processing by TasksController#index as HTML
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (13.6ms)
+ Rendered tasks/index.html.erb within layouts/application (13.2ms)
+Completed 200 OK in 59ms (Views: 43.5ms | ActiveRecord: 5.8ms)
+
+
+Completed 200 OK in 59ms (Views: 45.3ms | ActiveRecord: 8.6ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 22:13:07 -0700
+Processing by TasksController#index as HTML
+Started GET "/tasks/new" for ::1 at 2019-04-10 22:13:07 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (2.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.5ms)
+ Rendered tasks/index.html.erb within layouts/application (5.2ms)
+Completed 200 OK in 57ms (Views: 50.1ms | ActiveRecord: 2.9ms)
+
+
+Completed 200 OK in 56ms (Views: 50.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/" for ::1 at 2019-04-10 22:13: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 48ms (Views: 44.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/7" for ::1 at 2019-04-10 22:13:11 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 22ms (Views: 17.6ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/77" for ::1 at 2019-04-10 22:13:12 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"77"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 77], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 22:13: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 29ms (Views: 26.2ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/task" for ::1 at 2019-04-10 22:13:17 -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" for ::1 at 2019-04-10 22:13: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 27ms (Views: 22.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 22:13: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 28ms (Views: 25.8ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 22:13: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 21ms (Views: 19.1ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-10 22:21:02 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 45ms (Views: 23.0ms | ActiveRecord: 7.1ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-10 22:21:13 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"6ZreHS6yE5kZGgPGSOTqY1lZkMFEhSOUteAhYG/JEeug5DgsYo/NOukEYKt3eRUFhAA6iKUADQTwASRrboFqIA==", "task"=>{"title"=>"poop", "description"=>"poopin", "completion"=>"false"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (0.8ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "poopin"], ["completion", false], ["created_at", "2019-04-11 05:21:13.422272"], ["updated_at", "2019-04-11 05:21:13.422272"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/9
+Completed 302 Found in 7ms (ActiveRecord: 2.7ms)
+
+
+Started GET "/tasks/9" for ::1 at 2019-04-10 22:21:13 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 48ms (Views: 41.9ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 09:24:19 -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:6
+ Rendered tasks/index.html.erb within layouts/application (27.9ms)
+Completed 200 OK in 82ms (Views: 65.0ms | ActiveRecord: 6.7ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-11 09:24:24 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 43ms (Views: 36.9ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-11 09:24:27 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"R0saZPqKZcal5Hxhzle8YsIOuufwWj4j3x1Li66f8wsONfxVtre7ZVX6HwzxykMEH1cQrhHfELOa/E6Ar9eIwA==", "task"=>{"title"=>"", "description"=>"", "completion"=>""}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (1.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["title", ""], ["description", ""], ["created_at", "2019-04-11 16:24:27.556650"], ["updated_at", "2019-04-11 16:24:27.556650"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/10
+Completed 302 Found in 9ms (ActiveRecord: 1.9ms)
+
+
+Started GET "/tasks/10" for ::1 at 2019-04-11 09:24:27 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 46ms (Views: 42.1ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-11 09:24:32 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 24ms (Views: 22.3ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 09:24:34 -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:6
+ Rendered tasks/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 27ms (Views: 24.6ms | ActiveRecord: 0.4ms)
+
+
+ [1m[36mTask Load (4.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Destroy (0.5ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 4]]
+ [1m[35m (5.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" IS NULL[0m
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" IS NULL[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Destroy (0.5ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 5]]
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Destroy (0.4ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 6]]
+ [1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Destroy (0.4ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 10]]
+ [1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "check where this goes"], ["description", "hoping id 4"], ["completion", false], ["created_at", "2019-04-11 16:42:16.859090"], ["updated_at", "2019-04-11 16:42:16.859090"]]
+ [1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks" for ::1 at 2019-04-11 09:42: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 23ms (Views: 20.3ms | ActiveRecord: 0.6ms)
+
+
diff --git a/log/test.log b/log/test.log
index 728600a9d..b15642477 100644
--- a/log/test.log
+++ b/log/test.log
@@ -107,3 +107,2078 @@ TasksController::edit: test_0001_can get the edit page for an existing task
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 (209.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ [1m[35m (678.0ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ [1m[35mSQL (1.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
+ [1m[35m (0.6ms)[0m [1m[35mDROP TABLE IF EXISTS "tasks" CASCADE[0m
+ [1m[35m (6.5ms)[0m [1m[35mCREATE TABLE "tasks" ("id" bigserial primary key, "title" character varying, "description" character varying, "completion" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ [1m[35m (2.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[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[32mINSERT INTO "schema_migrations" (version) VALUES (20190409222754)[0m
+ [1m[35m (2.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mActiveRecord::InternalMetadata Create (0.6ms)[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 23:15:55.854636"], ["updated_at", "2019-04-09 23:15:55.854636"]]
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[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[35m (8.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 (2.0ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-09 23:15:56.341951', '2019-04-09 23:15:56.341951'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-09 23:15:56.341951', '2019-04-09 23:15:56.341951')[0m
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "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.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[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::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 16:15:56 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 141ms (Views: 134.5ms | 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[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.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.7ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-09 23:17:26.033661', '2019-04-09 23:17:26.033661'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-09 23:17:26.033661', '2019-04-09 23:17:26.033661')[0m
+ [1m[35m (1.7ms)[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.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
+-----------------------------
+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.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::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::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 16:17:26 -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 (8.1ms)
+Completed 200 OK in 209ms (Views: 199.1ms | ActiveRecord: 1.2ms)
+ [1m[35m (4.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (3.3ms)[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.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-09 23:17:55.488842', '2019-04-09 23:17:55.488842'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-09 23:17:55.488842', '2019-04-09 23:17:55.488842')[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 "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-09 16:17: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 (3.8ms)
+Completed 200 OK in 152ms (Views: 145.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
+-------------------------------------------------------
+ [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.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [1m[35m (0.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.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [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[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 "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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-09 23:19:28.533576', '2019-04-09 23:19:28.533576'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-09 23:19:28.533576', '2019-04-09 23:19:28.533576')[0m
+ [1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[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
+--------------------------------------------------------
+ [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-09 16:19:28 -0700
+ [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::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.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.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 (5.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.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (7.3ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-10 02:11:49.734281', '2019-04-10 02:11:49.734281'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-10 02:11:49.734281', '2019-04-10 02:11:49.734281')[0m
+ [1m[35m (6.4ms)[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::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+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.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+ [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 19:11:49 -0700
+ [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
+---------------------------------------------------------
+ [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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-10 02:14:44.647348', '2019-04-10 02:14:44.647348'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-10 02:14:44.647348', '2019-04-10 02:14:44.647348')[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::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
+---------------------------------------------------------
+ [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[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
+-----------------------------
+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
+------------------------------------------------------------------------------------------------------
+ [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::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_0002_can get the root path
+-------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-09 19:14: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 (3.4ms)
+Completed 200 OK in 130ms (Views: 123.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 "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.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-10 02:19:28.919584', '2019-04-10 02:19:28.919584'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-10 02:19:28.919584', '2019-04-10 02:19:28.919584')[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 "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
+--------------------------------------------------------
+ [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-09 19:19: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 (7.5ms)
+Completed 200 OK in 141ms (Views: 134.9ms | ActiveRecord: 0.3ms)
+ [1m[35m (1.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.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::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::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[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 (1.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.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 (1.2ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-10 03:35:44.118453', '2019-04-10 03:35:44.118453'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-10 03:35:44.118453', '2019-04-10 03:35:44.118453')[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 "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
+--------------------------------------------------------
+ [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 20:35: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 (8.5ms)
+Completed 200 OK in 152ms (Views: 145.3ms | 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.3ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [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
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::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.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 "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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-10 03:38:41.131154', '2019-04-10 03:38:41.131154'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-10 03:38:41.131154', '2019-04-10 03:38:41.131154')[0m
+ [1m[35m (1.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_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.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::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
+--------------------------------------------------------
+ [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 20:38:41 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (9.0ms)
+Completed 200 OK in 200ms (Views: 193.9ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[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[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-11 03:30:05.255336', '2019-04-11 03:30:05.255336'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-11 03:30:05.255336', '2019-04-11 03:30:05.255336')[0m
+ [1m[35m (0.4ms)[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.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 (7.1ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [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.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-10 20:30: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 (4.7ms)
+Completed 200 OK in 229ms (Views: 222.0ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+ [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::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.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-11 03:30:27.101687', '2019-04-11 03:30:27.101687'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-11 03:30:27.101687', '2019-04-11 03:30:27.101687')[0m
+ [1m[35m (1.8ms)[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.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.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.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::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::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.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
+--------------------------------------------------------
+ [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 20:30:27 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 197ms (Views: 190.8ms | ActiveRecord: 0.4ms)
+ [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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-11 04:34:22.842273', '2019-04-11 04:34:22.842273'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-11 04:34:22.842273', '2019-04-11 04:34:22.842273')[0m
+ [1m[35m (1.0ms)[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.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 21:34: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 (11.3ms)
+Completed 200 OK in 209ms (Views: 203.4ms | 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 21:34: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.9ms)
+Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.4ms)
+ [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-10 21:34:23 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("description", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["description", "new task description"], ["created_at", "2019-04-11 04:34:23.091249"], ["updated_at", "2019-04-11 04:34:23.091249"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/
+Completed 302 Found in 3ms (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
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-10 21:34: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 9ms (Views: 6.9ms | 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-10 21:34: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]]
+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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_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.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.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.2ms)[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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-11 04:39:25.103941', '2019-04-11 04:39:25.103941'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-11 04:39:25.103941', '2019-04-11 04:39:25.103941')[0m
+ [1m[35m (1.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.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:39:25 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (3.7ms)
+Completed 200 OK in 177ms (Views: 170.9ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.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:39:25 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.0ms)
+Completed 200 OK in 8ms (Views: 5.4ms | 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 21:39:25 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+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::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 21:39: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]]
+Completed 404 Not 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.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::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 21:39:25 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-11 04:39:25.348121"], ["updated_at", "2019-04-11 04:39:25.348121"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-11 04:45:23.143037', '2019-04-11 04:45:23.143037'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-11 04:45:23.143037', '2019-04-11 04:45:23.143037')[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
+-----------------------------
+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:45:23 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (7.0ms)
+Completed 200 OK in 188ms (Views: 181.6ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::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.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[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:45: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]]
+Completed 404 Not Found in 4ms (ActiveRecord: 0.6ms)
+ [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-10 21:45:23 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-11 04:45:23.389101"], ["updated_at", "2019-04-11 04:45:23.389101"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/
+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"."title" = $1 LIMIT $2[0m [["title", "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-10 21:45:23 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.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_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-10 21:45:23 -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 (3.2ms)
+Completed 200 OK in 5ms (Views: 3.6ms | 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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-11 04:45:44.791669', '2019-04-11 04:45:44.791669'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-11 04:45:44.791669', '2019-04-11 04:45:44.791669')[0m
+ [1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[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.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-11 04:45:44.823157"], ["updated_at", "2019-04-11 04:45:44.823157"]]
+ [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:45: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 (0.9ms)
+Completed 200 OK in 167ms (Views: 152.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-10 21:45:45 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Completed 404 Not 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-10 21:45: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 (2.4ms)
+Completed 200 OK in 5ms (Views: 3.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-10 21:45:45 -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.7ms)
+Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-10 21:45:45 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-11 04:45:45.031398"], ["updated_at", "2019-04-11 04:45:45.031398"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/
+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"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [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.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:45:45 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (4.6ms)
+Completed 200 OK in 9ms (Views: 6.0ms | 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.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.6ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-11 04:55:26.470324', '2019-04-11 04:55:26.470324'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-11 04:55:26.470324', '2019-04-11 04:55:26.470324')[0m
+ [1m[35m (1.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.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 21:55:26 -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 204ms (Views: 190.9ms | 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-10 21:55:26 -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 404 Not Found in 4ms (ActiveRecord: 0.6ms)
+ [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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-11 04:55:26.714094"], ["updated_at", "2019-04-11 04:55:26.714094"]]
+ [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:55:26 -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.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
+------------------------------------------------------------------------------------------------------
+ [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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-10 21:55:26 -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 (2.3ms)
+Completed 200 OK in 5ms (Views: 3.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-10 21:55:26 -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.7ms)
+Completed 200 OK in 4ms (Views: 3.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-10 21:55:26 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-11 04:55:26.749073"], ["updated_at", "2019-04-11 04:55:26.749073"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/
+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"."title" = $1 LIMIT $2[0m [["title", "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.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 "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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-11 04:57:57.109331', '2019-04-11 04:57:57.109331'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-11 04:57:57.109331', '2019-04-11 04:57:57.109331')[0m
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "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::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 21:57:57 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+Completed 500 Internal Server Error in 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.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-11 04:57:57.154111"], ["updated_at", "2019-04-11 04:57:57.154111"]]
+ [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:57:57 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
+ [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::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-10 21:57:57 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (5.1ms)
+Completed 200 OK in 160ms (Views: 157.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-10 21:57:57 -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 5ms (Views: 4.0ms | ActiveRecord: 0.5ms)
+ [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-10 21:57:57 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-11 04:57:57.344176"], ["updated_at", "2019-04-11 04:57:57.344176"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/
+Completed 302 Found in 2ms (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"."title" = $1 LIMIT $2[0m [["title", "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-10 21:57:57 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 5ms (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.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 "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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-11 05:01:37.108139', '2019-04-11 05:01:37.108139'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-11 05:01:37.108139', '2019-04-11 05:01:37.108139')[0m
+ [1m[35m (1.8ms)[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.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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-11 05:01:37.129526"], ["updated_at", "2019-04-11 05:01:37.129526"]]
+ [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:01: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 (0.9ms)
+Completed 200 OK in 186ms (Views: 177.8ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 22:01: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]]
+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
+-----------------------------
+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.5ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-10 22:01:37 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-11 05:01:37.338674"], ["updated_at", "2019-04-11 05:01:37.338674"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/
+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"."title" = $1 LIMIT $2[0m [["title", "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
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-10 22:01:37 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 5ms (Views: 3.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-10 22:01:37 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 3ms (Views: 2.2ms | 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.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 22:01:37 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (4.7ms)
+Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-11 05:08:52.076183', '2019-04-11 05:08:52.076183'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-11 05:08:52.076183', '2019-04-11 05:08:52.076183')[0m
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "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 22: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 (18.8ms)
+Completed 200 OK in 211ms (Views: 204.1ms | 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 22:08: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 (2.9ms)
+Completed 200 OK in 5ms (Views: 4.1ms | 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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-10 22:08:52 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-11 05:08:52.330534"], ["updated_at", "2019-04-11 05:08:52.330534"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-11 05:08:52.341581"], ["updated_at", "2019-04-11 05:08:52.341581"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-10 22:08: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.7ms)
+Completed 200 OK in 7ms (Views: 2.8ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 22: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/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-10 22: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 (12.3ms)
+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
+-----------------------------
+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[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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-11 05:19:19.808066', '2019-04-11 05:19:19.808066'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-11 05:19:19.808066', '2019-04-11 05:19:19.808066')[0m
+ [1m[35m (1.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.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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-10 22:19:19 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (4.1ms)
+Completed 200 OK in 203ms (Views: 189.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-10 22:19: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/tasks
+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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-11 05:19:20.049924"], ["updated_at", "2019-04-11 05:19:20.049924"]]
+ [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:19:20 -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.4ms | 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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-10 22:19:20 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-11 05:19:20.064104"], ["updated_at", "2019-04-11 05:19:20.064104"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-10 22:19: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 (3.0ms)
+Completed 200 OK in 7ms (Views: 3.9ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-10 22:19:20 -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.6ms)
+Completed 200 OK in 3ms (Views: 2.3ms | 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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-11 05:20:07.298663', '2019-04-11 05:20:07.298663'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-11 05:20:07.298663', '2019-04-11 05:20:07.298663')[0m
+ [1m[35m (1.8ms)[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 22:20: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 (14.0ms)
+Completed 200 OK in 174ms (Views: 167.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-10 22:20:07 -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 5ms (Views: 4.0ms | ActiveRecord: 0.5ms)
+ [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-10 22:20:07 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-11 05:20:07.514085"], ["updated_at", "2019-04-11 05:20:07.514085"]]
+ [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.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"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-10 22: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 (2.9ms)
+Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 22:20: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/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_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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-11 05:20:07.535900"], ["updated_at", "2019-04-11 05:20:07.535900"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-10 22:20:07 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.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::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.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (6.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.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (8.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-11 16:23:33.331089', '2019-04-11 16:23:33.331089'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-11 16:23:33.331089', '2019-04-11 16:23:33.331089')[0m
+ [1m[35m (5.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_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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-11 16:23:33.376648"], ["updated_at", "2019-04-11 16:23:33.376648"]]
+ [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:23:33 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.6ms)[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.0ms)
+Completed 200 OK in 251ms (Views: 235.6ms | 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 09:23: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/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[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-11 09:23: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 (3.5ms)
+Completed 200 OK in 8ms (Views: 4.8ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-11 09:23: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 (2.5ms)
+Completed 200 OK in 4ms (Views: 3.5ms | 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
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-11 09:23: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.9ms)
+Completed 200 OK in 17ms (Views: 13.8ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-11 09:23:33 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-11 16:23:33.702078"], ["updated_at", "2019-04-11 16:23:33.702078"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "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.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.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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-11 16:24:01.417706', '2019-04-11 16:24:01.417706'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-11 16:24:01.417706', '2019-04-11 16:24:01.417706')[0m
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.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 09:24:01 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-11 16:24:01.471596"], ["updated_at", "2019-04-11 16:24:01.471596"]]
+ [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: 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"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [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 09:24:01 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (9.3ms)
+Completed 200 OK in 178ms (Views: 174.4ms | ActiveRecord: 0.0ms)
+ [1m[35m (1.7ms)[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:24:01 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (5.5ms)
+Completed 200 OK in 9ms (Views: 5.3ms | ActiveRecord: 1.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:24: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 (2.6ms)
+Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.3ms)
+ [1m[35m (2.8ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (2.9ms)[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_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-11 09:24: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/tasks
+Completed 302 Found in 29ms (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.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-11 16:24:01.759027"], ["updated_at", "2019-04-11 16:24:01.759027"]]
+ [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 09:24:01 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.3ms)
+ [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 971913898..000f70045 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
+ Task.create title: "sample task", description: "this is an example for a test",
+ completion: false
}
# Tests for Wave 1
@@ -28,7 +30,6 @@
# Unskip these tests for Wave 2
describe "show" do
it "can get a valid task" do
- skip
# Act
get task_path(task.id)
@@ -37,19 +38,16 @@
end
it "will redirect for an invalid task" do
- skip
# Act
get task_path(-1)
# Assert
must_respond_with :redirect
- expect(flash[:error]).must_equal "Could not find task with id: -1"
end
end
describe "new" do
it "can get the new task page" do
- skip
# Act
get new_task_path
@@ -61,14 +59,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",
+ title: "new task",
description: "new task description",
- completion_date: nil,
+ completion: false,
},
}
@@ -77,10 +76,9 @@
post tasks_path, params: task_hash
}.must_change "Task.count", 1
- new_task = Task.find_by(name: task_hash[:task][:name])
+ new_task = Task.find_by(title: task_hash[:task][:title])
expect(new_task.description).must_equal task_hash[:task][:description]
- expect(new_task.due_date.to_time.to_i).must_equal task_hash[:task][:due_date].to_i
- expect(new_task.completed).must_equal task_hash[:task][:completed]
+ expect(new_task.completion).must_equal task_hash[:task][:completion]
must_respond_with :redirect
must_redirect_to task_path(new_task.id)
From f90a83f2330895b2d5851f5d4e3815d2ef947dc1 Mon Sep 17 00:00:00 2001
From: K <774162+kaseea@users.noreply.github.com>
Date: Sat, 13 Apr 2019 19:13:27 -0700
Subject: [PATCH 4/6] ads mark as complete functionality and some tests
---
app/assets/stylesheets/tasks.scss | 2 +-
app/controllers/tasks_controller.rb | 45 +-
app/views/tasks/delete.html.erb | 7 +
app/views/tasks/edit.html.erb | 9 +
app/views/tasks/index.html.erb | 9 +-
app/views/tasks/new.html.erb | 1 +
app/views/tasks/show.html.erb | 4 +-
config/application.rb | 5 +-
config/routes.rb | 24 +-
log/development.log | 4092 +++++++++
log/test.log | 9231 +++++++++++++++++++++
test/controllers/tasks_controller_test.rb | 74 +-
12 files changed, 13478 insertions(+), 25 deletions(-)
create mode 100644 app/views/tasks/delete.html.erb
create mode 100644 app/views/tasks/edit.html.erb
diff --git a/app/assets/stylesheets/tasks.scss b/app/assets/stylesheets/tasks.scss
index b6621ccbb..d87a1ee6f 100644
--- a/app/assets/stylesheets/tasks.scss
+++ b/app/assets/stylesheets/tasks.scss
@@ -2,4 +2,4 @@
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
-@media(prefers-color-scheme: dark)
\ No newline at end of file
+// @media(prefers-color-scheme: dark)
\ No newline at end of file
diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb
index 0a2c444f1..6bdb555ec 100644
--- a/app/controllers/tasks_controller.rb
+++ b/app/controllers/tasks_controller.rb
@@ -16,13 +16,52 @@ def new
end
def create
- @task = Task.new(title: params[:task][:title], description: params[:task][:description], completion: params[:task][:completion]) #instantiate a new book
- if @task.save # save returns true if the database insert succeeds
- redirect_to task_path(@task.id) #why not task_path
+ task = Task.new(task_params) #instantiate a new book
+ if task.save # save returns true if the database insert succeeds
+ redirect_to task_path(task.id) #why not task_path
# redirect_to root_path
# go to the index so we can see the book in the list
else # save failed :(
render :new # show the new book form view again
end
end
+
+ def edit
+ @task = Task.find_by(id: params[:id])
+ if @task.nil?
+ redirect_to tasks_path
+ end
+ end
+
+ def update
+ task = Task.find_by(id: params[:id])
+ if task.nil?
+ redirect_to tasks_path
+ end
+ task.update(task_params)
+ redirect_to task_path(task.id)
+ end
+
+ def delete
+ edit
+ end
+
+ def destroy
+ task = Task.find_by(id: params[:id])
+ task.destroy
+ redirect_to tasks_path
+ end
+
+ def toggle_completion
+ task = Task.find_by(id: params[:id])
+ task.toggle(:completion).save
+ redirect_to tasks_path
+ end
+
+ private
+
+ def task_params
+ return params.require(:task).permit(:title, :description, :completion)
+ #should replace title: params[:task][:title], description: params[:task][:description], completion: params[:task][:completion]
+ end
end
diff --git a/app/views/tasks/delete.html.erb b/app/views/tasks/delete.html.erb
new file mode 100644
index 000000000..132ed823f
--- /dev/null
+++ b/app/views/tasks/delete.html.erb
@@ -0,0 +1,7 @@
+ you sure you want to delete me?
+<%= @task.title %>
+
+<%= @task.description %>
+
+<%= @task %>
+<%= button_to "click me to delete #{@task.title}", task_path, method: :delete %>
\ No newline at end of file
diff --git a/app/views/tasks/edit.html.erb b/app/views/tasks/edit.html.erb
new file mode 100644
index 000000000..dc23df3fc
--- /dev/null
+++ b/app/views/tasks/edit.html.erb
@@ -0,0 +1,9 @@
+<%= form_with model: @task do |f| %>
+ <%= f %>
+ Please edit the form
+ title is currently @task.title
<%= f.text_field :title %>
+
+ description is currently
<%= f.text_field :description %>
+ completion is currently #{f.completion}
<%= f.text_field :completion %>
+ <%= f.submit "Save Task", class: "task-button" %>
+<% end %>
\ No newline at end of file
diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb
index c654682a6..02e7e4a6d 100644
--- a/app/views/tasks/index.html.erb
+++ b/app/views/tasks/index.html.erb
@@ -1,3 +1,4 @@
+<% Time.zone = "Pacific Time (US & Canada)" %>
Tasks#index
Find me in app/views/tasks/index.html.erb
@@ -5,16 +6,20 @@
Tasks to do
<% @tasks.each do |task| %>
<% if task.completion == false %>
- <%= task.title %>: <%= task.description %> created at: <%= task.created_at%>
+ <%= task.title %>: <%= task.description %> created at: <%= task.created_at %>
+ <%= link_to "edit task", edit_task_path(task.id) %>
+ <%= link_to "delete task", delete_task_path(task.id) %>
+ <%= link_to "change completion status", mark_complete_path(task.id) %>
<% end %>
<% end %>
Tasks Completed
<% @tasks.each do |task| %>
<% if task.completion == true %>
- <%= task.title %>: <%= task.description %> finished at: <%= task.updated_at%>
+ <%= task.title %>: <%= task.description %> finished at: <%= task.updated_at %>
+ <%= link_to "edit task", edit_task_path(task.id) %>
<% end %>
<% end %>
diff --git a/app/views/tasks/new.html.erb b/app/views/tasks/new.html.erb
index efc6823ad..20a3c005c 100644
--- a/app/views/tasks/new.html.erb
+++ b/app/views/tasks/new.html.erb
@@ -1,4 +1,5 @@
<%= form_with model: @task do |f| %>
+ <%= @task.title %>
Please provide the following information to save your task to our database:
title
<%= f.text_field :title %>
diff --git a/app/views/tasks/show.html.erb b/app/views/tasks/show.html.erb
index cf142f29f..d2930169e 100644
--- a/app/views/tasks/show.html.erb
+++ b/app/views/tasks/show.html.erb
@@ -2,4 +2,6 @@
<%= @task.description %>
-<%= @task %>
\ No newline at end of file
+<%= @task %>
+
+<%= link_to "edit task", edit_task_path %>
\ No newline at end of file
diff --git a/config/application.rb b/config/application.rb
index 77b3ec01b..66684f731 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -1,6 +1,6 @@
-require_relative 'boot'
+require_relative "boot"
-require 'rails/all'
+require "rails/all"
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
@@ -17,6 +17,7 @@ class Application < Rails::Application
end
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 5.2
+ config.time_zone = "Pacific Time (US & Canada)"
# Settings in config/environments/* take precedence over those specified here.
# Application configuration can go into files in config/initializers
diff --git a/config/routes.rb b/config/routes.rb
index f74b6c722..2cefeec66 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -3,17 +3,27 @@
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
#the fact that its tasks instead of task means I probably named everything wrong and maybe should fix
- get "/tasks", to: "tasks#index", as: "tasks"
+ # get "/tasks", to: "tasks#index", as: "tasks"
- get "/tasks/new", to: "tasks#new", as: "new_task"
- post "/tasks", to: "tasks#create"
+ # get "/tasks/new", to: "tasks#new", as: "new_task"
+ # post "/tasks", to: "tasks#create"
- get "/tasks/:id", to: "tasks#show", as: "task"
+ # get "/tasks/:id", to: "tasks#show", as: "task"
- get "/tasks/:id/edit", to: "tasks#edit", as: "edit_task"
- patch "tasks/:id", to: "tasks#update"
+ # get "/tasks/:id/edit", to: "tasks#edit", as: "edit_task"
+ # patch "tasks/:id", to: "tasks#update"
- delete "/tasks/:id", to: "tasks#destroy"
+ # get "/tasks/:id/complete", to: "tasks#toggle_completion", as: "mark_complete"
+ # patch "tasks/:id/complete", to: "tasks#toggle_completion"
+
+ # get "tasks/:id/delete", to: "tasks#delete", as: "delete_task"
+ # delete "/tasks/:id", to: "tasks#destroy"
root to: "tasks#index"
+
+ resources :tasks
+
+ get "tasks/:id/delete", to: "tasks#delete", as: "delete_task"
+ get "/tasks/:id/complete", to: "tasks#toggle_completion", as: "mark_complete"
+ patch "tasks/:id/complete", to: "tasks#toggle_completion"
end
diff --git a/log/development.log b/log/development.log
index d18ee1f4e..5be9e41d2 100644
--- a/log/development.log
+++ b/log/development.log
@@ -1844,3 +1844,4095 @@ Processing by TasksController#index as HTML
Completed 200 OK in 23ms (Views: 20.3ms | ActiveRecord: 0.6ms)
+Started GET "/tasks" for ::1 at 2019-04-11 15:31:40 -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:6
+ Rendered tasks/index.html.erb within layouts/application (13.7ms)
+Completed 500 Internal Server Error in 62ms (ActiveRecord: 5.8ms)
+
+
+
+Sass::SyntaxError - Invalid CSS after "...r-scheme: dark)": expected "{", was "":
+ app/views/layouts/application.html.erb:8:in `_app_views_layouts_application_html_erb___4076084170743802082_70350894107440'
+
+Started POST "/__better_errors/5e817ef5a45a1e85/variables" for ::1 at 2019-04-11 15:31:40 -0700
+Started GET "/tasks" for ::1 at 2019-04-11 15:31: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:6
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.3ms)
+
+
+
+Sass::SyntaxError - Invalid CSS after "...r-scheme: dark)": expected "{", was "":
+ app/views/layouts/application.html.erb:8:in `_app_views_layouts_application_html_erb___4076084170743802082_70350934064680'
+
+Started POST "/__better_errors/987f543fa7fe0b36/variables" for ::1 at 2019-04-11 15:31:54 -0700
+Started GET "/tasks" for ::1 at 2019-04-11 15:32: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 48ms (Views: 45.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/" for ::1 at 2019-04-11 15:32: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:6
+ Rendered tasks/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 18ms (Views: 16.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 15:32: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]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 64ms (Views: 26.9ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-11 15:32:22 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (7.4ms)
+Completed 200 OK in 39ms (Views: 33.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-11 15:33:29 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (195.0ms)
+Completed 500 Internal Server Error in 201ms (ActiveRecord: 0.0ms)
+
+
+
+NoMethodError - undefined method `description' for #:
+ app/views/tasks/edit.html.erb:5:in `block in _app_views_tasks_edit_html_erb__1079991411562277321_70350894872840'
+ app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb__1079991411562277321_70350894872840'
+
+Started POST "/__better_errors/3b021138135857ce/variables" for ::1 at 2019-04-11 15:33:29 -0700
+Started POST "/__better_errors/3b021138135857ce/eval" for ::1 at 2019-04-11 15:33:42 -0700
+Started POST "/__better_errors/3b021138135857ce/eval" for ::1 at 2019-04-11 15:33:52 -0700
+Started POST "/__better_errors/3b021138135857ce/eval" for ::1 at 2019-04-11 15:33:59 -0700
+Started POST "/__better_errors/3b021138135857ce/eval" for ::1 at 2019-04-11 15:41:06 -0700
+Started POST "/__better_errors/3b021138135857ce/eval" for ::1 at 2019-04-11 15:41:36 -0700
+Started POST "/__better_errors/3b021138135857ce/eval" for ::1 at 2019-04-11 15:42:32 -0700
+Started GET "/tasks/1/edit" for ::1 at 2019-04-11 15:46:05 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (246.5ms)
+Completed 500 Internal Server Error in 253ms (ActiveRecord: 0.0ms)
+
+
+
+NoMethodError - undefined method `description' for #:
+ app/views/tasks/edit.html.erb:6:in `block in _app_views_tasks_edit_html_erb__1079991411562277321_70350924279660'
+ app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb__1079991411562277321_70350924279660'
+
+Started POST "/__better_errors/30c2620365863b00/variables" for ::1 at 2019-04-11 15:46:06 -0700
+Started GET "/tasks/1/edit" for ::1 at 2019-04-11 15:46:14 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (4.1ms)
+Completed 200 OK in 74ms (Views: 71.3ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 15:47:00 -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]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 30ms (Views: 23.2ms | ActiveRecord: 1.6ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 15:47:02 -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:6
+ Rendered tasks/index.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 32ms (Views: 24.8ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-11 15:47:03 -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 35ms (Views: 31.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-11 15:48: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.2ms)
+Completed 200 OK in 24ms (Views: 20.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 15:48: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:6
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 25ms (Views: 22.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/" for ::1 at 2019-04-11 15:48: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:6
+ Rendered tasks/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 37ms (Views: 33.3ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 15:48:56 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 37ms (Views: 33.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 15:48:57 -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]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 39ms (Views: 31.8ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-11 15:48:59 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (6.3ms)
+Completed 200 OK in 36ms (Views: 31.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-11 15:49:33 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (5.7ms)
+Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.0ms)
+
+
+
+NoMethodError - undefined method `title' for nil:NilClass:
+ app/views/tasks/edit.html.erb:4:in `block in _app_views_tasks_edit_html_erb__1079991411562277321_70350944624080'
+ app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb__1079991411562277321_70350944624080'
+
+Started POST "/__better_errors/40d1572c5ba5d865/variables" for ::1 at 2019-04-11 15:49:33 -0700
+Started POST "/__better_errors/40d1572c5ba5d865/eval" for ::1 at 2019-04-11 15:49:38 -0700
+Started POST "/__better_errors/40d1572c5ba5d865/eval" for ::1 at 2019-04-11 15:49:44 -0700
+Started POST "/__better_errors/40d1572c5ba5d865/eval" for ::1 at 2019-04-11 15:49:51 -0700
+Started POST "/__better_errors/40d1572c5ba5d865/eval" for ::1 at 2019-04-11 15:50:00 -0700
+Started POST "/__better_errors/40d1572c5ba5d865/eval" for ::1 at 2019-04-11 15:50:14 -0700
+Started GET "/tasks/1/edit" for ::1 at 2019-04-11 15:52:40 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (3.9ms)
+Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)
+
+
+
+NoMethodError - undefined method `title' for nil:NilClass:
+ app/views/tasks/edit.html.erb:4:in `block in _app_views_tasks_edit_html_erb__1079991411562277321_70350931351940'
+ app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb__1079991411562277321_70350931351940'
+
+Started POST "/__better_errors/23cb46be9161d22e/variables" for ::1 at 2019-04-11 15:52:40 -0700
+Started GET "/tasks/1/edit" for ::1 at 2019-04-11 15:53:05 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (4.1ms)
+Completed 200 OK in 35ms (Views: 32.6ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-11 15:53:12 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 30ms (Views: 26.1ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/" for ::1 at 2019-04-11 15:53:15 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 32ms (Views: 29.7ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-11 15:53:16 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 28ms (Views: 23.6ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/2/edit" for ::1 at 2019-04-11 15:53:18 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"2"}
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (6.1ms)
+Completed 200 OK in 42ms (Views: 37.6ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-11 15:56:05 -0700
+Started GET "/tasks/2/edit" for ::1 at 2019-04-11 15:56:05 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 36ms (Views: 18.7ms | ActiveRecord: 6.1ms)
+
+
+Processing by TasksController#edit 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:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 35ms (Views: 21.1ms | ActiveRecord: 2.7ms)
+
+
+Started GET "/tasks/2/edit" for ::1 at 2019-04-11 15:56:06 -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:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 30ms (Views: 24.6ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/2" for ::1 at 2019-04-11 15:58:23 -0700
+
+AbstractController::ActionNotFound - The action 'update' could not be found for TasksController:
+
+Started POST "/__better_errors/9558b703c0acbb48/variables" for ::1 at 2019-04-11 15:58:23 -0700
+Started GET "/tasks/2/edit" for ::1 at 2019-04-11 16:03:01 -0700
+Processing by TasksController#edit 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:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 39ms (Views: 24.5ms | ActiveRecord: 3.1ms)
+
+
+Started PATCH "/tasks/2" for ::1 at 2019-04-11 16:03:09 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"SMMFKknzxxMQZHzApE+E3fafTBDHWEeC0ojfycipcu9hpEcKihJMlaMHPwvQPjE9FrLlkkPUvzfo1gM9n6CEpQ==", "task"=>{"title"=>"manny teeth", "description"=>"weekdays only before 9 am", "completion"=>"false"}, "commit"=>"Save Task", "id"=>"2"}
+Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)
+
+
+
+NoMethodError - undefined method `update' for nil:NilClass:
+ app/controllers/tasks_controller.rb:34:in `update'
+
+Started POST "/__better_errors/2853f2024a19d0a1/variables" for ::1 at 2019-04-11 16:03:09 -0700
+Started PATCH "/tasks/2" for ::1 at 2019-04-11 16:04:02 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"hKTOXVSwAx8bgWfVE3wTvC2+HU18L1OxKvyf+cB2GAOtw4x9l1GImajiJB5nDaZczZO0z/ijqwQQokMNl3/uSQ==", "task"=>{"title"=>"manny teeth", "description"=>"weekdays only before 9 am", "completion"=>"false"}, "commit"=>"Save Task", "id"=>"2"}
+Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)
+
+
+
+NoMethodError - undefined method `update' for nil:NilClass:
+ app/controllers/tasks_controller.rb:34:in `update'
+
+Started POST "/__better_errors/df3e0735cc6ff0f9/variables" for ::1 at 2019-04-11 16:04:02 -0700
+Started POST "/__better_errors/df3e0735cc6ff0f9/eval" for ::1 at 2019-04-11 16:04:06 -0700
+Started POST "/__better_errors/df3e0735cc6ff0f9/eval" for ::1 at 2019-04-11 16:04:13 -0700
+Started PATCH "/tasks/2" for ::1 at 2019-04-11 16:04:34 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"SMMFKknzxxMQZHzApE+E3fafTBDHWEeC0ojfycipcu9hpEcKihJMlaMHPwvQPjE9FrLlkkPUvzfo1gM9n6CEpQ==", "task"=>{"title"=>"manny teeth", "description"=>"weekdays only before 9 am", "completion"=>"false"}, "commit"=>"Save Task", "id"=>"2"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:34
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:35
+ [1m[36mTask Update (1.2ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "manny teeth"], ["updated_at", "2019-04-11 23:04:34.758769"], ["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:35
+ [1m[35m (5.0ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:35
+No template found for TasksController#update, rendering head :no_content
+Completed 204 No Content in 111ms (ActiveRecord: 9.7ms)
+
+
+Started GET "/tasks/2/edit" for ::1 at 2019-04-11 16:05:34 -0700
+Processing by TasksController#edit 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:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 32ms (Views: 18.8ms | ActiveRecord: 2.9ms)
+
+
+Started PATCH "/tasks/2" for ::1 at 2019-04-11 16:05:36 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"ToVm5Koyl6qa6rr1I1iF/w9u0hivbHulWokL71GmFP50t6Vp7BWxUce0NmrUxAiDzegOgjSstRQnZT3PpGo0ZA==", "task"=>{"title"=>"manny teeth", "description"=>"weekdays only before 9 am", "completion"=>"false"}, "commit"=>"Save Task", "id"=>"2"}
+Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
+
+
+
+NoMethodError - undefined method `update' for nil:NilClass:
+ app/controllers/tasks_controller.rb:34:in `update'
+
+Started POST "/__better_errors/dc50bd9318c52e14/variables" for ::1 at 2019-04-11 16:05:36 -0700
+Started POST "/__better_errors/dc50bd9318c52e14/eval" for ::1 at 2019-04-11 16:05:40 -0700
+ [1m[36mTask Load (1.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks/2/edit" for ::1 at 2019-04-11 16:06:21 -0700
+Processing by TasksController#edit 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:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 46ms (Views: 38.6ms | ActiveRecord: 0.4ms)
+
+
+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:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 42ms (Views: 24.4ms | ActiveRecord: 4.6ms)
+
+
+Started PATCH "/tasks/2" for ::1 at 2019-04-11 16:06:36 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Q1X5kevFxcb9VC1qNBXLn1PxJFx+Wp0ZJgL5aOga5nd5ZzocreLjPaAKofXDiUbjkXf4xuWaU6hb7s9IHdbG7Q==", "task"=>{"title"=>"Manny teeth cleaning", "description"=>"weekdays only before 9 am", "completion"=>"false"}, "commit"=>"Save Task", "id"=>"2"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:34
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:35
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "Manny teeth cleaning"], ["updated_at", "2019-04-11 23:06:36.652156"], ["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:35
+ [1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:35
+No template found for TasksController#update, rendering head :no_content
+Completed 204 No Content in 106ms (ActiveRecord: 2.6ms)
+
+
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Update (0.6ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-11 23:07:54.892757"], ["id", 8]]
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks/2/edit" for ::1 at 2019-04-11 16:13:51 -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:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 55ms (Views: 36.9ms | ActiveRecord: 6.5ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-11 16:13:54 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 31ms (Views: 25.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/2/edit" for ::1 at 2019-04-11 16:13:55 -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:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 54ms (Views: 48.9ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/2" for ::1 at 2019-04-11 16:14:00 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"xil9yPjXCulSF4URYsx+nc5xahtXNKRrkYpa3RWPug/vTj/oOzaBb+F0xtoWvct9LlzDmdO4XN6r1IYpQoZMRQ==", "task"=>{"title"=>"manny teeth cleaning", "description"=>"weekdays only before 9 am", "completion"=>"false"}, "commit"=>"Save Task", "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:34
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:35
+ [1m[36mTask Update (0.6ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "manny teeth cleaning"], ["updated_at", "2019-04-11 23:14:00.838615"], ["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:35
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:35
+Redirected to http://localhost:3000/tasks/2
+Completed 302 Found in 8ms (ActiveRecord: 2.9ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-11 16:14:00 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 34ms (Views: 31.4ms | ActiveRecord: 0.3ms)
+
+
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks/2/edit" for ::1 at 2019-04-11 16:14:32 -0700
+Processing by TasksController#edit 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:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 29ms (Views: 24.3ms | ActiveRecord: 0.5ms)
+
+
+Started PATCH "/tasks/2" for ::1 at 2019-04-11 16:14:41 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"UA9gHRpJ6ETMCUZU6CpJZYuuJk10mjyQ16BFCMN4vNt5aCI92ahjwn9qBZ+cW/yFa4OPz/AWxCXt/pn8lHFKkQ==", "task"=>{"title"=>"manny teeth", "description"=>"weekdays only before 9 am", "completion"=>"false"}, "commit"=>"Save Task", "id"=>"2"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:34
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:35
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "manny teeth"], ["updated_at", "2019-04-11 23:14:41.284089"], ["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:35
+ [1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:35
+Redirected to http://localhost:3000/tasks/2
+Completed 302 Found in 6ms (ActiveRecord: 2.4ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-11 16:14:41 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 29ms (Views: 25.8ms | ActiveRecord: 0.3ms)
+
+
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks/2" for ::1 at 2019-04-11 16:31:49 -0700
+Started GET "/tasks/2/edit" for ::1 at 2019-04-11 16:31:49 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+Processing by TasksController#edit 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]]
+ [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:30
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.5ms)
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 63ms (Views: 39.7ms | ActiveRecord: 3.5ms)
+
+
+Completed 200 OK in 65ms (Views: 46.8ms | ActiveRecord: 4.2ms)
+
+
+Started PATCH "/tasks/2" for ::1 at 2019-04-11 16:31:54 -0700
+
+AbstractController::ActionNotFound - The action 'update' could not be found for TasksController:
+
+Started POST "/__better_errors/4c0ad6a95d04c79f/variables" for ::1 at 2019-04-11 16:31:54 -0700
+Started GET "/tasks/2/edit" for ::1 at 2019-04-11 16:31:56 -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:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 43ms (Views: 39.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/" for ::1 at 2019-04-11 16:33: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:6
+ Rendered tasks/index.html.erb within layouts/application (13.5ms)
+Completed 200 OK in 42ms (Views: 29.1ms | ActiveRecord: 5.4ms)
+
+
+Started GET "/tasks/9" for ::1 at 2019-04-11 16:33:05 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 25ms (Views: 21.2ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/99" for ::1 at 2019-04-11 16:33:06 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"99"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 99], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-11 16:33: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:6
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 31ms (Views: 27.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-12 11:05:37 -0700
+ [1m[35m (3.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+Processing by Rails::WelcomeController#index as HTML
+ Rendering /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb
+ Rendered /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb (3.4ms)
+Completed 200 OK in 23ms (Views: 8.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2019-04-12 11:05:43 -0700
+Processing by Rails::WelcomeController#index as HTML
+ Rendering /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb
+ Rendered /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb (2.6ms)
+Completed 200 OK in 9ms (Views: 5.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 11:05:44 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (2.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (18.2ms)
+Completed 200 OK in 331ms (Views: 317.1ms | ActiveRecord: 9.0ms)
+
+
+Started GET "/task" for ::1 at 2019-04-12 11:05:44 -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" for ::1 at 2019-04-12 11:05:44 -0700
+Started GET "/tasks" for ::1 at 2019-04-12 11:05:44 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (31.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (36.2ms)
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (29.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (31.4ms)
+Completed 200 OK in 268ms (Views: 197.4ms | ActiveRecord: 31.5ms)
+
+
+Completed 200 OK in 113ms (Views: 80.1ms | ActiveRecord: 29.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-12 11:05:50 -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 26ms (Views: 22.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 12:30:02 -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:6
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 28ms (Views: 24.7ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks/" for ::1 at 2019-04-12 12:32:45 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 21ms (Views: 19.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-12 12:32:46 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (1.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 39ms (Views: 20.2ms | ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-12 12:32:46 -0700
+Processing by TasksController#show 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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 47ms (Views: 43.5ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 12:32: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:6
+ Rendered tasks/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 31ms (Views: 27.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 12:33: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (15.0ms)
+Completed 200 OK in 38ms (Views: 27.2ms | ActiveRecord: 6.7ms)
+
+
+Started GET "/tasks/7/edit" for ::1 at 2019-04-12 12:33:55 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"7"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 38ms (Views: 31.0ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 15:13: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 40ms (Views: 36.1ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 15:13: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:6
+ Rendered tasks/index.html.erb within layouts/application (12.2ms)
+Completed 200 OK in 34ms (Views: 23.9ms | ActiveRecord: 5.1ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-12 15:13:26 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (6.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE (1) LIMIT $1[0m [["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+Completed 500 Internal Server Error in 8ms (ActiveRecord: 6.2ms)
+
+
+
+PG::DatatypeMismatch - ERROR: argument of WHERE must be type boolean, not type integer
+LINE 1: SELECT "tasks".* FROM "tasks" WHERE (1) LIMIT $1
+ ^
+:
+ app/controllers/tasks_controller.rb:30:in `edit'
+
+Started POST "/__better_errors/584796aaa1248f10/variables" for ::1 at 2019-04-12 15:13:26 -0700
+Started GET "/tasks" for ::1 at 2019-04-12 15:15:08 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (11.5ms)
+Completed 200 OK in 32ms (Views: 24.5ms | ActiveRecord: 3.6ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-12 15:15:11 -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:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 30ms (Views: 23.3ms | ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-12 15:15:13 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (1.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 41ms (Views: 35.4ms | ActiveRecord: 1.1ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 15:40:13 -0700
+Started GET "/tasks/1/edit" for ::1 at 2019-04-12 15:40:13 -0700
+
+SyntaxError - syntax error, unexpected tIDENTIFIER, expecting keyword_end
+ get "tasks/:id/delete" to: "tasks#delete", as: "delete...
+ ^~:
+ config/routes.rb:16:in `'
+
+
+SyntaxError - syntax error, unexpected tIDENTIFIER, expecting keyword_end
+ get "tasks/:id/delete" to: "tasks#delete", as: "delete...
+ ^~:
+ config/routes.rb:16:in `'
+
+Started POST "/__better_errors/a8919da0b67074ee/variables" for ::1 at 2019-04-12 15:40:13 -0700
+Started GET "/tasks/2/edit" for ::1 at 2019-04-12 15:42:10 -0700
+Processing by TasksController#edit 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:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 40ms (Views: 20.0ms | ActiveRecord: 9.4ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-12 15:42:11 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 34ms (Views: 28.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-12 15:42:12 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 28ms (Views: 24.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 15:42:14 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 36ms (Views: 32.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 15:42:14 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 36ms (Views: 33.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/" for ::1 at 2019-04-12 15:42: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:6
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 29ms (Views: 25.0ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/task" for ::1 at 2019-04-12 15:42:15 -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" for ::1 at 2019-04-12 15:42:15 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (27.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (32.1ms)
+Completed 200 OK in 100ms (Views: 70.6ms | ActiveRecord: 27.7ms)
+
+
+Started GET "/" for ::1 at 2019-04-12 15:42: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 25ms (Views: 21.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-12 15:42: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 32ms (Views: 26.6ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/1/delete" for ::1 at 2019-04-12 15:42:18 -0700
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"1"}
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (3.9ms)
+Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.0ms)
+
+
+
+NoMethodError - undefined method `title' for nil:NilClass:
+ app/views/tasks/delete.html.erb:2:in `_app_views_tasks_delete_html_erb___1575318288221523062_70157220795120'
+
+Started POST "/__better_errors/29f6dd0cb2c41f48/variables" for ::1 at 2019-04-12 15:42:18 -0700
+Started POST "/__better_errors/29f6dd0cb2c41f48/eval" for ::1 at 2019-04-12 15:42:33 -0700
+Started POST "/__better_errors/29f6dd0cb2c41f48/eval" for ::1 at 2019-04-12 15:42:35 -0700
+Started POST "/__better_errors/29f6dd0cb2c41f48/eval" for ::1 at 2019-04-12 15:42:42 -0700
+Started POST "/__better_errors/29f6dd0cb2c41f48/eval" for ::1 at 2019-04-12 15:42:45 -0700
+Started POST "/__better_errors/29f6dd0cb2c41f48/eval" for ::1 at 2019-04-12 15:43:20 -0700
+Started POST "/__better_errors/29f6dd0cb2c41f48/eval" for ::1 at 2019-04-12 15:43:25 -0700
+Started POST "/__better_errors/29f6dd0cb2c41f48/eval" for ::1 at 2019-04-12 15:43:29 -0700
+Started GET "/" for ::1 at 2019-04-12 15:43: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 24ms (Views: 21.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1/delete" for ::1 at 2019-04-12 15:43:57 -0700
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"1"}
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (3.3ms)
+Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)
+
+
+
+NoMethodError - undefined method `title' for nil:NilClass:
+ app/views/tasks/delete.html.erb:2:in `_app_views_tasks_delete_html_erb___1575318288221523062_70157190819080'
+
+Started POST "/__better_errors/afa8fbf8027c8f7c/variables" for ::1 at 2019-04-12 15:43:57 -0700
+Started GET "/" for ::1 at 2019-04-12 15:44:33 -0700
+Started GET "/tasks/1/delete" for ::1 at 2019-04-12 15:44:33 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (13.4ms)
+Completed 200 OK in 33ms (Views: 22.5ms | ActiveRecord: 6.1ms)
+
+
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (1.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 53ms (Views: 23.2ms | ActiveRecord: 7.0ms)
+
+
+Started DELETE "/tasks/1" for ::1 at 2019-04-12 15:44:45 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"P94ox121a1XCBBKmZ5409DsvIB1WAchg8Kjg9eXYqhf3HSahI+u0pKC3Bb4uCjntMX/6zHAEj35QTR2IrEqjZQ==", "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:50
+No template found for TasksController#destroy, rendering head :no_content
+Completed 204 No Content in 91ms (ActiveRecord: 0.3ms)
+
+
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks/1/delete" for ::1 at 2019-04-12 15:46:54 -0700
+Processing by TasksController#delete 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:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 17ms (Views: 14.8ms | ActiveRecord: 0.2ms)
+
+
+Started POST "/tasks/1" for ::1 at 2019-04-12 15:46:56 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/1"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks/1/delete" for ::1 at 2019-04-12 15:49:35 -0700
+Processing by TasksController#delete 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:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 21ms (Views: 17.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-12 15:50:10 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 22ms (Views: 19.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1/delete" for ::1 at 2019-04-12 15:50:11 -0700
+Processing by TasksController#delete 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:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 40ms (Views: 36.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1/delete?method=destroy" for ::1 at 2019-04-12 15:50:13 -0700
+Processing by TasksController#delete as HTML
+ Parameters: {"method"=>"destroy", "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:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 33ms (Views: 28.1ms | ActiveRecord: 0.4ms)
+
+
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks/1/delete" for ::1 at 2019-04-12 19:29:21 -0700
+Processing by TasksController#delete 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:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 91ms (Views: 68.6ms | ActiveRecord: 9.1ms)
+
+
+Started GET "/tasks/1/delete?method=destroy" for ::1 at 2019-04-12 19:29:23 -0700
+Processing by TasksController#delete as HTML
+ Parameters: {"method"=>"destroy", "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:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 37ms (Views: 32.2ms | ActiveRecord: 0.3ms)
+
+
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks/1/delete" for ::1 at 2019-04-12 19:30:39 -0700
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"1"}
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (3.0ms)
+Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms)
+
+
+
+NoMethodError - undefined method `title' for nil:NilClass:
+ app/views/tasks/delete.html.erb:2:in `_app_views_tasks_delete_html_erb___1575318288221523062_70157225968200'
+
+Started POST "/__better_errors/f51eb087882f7785/variables" for ::1 at 2019-04-12 19:30:39 -0700
+Started GET "/" for ::1 at 2019-04-12 19:30:47 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (11.7ms)
+Completed 200 OK in 36ms (Views: 27.7ms | ActiveRecord: 3.1ms)
+
+
+Started GET "/" for ::1 at 2019-04-12 19:31:08 -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:6
+ Rendered tasks/index.html.erb within layouts/application (13.6ms)
+Completed 200 OK in 33ms (Views: 23.6ms | ActiveRecord: 6.5ms)
+
+
+Started GET "/tasks/1/delete" for ::1 at 2019-04-12 19:31:10 -0700
+Processing by TasksController#delete 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:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 32ms (Views: 25.9ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks/1/delete" for ::1 at 2019-04-12 19:32:26 -0700
+Processing by TasksController#delete 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:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 26ms (Views: 14.8ms | ActiveRecord: 2.7ms)
+
+
+Started GET "/tasks/1/delete?method=destroy" for ::1 at 2019-04-12 19:32:29 -0700
+Processing by TasksController#delete as HTML
+ Parameters: {"method"=>"destroy", "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:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 36ms (Views: 31.3ms | ActiveRecord: 0.4ms)
+
+
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks/1/delete" for ::1 at 2019-04-12 19:36:01 -0700
+Processing by TasksController#delete 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:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 24ms (Views: 21.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/1/delete?method=delete" for ::1 at 2019-04-12 19:36:02 -0700
+Processing by TasksController#delete as HTML
+ Parameters: {"method"=>"delete", "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:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 37ms (Views: 32.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-12 19:36:11 -0700
+Processing by TasksController#index as HTML
+Started GET "/tasks/1/delete" for ::1 at 2019-04-12 19:36:11 -0700
+ Rendering tasks/index.html.erb within layouts/application
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (4.7ms)
+ [1m[36mTask Load (1.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 35ms (Views: 28.8ms | ActiveRecord: 1.4ms)
+
+
+Completed 200 OK in 47ms (Views: 43.4ms | ActiveRecord: 0.9ms)
+
+
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks/1/delete" for ::1 at 2019-04-12 19:40:24 -0700
+Started GET "/" for ::1 at 2019-04-12 19:40:24 -0700
+Processing by TasksController#delete as HTML
+Processing by TasksController#index as HTML
+ Parameters: {"id"=>"1"}
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (2.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ [1m[36mTask Load (3.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (8.1ms)
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 41ms (Views: 36.5ms | ActiveRecord: 3.1ms)
+
+
+Completed 200 OK in 41ms (Views: 35.6ms | ActiveRecord: 2.7ms)
+
+
+Started GET "/tasks/1/delete" for ::1 at 2019-04-12 19:40:26 -0700
+Processing by TasksController#delete 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:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 29ms (Views: 24.6ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/1" for ::1 at 2019-04-12 19:40:28 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"AMoZypaBZbFjsin+wdpJ2IJmI/sMUOZnfBpDf4/svr7ICRes6N+6QAEBPuaITkTBiDb5KipVoXnc/74Cxn63zA==", "id"=>"1"}
+Completed 500 Internal Server Error in 229ms (ActiveRecord: 0.0ms)
+
+
+
+NameError - undefined local variable or method `task' for #:
+ app/controllers/tasks_controller.rb:51:in `destroy'
+
+Started POST "/__better_errors/d7fc15f5b6a56b4f/variables" for ::1 at 2019-04-12 19:40:28 -0700
+Started GET "/tasks/1/delete" for ::1 at 2019-04-12 19:40:57 -0700
+Processing by TasksController#delete 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:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 38ms (Views: 22.4ms | ActiveRecord: 4.3ms)
+
+
+Started DELETE "/tasks/1" for ::1 at 2019-04-12 19:40:59 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"z+pV1wa5FBLDov1RfT1NF7UCozvOJtdjdBC4/bxb7F4HKVuxeOfL46ER6kk0qUAOv1J56ugjkH3U9UWA9cnlLA==", "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:50
+ [1m[35m (2.6ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:51
+ [1m[36mTask Destroy (16.1ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 1]]
+ ↳ app/controllers/tasks_controller.rb:51
+ [1m[35m (4.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:51
+No template found for TasksController#destroy, rendering head :no_content
+Completed 204 No Content in 123ms (ActiveRecord: 23.3ms)
+
+
+Started DELETE "/tasks/1" for ::1 at 2019-04-12 19:41:02 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"z+pV1wa5FBLDov1RfT1NF7UCozvOJtdjdBC4/bxb7F4HKVuxeOfL46ER6kk0qUAOv1J56ugjkH3U9UWA9cnlLA==", "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:50
+Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.3ms)
+
+
+
+NoMethodError - undefined method `destroy' for nil:NilClass:
+ app/controllers/tasks_controller.rb:51:in `destroy'
+
+Started POST "/__better_errors/09bd9601dca0dd7e/variables" for ::1 at 2019-04-12 19:41:02 -0700
+Started GET "/tasks/1/delete" for ::1 at 2019-04-12 19:41:51 -0700
+Processing by TasksController#delete 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:30
+Completed 404 Not Found in 4ms (ActiveRecord: 0.7ms)
+
+
+
+ActiveRecord::RecordNotFound - Couldn't find Task with 'id'=1:
+ app/controllers/tasks_controller.rb:30:in `edit'
+ app/controllers/tasks_controller.rb:46:in `delete'
+
+Started POST "/__better_errors/c98c7627228c8c4d/variables" for ::1 at 2019-04-12 19:41:51 -0700
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/" for ::1 at 2019-04-12 19:42:45 -0700
+Started GET "/tasks/1/delete" for ::1 at 2019-04-12 19:42:45 -0700
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"1"}
+Processing by TasksController#index as HTML
+ [1m[36mTask Load (1.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+Completed 404 Not Found in 7ms (ActiveRecord: 1.6ms)
+
+
+
+ActiveRecord::RecordNotFound - Couldn't find Task with 'id'=1:
+ app/controllers/tasks_controller.rb:30:in `edit'
+ app/controllers/tasks_controller.rb:46:in `delete'
+
+ 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:6
+ Rendered tasks/index.html.erb within layouts/application (5.1ms)
+Completed 200 OK in 26ms (Views: 22.1ms | ActiveRecord: 2.4ms)
+
+
+Started GET "/tasks/9/delete" for ::1 at 2019-04-12 19:42:53 -0700
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (308.0ms)
+Completed 500 Internal Server Error in 323ms (ActiveRecord: 0.8ms)
+
+
+
+NameError - undefined local variable or method `task' for #<#:0x00007f9d7cf0cb18>
+Did you mean? @task:
+ app/views/tasks/delete.html.erb:2:in `_app_views_tasks_delete_html_erb___1575318288221523062_70157191375700'
+
+Started POST "/__better_errors/d52ce69f78b14991/variables" for ::1 at 2019-04-12 19:42:54 -0700
+Started GET "/" for ::1 at 2019-04-12 19:43:11 -0700
+Processing by TasksController#index as HTML
+Started GET "/tasks/1/delete" for ::1 at 2019-04-12 19:43:11 -0700
+ Rendering tasks/index.html.erb within layouts/application
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+ [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:30
+Completed 404 Not Found in 5ms (ActiveRecord: 1.1ms)
+
+
+
+ActiveRecord::RecordNotFound - Couldn't find Task with 'id'=1:
+ app/controllers/tasks_controller.rb:30:in `edit'
+ app/controllers/tasks_controller.rb:46:in `delete'
+
+Completed 200 OK in 42ms (Views: 38.1ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks/7/delete" for ::1 at 2019-04-12 19:43:13 -0700
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"7"}
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 41ms (Views: 33.2ms | ActiveRecord: 1.1ms)
+
+
+Started GET "/tasks/9/delete" for ::1 at 2019-04-12 19:43:16 -0700
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 33ms (Views: 27.6ms | ActiveRecord: 0.3ms)
+
+
+Started DELETE "/tasks/9" for ::1 at 2019-04-12 19:43:19 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"QemniKgwXmxElkRaVJ5RyR1npyEXFQ1SHgjdQSbd0+OJKqnu1m6BnSYlU0IdClzQFzd98DEQSky+7SA8b0/akQ==", "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:50
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:51
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 9]]
+ ↳ app/controllers/tasks_controller.rb:51
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:51
+No template found for TasksController#destroy, rendering head :no_content
+Completed 204 No Content in 92ms (ActiveRecord: 1.2ms)
+
+
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks/new" for ::1 at 2019-04-12 19:45:01 -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 25ms (Views: 22.1ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-12 19:45:20 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b6yykYkC01qR1qG/zSXFktPk2smhQq1mIeD32Z1hg9en1pXbkgdyTdxicAIX3Se5UMsWkujEs2jgj4n7vVF8dA==", "task"=>{"title"=>"pooooop", "description"=>"with baby wipes", "completion"=>"false"}, "commit"=>"Save Task"}
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (5.7ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "pooooop"], ["description", "with baby wipes"], ["completion", false], ["created_at", "2019-04-13 02:45:20.934140"], ["updated_at", "2019-04-13 02:45:20.934140"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (5.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/12
+Completed 302 Found in 15ms (ActiveRecord: 11.4ms)
+
+
+Started GET "/tasks/12" for ::1 at 2019-04-12 19:45:20 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 22ms (Views: 18.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-12 19:45:25 -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 32ms (Views: 25.3ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2019-04-12 19:45:29 -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:6
+ Rendered tasks/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 25ms (Views: 21.6ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks/12/delete" for ::1 at 2019-04-12 19:45:32 -0700
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 35ms (Views: 29.1ms | ActiveRecord: 0.5ms)
+
+
+Started DELETE "/tasks" for ::1 at 2019-04-12 19:45:34 -0700
+
+ActionController::RoutingError (No route matches [DELETE] "/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'
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks/12/delete" for ::1 at 2019-04-12 19:46:42 -0700
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 26ms (Views: 23.4ms | ActiveRecord: 0.3ms)
+
+
+Started DELETE "/tasks/12" for ::1 at 2019-04-12 19:46:44 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"97hon47CJ9cf67KSaAhTZkhA4tEhj7x+0e16jZ3sOyM/e2b58Jz4Jn1YpYohnF5/QhA4AAeK+2BxCIfw1H4yUQ==", "id"=>"12"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:50
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:51
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 12]]
+ ↳ app/controllers/tasks_controller.rb:51
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:51
+No template found for TasksController#destroy, rendering head :no_content
+Completed 204 No Content in 95ms (ActiveRecord: 1.3ms)
+
+
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started DELETE "/tasks/12" for ::1 at 2019-04-12 19:48:27 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"97hon47CJ9cf67KSaAhTZkhA4tEhj7x+0e16jZ3sOyM/e2b58Jz4Jn1YpYohnF5/QhA4AAeK+2BxCIfw1H4yUQ==", "id"=>"12"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:50
+Completed 500 Internal Server Error in 8ms (ActiveRecord: 2.9ms)
+
+
+
+NoMethodError - undefined method `destroy' for nil:NilClass:
+ app/controllers/tasks_controller.rb:51:in `destroy'
+
+Started POST "/__better_errors/5f655cd5beee17fa/variables" for ::1 at 2019-04-12 19:48:27 -0700
+Started GET "/tasks/12" for ::1 at 2019-04-12 19:49:30 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 19:49: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (16.0ms)
+Completed 200 OK in 37ms (Views: 31.3ms | ActiveRecord: 3.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-12 19:49: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.7ms)
+Completed 200 OK in 30ms (Views: 25.2ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-12 19:49:54 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"TGBRmRulKIhABp37EQ2bLVm1lyGJlilAmnMgM4KdWnaEGnbTAKCJnw2yTEbL9XkG2ppbesAQN05bHF4Roq2l1Q==", "task"=>{"title"=>"oooop", "description"=>"apologize to Jillianne", "completion"=>""}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["title", "oooop"], ["description", "apologize to Jillianne"], ["created_at", "2019-04-13 02:49:54.080658"], ["updated_at", "2019-04-13 02:49:54.080658"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/13
+Completed 302 Found in 3ms (ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks/13" for ::1 at 2019-04-12 19:49:54 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"13"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 25ms (Views: 22.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-12 19:49:57 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 29ms (Views: 27.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 19:50:00 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 26ms (Views: 23.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-12 19:50:10 -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 37ms (Views: 30.4ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-12 19:50:25 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"nplPAgsW4vMMnfoPHRvL90+5vW2VodTpmQJ6csPSnT9W42hIEBND5EEpK7LH4ynczJZxNtwnyudYbQRQ4+JinA==", "task"=>{"title"=>"oops", "description"=>"apologize to Jillianne", "completion"=>"false"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "oops"], ["description", "apologize to Jillianne"], ["completion", false], ["created_at", "2019-04-13 02:50:25.086156"], ["updated_at", "2019-04-13 02:50:25.086156"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/14
+Completed 302 Found in 5ms (ActiveRecord: 2.3ms)
+
+
+Started GET "/tasks/14" for ::1 at 2019-04-12 19:50:25 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"14"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 26ms (Views: 23.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-12 19:50: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.3ms)
+Completed 200 OK in 32ms (Views: 25.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 19:50: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 24ms (Views: 19.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/14/delete" for ::1 at 2019-04-12 19:50:35 -0700
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"14"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (305.7ms)
+Completed 500 Internal Server Error in 319ms (ActiveRecord: 0.4ms)
+
+
+
+NameError - undefined local variable or method `task' for #<#:0x00007f9d7ca567e0>
+Did you mean? @task:
+ app/views/tasks/delete.html.erb:2:in `_app_views_tasks_delete_html_erb___1575318288221523062_70157188906840'
+
+Started POST "/__better_errors/160e915e8c2f82fa/variables" for ::1 at 2019-04-12 19:50:35 -0700
+Started GET "/tasks" for ::1 at 2019-04-12 19:51: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 28ms (Views: 25.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/14/delete" for ::1 at 2019-04-12 19:51:06 -0700
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"14"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (440.9ms)
+Completed 500 Internal Server Error in 454ms (ActiveRecord: 0.3ms)
+
+
+
+NameError - undefined local variable or method `task' for #<#:0x00007f9d80741a60>
+Did you mean? @task:
+ app/views/tasks/delete.html.erb:7:in `_app_views_tasks_delete_html_erb___1575318288221523062_70157220845700'
+
+Started POST "/__better_errors/df0d41f1be83b364/variables" for ::1 at 2019-04-12 19:51:06 -0700
+Started GET "/tasks" for ::1 at 2019-04-12 19:51:17 -0700
+Started GET "/tasks/14/delete" for ::1 at 2019-04-12 19:51:17 -0700
+Processing by TasksController#index as HTML
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"14"}
+ [1m[36mTask Load (3.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
+ Rendering tasks/index.html.erb within layouts/application
+ ↳ app/controllers/tasks_controller.rb:30
+ [1m[36mTask Load (1.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (9.4ms)
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 49ms (Views: 44.2ms | ActiveRecord: 1.9ms)
+
+
+Completed 200 OK in 53ms (Views: 44.5ms | ActiveRecord: 3.5ms)
+
+
+Started DELETE "/tasks/14" for ::1 at 2019-04-12 19:51:27 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"oO6uXU92qe3uc6L9KYnt4/rw5QzPnYBCTr03TCQWlB5oLaA7MSh2HIzAteVgHeD68KA/3emYx1zuWMoxbYSdbA==", "id"=>"14"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:50
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:51
+ [1m[36mTask Destroy (0.5ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 14]]
+ ↳ app/controllers/tasks_controller.rb:51
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:51
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 7ms (ActiveRecord: 2.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 19:51: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 26ms (Views: 24.0ms | ActiveRecord: 0.3ms)
+
+
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks/14/delete" for ::1 at 2019-04-12 19:51:52 -0700
+Started GET "/tasks" for ::1 at 2019-04-12 19:51:52 -0700
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"14"}
+Processing by TasksController#index as HTML
+ [1m[36mTask Load (1.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+Completed 404 Not Found in 5ms (ActiveRecord: 1.8ms)
+
+
+
+ActiveRecord::RecordNotFound - Couldn't find Task with 'id'=14:
+ app/controllers/tasks_controller.rb:30:in `edit'
+ app/controllers/tasks_controller.rb:46:in `delete'
+
+ 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:6
+ Rendered tasks/index.html.erb within layouts/application (5.1ms)
+Completed 200 OK in 37ms (Views: 34.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 19:51:56 -0700
+Started GET "/tasks/14/delete" for ::1 at 2019-04-12 19:51:56 -0700
+Processing by TasksController#index as HTML
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"14"}
+ [1m[36mTask Load (1.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+Completed 404 Not Found in 3ms (ActiveRecord: 1.6ms)
+
+
+
+ActiveRecord::RecordNotFound - Couldn't find Task with 'id'=14:
+ app/controllers/tasks_controller.rb:30:in `edit'
+ app/controllers/tasks_controller.rb:46:in `delete'
+
+ 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:6
+ Rendered tasks/index.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 31ms (Views: 27.4ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 19:54: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"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (7.2ms)
+Completed 200 OK in 35ms (Views: 25.1ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks/7/delete" for ::1 at 2019-04-12 19:54:23 -0700
+Processing by TasksController#delete 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:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 29ms (Views: 23.7ms | ActiveRecord: 0.3ms)
+
+
+Started DELETE "/tasks/7" for ::1 at 2019-04-12 19:54:25 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"uwIcdLAOdLMf0TQ0Jo3dqpPLA97UwDf8jbhHDGTfQutzwRISzlCrQn1iIyxvGdCzmZvZD/LFcOItXbpxLU1LmQ==", "id"=>"7"}
+Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
+
+
+
+NoMethodError - undefined method `destroy' for nil:NilClass:
+ app/controllers/tasks_controller.rb:51:in `destroy'
+
+Started POST "/__better_errors/ce338987d7c3282f/variables" for ::1 at 2019-04-12 19:54:25 -0700
+Started GET "/tasks/7/delete" for ::1 at 2019-04-12 19:54:33 -0700
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"7"}
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 45ms (Views: 33.6ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 19:54: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:6
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 19ms (Views: 16.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 19:54: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 24ms (Views: 20.5ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-12 19:55:14 -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 34ms (Views: 30.1ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-12 19:55:26 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"ieDinJLZhIWrzBsaDk2ezXDSMwNzOQYsor8rbzh32eBBmsXWidwlkuZ4yqfUtXzm8/3/WDq/GCJj0FVNGEcmQw==", "task"=>{"title"=>"poop", "description"=>"hello", "completion"=>"false"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "hello"], ["completion", false], ["created_at", "2019-04-13 02:55:26.065465"], ["updated_at", "2019-04-13 02:55:26.065465"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/15
+Completed 302 Found in 6ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks/15" for ::1 at 2019-04-12 19:55:26 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"15"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 28ms (Views: 23.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-12 19:55:29 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 32ms (Views: 25.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 19:55:32 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 25ms (Views: 22.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/15/delete" for ::1 at 2019-04-12 19:55:39 -0700
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"15"}
+ [1m[36mTask Load (1.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 35ms (Views: 28.5ms | ActiveRecord: 1.1ms)
+
+
+Started DELETE "/tasks/15" for ::1 at 2019-04-12 19:55:40 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"7Tkj5hvu22PUlB9SsbnG19gNfEIoNoQV+h3fD/ScTjgl+i2AZbAEkrYnCEr4LcvO0l2mkw4zwwta+CJyvQ5HSg==", "id"=>"15"}
+Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
+
+
+
+NoMethodError - undefined method `destroy' for nil:NilClass:
+ app/controllers/tasks_controller.rb:51:in `destroy'
+
+Started POST "/__better_errors/ed612c512cc61d2e/variables" for ::1 at 2019-04-12 19:55:40 -0700
+Started GET "/tasks/1" for ::1 at 2019-04-12 19:56:37 -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:8
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 6ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 19:56: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (10.5ms)
+Completed 200 OK in 29ms (Views: 24.9ms | ActiveRecord: 2.3ms)
+
+
+Started GET "/tasks/" for ::1 at 2019-04-12 19:56: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 19ms (Views: 16.8ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/" for ::1 at 2019-04-12 19:56:37 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 28ms (Views: 24.5ms | ActiveRecord: 0.3ms)
+
+
+ [1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (2.8ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ ↳ bin/rails:9
+ [1m[35m (228.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_development"[0m
+ ↳ bin/rails:9
+ [1m[35m (229.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ ↳ bin/rails:9
+ [1m[35m (432.3ms)[0m [1m[35mCREATE DATABASE "TaskList_development" ENCODING = 'unicode'[0m
+ ↳ bin/rails:9
+ [1m[35m (396.8ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ ↳ bin/rails:9
+ [1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
+ ↳ db/schema.rb:16
+ [1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "tasks" CASCADE[0m
+ ↳ db/schema.rb:18
+ [1m[35m (12.1ms)[0m [1m[35mCREATE TABLE "tasks" ("id" bigserial primary key, "title" character varying, "description" character varying, "completion" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ ↳ db/schema.rb:18
+ [1m[35m (4.3ms)[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 (1.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20190409222754)[0m
+ ↳ db/schema.rb:13
+ [1m[35m (2.4ms)[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.7ms)[0m [1m[35mBEGIN[0m
+ ↳ db/schema.rb:13
+ [1m[36mActiveRecord::InternalMetadata Create (0.5ms)[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-13 20:05:07.544105"], ["updated_at", "2019-04-13 20:05:07.544105"]]
+ ↳ 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]]
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [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, "title" character varying, "description" character varying, "completion" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ ↳ db/schema.rb:18
+ [1m[35m (2.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
+ ↳ db/schema.rb:13
+ [1m[35m (0.4ms)[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 (20190409222754)[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-13 20:05:07.587728"], ["updated_at", "2019-04-13 20:05:07.587728"]]
+ ↳ db/schema.rb:13
+ [1m[35m (0.4ms)[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]]
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[36mActiveRecord::InternalMetadata Update (0.3ms)[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-13 20:05:07.590956"], ["key", "environment"]]
+ ↳ bin/rails:9
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks/" for ::1 at 2019-04-13 13:05: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:6
+ Rendered tasks/index.html.erb within layouts/application (11.5ms)
+Completed 200 OK in 111ms (Views: 94.4ms | ActiveRecord: 0.6ms)
+
+
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Create (2.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "poopin"], ["completion", false], ["created_at", "2019-04-13 20:06:51.004989"], ["updated_at", "2019-04-13 20:06:51.004989"]]
+ [1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks/" for ::1 at 2019-04-13 13:08:25 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (4.3ms)
+Completed 200 OK in 37ms (Views: 33.9ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-13 13:08:28 -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 47ms (Views: 42.8ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-13 13:08:36 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"atRJnidFWlgPSeulZwACk5DgRbJX1QmY4qtih0D12x6irm7UPED7T0L9Ohi9+OC4E8+J6R5TF5YjxBylYMUkvQ==", "task"=>{"title"=>"please", "description"=>"please me", "completion"=>"falase"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (0.7ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "please"], ["description", "please me"], ["completion", true], ["created_at", "2019-04-13 20:08:36.524495"], ["updated_at", "2019-04-13 20:08:36.524495"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/2
+Completed 302 Found in 9ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-13 13:08:36 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 35ms (Views: 30.0ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/2/edit" for ::1 at 2019-04-13 13:08:39 -0700
+Processing by TasksController#edit 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:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 40ms (Views: 30.2ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-13 13:08:45 -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 52ms (Views: 49.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/" for ::1 at 2019-04-13 13:08: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:6
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 26ms (Views: 23.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-13 13:37:05 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 27ms (Views: 25.2ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-13 13:37:17 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"HHhOV3J51PZHR1rHI33Qmoo2QYDrAhJmAmBWGIeGKirUAmkdaXx14Qrzi3r5hTKxCRmN26KEDGjDDyg6p7bViQ==", "task"=>{"title"=>"please work", "description"=>"please please please", "completion"=>"false"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (1.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "please work"], ["description", "please please please"], ["completion", false], ["created_at", "2019-04-13 20:37:17.096533"], ["updated_at", "2019-04-13 20:37:17.096533"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/3
+Completed 302 Found in 7ms (ActiveRecord: 3.1ms)
+
+
+Started GET "/tasks/3" for ::1 at 2019-04-13 13:37:17 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 27ms (Views: 22.6ms | ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-13 13:37:20 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 20ms (Views: 18.6ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/" for ::1 at 2019-04-13 13:37: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:6
+ Rendered tasks/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 23ms (Views: 20.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/3/delete" for ::1 at 2019-04-13 13:37:27 -0700
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 28ms (Views: 23.3ms | ActiveRecord: 0.4ms)
+
+
+Started DELETE "/tasks/3" for ::1 at 2019-04-13 13:37:29 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"tLaM4piCbX0He6VZXab8IYD+R+zglTxJYSbr/3pPdMF8dYKE5tyyjGXIskEUMvE4iq6dPcaQe1fBwxaCM919sw==", "id"=>"3"}
+Completed 500 Internal Server Error in 234ms (ActiveRecord: 0.0ms)
+
+
+
+NameError - undefined local variable or method `task' for #:
+ app/controllers/tasks_controller.rb:51:in `destroy'
+
+Started POST "/__better_errors/7aa95f5890b4cdf5/variables" for ::1 at 2019-04-13 13:37:29 -0700
+Started GET "/tasks/3/delete" for ::1 at 2019-04-13 13:38:24 -0700
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 35ms (Views: 16.8ms | ActiveRecord: 6.3ms)
+
+
+Started GET "/tasks/3/delete" for ::1 at 2019-04-13 13:38:27 -0700
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 38ms (Views: 30.7ms | ActiveRecord: 0.4ms)
+
+
+Started DELETE "/tasks/3" for ::1 at 2019-04-13 13:38:28 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"TYpUASnKNeIUSyDe6VREX9tohQ77eJQ0NKWEUos+XVeFSVpnV5TqE3b4N8agwElG0Thf39190yqUQHkvwqxUJQ==", "id"=>"3"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:50
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:51
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 3]]
+ ↳ app/controllers/tasks_controller.rb:51
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:51
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 6ms (ActiveRecord: 2.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 13:38: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:6
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 24ms (Views: 22.1ms | ActiveRecord: 0.3ms)
+
+
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks/1/delete" for ::1 at 2019-04-13 13:38:44 -0700
+Processing by TasksController#delete 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:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 22ms (Views: 19.2ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/1" for ::1 at 2019-04-13 13:38:46 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"/VLsT6BTCvliMTTS3yMQYcZjapesm0e5ziroIp6VYrg1keIp3g3VCACCI8qWtx14zDOwRoqeAKduzxVf1wdryg==", "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:50
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:51
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 1]]
+ ↳ app/controllers/tasks_controller.rb:51
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:51
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 5ms (ActiveRecord: 1.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 13:38: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 27ms (Views: 24.7ms | ActiveRecord: 0.3ms)
+
+
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks" for ::1 at 2019-04-13 14:00: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 36ms (Views: 32.9ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:01: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 26ms (Views: 21.6ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-13 14:01:05 -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 25ms (Views: 22.9ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-13 14:01:15 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"1+hYj3orQFaDUL2rMFLf4dl5AWuUeWtrZkcW5ERlF8cfkn/FYS7hQc7kbBbqqj3KWlbNMN3/dWWnKGjGZFXoZA==", "task"=>{"title"=>"poop", "description"=>"wipe that butt", "completion"=>"false"}, "commit"=>"Save Task"}
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (0.7ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "wipe that butt"], ["completion", false], ["created_at", "2019-04-13 21:01:15.957541"], ["updated_at", "2019-04-13 21:01:15.957541"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/4
+Completed 302 Found in 7ms (ActiveRecord: 1.9ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-13 14:01:15 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 26ms (Views: 22.1ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-13 14:01:19 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 31ms (Views: 24.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:01: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:6
+ Rendered tasks/index.html.erb within layouts/application (4.7ms)
+Completed 200 OK in 26ms (Views: 23.3ms | ActiveRecord: 0.3ms)
+
+
+Started POST "/tasks/4/delete" for ::1 at 2019-04-13 14:01:28 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/4/delete"):
+
+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:03: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"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 30ms (Views: 25.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:03: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 30ms (Views: 27.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/4/delete" for ::1 at 2019-04-13 14:03:06 -0700
+Processing by TasksController#delete 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:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 23ms (Views: 19.8ms | ActiveRecord: 0.3ms)
+
+
+Started DELETE "/tasks/4" for ::1 at 2019-04-13 14:03:08 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"6KKOwtxMO4IfB9fHuOkYNoPSxht+YruM6zKTLOKq7j47VJmQjSdjGyJWyOWu6eFI1v8SkoeFkICAHZtEgSYJFQ==", "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:50
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:51
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 4]]
+ ↳ app/controllers/tasks_controller.rb:51
+ [1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:51
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 6ms (ActiveRecord: 2.6ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:03:08 -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:6
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 28ms (Views: 24.6ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-13 14:06:55 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 23ms (Views: 20.5ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-13 14:07:07 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"SYHukeiKz3cz5LUUPTfOFr8GtTH0iPa1+yjgSz65GOKB+8nb849uYH5QZKnnzyw9PCl5ar0O6Ls6R55pHonnQQ==", "task"=>{"title"=>"manny", "description"=>"will poop in the house", "completion"=>"false"}, "commit"=>"Save Task"}
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "manny"], ["description", "will poop in the house"], ["completion", false], ["created_at", "2019-04-13 21:07:07.677928"], ["updated_at", "2019-04-13 21:07:07.677928"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/5
+Completed 302 Found in 7ms (ActiveRecord: 2.5ms)
+
+
+Started GET "/tasks/5" for ::1 at 2019-04-13 14:07:07 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 30ms (Views: 23.7ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-13 14:07:10 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 33ms (Views: 27.3ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:07:12 -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:6
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 23ms (Views: 20.0ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:09:32 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 21ms (Views: 19.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:21:53 -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:6
+ Rendered tasks/index.html.erb within layouts/application (367.0ms)
+Completed 500 Internal Server Error in 375ms (ActiveRecord: 6.7ms)
+
+
+
+NameError - undefined local variable or method `mark_complete' for #<#:0x00007f9d7c112f30>
+Did you mean? mark_complete_url:
+ app/views/tasks/index.html.erb:12:in `block in _app_views_tasks_index_html_erb__3327368421910588719_70157184064500'
+ app/views/tasks/index.html.erb:6:in `_app_views_tasks_index_html_erb__3327368421910588719_70157184064500'
+
+Started POST "/__better_errors/4e6dd6dd23fa2991/variables" for ::1 at 2019-04-13 14:21:54 -0700
+Started GET "/tasks/4/delete" for ::1 at 2019-04-13 14:22:17 -0700
+Processing by TasksController#delete 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:30
+Completed 404 Not Found in 5ms (ActiveRecord: 0.9ms)
+
+
+
+ActiveRecord::RecordNotFound - Couldn't find Task with 'id'=4:
+ app/controllers/tasks_controller.rb:30:in `edit'
+ app/controllers/tasks_controller.rb:46:in `delete'
+
+Started POST "/__better_errors/5db1a19285746286/variables" for ::1 at 2019-04-13 14:22:17 -0700
+Started GET "/tasks" for ::1 at 2019-04-13 14:22: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (5.0ms)
+Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.3ms)
+
+
+
+ActionController::UrlGenerationError - No route matches {:action=>"toggle_completion", :controller=>"tasks"}, missing required keys: [:id]:
+ app/views/tasks/index.html.erb:12:in `block in _app_views_tasks_index_html_erb__3327368421910588719_70157220645140'
+ app/views/tasks/index.html.erb:6:in `_app_views_tasks_index_html_erb__3327368421910588719_70157220645140'
+
+Started POST "/__better_errors/721c76b4e3459a8f/variables" for ::1 at 2019-04-13 14:22:20 -0700
+Started GET "/tasks/1/delete" for ::1 at 2019-04-13 14:22:20 -0700
+Processing by TasksController#delete 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:30
+Completed 404 Not Found in 3ms (ActiveRecord: 0.4ms)
+
+
+
+ActiveRecord::RecordNotFound - Couldn't find Task with 'id'=1:
+ app/controllers/tasks_controller.rb:30:in `edit'
+ app/controllers/tasks_controller.rb:46:in `delete'
+
+Started POST "/__better_errors/a851bb30d159a99e/variables" for ::1 at 2019-04-13 14:22:20 -0700
+Started GET "/tasks/3/delete" for ::1 at 2019-04-13 14:22:21 -0700
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+Completed 404 Not Found in 2ms (ActiveRecord: 0.4ms)
+
+
+
+ActiveRecord::RecordNotFound - Couldn't find Task with 'id'=3:
+ app/controllers/tasks_controller.rb:30:in `edit'
+ app/controllers/tasks_controller.rb:46:in `delete'
+
+Started POST "/__better_errors/1f99615ee5b8a922/variables" for ::1 at 2019-04-13 14:22:21 -0700
+Started POST "/__better_errors/ed612c512cc61d2e/variables" for ::1 at 2019-04-13 14:22:22 -0700
+Started GET "/tasks" for ::1 at 2019-04-13 14:22: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (4.6ms)
+Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.3ms)
+
+
+
+ActionController::UrlGenerationError - No route matches {:action=>"toggle_completion", :controller=>"tasks"}, missing required keys: [:id]:
+ app/views/tasks/index.html.erb:12:in `block in _app_views_tasks_index_html_erb__3327368421910588719_70157246630280'
+ app/views/tasks/index.html.erb:6:in `_app_views_tasks_index_html_erb__3327368421910588719_70157246630280'
+
+Started POST "/__better_errors/28df8c6383759ff4/variables" for ::1 at 2019-04-13 14:22:26 -0700
+Started GET "/" for ::1 at 2019-04-13 14:22: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (5.2ms)
+Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.3ms)
+
+
+
+ActionController::UrlGenerationError - No route matches {:action=>"toggle_completion", :controller=>"tasks"}, missing required keys: [:id]:
+ app/views/tasks/index.html.erb:12:in `block in _app_views_tasks_index_html_erb__3327368421910588719_70157238375700'
+ app/views/tasks/index.html.erb:6:in `_app_views_tasks_index_html_erb__3327368421910588719_70157238375700'
+
+Started POST "/__better_errors/fe9b44466b841183/variables" for ::1 at 2019-04-13 14:22:27 -0700
+Started GET "/" for ::1 at 2019-04-13 14:22:27 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (4.7ms)
+Completed 500 Internal Server Error in 307ms (ActiveRecord: 0.4ms)
+
+
+
+ActionController::UrlGenerationError - No route matches {:action=>"toggle_completion", :controller=>"tasks"}, missing required keys: [:id]:
+ app/views/tasks/index.html.erb:12:in `block in _app_views_tasks_index_html_erb__3327368421910588719_70157219981600'
+ app/views/tasks/index.html.erb:6:in `_app_views_tasks_index_html_erb__3327368421910588719_70157219981600'
+
+Started POST "/__better_errors/2e4237badd50c9f2/variables" for ::1 at 2019-04-13 14:22:28 -0700
+Started GET "/" for ::1 at 2019-04-13 14: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 22ms (Views: 19.3ms | ActiveRecord: 0.3ms)
+
+
+Started POST "/tasks/5/complete" for ::1 at 2019-04-13 14:22:46 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/5/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 "/" for ::1 at 2019-04-13 14:23: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (9.6ms)
+Completed 200 OK in 30ms (Views: 23.1ms | ActiveRecord: 2.9ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 14:23: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:6
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 33ms (Views: 29.9ms | ActiveRecord: 0.3ms)
+
+
+Started POST "/tasks/5/complete" for ::1 at 2019-04-13 14:23:22 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/5/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 "/" for ::1 at 2019-04-13 14: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (11.2ms)
+Completed 200 OK in 34ms (Views: 26.7ms | ActiveRecord: 3.1ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 14:24: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:6
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 25ms (Views: 21.8ms | ActiveRecord: 0.3ms)
+
+
+Started POST "/tasks/5" for ::1 at 2019-04-13 14:24:07 -0700
+
+ActionController::RoutingError (No route matches [POST] "/tasks/5"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/" for ::1 at 2019-04-13 14:24:57 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 35ms (Views: 28.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 14:24: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:6
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 25ms (Views: 22.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/5" for ::1 at 2019-04-13 14:25:02 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 36ms (Views: 28.5ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 14:25: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:6
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 30ms (Views: 27.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/5" for ::1 at 2019-04-13 14:25:13 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 34ms (Views: 29.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 14:25: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 24ms (Views: 21.7ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 14:25: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:6
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 24ms (Views: 21.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 14:27: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:6
+ Rendered tasks/index.html.erb within layouts/application (9.6ms)
+Completed 200 OK in 31ms (Views: 24.9ms | ActiveRecord: 2.8ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 14:27: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:6
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 25ms (Views: 22.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/5/complete" for ::1 at 2019-04-13 14:27:58 -0700
+Processing by TasksController#toggle_completion 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:56
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:60
+ [1m[36mTask Update (0.7ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-13 21:27:58.968366"], ["id", 5]]
+ ↳ app/controllers/tasks_controller.rb:60
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:60
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 10ms (ActiveRecord: 1.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:27: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 24ms (Views: 21.6ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/5/complete" for ::1 at 2019-04-13 14:28:08 -0700
+Processing by TasksController#toggle_completion 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:56
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:58
+ [1m[36mTask Update (1.5ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", false], ["updated_at", "2019-04-13 21:28:08.091513"], ["id", 5]]
+ ↳ app/controllers/tasks_controller.rb:58
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:58
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 7ms (ActiveRecord: 2.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 34ms (Views: 24.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/5/complete" for ::1 at 2019-04-13 14:28:11 -0700
+Processing by TasksController#toggle_completion 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:56
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:60
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-13 21:28:11.561121"], ["id", 5]]
+ ↳ app/controllers/tasks_controller.rb:60
+ [1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:60
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 11ms (ActiveRecord: 3.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:28: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 35ms (Views: 31.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:28:14 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 25ms (Views: 21.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:28: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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 22ms (Views: 20.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 14:28: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:6
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 23ms (Views: 21.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 14:28: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:6
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 37ms (Views: 33.6ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/2/edit" for ::1 at 2019-04-13 14:28:24 -0700
+Processing by TasksController#edit 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:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 30ms (Views: 23.6ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 14:29:00 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 20ms (Views: 17.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-13 14:29:19 -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 33ms (Views: 28.8ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-13 14:29:25 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"AeV0Dvnd0xK3g5UCzc+vhsesGefS4ZBVzfO/pJYDez/Jn1NE4thyBfo3RL8XN02tRIPVvJtnjlsMnMGGtjOEnA==", "task"=>{"title"=>"poooop", "description"=>"poop", "completion"=>"false"}, "commit"=>"Save Task"}
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poooop"], ["description", "poop"], ["completion", false], ["created_at", "2019-04-13 21:29:25.232448"], ["updated_at", "2019-04-13 21:29:25.232448"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/6
+Completed 302 Found in 5ms (ActiveRecord: 2.3ms)
+
+
+Started GET "/tasks/6" for ::1 at 2019-04-13 14:29:25 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 19ms (Views: 16.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-13 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 (1.5ms)
+Completed 200 OK in 33ms (Views: 29.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 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
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 30ms (Views: 27.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-13 14:29:31 -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 33ms (Views: 28.9ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-13 14:29:37 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Eqt0mXOSp342SKF09jKouC+y1VLCywmBAxLKhhLpHPDa0VPTaJcGaXv8cMksykqTrJ0ZCYtNF4/CfbSkMtnjUw==", "task"=>{"title"=>"war", "description"=>"asdfads", "completion"=>"false"}, "commit"=>"Save Task"}
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "war"], ["description", "asdfads"], ["completion", false], ["created_at", "2019-04-13 21:29:37.610482"], ["updated_at", "2019-04-13 21:29:37.610482"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/7
+Completed 302 Found in 5ms (ActiveRecord: 2.2ms)
+
+
+Started GET "/tasks/7" for ::1 at 2019-04-13 14:29:37 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 35ms (Views: 30.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-13 14:29:39 -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 31ms (Views: 24.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 14:29:42 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 24ms (Views: 21.7ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/7/complete" for ::1 at 2019-04-13 14:29:44 -0700
+Processing by TasksController#toggle_completion 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:56
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:60
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-13 21:29:44.849426"], ["id", 7]]
+ ↳ app/controllers/tasks_controller.rb:60
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:60
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 9ms (ActiveRecord: 2.6ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:29:44 -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:6
+ Rendered tasks/index.html.erb within layouts/application (4.4ms)
+Completed 200 OK in 32ms (Views: 27.0ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:30:00 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (10.8ms)
+Completed 200 OK in 33ms (Views: 26.5ms | ActiveRecord: 3.2ms)
+
+
+Started GET "/tasks/6" for ::1 at 2019-04-13 14:30:02 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 29ms (Views: 23.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:30: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:6
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 31ms (Views: 28.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:34:32 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:6
+ Rendered tasks/index.html.erb within layouts/application (9.1ms)
+Completed 200 OK in 28ms (Views: 22.4ms | ActiveRecord: 2.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:34: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:6
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 26ms (Views: 21.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/6/complete" for ::1 at 2019-04-13 14:35:50 -0700
+Processing by TasksController#toggle_completion 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:56
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:60
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-13 21:35:50.494645"], ["id", 6]]
+ ↳ app/controllers/tasks_controller.rb:60
+ [1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:60
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 7ms (ActiveRecord: 2.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:35: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:6
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 22ms (Views: 19.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:36:32 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (8.5ms)
+Completed 200 OK in 28ms (Views: 25.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:37: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"[0m
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 25ms (Views: 22.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:37: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:7
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 24ms (Views: 21.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:37: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
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (4.2ms)
+Completed 200 OK in 46ms (Views: 43.1ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:37: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
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 26ms (Views: 22.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:37: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:7
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 23ms (Views: 21.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:37: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
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 24ms (Views: 21.0ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:37:37 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (7.5ms)
+Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.3ms)
+
+
+
+NoMethodError - undefined method `date' for Sat, 13 Apr 2019 13:08:36 PDT -07:00:Time:
+ app/views/tasks/index.html.erb:20:in `block in _app_views_tasks_index_html_erb__3327368421910588719_70157199128520'
+ app/views/tasks/index.html.erb:18:in `_app_views_tasks_index_html_erb__3327368421910588719_70157199128520'
+
+Started POST "/__better_errors/0e7b7cf9da6173a5/variables" for ::1 at 2019-04-13 14:37:37 -0700
+Started GET "/tasks" for ::1 at 2019-04-13 14:37: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
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 28ms (Views: 24.7ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:39:42 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (14.3ms)
+Completed 200 OK in 38ms (Views: 30.5ms | ActiveRecord: 4.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-13 14:39: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.8ms)
+Completed 200 OK in 35ms (Views: 31.6ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-13 14:39:49 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"FZ8+fNNUAyPQQ38WMeUlVYnMl+ubmQarat3EUAbFkKbd5Rk2yFGiNJ33rqvrHcd+CuNbsNIfGKWrsrpyJvVvBQ==", "task"=>{"title"=>"safads", "description"=>"asdfa", "completion"=>"false"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (0.8ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "safads"], ["description", "asdfa"], ["completion", false], ["created_at", "2019-04-13 21:39:49.643940"], ["updated_at", "2019-04-13 21:39:49.643940"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/8
+Completed 302 Found in 7ms (ActiveRecord: 2.7ms)
+
+
+Started GET "/tasks/8" for ::1 at 2019-04-13 14:39:49 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"8"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 30ms (Views: 26.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-13 14:39: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.4ms)
+Completed 200 OK in 40ms (Views: 35.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:39: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:7
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 28ms (Views: 23.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/8/complete" for ::1 at 2019-04-13 14:39:54 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"8"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:56
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:39:55 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (3.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (6.9ms)
+Completed 200 OK in 60ms (Views: 54.6ms | ActiveRecord: 3.1ms)
+
+
+Started GET "/tasks/8/complete" for ::1 at 2019-04-13 14:40:06 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"8"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:56
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:40: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:7
+ Rendered tasks/index.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 28ms (Views: 25.0ms | ActiveRecord: 0.3ms)
+
+
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+Started GET "/tasks/8/complete" for ::1 at 2019-04-13 14:41:58 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"8"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:56
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:57
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-13 21:41:58.203458"], ["id", 8]]
+ ↳ app/controllers/tasks_controller.rb:57
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:57
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 17ms (ActiveRecord: 4.6ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 14:41: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:7
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 22ms (Views: 19.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 15:13:36 -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:7
+ Rendered tasks/index.html.erb within layouts/application (15.7ms)
+Completed 200 OK in 45ms (Views: 33.9ms | ActiveRecord: 7.4ms)
+
+
+Started GET "/tasks/2/edit" for ::1 at 2019-04-13 15:13:40 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (4.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE (2) LIMIT $1[0m [["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+Completed 500 Internal Server Error in 7ms (ActiveRecord: 4.2ms)
+
+
+
+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:30:in `edit'
+
+Started POST "/__better_errors/f3ecb1cac651e222/variables" for ::1 at 2019-04-13 15:13:40 -0700
+Started GET "/tasks" for ::1 at 2019-04-13 15:13: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
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (10.3ms)
+Completed 200 OK in 37ms (Views: 29.9ms | ActiveRecord: 3.3ms)
+
+
+Started GET "/tasks/2/edit" for ::1 at 2019-04-13 15:13:56 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (2.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE (2) LIMIT $1[0m [["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+Completed 500 Internal Server Error in 5ms (ActiveRecord: 2.5ms)
+
+
+
+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:30:in `edit'
+
+Started POST "/__better_errors/57f72b0c09b33867/variables" for ::1 at 2019-04-13 15:13:56 -0700
+Started GET "/tasks/2/edit" for ::1 at 2019-04-13 15:15:52 -0700
+Started GET "/tasks/2" for ::1 at 2019-04-13 15:15:52 -0700
+Processing by TasksController#edit 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:30
+Completed 500 Internal Server Error in 227ms (ActiveRecord: 6.5ms)
+
+
+
+NameError - undefined local variable or method `task' for #
+Did you mean? @task:
+ app/controllers/tasks_controller.rb:31:in `edit'
+
+Started POST "/__better_errors/2b26aecc66dee2b5/variables" for ::1 at 2019-04-13 15:15:53 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 48ms (Views: 32.0ms | ActiveRecord: 4.0ms)
+
+
+Started GET "/task" for ::1 at 2019-04-13 15:16: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 "/tasks" for ::1 at 2019-04-13 15:16: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
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (14.6ms)
+Started GET "/t" for ::1 at 2019-04-13 15:16:36 -0700
+
+ActionController::RoutingError (No route matches [GET] "/t"):
+
+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'
+Completed 200 OK in 66ms (Views: 57.0ms | ActiveRecord: 5.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 15:16: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
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 43ms (Views: 40.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 15:16: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
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 40ms (Views: 37.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/2/edit" for ::1 at 2019-04-13 15:16:41 -0700
+Processing by TasksController#edit 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:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 54ms (Views: 46.7ms | ActiveRecord: 0.4ms)
+
+
+Started PATCH "/tasks/2" for ::1 at 2019-04-13 15:16:43 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"5AH0N2f0Go4m2KWO3yDp2OI0k9Myznxr11npNyZ0WFjZQFM2oKodY3cnNq8l7Zqbbecp5HLvHzgmbgjfllVQoA==", "task"=>{"title"=>"please", "description"=>"please me", "completion"=>"true"}, "commit"=>"Save Task", "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:37
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:41
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:41
+Redirected to http://localhost:3000/tasks/2
+Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-13 15:16:43 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 39ms (Views: 35.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/2/edit" for ::1 at 2019-04-13 15:16:44 -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:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (8.6ms)
+Completed 200 OK in 39ms (Views: 33.3ms | ActiveRecord: 0.3ms)
+
+
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
+Started GET "/tasks/2/edit" for ::1 at 2019-04-13 17:35:59 -0700
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+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:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (5.9ms)
+Completed 200 OK in 226ms (Views: 206.2ms | ActiveRecord: 4.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 17:36:00 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 25ms (Views: 18.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 17:36:02 -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:7
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 24ms (Views: 20.4ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-13 17:36: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 37ms (Views: 34.0ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-13 17:36:13 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"onBfatimXmzDispgOgjDOyZ3DR716Bayxc5JjZoorLhqCnggw6P/e44+G93g8CEQpVjBRbxuCLwEoTevuhhTGw==", "task"=>{"title"=>"poop", "description"=>"poop", "completion"=>"false"}, "commit"=>"Save Task"}
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "poop"], ["completion", false], ["created_at", "2019-04-14 00:36:13.644345"], ["updated_at", "2019-04-14 00:36:13.644345"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/9
+Completed 302 Found in 6ms (ActiveRecord: 2.4ms)
+
+
+Started GET "/tasks/9" for ::1 at 2019-04-13 17:36:13 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 21ms (Views: 17.8ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-13 17:36:15 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 27ms (Views: 24.3ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 17:36: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
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 41ms (Views: 38.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/9/edit" for ::1 at 2019-04-13 17:36:22 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 23ms (Views: 19.5ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/9" for ::1 at 2019-04-13 17:36:25 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"OUxPNNNupLATBRQfFy9MNGrJS3pas95o6CnDNy+A3wVU26MdbuJGmkJlEa3tug+64UkjGiXCEp3pyxVibrEo1A==", "task"=>{"title"=>"poop", "description"=>"poopin", "completion"=>"false"}, "commit"=>"Save Task", "id"=>"9"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:37
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:41
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "description" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["description", "poopin"], ["updated_at", "2019-04-14 00:36:25.610766"], ["id", 9]]
+ ↳ app/controllers/tasks_controller.rb:41
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:41
+Redirected to http://localhost:3000/tasks/9
+Completed 302 Found in 6ms (ActiveRecord: 2.6ms)
+
+
+Started GET "/tasks/9" for ::1 at 2019-04-13 17:36:25 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 25ms (Views: 21.2ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/9/edit" for ::1 at 2019-04-13 17:36:28 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 34ms (Views: 26.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 17: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
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 26ms (Views: 23.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/9/complete" for ::1 at 2019-04-13 17:36:34 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:56
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:57
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 00:36:34.221747"], ["id", 9]]
+ ↳ app/controllers/tasks_controller.rb:57
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:57
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 11ms (ActiveRecord: 3.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 17:36:34 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (5.9ms)
+Completed 200 OK in 38ms (Views: 34.3ms | ActiveRecord: 0.3ms)
+
+
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks" for ::1 at 2019-04-13 17:53: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:7
+ Rendered tasks/index.html.erb within layouts/application (16.0ms)
+Completed 200 OK in 58ms (Views: 46.6ms | ActiveRecord: 6.7ms)
+
+
+Started GET "/tasks/2/edit" for ::1 at 2019-04-13 17:53:08 -0700
+Processing by TasksController#edit 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:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 38ms (Views: 28.4ms | ActiveRecord: 0.7ms)
+
+
+Started PATCH "/tasks/2" for ::1 at 2019-04-13 17:53:12 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"qFS7vJUI5qYdrpanYUWlctgOrE1/GCYV7zpro7v8F5mVFRy9UlbhS0xRBYabiNYxV90Wej85RUYeDYpLC90fYQ==", "task"=>{"title"=>"please", "description"=>"please me", "completion"=>"false"}, "commit"=>"Save Task", "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:37
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:41
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", false], ["updated_at", "2019-04-14 00:53:12.166891"], ["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:41
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:41
+Redirected to http://localhost:3000/tasks/2
+Completed 302 Found in 6ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-13 17:53:12 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 35ms (Views: 24.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/2/edit" for ::1 at 2019-04-13 17:53:13 -0700
+Processing by TasksController#edit 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:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 35ms (Views: 27.2ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/7/edit" for ::1 at 2019-04-13 17:53:17 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"7"}
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 35ms (Views: 29.4ms | ActiveRecord: 0.7ms)
+
+
+Started PATCH "/tasks/7" for ::1 at 2019-04-13 17:53:21 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"PzIsMsvHSHUUWxm83HSjXUtqbBVgpJnzY39Dhxm/K41P+UmReFDDAlI36qnfi2D0ekFAW1zq3w65QEc8cshlmg==", "task"=>{"title"=>"war", "description"=>"asdfads", "completion"=>"false"}, "commit"=>"Save Task", "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:37
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:41
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", false], ["updated_at", "2019-04-14 00:53:21.734266"], ["id", 7]]
+ ↳ app/controllers/tasks_controller.rb:41
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:41
+Redirected to http://localhost:3000/tasks/7
+Completed 302 Found in 6ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/tasks/7" for ::1 at 2019-04-13 17:53:21 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 30ms (Views: 27.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/7/edit" for ::1 at 2019-04-13 17:53:23 -0700
+Processing by TasksController#edit 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:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 29ms (Views: 22.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 17:53:26 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+Started GET "/tasks/2/edit" for ::1 at 2019-04-13 17:53:26 -0700
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (4.8ms)
+Processing by TasksController#edit as HTML
+Completed 200 OK in 35ms (Views: 31.8ms | ActiveRecord: 0.7ms)
+
+
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (1.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 45ms (Views: 30.8ms | ActiveRecord: 8.1ms)
+
+
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks/7/delete" for ::1 at 2019-04-13 17:53:51 -0700
+Processing by TasksController#delete 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:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 25ms (Views: 20.3ms | ActiveRecord: 0.3ms)
+
+
+Started DELETE "/tasks/7" for ::1 at 2019-04-13 17:53:52 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"Lt7+OaHTzsS/ZVr8Ea2wrb6L1c0mOpllI/bn8tH2Xb5sMX7zZ8xMvujYVFMzcmDItP6GbfqNwoVQYXg58bwuDg==", "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:50
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:51
+ [1m[36mTask Destroy (0.5ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 7]]
+ ↳ app/controllers/tasks_controller.rb:51
+ [1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:51
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 7ms (ActiveRecord: 3.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 17:53: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
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 35ms (Views: 32.7ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/2/delete" for ::1 at 2019-04-13 17:53:53 -0700
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (1.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 36ms (Views: 29.6ms | ActiveRecord: 1.6ms)
+
+
+Started DELETE "/tasks/2" for ::1 at 2019-04-13 17:53:54 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"vy0iGf0VlAYjMcVYRRFzQwi0ZCLA8UU88BFfaSWJmCFB8+1O7o+4WGsv76997uH0qWbl0xOJhHhaVhJSO3Et1A==", "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:50
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:51
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:51
+ [1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:51
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 7ms (ActiveRecord: 2.6ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 17:53: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:7
+ Rendered tasks/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 26ms (Views: 23.4ms | ActiveRecord: 0.3ms)
+
+
+ [1m[35m (4.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ ↳ bin/rails:9
+ [1m[35m (225.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_development"[0m
+ ↳ bin/rails:9
+ [1m[35m (212.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ ↳ bin/rails:9
+ [1m[35m (517.7ms)[0m [1m[35mCREATE DATABASE "TaskList_development" ENCODING = 'unicode'[0m
+ ↳ bin/rails:9
+ [1m[35m (448.1ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ ↳ bin/rails:9
+ [1m[35mSQL (0.5ms)[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 (8.0ms)[0m [1m[35mCREATE TABLE "tasks" ("id" bigserial primary key, "title" character varying, "description" character varying, "completion" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ ↳ db/schema.rb:18
+ [1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
+ ↳ db/schema.rb:13
+ [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[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20190409222754)[0m
+ ↳ db/schema.rb:13
+ [1m[35m (3.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
+ ↳ 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.2ms)[0m [1m[35mBEGIN[0m
+ ↳ db/schema.rb:13
+ [1m[36mActiveRecord::InternalMetadata Create (0.5ms)[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-14 01:01:57.588367"], ["updated_at", "2019-04-14 01:01:57.588367"]]
+ ↳ 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]]
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[35mSQL (0.6ms)[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.7ms)[0m [1m[35mCREATE TABLE "tasks" ("id" bigserial primary key, "title" character varying, "description" character varying, "completion" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ ↳ db/schema.rb:18
+ [1m[35m (2.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
+ ↳ db/schema.rb:13
+ [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[35m (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20190409222754)[0m
+ ↳ db/schema.rb:13
+ [1m[35m (4.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.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2019-04-14 01:01:57.639254"], ["updated_at", "2019-04-14 01:01:57.639254"]]
+ ↳ 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]]
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [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-14 01:01:57.642491"], ["key", "environment"]]
+ ↳ bin/rails:9
+ [1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Started GET "/tasks/2/edit" for ::1 at 2019-04-13 18:03:34 -0700
+Started GET "/tasks" for ::1 at 2019-04-13 18:03:34 -0700
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+ ↳ /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+Processing by TasksController#index as HTML
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"2"}
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (4.0ms)
+ ↳ app/controllers/tasks_controller.rb:30
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 165ms (ActiveRecord: 6.5ms)
+
+
+Completed 200 OK in 238ms (Views: 228.1ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-13 18:03:37 -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 42ms (Views: 23.7ms | ActiveRecord: 6.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-13 18:03:45 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"xyofTlBjTKJWwXo0d+cPZixR+2phao8a7nCWcs9PcZQPUDgES2bttRt1q4mtH+1Nr343MSjskRQvH+hQ73+ONw==", "task"=>{"title"=>"poop", "description"=>"mcpoop", "completion"=>"false"}, "commit"=>"Save Task"}
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (0.8ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "mcpoop"], ["completion", false], ["created_at", "2019-04-14 01:03:45.144887"], ["updated_at", "2019-04-14 01:03:45.144887"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/1
+Completed 302 Found in 7ms (ActiveRecord: 2.7ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-13 18:03:45 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 34ms (Views: 29.2ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-13 18:03: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.6ms)
+Completed 200 OK in 30ms (Views: 24.3ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-13 18:03:56 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"hiZTHsAKmL/zm8fI9S8yW5s4HnOisRTFXT39+0JUca1OXHRU2w85qL4vFnUv19BwGBfSKOs3CsucUoPZYmSODg==", "task"=>{"title"=>"fastasdf", "description"=>"pdf", "completion"=>"false"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "fastasdf"], ["description", "pdf"], ["completion", false], ["created_at", "2019-04-14 01:03:56.506080"], ["updated_at", "2019-04-14 01:03:56.506080"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/2
+Completed 302 Found in 6ms (ActiveRecord: 2.4ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-13 18:03:56 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 28ms (Views: 23.8ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/2/edit" for ::1 at 2019-04-13 18:03:58 -0700
+Processing by TasksController#edit 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:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 33ms (Views: 27.4ms | ActiveRecord: 0.5ms)
+
+
+Started PATCH "/tasks/2" for ::1 at 2019-04-13 18:04:08 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"+GPnorYfXmWNgp9QLTAxQjA0BpDTYkMsVzxr1iglamLFIkCjcUFZiNx9DHHX/UIBv+e8p5NDIH+mC4o+mARimg==", "task"=>{"title"=>"poop", "description"=>"pdf", "completion"=>"false"}, "commit"=>"Save Task", "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:37
+Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.3ms)
+
+
+
+RuntimeError - :
+ app/controllers/tasks_controller.rb:38:in `update'
+
+Started POST "/__better_errors/9c0ab4351713654d/variables" for ::1 at 2019-04-13 18:04:08 -0700
+Started POST "/__better_errors/9c0ab4351713654d/eval" for ::1 at 2019-04-13 18:04:12 -0700
+Started POST "/__better_errors/9c0ab4351713654d/eval" for ::1 at 2019-04-13 18:04:38 -0700
+ [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:38
+Started POST "/__better_errors/9c0ab4351713654d/eval" for ::1 at 2019-04-13 18:04:45 -0700
+Started POST "/__better_errors/9c0ab4351713654d/eval" for ::1 at 2019-04-13 18:05:42 -0700
+Started POST "/__better_errors/9c0ab4351713654d/eval" for ::1 at 2019-04-13 18:05:51 -0700
+Started POST "/__better_errors/9c0ab4351713654d/eval" for ::1 at 2019-04-13 18:05:55 -0700
+Started GET "/" for ::1 at 2019-04-13 19:10:25 -0700
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (14.4ms)
+Completed 200 OK in 255ms (Views: 241.0ms | ActiveRecord: 4.8ms)
+
+
+Started GET "/tasks/1/complete" for ::1 at 2019-04-13 19:10:29 -0700
+
+ActionController::RoutingError (No route matches [GET] "/tasks/1/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 "/" for ::1 at 2019-04-13 19:11:08 -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:7
+ Rendered tasks/index.html.erb within layouts/application (16.7ms)
+Completed 200 OK in 47ms (Views: 35.7ms | ActiveRecord: 7.7ms)
+
+
+Started GET "/tasks/1/complete" for ::1 at 2019-04-13 19:11:10 -0700
+Processing by TasksController#toggle_completion 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:56
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:57
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 02:11:10.442775"], ["id", 1]]
+ ↳ app/controllers/tasks_controller.rb:57
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:57
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 13ms (ActiveRecord: 2.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 19:11: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
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 22ms (Views: 18.8ms | ActiveRecord: 0.3ms)
+
+
diff --git a/log/test.log b/log/test.log
index b15642477..bfb3cf598 100644
--- a/log/test.log
+++ b/log/test.log
@@ -2182,3 +2182,9234 @@ Processing by TasksController#show as HTML
Rendered tasks/show.html.erb within layouts/application (0.5ms)
Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (1.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 (2.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.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (2.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-13 22:09:59.683680', '2019-04-13 22:09:59.683680'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-13 22:09:59.683680', '2019-04-13 22:09:59.683680')[0m
+ [1m[35m (0.6ms)[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.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-13 15:09:59 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 22:09:59.725883"], ["updated_at", "2019-04-13 22:09:59.725883"]]
+ [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"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [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-13 15:09: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 (5.3ms)
+Completed 200 OK in 183ms (Views: 180.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-13 15:09:59 -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 (3.0ms)
+Completed 200 OK in 5ms (Views: 3.8ms | 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.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 15:09: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/tasks
+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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:09:59.947549"], ["updated_at", "2019-04-13 22:09:59.947549"]]
+ [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 15:09:59 -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.7ms | 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.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 15:09:59 -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.6ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 15:09:59 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 22:09:59.976333"], ["updated_at", "2019-04-13 22:09:59.976333"]]
+ [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[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-13 22:10:50.434894', '2019-04-13 22:10:50.434894'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-13 22:10:50.434894', '2019-04-13 22:10:50.434894')[0m
+ [1m[35m (2.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::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 15:10:50 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 22:10:50.481429"], ["updated_at", "2019-04-13 22:10:50.481429"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 22ms (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"."title" = $1 LIMIT $2[0m [["title", "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
+---------------------------------------------------------------------------
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 15:10:50 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 22:10:50.500530"], ["updated_at", "2019-04-13 22:10:50.500530"]]
+ [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[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:10:50.503821"], ["updated_at", "2019-04-13 22:10:50.503821"]]
+ [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::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [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 15:10:50 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 139ms (Views: 137.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-13 15:10: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 (6.1ms)
+Completed 200 OK in 11ms (Views: 7.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-13 15:10: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 (3.0ms)
+Completed 200 OK in 5ms (Views: 4.0ms | 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_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 15:10:50 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:10:50.751640"], ["updated_at", "2019-04-13 22:10:50.751640"]]
+ [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 15:10:50 -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.6ms)
+Completed 200 OK in 5ms (Views: 1.5ms | 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 "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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-13 22:11:13.220852', '2019-04-13 22:11:13.220852'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-13 22:11:13.220852', '2019-04-13 22:11:13.220852')[0m
+ [1m[35m (1.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
+-----------------------------
+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::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 15:11: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 (4.5ms)
+Completed 200 OK in 133ms (Views: 125.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 15:11: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 (3.7ms)
+Completed 200 OK in 6ms (Views: 4.8ms | 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-13 15:11:13 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 22:11:13.414201"], ["updated_at", "2019-04-13 22:11:13.414201"]]
+ [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.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"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [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::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 15:11:13 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 22:11:13.423671"], ["updated_at", "2019-04-13 22:11:13.423671"]]
+ [1m[35m (0.2ms)[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[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:11:13.426251"], ["updated_at", "2019-04-13 22:11:13.426251"]]
+ [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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 15:11: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.8ms)
+Completed 200 OK in 6ms (Views: 3.9ms | 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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:11:13.439988"], ["updated_at", "2019-04-13 22:11:13.439988"]]
+ [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 15:11:13 -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 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 15:11: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/tasks
+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.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.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-13 22:13:08.164068', '2019-04-13 22:13:08.164068'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-13 22:13:08.164068', '2019-04-13 22:13:08.164068')[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 "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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:13:08.186525"], ["updated_at", "2019-04-13 22:13:08.186525"]]
+ [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 15:13:08 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 131ms (Views: 123.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-13 15:13: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/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-13 15:13:08 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 15:13:08 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 3ms (Views: 2.9ms | 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 15:13:08 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 22:13:08.355009"], ["updated_at", "2019-04-13 22:13:08.355009"]]
+ [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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "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.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/-1/edit" for 127.0.0.1 at 2019-04-13 15:13:08 -0700
+Processing by TasksController#edit 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 2ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 15:13: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.9ms)
+Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.0ms)
+ [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 "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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-13 22:17:22.594785', '2019-04-13 22:17:22.594785'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-13 22:17:22.594785', '2019-04-13 22:17:22.594785')[0m
+ [1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[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_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.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 15:17:22 -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 (11.1ms)
+Completed 200 OK in 163ms (Views: 157.3ms | ActiveRecord: 0.6ms)
+ [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-13 15:17: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
+ Rendered tasks/index.html.erb within layouts/application (4.3ms)
+Completed 200 OK in 7ms (Views: 5.6ms | 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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 15:17:22 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 22:17:22.799093"], ["updated_at", "2019-04-13 22:17:22.799093"]]
+ [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.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"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 15:17:22 -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 6ms (Views: 4.1ms | 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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:17:22.819002"], ["updated_at", "2019-04-13 22:17:22.819002"]]
+ [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 15:17:22 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 5ms (Views: 1.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-13 15:17:22 -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/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::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 15:17:22 -0700
+Processing by TasksController#edit 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]]
+ 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.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 (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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-13 22:17:52.130210', '2019-04-13 22:17:52.130210'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-13 22:17:52.130210', '2019-04-13 22:17:52.130210')[0m
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.9ms)[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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:17:52.174930"], ["updated_at", "2019-04-13 22:17:52.174930"]]
+ [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 15:17:52 -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.1ms)
+Completed 200 OK in 136ms (Views: 125.0ms | 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 15:17: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/tasks
+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::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 15:17:52 -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]]
+Redirected to http://www.example.com/tasks
+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::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 15:17: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 (3.6ms)
+Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 15:17: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 (2.2ms)
+Completed 200 OK in 3ms (Views: 2.9ms | 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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 15:17:52 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 22:17:52.354010"], ["updated_at", "2019-04-13 22:17:52.354010"]]
+ [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.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"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 15:17:52 -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 8ms (Views: 6.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.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 "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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-13 22:29:25.924161', '2019-04-13 22:29:25.924161'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-13 22:29:25.924161', '2019-04-13 22:29:25.924161')[0m
+ [1m[35m (1.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.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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:29:25.945582"], ["updated_at", "2019-04-13 22:29:25.945582"]]
+ [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 15:29: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 (1.5ms)
+Completed 200 OK in 139ms (Views: 128.3ms | 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 15:29: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/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::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.5ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:29:26.099348"], ["updated_at", "2019-04-13 22:29:26.099348"]]
+ [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 15:29:26 -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 (3.1ms)
+Completed 200 OK in 7ms (Views: 4.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/-1/edit" for 127.0.0.1 at 2019-04-13 15:29:26 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 15:29: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 (3.9ms)
+Completed 200 OK in 7ms (Views: 4.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-13 15:29: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 (3.4ms)
+Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::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 15:29:26 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 22:29:26.142915"], ["updated_at", "2019-04-13 22:29:26.142915"]]
+ [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.9ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "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.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 22:29:26.149612"], ["updated_at", "2019-04-13 22:29:26.149612"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [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
+----------------------------------------------------------------------------------------
+ [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 15:29:26 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-13 22:40:01.861116', '2019-04-13 22:40:01.861116'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-13 22:40:01.861116', '2019-04-13 22:40:01.861116')[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 "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 15:40:01 -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 167ms (Views: 148.1ms | ActiveRecord: 0.0ms)
+ [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-13 15:40:02 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 22:40:02.065870"], ["updated_at", "2019-04-13 22:40:02.065870"]]
+ [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.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"."title" = $1 LIMIT $2[0m [["title", "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
+--------------------------------------------------------------
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 15:40:02 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 22:40:02.075941"], ["updated_at", "2019-04-13 22:40:02.075941"]]
+ [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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:40:02.078206"], ["updated_at", "2019-04-13 22:40:02.078206"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks.980190965" for 127.0.0.1 at 2019-04-13 15:40:02 -0700
+ [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
+-----------------------------
+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-13 15:40:02 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.6ms)
+Completed 200 OK in 8ms (Views: 5.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-13 15:40:02 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 4ms (Views: 3.6ms | 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.5ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:40:02.104621"], ["updated_at", "2019-04-13 22:40:02.104621"]]
+ [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 15:40:02 -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.0ms)
+Completed 200 OK in 5ms (Views: 2.0ms | 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/-1/edit" for 127.0.0.1 at 2019-04-13 15:40:02 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:40:02.118792"], ["updated_at", "2019-04-13 22:40:02.118792"]]
+ [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 15:40:02 -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.9ms)
+Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 15:40:02 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-13 22:43:29.812140', '2019-04-13 22:43:29.812140'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-13 22:43:29.812140', '2019-04-13 22:43:29.812140')[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::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 15:43:29 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 22:43:29.844606"], ["updated_at", "2019-04-13 22:43:29.844606"]]
+ [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"."title" = $1 LIMIT $2[0m [["title", "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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:43:29.853628"], ["updated_at", "2019-04-13 22:43:29.853628"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks.980190964" for 127.0.0.1 at 2019-04-13 15:43:29 -0700
+ [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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:43:29.861384"], ["updated_at", "2019-04-13 22:43:29.861384"]]
+ [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 15:43:29 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 133ms (Views: 129.0ms | 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 15:43:30 -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/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::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 15:43:30 -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]]
+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.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:43:30.012494"], ["updated_at", "2019-04-13 22:43:30.012494"]]
+ [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 15:43:30 -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.7ms)
+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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 15:43:30 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 4ms (Views: 2.3ms | 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-13 15:43:30 -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 (4.6ms)
+Completed 200 OK in 7ms (Views: 5.2ms | 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-13 15:43:30 -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 (2.4ms)
+Completed 200 OK in 4ms (Views: 3.1ms | 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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-13 22:45:16.431552', '2019-04-13 22:45:16.431552'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-13 22:45:16.431552', '2019-04-13 22:45:16.431552')[0m
+ [1m[35m (1.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.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 15:45:16 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 148ms (Views: 138.0ms | 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.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 15:45:16 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 22:45:16.609289"], ["updated_at", "2019-04-13 22:45:16.609289"]]
+ [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[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [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.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:45:16.617364"], ["updated_at", "2019-04-13 22:45:16.617364"]]
+ [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 15:45:16 -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 (1.0ms)
+Completed 200 OK in 4ms (Views: 2.0ms | 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/-1/edit" for 127.0.0.1 at 2019-04-13 15:45:16 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 15:45: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 (4.0ms)
+Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 15:45: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 (2.4ms)
+Completed 200 OK in 4ms (Views: 3.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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:45:16.647232"], ["updated_at", "2019-04-13 22:45:16.647232"]]
+ [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 15:45:16 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 15:45: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/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.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:45:16.659565"], ["updated_at", "2019-04-13 22:45:16.659565"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966" for 127.0.0.1 at 2019-04-13 15:45:16 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task", "description"=>"edited task description", "completion"=>"false"}, "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 "title" = $1, "description" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["title", "edited task"], ["description", "edited task description"], ["updated_at", "2019-04-13 22:45:16.663341"], ["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.8ms)
+ [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 "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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-13 22:47:18.434640', '2019-04-13 22:47:18.434640'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-13 22:47:18.434640', '2019-04-13 22:47:18.434640')[0m
+ [1m[35m (1.8ms)[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.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.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:47:18.466493"], ["updated_at", "2019-04-13 22:47:18.466493"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963" for 127.0.0.1 at 2019-04-13 15:47:18 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-13 22:47:18.498866"], ["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 23ms (ActiveRecord: 1.1ms)
+ [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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:47:18.508810"], ["updated_at", "2019-04-13 22:47:18.508810"]]
+ [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 15:47: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.0ms)
+Completed 200 OK in 133ms (Views: 129.8ms | 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-13 15:47: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/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.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 15:47:18 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 22:47:18.657489"], ["updated_at", "2019-04-13 22:47:18.657489"]]
+ [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"."title" = $1 LIMIT $2[0m [["title", "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 15:47:18 -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 6ms (Views: 4.1ms | 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-13 15:47: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 (3.2ms)
+Completed 200 OK in 6ms (Views: 4.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-13 15:47: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 (2.7ms)
+Completed 200 OK in 4ms (Views: 3.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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:47:18.691003"], ["updated_at", "2019-04-13 22:47:18.691003"]]
+ [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 15:47:18 -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.2ms)
+Completed 200 OK in 7ms (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_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 15:47:18 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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.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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-13 22:52:58.740378', '2019-04-13 22:52:58.740378'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-13 22:52:58.740378', '2019-04-13 22:52:58.740378')[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 "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:52:58.761610"], ["updated_at", "2019-04-13 22:52:58.761610"]]
+ [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 15:52: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 (3.5ms)
+Completed 200 OK in 165ms (Views: 156.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/-1/edit" for 127.0.0.1 at 2019-04-13 15:52:58 -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]]
+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-13 15:52:58 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 22:52:58.948303"], ["updated_at", "2019-04-13 22:52:58.948303"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 3ms (ActiveRecord: 1.2ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "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 15:52:58 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 4ms (Views: 2.0ms | 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_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 15:52: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
+ Rendered tasks/index.html.erb within layouts/application (4.9ms)
+Completed 200 OK in 8ms (Views: 5.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-13 15:52: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 (2.6ms)
+Completed 200 OK in 4ms (Views: 3.5ms | 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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:52:58.982789"], ["updated_at", "2019-04-13 22:52:58.982789"]]
+ [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 15:52:58 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 15:52:58 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:52:58.995405"], ["updated_at", "2019-04-13 22:52:58.995405"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966" for 127.0.0.1 at 2019-04-13 15:52:58 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "id"=>"980190966"}
+ [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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-13 22:52:59.003464"], ["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 8ms (ActiveRecord: 1.6ms)
+ [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/-1" for 127.0.0.1 at 2019-04-13 15:52:59 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 500 Internal Server Error in 2ms (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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-13 22:56:46.815997', '2019-04-13 22:56:46.815997'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-13 22:56:46.815997', '2019-04-13 22:56:46.815997')[0m
+ [1m[35m (1.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.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 15:56:46 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 22:56:46.846690"], ["updated_at", "2019-04-13 22:56:46.846690"]]
+ [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: 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"."title" = $1 LIMIT $2[0m [["title", "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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:56:46.855726"], ["updated_at", "2019-04-13 22:56:46.855726"]]
+ [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 15:56:46 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 206ms (Views: 202.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-13 15:56:47 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+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-13 15:56:47 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 6ms (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_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 15:56:47 -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 (3.6ms)
+Completed 200 OK in 6ms (Views: 4.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-13 15:56:47 -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 (2.6ms)
+Completed 200 OK in 4ms (Views: 3.3ms | 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
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-13 15:56:47 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 500 Internal Server Error in 2ms (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.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:56:47.103926"], ["updated_at", "2019-04-13 22:56:47.103926"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965" for 127.0.0.1 at 2019-04-13 15:56:47 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-13 22:56:47.108765"], ["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.0ms)
+ [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[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
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 15:56:47 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:56:47.122686"], ["updated_at", "2019-04-13 22:56:47.122686"]]
+ [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 15:56:47 -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 (0.9ms)
+Completed 200 OK in 4ms (Views: 2.2ms | 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.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-13 22:58:37.841918', '2019-04-13 22:58:37.841918'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-13 22:58:37.841918', '2019-04-13 22:58:37.841918')[0m
+ [1m[35m (1.8ms)[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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:58:37.863533"], ["updated_at", "2019-04-13 22:58:37.863533"]]
+ [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 15:58:37 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 213ms (Views: 204.0ms | 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-13 15:58: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/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-13 15:58:38 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 22:58:38.097854"], ["updated_at", "2019-04-13 22:58:38.097854"]]
+ [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"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 15:58:38 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:58:38.108389"], ["updated_at", "2019-04-13 22:58:38.108389"]]
+ [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-13 15:58:38 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 6ms (Views: 4.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-13 15:58:38 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-13 15:58:38 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited 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]]
+Redirected to http://www.example.com/tasks
+Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:58:38.134438"], ["updated_at", "2019-04-13 22:58:38.134438"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966" for 127.0.0.1 at 2019-04-13 15:58:38 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-13 22:58:38.138766"], ["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.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 15:58:38 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.6ms)
+Completed 200 OK in 8ms (Views: 5.7ms | 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-13 15:58:38 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 4ms (Views: 3.2ms | 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.2ms)[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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-13 22:59:59.770555', '2019-04-13 22:59:59.770555'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-13 22:59:59.770555', '2019-04-13 22:59:59.770555')[0m
+ [1m[35m (1.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.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 15:59:59 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 6ms (ActiveRecord: 0.5ms)
+ [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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 22:59:59.806994"], ["updated_at", "2019-04-13 22:59:59.806994"]]
+ [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 15:59:59 -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 (3.4ms)
+Completed 200 OK in 219ms (Views: 216.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.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 16:00:00 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 23:00:00.039950"], ["updated_at", "2019-04-13 23:00:00.039950"]]
+ [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 (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 23:00:00.048195"], ["updated_at", "2019-04-13 23:00:00.048195"]]
+ [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 16:00:00 -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.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-13 16:00:00 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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.5ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 23:00:00.064605"], ["updated_at", "2019-04-13 23:00:00.064605"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966" for 127.0.0.1 at 2019-04-13 16:00:00 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-13 23:00:00.070279"], ["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 6ms (ActiveRecord: 1.0ms)
+ [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.4ms)[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/-1" for 127.0.0.1 at 2019-04-13 16:00:00 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"more edited 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]]
+Redirected to http://www.example.com/tasks
+Completed 500 Internal Server Error in 3ms (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 16:00:00 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 16:00:00 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 16:00:00 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 4ms (Views: 2.0ms | 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 "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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-13 23:01:17.251464', '2019-04-13 23:01:17.251464'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-13 23:01:17.251464', '2019-04-13 23:01:17.251464')[0m
+ [1m[35m (2.0ms)[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.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.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 23:01:17.274138"], ["updated_at", "2019-04-13 23:01:17.274138"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963" for 127.0.0.1 at 2019-04-13 16:01:17 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-13 23:01:17.289328"], ["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
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 23:01:17.296555"], ["updated_at", "2019-04-13 23:01:17.296555"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964" for 127.0.0.1 at 2019-04-13 16:01:17 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"more edited task"}, "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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "more edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-13 23:01:17.302967"], ["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[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 16:01: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 (3.6ms)
+Completed 200 OK in 206ms (Views: 203.8ms | 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-13 16:01: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 (3.9ms)
+Completed 200 OK in 6ms (Views: 5.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/-1/edit" for 127.0.0.1 at 2019-04-13 16:01:17 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 23:01:17.532219"], ["updated_at", "2019-04-13 23:01:17.532219"]]
+ [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-13 16:01:17 -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.9ms)
+Completed 200 OK in 6ms (Views: 3.8ms | 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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 23:01:17.543477"], ["updated_at", "2019-04-13 23:01:17.543477"]]
+ [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:01:17 -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.5ms)
+Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 16:01:17 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+ [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:01:17 -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.6ms | 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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 16:01:17 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 23:01:17.567227"], ["updated_at", "2019-04-13 23:01:17.567227"]]
+ [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.9ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "new task"], ["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.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.6ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-13 23:02:41.729408', '2019-04-13 23:02:41.729408'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-13 23:02:41.729408', '2019-04-13 23:02:41.729408')[0m
+ [1m[35m (2.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.3ms)[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:02:41 -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 235ms (Views: 221.3ms | 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_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 16:02:41 -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 (6.9ms)
+Completed 200 OK in 11ms (Views: 8.0ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 16:02:42 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 6ms (Views: 4.8ms | 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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 23:02:42.018173"], ["updated_at", "2019-04-13 23:02:42.018173"]]
+ [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 16:02:42 -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.3ms | ActiveRecord: 0.5ms)
+ [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-13 16:02:42 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 16:02:42 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 23:02:42.043482"], ["updated_at", "2019-04-13 23:02:42.043482"]]
+ [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"."title" = $1 LIMIT $2[0m [["title", "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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 23:02:42.050485"], ["updated_at", "2019-04-13 23:02:42.050485"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965" for 127.0.0.1 at 2019-04-13 16:02:42 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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.6ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-13 23:02:42.055517"], ["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 8ms (ActiveRecord: 1.3ms)
+ [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/-1" for 127.0.0.1 at 2019-04-13 16:02:42 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"more edited 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]]
+Redirected to http://www.example.com/tasks
+Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.2ms)
+ [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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 23:02:42.072732"], ["updated_at", "2019-04-13 23:02:42.072732"]]
+ [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 16:02:42 -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.0ms)
+Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 16:02:42 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-13 23:08:06.214884', '2019-04-13 23:08:06.214884'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-13 23:08:06.214884', '2019-04-13 23:08:06.214884')[0m
+ [1m[35m (0.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.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.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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 23:08:06.237544"], ["updated_at", "2019-04-13 23:08:06.237544"]]
+ [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 16:08:06 -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 (4.0ms)
+Completed 200 OK in 220ms (Views: 211.9ms | ActiveRecord: 0.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/-1/edit" for 127.0.0.1 at 2019-04-13 16:08:06 -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]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [1m[35m (1.0ms)[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 16:08:06 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 23:08:06.482403"], ["updated_at", "2019-04-13 23:08:06.482403"]]
+ [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"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [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 16:08:06 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 4ms (Views: 2.0ms | 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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 23:08:06.496255"], ["updated_at", "2019-04-13 23:08:06.496255"]]
+ [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 16:08: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 (1.0ms)
+Completed 200 OK in 5ms (Views: 2.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-13 16:08:06 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 23:08:06.511693"], ["updated_at", "2019-04-13 23:08:06.511693"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966" for 127.0.0.1 at 2019-04-13 16:08:06 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 (0.3ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-13 23:08:06.516950"], ["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 5ms (ActiveRecord: 1.0ms)
+ [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[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/-1" for 127.0.0.1 at 2019-04-13 16:08:06 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"more edited 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]]
+Redirected to http://www.example.com/tasks
+Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 16:08:06 -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 (3.5ms)
+Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.2ms)
+ [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 16:08:06 -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 (2.3ms)
+Completed 200 OK in 4ms (Views: 3.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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-13 23:08:52.044865', '2019-04-13 23:08:52.044865'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-13 23:08:52.044865', '2019-04-13 23:08:52.044865')[0m
+ [1m[35m (1.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.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-13 16:08:52 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 23:08:52.085330"], ["updated_at", "2019-04-13 23:08:52.085330"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 19ms (ActiveRecord: 1.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"."title" = $1 LIMIT $2[0m [["title", "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-13 16: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 (8.1ms)
+Completed 200 OK in 191ms (Views: 186.3ms | 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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 23:08:52.294833"], ["updated_at", "2019-04-13 23:08:52.294833"]]
+ [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 16:08:52 -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.1ms)
+Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 16:08:52 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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 16: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 (4.0ms)
+Completed 200 OK in 7ms (Views: 4.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-13 16: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 (2.6ms)
+Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 23:08:52.330389"], ["updated_at", "2019-04-13 23:08:52.330389"]]
+ [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 16:08:52 -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 (0.5ms)
+Completed 200 OK in 4ms (Views: 1.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-13 16: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/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::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-13 16:08:52 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"more edited 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]]
+Redirected to http://www.example.com/tasks
+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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 23:08:52.352767"], ["updated_at", "2019-04-13 23:08:52.352767"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966" for 127.0.0.1 at 2019-04-13 16:08:52 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-13 23:08:52.358009"], ["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.2ms)[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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-13 23:09:28.513125', '2019-04-13 23:09:28.513125'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-13 23:09:28.513125', '2019-04-13 23:09:28.513125')[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 "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 16:09: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 (17.1ms)
+Completed 200 OK in 170ms (Views: 163.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-13 16:09: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 (3.7ms)
+Completed 200 OK in 6ms (Views: 5.0ms | 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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 16:09:28 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 23:09:28.728315"], ["updated_at", "2019-04-13 23:09:28.728315"]]
+ [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.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"."title" = $1 LIMIT $2[0m [["title", "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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 23:09:28.736372"], ["updated_at", "2019-04-13 23:09:28.736372"]]
+ [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 16:09:28 -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 (3.7ms)
+Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 16:09:28 -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]]
+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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 23:09:28.754554"], ["updated_at", "2019-04-13 23:09:28.754554"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965" for 127.0.0.1 at 2019-04-13 16:09:28 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "id"=>"980190965"}
+ [1m[36mTask Load (1.0ms)[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.7ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-13 23:09:28.761432"], ["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 10ms (ActiveRecord: 2.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.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/-1" for 127.0.0.1 at 2019-04-13 16:09:28 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"more edited 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]]
+Redirected to http://www.example.com/tasks
+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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 23:09:28.778154"], ["updated_at", "2019-04-13 23:09:28.778154"]]
+ [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:09:28 -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.6ms)
+Completed 200 OK in 5ms (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_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 16:09:28 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+ [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:09:28 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 4ms (Views: 2.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 "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-13 23:10:28.913361', '2019-04-13 23:10:28.913361'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-13 23:10:28.913361', '2019-04-13 23:10:28.913361')[0m
+ [1m[35m (1.6ms)[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::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 16:10:28 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 23:10:28.958540"], ["updated_at", "2019-04-13 23:10:28.958540"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 22ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 23:10:28.969650"], ["updated_at", "2019-04-13 23:10:28.969650"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964" for 127.0.0.1 at 2019-04-13 16:10:28 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-13 23:10:28.974350"], ["id", 980190964]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 5ms (ActiveRecord: 0.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::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-13 16:10:28 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 16:10: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 (4.1ms)
+Completed 200 OK in 126ms (Views: 124.0ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 16:10: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 (3.7ms)
+Completed 200 OK in 5ms (Views: 4.8ms | 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 16:10:29 -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 6ms (Views: 4.0ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 23:10:29.133624"], ["updated_at", "2019-04-13 23:10:29.133624"]]
+ [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-13 16:10:29 -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 (0.9ms)
+Completed 200 OK in 4ms (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_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 16:10:29 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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.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:10: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/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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 23:10:29.150756"], ["updated_at", "2019-04-13 23:10:29.150756"]]
+ [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 16:10:29 -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 200 OK in 3ms (Views: 1.4ms | 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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-13 23:32:15.830004', '2019-04-13 23:32:15.830004'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-13 23:32:15.830004', '2019-04-13 23:32:15.830004')[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 "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 16:32:15 -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 175ms (Views: 168.4ms | 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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 23:32:16.036135"], ["updated_at", "2019-04-13 23:32:16.036135"]]
+ [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 16:32:16 -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.0ms)
+Completed 200 OK in 8ms (Views: 2.2ms | 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/-1/edit" for 127.0.0.1 at 2019-04-13 16:32:16 -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]]
+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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 23:32:16.054603"], ["updated_at", "2019-04-13 23:32:16.054603"]]
+ [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 16:32:16 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 4ms (Views: 1.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:32:16 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 16:32: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 (35.5ms)
+Completed 500 Internal Server Error in 38ms (ActiveRecord: 0.2ms)
+ [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 16:32: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 (24.3ms)
+Completed 500 Internal Server Error in 25ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-13 23:32:16.137832"], ["updated_at", "2019-04-13 23:32:16.137832"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965" for 127.0.0.1 at 2019-04-13 16:32:16 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-13 23:32:16.151497"], ["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 5ms (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.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/-1" for 127.0.0.1 at 2019-04-13 16:32:16 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 500 Internal Server Error in 2ms (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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 16:32:16 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-13 23:32:16.164577"], ["updated_at", "2019-04-13 23:32:16.164577"]]
+ [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.4ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "new task"], ["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.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[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[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 00:17:49.551502"], ["updated_at", "2019-04-14 00:17:49.551502"]]
+ [1m[35m (2.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 00:19:46.054150', '2019-04-14 00:19:46.054150'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 00:19:46.054150', '2019-04-14 00:19:46.054150')[0m
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "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 17:19:46 -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 205ms (Views: 194.9ms | 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-13 17:19:46 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (6.2ms)
+Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 17:19: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.4ms)
+Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------
+TasksController::destroy: test_0001_does something
+--------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 00:19:46.301660"], ["updated_at", "2019-04-14 00:19:46.301660"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:19:46.304155"], ["updated_at", "2019-04-14 00:19:46.304155"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-13 17:19:46 -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 3ms (ActiveRecord: 0.9ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.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.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:19:46.314365"], ["updated_at", "2019-04-14 00:19:46.314365"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965" for 127.0.0.1 at 2019-04-13 17:19:46 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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.2ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-14 00:19:46.318557"], ["id", 980190965]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ [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
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-13 17:19:46 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 500 Internal Server Error in 2ms (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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:19:46.331896"], ["updated_at", "2019-04-14 00:19:46.331896"]]
+ [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 17:19:46 -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 (0.9ms)
+Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 17:19:46 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 17:19:46 -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/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
+-----------------------------------------------------
+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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:19:46.349793"], ["updated_at", "2019-04-14 00:19:46.349793"]]
+ [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 17:19:46 -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.5ms)
+Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 17:19:46 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 00:19:46.360832"], ["updated_at", "2019-04-14 00:19:46.360832"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190968
+Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "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.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 "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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 00:20:19.314682', '2019-04-14 00:20:19.314682'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 00:20:19.314682', '2019-04-14 00:20:19.314682')[0m
+ [1m[35m (1.8ms)[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.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_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-13 17:20:19 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 500 Internal Server Error in 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.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:20:19.355341"], ["updated_at", "2019-04-14 00:20:19.355341"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963" for 127.0.0.1 at 2019-04-13 17:20:19 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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.3ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-14 00:20:19.361053"], ["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 5ms (ActiveRecord: 0.9ms)
+ [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.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/-1/edit" for 127.0.0.1 at 2019-04-13 17:20:19 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:20:19.374743"], ["updated_at", "2019-04-14 00:20:19.374743"]]
+ [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 17:20:19 -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 (3.3ms)
+Completed 200 OK in 203ms (Views: 200.9ms | 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-13 17:20:19 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------
+TasksController::destroy: test_0001_does something
+--------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:20:19.593576"], ["updated_at", "2019-04-14 00:20:19.593576"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190965" for 127.0.0.1 at 2019-04-13 17:20:19 -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_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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:20:19.600736"], ["updated_at", "2019-04-14 00:20:19.600736"]]
+ [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 17:20:19 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190966"}
+ [1m[36mTask Load (0.1ms)[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 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms)
+ [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 17:20:19 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+ [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 17:20:19 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 00:20:19.613294"], ["updated_at", "2019-04-14 00:20:19.613294"]]
+ [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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "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-13 17:20: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 (2.9ms)
+Completed 200 OK in 6ms (Views: 3.6ms | 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 17:20: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 (2.5ms)
+Completed 200 OK in 4ms (Views: 3.4ms | 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.6ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 00:20:58.027016', '2019-04-14 00:20:58.027016'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 00:20:58.027016', '2019-04-14 00:20:58.027016')[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 "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 17:20:58 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 00:20:58.060445"], ["updated_at", "2019-04-14 00:20:58.060445"]]
+ [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: 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"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 17:20: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
+ Rendered tasks/index.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 207ms (Views: 205.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-13 17:20: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
+ Rendered tasks/index.html.erb within layouts/application (4.1ms)
+Completed 200 OK in 6ms (Views: 5.3ms | 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 17:20:58 -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 6ms (Views: 4.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::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 17:20:58 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:20:58.305921"], ["updated_at", "2019-04-14 00:20:58.305921"]]
+ [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 17:20:58 -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 4ms (Views: 1.6ms | ActiveRecord: 0.2ms)
+ [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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:20:58.314965"], ["updated_at", "2019-04-14 00:20:58.314965"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965" for 127.0.0.1 at 2019-04-13 17:20:58 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-14 00:20:58.319645"], ["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 5ms (ActiveRecord: 0.8ms)
+ [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/-1" for 127.0.0.1 at 2019-04-13 17:20:58 -0700
+Processing by TasksController#update 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/tasks
+Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.4ms)
+ [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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:20:58.332364"], ["updated_at", "2019-04-14 00:20:58.332364"]]
+ [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 17:20:58 -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 (0.9ms)
+Completed 200 OK in 4ms (Views: 2.0ms | 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/-1/edit" for 127.0.0.1 at 2019-04-13 17:20:58 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------
+TasksController::destroy: test_0001_does something
+--------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:20:58.346743"], ["updated_at", "2019-04-14 00:20:58.346743"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190967" for 127.0.0.1 at 2019-04-13 17:20:58 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (0.1ms)[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.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.6ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 00:23:13.980567', '2019-04-14 00:23:13.980567'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 00:23:13.980567', '2019-04-14 00:23:13.980567')[0m
+ [1m[35m (1.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.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 17:23: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 (10.9ms)
+Completed 200 OK in 230ms (Views: 224.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 17:23:14 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.3ms)
+Completed 200 OK in 7ms (Views: 5.8ms | 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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:23:14.246522"], ["updated_at", "2019-04-14 00:23:14.246522"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963" for 127.0.0.1 at 2019-04-13 17:23:14 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-14 00:23:14.254206"], ["id", 980190963]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-13 17:23:14 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 500 Internal Server Error 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-13 17:23:14 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 00:23:14.269004"], ["updated_at", "2019-04-14 00:23:14.269004"]]
+ [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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [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 17:23:14 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:23:14.282293"], ["updated_at", "2019-04-14 00:23:14.282293"]]
+ [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 17:23:14 -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.7ms | ActiveRecord: 0.2ms)
+ [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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:23:14.292993"], ["updated_at", "2019-04-14 00:23:14.292993"]]
+ [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 17:23:14 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190966"}
+ [1m[36mTask Load (0.6ms)[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 (3.1ms)
+Completed 200 OK in 7ms (Views: 4.2ms | 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/-1/edit" for 127.0.0.1 at 2019-04-13 17:23:14 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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_does something
+--------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 00:23:14.310245"], ["updated_at", "2019-04-14 00:23:14.310245"]]
+ [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 17:23:14 -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.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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 17:23:14 -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.6ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.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 "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.6ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 00:23:38.120582', '2019-04-14 00:23:38.120582'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 00:23:38.120582', '2019-04-14 00:23:38.120582')[0m
+ [1m[35m (1.8ms)[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_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 17:23: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 (11.2ms)
+Completed 200 OK in 238ms (Views: 231.6ms | 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 17:23: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 (4.4ms)
+Completed 200 OK in 6ms (Views: 5.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-13 17:23: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/tasks
+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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:23:38.398807"], ["updated_at", "2019-04-14 00:23:38.398807"]]
+ [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 17:23: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.7ms)
+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
+---------------------------------------------------------------------------
+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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:23:38.408910"], ["updated_at", "2019-04-14 00:23:38.408910"]]
+ [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 17:23:38 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (4.2ms)
+Completed 200 OK in 8ms (Views: 5.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/-1/edit" for 127.0.0.1 at 2019-04-13 17:23:38 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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 17:23:38 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 4ms (Views: 2.2ms | 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 17:23:38 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 00:23:38.439825"], ["updated_at", "2019-04-14 00:23:38.439825"]]
+ [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.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------
+TasksController::destroy: test_0001_does something
+--------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:23:38.447741"], ["updated_at", "2019-04-14 00:23:38.447741"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190966" for 127.0.0.1 at 2019-04-13 17:23:38 -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.3ms)[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.8ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-13 17:23:38 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 500 Internal Server Error in 2ms (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.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:23:38.461421"], ["updated_at", "2019-04-14 00:23:38.461421"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967" for 127.0.0.1 at 2019-04-13 17:23:38 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-14 00:23:38.465409"], ["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: 0.9ms)
+ [1m[36mTask Load (0.5ms)[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.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 00:23:59.892264', '2019-04-14 00:23:59.892264'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 00:23:59.892264', '2019-04-14 00:23:59.892264')[0m
+ [1m[35m (1.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.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------
+TasksController::destroy: test_0001_does something
+--------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 00:23:59.919067"], ["updated_at", "2019-04-14 00:23:59.919067"]]
+ [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/980190963" for 127.0.0.1 at 2019-04-13 17:23:59 -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 7ms (ActiveRecord: 0.8ms)
+ [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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 17:23:59 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 127ms (Views: 124.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.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:24:00.083097"], ["updated_at", "2019-04-14 00:24:00.083097"]]
+ [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 17:24:00 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 5ms (Views: 2.2ms | 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-13 17:24:00 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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-13 17:24:00 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 00:24:00.102497"], ["updated_at", "2019-04-14 00:24:00.102497"]]
+ [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.4ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "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/-1" for 127.0.0.1 at 2019-04-13 17:24:00 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 500 Internal Server Error in 2ms (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.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:24:00.111714"], ["updated_at", "2019-04-14 00:24:00.111714"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966" for 127.0.0.1 at 2019-04-13 17:24:00 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-14 00:24:00.115757"], ["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 5ms (ActiveRecord: 0.8ms)
+ [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[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 17:24:00 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 17:24:00 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 3ms (Views: 2.9ms | 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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:24:00.138701"], ["updated_at", "2019-04-14 00:24:00.138701"]]
+ [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 17:24:00 -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 (0.9ms)
+Completed 200 OK in 4ms (Views: 2.0ms | 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/-1/edit" for 127.0.0.1 at 2019-04-13 17:24:00 -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]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.5ms)
+ [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.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 00:26:09.131526', '2019-04-14 00:26:09.131526'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 00:26:09.131526', '2019-04-14 00:26:09.131526')[0m
+ [1m[35m (1.9ms)[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.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_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-13 17:26:09 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"new new", "description"=>"More Important"}, "id"=>"-1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.5ms)
+ [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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:26:09.175408"], ["updated_at", "2019-04-14 00:26:09.175408"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963" for 127.0.0.1 at 2019-04-13 17:26:09 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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.3ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-14 00:26:09.181570"], ["id", 980190963]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
+ [1m[36mTask Load (0.4ms)[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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:26:09.189540"], ["updated_at", "2019-04-14 00:26:09.189540"]]
+ [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 17:26:09 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (4.4ms)
+Completed 200 OK in 142ms (Views: 139.6ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 17:26:09 -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]]
+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-13 17:26: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 (3.2ms)
+Completed 200 OK in 7ms (Views: 4.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 17:26: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 (2.4ms)
+Completed 200 OK in 4ms (Views: 3.0ms | 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 17:26:09 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 00:26:09.364813"], ["updated_at", "2019-04-14 00:26:09.364813"]]
+ [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/980190965" for 127.0.0.1 at 2019-04-13 17:26:09 -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.5ms)
+ [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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:26:09.373327"], ["updated_at", "2019-04-14 00:26:09.373327"]]
+ [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 17:26:09 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190966"}
+ [1m[36mTask Load (0.1ms)[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.6ms)
+Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.1ms)
+ [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 17:26:09 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+ [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 17:26:09 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 00:26:09.388807"], ["updated_at", "2019-04-14 00:26:09.388807"]]
+ [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.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"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 00:28:23.227483', '2019-04-14 00:28:23.227483'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 00:28:23.227483', '2019-04-14 00:28:23.227483')[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 "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:28:23.248287"], ["updated_at", "2019-04-14 00:28:23.248287"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963" for 127.0.0.1 at 2019-04-13 17:28:23 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "id"=>"980190963"}
+ [1m[36mTask Load (0.5ms)[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 "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-14 00:28:23.266598"], ["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 15ms (ActiveRecord: 1.8ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-13 17:28:23 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"new new", "description"=>"More Important"}, "id"=>"-1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 500 Internal Server Error in 3ms (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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:28:23.284035"], ["updated_at", "2019-04-14 00:28:23.284035"]]
+ [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 17:28:23 -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.0ms)
+Completed 200 OK in 151ms (Views: 148.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-13 17:28:23 -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/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::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-13 17:28:23 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 00:28:23.453150"], ["updated_at", "2019-04-14 00:28:23.453150"]]
+ [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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 00:28:23.460363"], ["updated_at", "2019-04-14 00:28:23.460363"]]
+ [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 17:28:23 -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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 17:28:23 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 6ms (Views: 4.2ms | 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.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 17:28: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 (4.0ms)
+Completed 200 OK in 8ms (Views: 5.1ms | 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-13 17:28: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 (2.7ms)
+Completed 200 OK in 5ms (Views: 3.9ms | 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/-1/edit" for 127.0.0.1 at 2019-04-13 17:28:23 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:28:23.505339"], ["updated_at", "2019-04-14 00:28:23.505339"]]
+ [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 17:28:23 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (0.1ms)[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.0ms)
+Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.1ms)
+ [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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 00:33:31.814086', '2019-04-14 00:33:31.814086'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 00:33:31.814086', '2019-04-14 00:33:31.814086')[0m
+ [1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[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::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 17:33:31 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 00:33:31.846613"], ["updated_at", "2019-04-14 00:33:31.846613"]]
+ [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"."title" = $1 LIMIT $2[0m [["title", "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.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:33:31.855350"], ["updated_at", "2019-04-14 00:33:31.855350"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964" for 127.0.0.1 at 2019-04-13 17:33:31 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-14 00:33:31.860148"], ["id", 980190964]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 5ms (ActiveRecord: 0.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::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-13 17:33:31 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"new new", "description"=>"More Important"}, "id"=>"-1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 500 Internal Server Error in 4ms (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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:33:31.874725"], ["updated_at", "2019-04-14 00:33:31.874725"]]
+ [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 17:33:31 -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 143ms (Views: 140.8ms | 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 17:33:32 -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/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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 17:33:32 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:33:32.039955"], ["updated_at", "2019-04-14 00:33:32.039955"]]
+ [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 17:33:32 -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.0ms)
+Completed 200 OK in 4ms (Views: 2.0ms | 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/-1/edit" for 127.0.0.1 at 2019-04-13 17:33:32 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 00:33:32.053750"], ["updated_at", "2019-04-14 00:33:32.053750"]]
+ [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 17:33:32 -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.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Destroy (12.6ms)[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 16ms (ActiveRecord: 13.4ms)
+ [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 17:33:32 -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 (3.1ms)
+Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 17:33:32 -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 5ms (Views: 3.9ms | ActiveRecord: 0.6ms)
+ [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.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.6ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 00:39:52.536511', '2019-04-14 00:39:52.536511'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 00:39:52.536511', '2019-04-14 00:39:52.536511')[0m
+ [1m[35m (1.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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:39:52.557417"], ["updated_at", "2019-04-14 00:39:52.557417"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963" for 127.0.0.1 at 2019-04-13 17:39:52 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-14 00:39:52.572683"], ["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.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.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
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-13 17:39:52 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"new new", "description"=>"More Important"}, "id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 00:39:52.586200"], ["updated_at", "2019-04-14 00:39:52.586200"]]
+ [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 17:39:52 -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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Destroy (0.4ms)[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 3ms (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.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 17:39:52 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (3.7ms)
+Completed 200 OK in 145ms (Views: 143.6ms | 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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 17:39:52 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 00:39:52.749186"], ["updated_at", "2019-04-14 00:39:52.749186"]]
+ [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.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 17:39: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 (3.0ms)
+Completed 200 OK in 5ms (Views: 3.7ms | 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 17:39: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 (2.2ms)
+Completed 200 OK in 3ms (Views: 3.0ms | 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-13 17:39: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/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_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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:39:52.775141"], ["updated_at", "2019-04-14 00:39:52.775141"]]
+ [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 17:39:52 -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.6ms)
+Completed 200 OK in 4ms (Views: 1.8ms | 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_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 17:39:52 -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]]
+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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:39:52.789920"], ["updated_at", "2019-04-14 00:39:52.789920"]]
+ [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 17:39:52 -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.4ms)
+Completed 200 OK in 4ms (Views: 2.4ms | 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.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.6ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 00:42:23.320633', '2019-04-14 00:42:23.320633'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 00:42:23.320633', '2019-04-14 00:42:23.320633')[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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:42:23.340432"], ["updated_at", "2019-04-14 00:42:23.340432"]]
+ [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 17:42:23 -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 (4.5ms)
+Completed 200 OK in 161ms (Views: 152.2ms | 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/-1/edit" for 127.0.0.1 at 2019-04-13 17:42: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]]
+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
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-13 17:42:23 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"new new", "description"=>"More Important"}, "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/tasks
+Completed 500 Internal Server Error 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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:42:23.529584"], ["updated_at", "2019-04-14 00:42:23.529584"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964" for 127.0.0.1 at 2019-04-13 17:42:23 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-14 00:42:23.533563"], ["id", 980190964]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:42:23.540975"], ["updated_at", "2019-04-14 00:42:23.540975"]]
+ [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 17:42:23 -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 5ms (Views: 2.0ms | 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 17:42: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/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.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 17:42:23 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 4ms (Views: 2.0ms | 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 17:42:23 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 00:42:23.566937"], ["updated_at", "2019-04-14 00:42:23.566937"]]
+ [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.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "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 17:42: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 (3.2ms)
+Completed 200 OK in 6ms (Views: 4.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 17:42:23 -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 (2.4ms)
+Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 00:42:23.590726"], ["updated_at", "2019-04-14 00:42:23.590726"]]
+ [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 17:42:23 -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.3ms)[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.2ms)[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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 00:44:17.931713', '2019-04-14 00:44:17.931713'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 00:44:17.931713', '2019-04-14 00:44:17.931713')[0m
+ [1m[35m (1.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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:44:17.952576"], ["updated_at", "2019-04-14 00:44:17.952576"]]
+ [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 17:44:17 -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.1ms)
+Completed 200 OK in 153ms (Views: 144.5ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 17:44: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/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_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 17:44: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 (3.8ms)
+Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.3ms)
+ [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 17:44: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 (2.2ms)
+Completed 200 OK in 3ms (Views: 3.0ms | 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::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 00:44:18.140090"], ["updated_at", "2019-04-14 00:44:18.140090"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-13 17:44:18 -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.1ms)[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 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.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 17:44:18 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 17:44:18 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 00:44:18.164449"], ["updated_at", "2019-04-14 00:44:18.164449"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:44:18.170286"], ["updated_at", "2019-04-14 00:44:18.170286"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966" for 127.0.0.1 at 2019-04-13 17:44:18 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-14 00:44:18.173833"], ["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.6ms)
+ [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[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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:44:18.184056"], ["updated_at", "2019-04-14 00:44:18.184056"]]
+ [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 17:44:18 -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 (0.9ms)
+Completed 200 OK in 4ms (Views: 1.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
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 17:44:18 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.3ms)[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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 00:49:31.904543', '2019-04-14 00:49:31.904543'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 00:49:31.904543', '2019-04-14 00:49:31.904543')[0m
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:49:31.923595"], ["updated_at", "2019-04-14 00:49:31.923595"]]
+ [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 17:49:31 -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.9ms)
+Completed 200 OK in 241ms (Views: 224.6ms | ActiveRecord: 0.4ms)
+ [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 17:49:32 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:49:32.180074"], ["updated_at", "2019-04-14 00:49:32.180074"]]
+ [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 17:49:32 -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.6ms)
+Completed 200 OK in 9ms (Views: 6.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/-1/edit" for 127.0.0.1 at 2019-04-13 17:49:32 -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]]
+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-13 17:49:32 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 00:49:32.207327"], ["updated_at", "2019-04-14 00:49:32.207327"]]
+ [1m[35m (0.3ms)[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 17:49:32 -0700
+Processing by TasksController#destroy 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]]
+ [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", 980190965]]
+ [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: 1.1ms)
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::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 17:49:32 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 00:49:32.229709"], ["updated_at", "2019-04-14 00:49:32.229709"]]
+ [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.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 17:49:32 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.0ms)
+Completed 200 OK in 8ms (Views: 5.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 17:49:32 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms)
+ [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/-1" for 127.0.0.1 at 2019-04-13 17:49:32 -0700
+Processing by TasksController#update 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/tasks
+Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.5ms)
+ [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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:49:32.262745"], ["updated_at", "2019-04-14 00:49:32.262745"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967" for 127.0.0.1 at 2019-04-13 17:49:32 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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.3ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "edited task"], ["description", nil], ["completion", nil], ["updated_at", "2019-04-14 00:49:32.267973"], ["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 4ms (ActiveRecord: 0.8ms)
+ [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.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.6ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 00:58:23.087212', '2019-04-14 00:58:23.087212'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 00:58:23.087212', '2019-04-14 00:58:23.087212')[0m
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 17:58:23 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 00:58:23.128684"], ["updated_at", "2019-04-14 00:58:23.128684"]]
+ [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.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [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.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:58:23.144178"], ["updated_at", "2019-04-14 00:58:23.144178"]]
+ [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 17:58:23 -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 (14.4ms)
+Completed 200 OK in 237ms (Views: 234.3ms | 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/-1/edit" for 127.0.0.1 at 2019-04-13 17:58: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]]
+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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:58:23.395047"], ["updated_at", "2019-04-14 00:58:23.395047"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965" for 127.0.0.1 at 2019-04-13 17:58:23 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 (0.3ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 00:58:23.400223"], ["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 5ms (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.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/-1" for 127.0.0.1 at 2019-04-13 17:58:23 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 400 Bad Request in 1ms (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-13 17:58: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 (4.5ms)
+Completed 200 OK in 7ms (Views: 5.4ms | 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 17:58: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 (2.8ms)
+Completed 200 OK in 4ms (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 17:58: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]]
+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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 00:58:23.435875"], ["updated_at", "2019-04-14 00:58:23.435875"]]
+ [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 17:58:23 -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 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 (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 00:58:23.446752"], ["updated_at", "2019-04-14 00:58:23.446752"]]
+ [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 17:58:23 -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.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[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 17:58:23 -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 5ms (Views: 2.6ms | ActiveRecord: 0.0ms)
+ [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 "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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 01:00:08.245589', '2019-04-14 01:00:08.245589'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 01:00:08.245589', '2019-04-14 01:00:08.245589')[0m
+ [1m[35m (1.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.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-13 18:00:08 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 01:00:08.281699"], ["updated_at", "2019-04-14 01:00:08.281699"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 15ms (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"."title" = $1 LIMIT $2[0m [["title", "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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:00:08.291869"], ["updated_at", "2019-04-14 01:00:08.291869"]]
+ [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 18:00:08 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 218ms (Views: 214.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 18:00: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/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
+-----------------------------
+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.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:00:08.523763"], ["updated_at", "2019-04-14 01:00:08.523763"]]
+ [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-13 18:00:08 -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.9ms)
+Completed 200 OK in 7ms (Views: 3.9ms | 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/-1/edit" for 127.0.0.1 at 2019-04-13 18:00:08 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:00:08.540107"], ["updated_at", "2019-04-14 01:00:08.540107"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966" for 127.0.0.1 at 2019-04-13 18:00:08 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 01:00:08.543624"], ["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.6ms)
+ [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[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/-1" for 127.0.0.1 at 2019-04-13 18:00:08 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited 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]]
+Redirected to http://www.example.com/tasks
+Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:00:08.556754"], ["updated_at", "2019-04-14 01:00:08.556754"]]
+ [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 18:00:08 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (0.4ms)[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 3ms (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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 18:00:08 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.0ms)
+ [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 18:00: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 (4.6ms)
+Completed 200 OK in 8ms (Views: 5.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-13 18:00:08 -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 (2.4ms)
+Completed 200 OK in 4ms (Views: 3.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 "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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 01:01:16.756016', '2019-04-14 01:01:16.756016'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 01:01:16.756016', '2019-04-14 01:01:16.756016')[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 "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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 18:01:16 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 01:01:16.801240"], ["updated_at", "2019-04-14 01:01:16.801240"]]
+ [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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [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 18:01:16 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (5.4ms)
+Completed 200 OK in 135ms (Views: 132.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-13 18:01: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 (3.9ms)
+Completed 200 OK in 6ms (Views: 5.0ms | 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/-1/edit" for 127.0.0.1 at 2019-04-13 18:01:16 -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]]
+Redirected to http://www.example.com/tasks
+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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:01:16.967099"], ["updated_at", "2019-04-14 01:01:16.967099"]]
+ [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 18:01:16 -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.9ms)
+Completed 200 OK in 6ms (Views: 4.0ms | 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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:01:16.978253"], ["updated_at", "2019-04-14 01:01:16.978253"]]
+ [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 18:01:16 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 3ms (Views: 1.3ms | 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-13 18:01: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/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.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:01:16.992945"], ["updated_at", "2019-04-14 01:01:16.992945"]]
+ [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 18:01:16 -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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:01:17.001993"], ["updated_at", "2019-04-14 01:01:17.001993"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967" for 127.0.0.1 at 2019-04-13 18:01:17 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "id"=>"980190967"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+Completed 500 Internal Server Error in 1ms (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
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/999" for 127.0.0.1 at 2019-04-13 18:01:17 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "id"=>"999"}
+ [1m[36mTask Load (0.4ms)[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.4ms)
+ [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 18:01:17 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms)
+ [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 "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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 01:02:29.364947', '2019-04-14 01:02:29.364947'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 01:02:29.364947', '2019-04-14 01:02:29.364947')[0m
+ [1m[35m (0.5ms)[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.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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:02:29.384461"], ["updated_at", "2019-04-14 01:02:29.384461"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963" for 127.0.0.1 at 2019-04-13 18:02:29 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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.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" for 127.0.0.1 at 2019-04-13 18:02:29 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "id"=>"999"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 999], ["LIMIT", 1]]
+Completed 500 Internal Server Error 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-13 18:02: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/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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:02:29.412890"], ["updated_at", "2019-04-14 01:02:29.412890"]]
+ [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 18:02:29 -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 144ms (Views: 141.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.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 18:02:29 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 01:02:29.567743"], ["updated_at", "2019-04-14 01:02:29.567743"]]
+ [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.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "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-13 18:02:29 -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 5ms (Views: 3.8ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:02:29.583152"], ["updated_at", "2019-04-14 01:02:29.583152"]]
+ [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 18:02:29 -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 (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
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 18:02:29 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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 18:02: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 (5.3ms)
+Completed 200 OK in 8ms (Views: 6.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-13 18:02:29 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:02:29.615089"], ["updated_at", "2019-04-14 01:02:29.615089"]]
+ [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 18:02:29 -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.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.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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 01:03:15.730069', '2019-04-14 01:03:15.730069'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 01:03:15.730069', '2019-04-14 01:03:15.730069')[0m
+ [1m[35m (1.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.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 18:03:15 -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 163ms (Views: 150.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.5ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 18:03:15 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 01:03:15.925704"], ["updated_at", "2019-04-14 01:03:15.925704"]]
+ [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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:03:15.936389"], ["updated_at", "2019-04-14 01:03:15.936389"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964" for 127.0.0.1 at 2019-04-13 18:03:15 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 01:03:15.944054"], ["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.1ms)
+ [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.4ms)[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" for 127.0.0.1 at 2019-04-13 18:03:15 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 500 Internal Server Error in 3ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:03:15.958307"], ["updated_at", "2019-04-14 01:03:15.958307"]]
+ [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/980190965" for 127.0.0.1 at 2019-04-13 18:03:15 -0700
+Processing by TasksController#destroy 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]]
+ [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.5ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 18:03: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 (5.3ms)
+Completed 200 OK in 9ms (Views: 6.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 18:03: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 (3.0ms)
+Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:03:15.992937"], ["updated_at", "2019-04-14 01:03:15.992937"]]
+ [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 18:03: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.0ms)
+Completed 200 OK in 5ms (Views: 2.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/-1/edit" for 127.0.0.1 at 2019-04-13 18:03:16 -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]]
+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.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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:03:16.011393"], ["updated_at", "2019-04-14 01:03:16.011393"]]
+ [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 18:03:16 -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.0ms)
+Completed 200 OK in 5ms (Views: 2.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 18:03: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/tasks
+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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 01:06:39.084764', '2019-04-14 01:06:39.084764'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 01:06:39.084764', '2019-04-14 01:06:39.084764')[0m
+ [1m[35m (1.7ms)[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.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:06:39.108172"], ["updated_at", "2019-04-14 01:06:39.108172"]]
+ [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 18:06:39 -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
+-----------------------------
+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-13 18:06:39 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 01:06:39.140393"], ["updated_at", "2019-04-14 01:06:39.140393"]]
+ [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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "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 18:06:39 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 157ms (Views: 154.8ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:06:39.307857"], ["updated_at", "2019-04-14 01:06:39.307857"]]
+ [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-13 18:06:39 -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 6ms (Views: 3.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/-1/edit" for 127.0.0.1 at 2019-04-13 18:06:39 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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 18:06:39 -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 (3.4ms)
+Completed 200 OK in 6ms (Views: 4.2ms | 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-13 18:06:39 -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 (2.2ms)
+Completed 200 OK in 3ms (Views: 2.9ms | 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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:06:39.337912"], ["updated_at", "2019-04-14 01:06:39.337912"]]
+ [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 18:06:39 -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.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
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 18:06: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]]
+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_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/999" for 127.0.0.1 at 2019-04-13 18:06:39 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 500 Internal Server Error in 9ms (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.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:06:39.365021"], ["updated_at", "2019-04-14 01:06:39.365021"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967" for 127.0.0.1 at 2019-04-13 18:06:39 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "id"=>"980190967"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+Completed 500 Internal Server Error in 10ms (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.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 01:07:48.101662', '2019-04-14 01:07:48.101662'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 01:07:48.101662', '2019-04-14 01:07:48.101662')[0m
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:07:48.120914"], ["updated_at", "2019-04-14 01:07:48.120914"]]
+ [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 18:07:48 -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 (3.7ms)
+Completed 200 OK in 154ms (Views: 145.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/-1/edit" for 127.0.0.1 at 2019-04-13 18:07:48 -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]]
+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.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 18:07:48 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 01:07:48.297354"], ["updated_at", "2019-04-14 01:07:48.297354"]]
+ [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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "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 18:07:48 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:07:48.306397"], ["updated_at", "2019-04-14 01:07:48.306397"]]
+ [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 18:07:48 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 3ms (Views: 1.5ms | 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 18:07:48 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.1ms)
+Completed 200 OK in 7ms (Views: 4.9ms | 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-13 18:07:48 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:07:48.332000"], ["updated_at", "2019-04-14 01:07:48.332000"]]
+ [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 18:07:48 -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.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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:07:48.340723"], ["updated_at", "2019-04-14 01:07:48.340723"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967" for 127.0.0.1 at 2019-04-13 18:07:48 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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.2ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 01:07:48.344154"], ["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 4ms (ActiveRecord: 0.7ms)
+ [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" for 127.0.0.1 at 2019-04-13 18:07:48 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 500 Internal Server Error in 3ms (ActiveRecord: 0.2ms)
+ [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 18:07:48 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 3ms (Views: 1.8ms | 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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 01:10:49.153410', '2019-04-14 01:10:49.153410'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 01:10:49.153410', '2019-04-14 01:10:49.153410')[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.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:10:49.172595"], ["updated_at", "2019-04-14 01:10:49.172595"]]
+ [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 18:10:49 -0700
+Processing by TasksController#destroy 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]]
+ [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 12ms (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_redirects to task page
+----------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:10:49.198211"], ["updated_at", "2019-04-14 01:10:49.198211"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-13 18:10:49 -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.1ms)[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 2ms (ActiveRecord: 0.6ms)
+ [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 18:10: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 (5.1ms)
+Completed 200 OK in 153ms (Views: 151.0ms | 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-13 18:10: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 (3.6ms)
+Completed 200 OK in 6ms (Views: 4.8ms | 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[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 18:10:49 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 01:10:49.374213"], ["updated_at", "2019-04-14 01:10:49.374213"]]
+ [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.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"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 18:10:49 -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]]
+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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:10:49.383219"], ["updated_at", "2019-04-14 01:10:49.383219"]]
+ [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 18:10:49 -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 (4.4ms)
+Completed 200 OK in 9ms (Views: 5.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 18:10:49 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (1.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 1.5ms)
+ [1m[35m (2.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.7ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:10:49.407720"], ["updated_at", "2019-04-14 01:10:49.407720"]]
+ [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 18:10:49 -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.6ms)
+Completed 200 OK in 4ms (Views: 1.8ms | 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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:10:49.418911"], ["updated_at", "2019-04-14 01:10:49.418911"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968" for 127.0.0.1 at 2019-04-13 18:10:49 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "id"=>"980190968"}
+ [1m[36mTask Load (0.1ms)[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.2ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 01:10:49.422440"], ["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 4ms (ActiveRecord: 0.6ms)
+ [1m[36mTask Load (0.1ms)[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" for 127.0.0.1 at 2019-04-13 18:10:49 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "id"=>"999"}
+ [1m[36mTask Load (0.1ms)[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 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)
+ [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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 18:10:49 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.0ms)
+ [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 "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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 01:14:15.774177', '2019-04-14 01:14:15.774177'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 01:14:15.774177', '2019-04-14 01:14:15.774177')[0m
+ [1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.3ms)[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 18:14:15 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (4.4ms)
+Completed 200 OK in 236ms (Views: 220.8ms | 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.5ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 18:14:16 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 01:14:16.045081"], ["updated_at", "2019-04-14 01:14:16.045081"]]
+ [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.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"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------
+TasksController::destroy: test_0002_redirects to task page
+----------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:14:16.052908"], ["updated_at", "2019-04-14 01:14:16.052908"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-13 18:14: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.1ms)[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 3ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:14:16.060796"], ["updated_at", "2019-04-14 01:14:16.060796"]]
+ [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/980190965" for 127.0.0.1 at 2019-04-13 18:14:16 -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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::toggle_complete: test_0001_redirects to task page
+------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:14:16.070777"], ["updated_at", "2019-04-14 01:14:16.070777"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966/complete" for 127.0.0.1 at 2019-04-13 18:14:16 -0700
+Processing by TasksController#toggle_completion 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.4ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 01:14:16.075396"], ["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 6ms (ActiveRecord: 0.9ms)
+ [1m[35m (2.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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:14:16.086019"], ["updated_at", "2019-04-14 01:14:16.086019"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967" for 127.0.0.1 at 2019-04-13 18:14:16 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 01:14:16.090876"], ["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 4ms (ActiveRecord: 0.7ms)
+ [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" for 127.0.0.1 at 2019-04-13 18:14:16 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 500 Internal Server Error in 2ms (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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:14:16.103053"], ["updated_at", "2019-04-14 01:14:16.103053"]]
+ [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 18:14:16 -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.7ms)
+Completed 200 OK in 6ms (Views: 3.5ms | 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/-1/edit" for 127.0.0.1 at 2019-04-13 18:14:16 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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-13 18:14: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/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.5ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:14:16.124060"], ["updated_at", "2019-04-14 01:14:16.124060"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190969" for 127.0.0.1 at 2019-04-13 18:14:16 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190969"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190969], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.2ms)
+ [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 18:14:16 -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 (5.3ms)
+Completed 200 OK in 9ms (Views: 5.3ms | ActiveRecord: 1.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-13 18:14: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 (2.5ms)
+Completed 200 OK in 4ms (Views: 3.4ms | 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.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 01:16:28.518066', '2019-04-14 01:16:28.518066'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 01:16:28.518066', '2019-04-14 01:16:28.518066')[0m
+ [1m[35m (1.7ms)[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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 18:16:28 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 219ms (Views: 207.8ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:16:28.759767"], ["updated_at", "2019-04-14 01:16:28.759767"]]
+ [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 18:16:28 -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 5ms (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_redirects to task page
+----------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:16:28.775961"], ["updated_at", "2019-04-14 01:16:28.775961"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-13 18:16:28 -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.1ms)[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 2ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 18:16:28 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 01:16:28.786467"], ["updated_at", "2019-04-14 01:16:28.786467"]]
+ [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"."title" = $1 LIMIT $2[0m [["title", "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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:16:28.792000"], ["updated_at", "2019-04-14 01:16:28.792000"]]
+ [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 18:16:28 -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.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
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 18:16:28 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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-13 18:16: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 (5.0ms)
+Completed 200 OK in 8ms (Views: 5.8ms | 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-13 18:16: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 (2.8ms)
+Completed 200 OK in 5ms (Views: 3.6ms | 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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:16:28.826432"], ["updated_at", "2019-04-14 01:16:28.826432"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190967/edit" for 127.0.0.1 at 2019-04-13 18:16:28 -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 (0.9ms)
+Completed 200 OK in 4ms (Views: 2.0ms | 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/-1/edit" for 127.0.0.1 at 2019-04-13 18:16:28 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:16:28.839354"], ["updated_at", "2019-04-14 01:16:28.839354"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968" for 127.0.0.1 at 2019-04-13 18:16:28 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 01:16:28.843923"], ["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 4ms (ActiveRecord: 0.7ms)
+ [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.1ms)[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-13 18:16:28 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "id"=>"999"}
+ [1m[36mTask Load (0.1ms)[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 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------------
+TasksController::toggle_complete: test_0001_marks as complete
+-------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:16:28.855499"], ["updated_at", "2019-04-14 01:16:28.855499"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190969/complete" for 127.0.0.1 at 2019-04-13 18:16:28 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"980190969"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190969], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 01:16:28.859440"], ["id", 980190969]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::toggle_complete: test_0002_redirects to task page
+------------------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:16:28.865404"], ["updated_at", "2019-04-14 01:16:28.865404"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190970/complete" for 127.0.0.1 at 2019-04-13 18:16:28 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"980190970"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190970], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 01:16:28.870586"], ["id", 980190970]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
+ [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.8ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 01:37:47.409846', '2019-04-14 01:37:47.409846'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 01:37:47.409846', '2019-04-14 01:37:47.409846')[0m
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 18:37:47 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 8ms (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.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:37:47.452228"], ["updated_at", "2019-04-14 01:37:47.452228"]]
+ [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 18:37:47 -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.3ms)
+Completed 200 OK in 239ms (Views: 228.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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:37:47.698976"], ["updated_at", "2019-04-14 01:37:47.698976"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964" for 127.0.0.1 at 2019-04-13 18:37:47 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "id"=>"980190964"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 01:37:47.716109"], ["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 6ms (ActiveRecord: 1.0ms)
+ [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.1ms)[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-13 18:37:47 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 500 Internal Server Error in 2ms (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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:37:47.729640"], ["updated_at", "2019-04-14 01:37:47.729640"]]
+ [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-13 18:37:47 -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 (11.2ms)
+Completed 200 OK in 16ms (Views: 12.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/-1/edit" for 127.0.0.1 at 2019-04-13 18:37:47 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 18:37:47 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 01:37:47.760418"], ["updated_at", "2019-04-14 01:37:47.760418"]]
+ [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"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::toggle_complete: test_0002_redirects to task page
+------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:37:47.768658"], ["updated_at", "2019-04-14 01:37:47.768658"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190967/complete" for 127.0.0.1 at 2019-04-13 18:37:47 -0700
+Processing by TasksController#toggle_completion 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.2ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 01:37:47.773025"], ["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: 0.6ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------------
+TasksController::toggle_complete: test_0001_marks as complete
+-------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:37:47.777282"], ["updated_at", "2019-04-14 01:37:47.777282"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190968/complete" for 127.0.0.1 at 2019-04-13 18:37:47 -0700
+Processing by TasksController#toggle_completion 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 "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 01:37:47.780972"], ["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 4ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:37:47.787951"], ["updated_at", "2019-04-14 01:37:47.787951"]]
+ [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/980190969" for 127.0.0.1 at 2019-04-13 18:37:47 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190969"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190969], ["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", 980190969]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.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_redirects to task page
+----------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:37:47.798802"], ["updated_at", "2019-04-14 01:37:47.798802"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190970" for 127.0.0.1 at 2019-04-13 18:37:47 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190970"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190970], ["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", 980190970]]
+ [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.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 18:37:47 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 6ms (Views: 2.8ms | 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-13 18:37:47 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 18:37:47 -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 (2.5ms)
+Completed 200 OK in 4ms (Views: 3.3ms | 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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 01:39:42.479217', '2019-04-14 01:39:42.479217'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 01:39:42.479217', '2019-04-14 01:39:42.479217')[0m
+ [1m[35m (1.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.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::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:39:42.510021"], ["updated_at", "2019-04-14 01:39:42.510021"]]
+ [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 18:39:42 -0700
+Processing by TasksController#destroy 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]]
+ [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 8ms (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_redirects to task page
+----------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:39:42.531137"], ["updated_at", "2019-04-14 01:39:42.531137"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-13 18:39:42 -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 2ms (ActiveRecord: 0.7ms)
+ [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" for 127.0.0.1 at 2019-04-13 18:39:42 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 500 Internal Server Error in 2ms (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.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:39:42.545764"], ["updated_at", "2019-04-14 01:39:42.545764"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965" for 127.0.0.1 at 2019-04-13 18:39:42 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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.2ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 01:39:42.549213"], ["id", 980190965]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:39:42.555179"], ["updated_at", "2019-04-14 01:39:42.555179"]]
+ [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 18:39:42 -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 (11.4ms)
+Completed 200 OK in 186ms (Views: 184.1ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 18:39:42 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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_marks as complete
+-------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:39:42.752655"], ["updated_at", "2019-04-14 01:39:42.752655"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190967/complete" for 127.0.0.1 at 2019-04-13 18:39:42 -0700
+Processing by TasksController#toggle_completion 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 Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 01:39:42.757190"], ["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: 0.8ms)
+Started PATCH "/tasks/980190967/complete" for 127.0.0.1 at 2019-04-13 18:39:42 -0700
+Processing by TasksController#toggle_completion 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 "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", false], ["updated_at", "2019-04-14 01:39:42.762072"], ["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 3ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::toggle_complete: test_0002_redirects to task page
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:39:42.766704"], ["updated_at", "2019-04-14 01:39:42.766704"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190968/complete" for 127.0.0.1 at 2019-04-13 18:39:42 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"980190968"}
+ [1m[36mTask Load (0.1ms)[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 "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 01:39:42.769810"], ["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.7ms)
+ [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 18:39:42 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 4ms (Views: 2.1ms | 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-13 18:39:42 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 7ms (Views: 4.4ms | 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 18:39:42 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 5ms (Views: 4.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-13 18:39:42 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 01:39:42.802485"], ["updated_at", "2019-04-14 01:39:42.802485"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190969
+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"."title" = $1 LIMIT $2[0m [["title", "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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:39:42.807695"], ["updated_at", "2019-04-14 01:39:42.807695"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190970" for 127.0.0.1 at 2019-04-13 18:39:42 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190970"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190970], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.4ms)[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 18:39:42 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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.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.7ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 01:43:10.212925', '2019-04-14 01:43:10.212925'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 01:43:10.212925', '2019-04-14 01:43:10.212925')[0m
+ [1m[35m (2.0ms)[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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:43:10.247689"], ["updated_at", "2019-04-14 01:43:10.247689"]]
+ [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 18:43:10 -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 (3.9ms)
+Completed 200 OK in 189ms (Views: 180.4ms | 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/-1/edit" for 127.0.0.1 at 2019-04-13 18:43:10 -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]]
+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 18:43:10 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 4ms (Views: 1.9ms | 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.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:43:10.461153"], ["updated_at", "2019-04-14 01:43:10.461153"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964" for 127.0.0.1 at 2019-04-13 18:43:10 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 01:43:10.466733"], ["id", 980190964]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/999" for 127.0.0.1 at 2019-04-13 18:43:10 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 500 Internal Server Error 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.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------------
+TasksController::toggle_complete: test_0001_marks as complete
+-------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:43:10.479925"], ["updated_at", "2019-04-14 01:43:10.479925"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965/complete" for 127.0.0.1 at 2019-04-13 18:43:10 -0700
+Processing by TasksController#toggle_completion 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 Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 01:43:10.484246"], ["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: 0.7ms)
+Started PATCH "/tasks/980190965/complete" for 127.0.0.1 at 2019-04-13 18:43:10 -0700
+Processing by TasksController#toggle_completion 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 Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", false], ["updated_at", "2019-04-14 01:43:10.489650"], ["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: 0.6ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::toggle_complete: test_0002_redirects to task page
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:43:10.494465"], ["updated_at", "2019-04-14 01:43:10.494465"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966/complete" for 127.0.0.1 at 2019-04-13 18:43:10 -0700
+Processing by TasksController#toggle_completion 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.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 01:43:10.497866"], ["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: 0.7ms)
+ [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 18:43: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 (3.6ms)
+Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.3ms)
+ [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-13 18:43: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 (2.3ms)
+Completed 200 OK in 4ms (Views: 3.0ms | 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.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:43:10.521915"], ["updated_at", "2019-04-14 01:43:10.521915"]]
+ [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 18:43:10 -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.5ms)
+Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 18:43: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/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::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:43:10.534018"], ["updated_at", "2019-04-14 01:43:10.534018"]]
+ [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 18:43:10 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190968"}
+ [1m[36mTask Load (0.8ms)[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.4ms)[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: 1.4ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------
+TasksController::destroy: test_0002_redirects to task page
+----------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:43:10.543184"], ["updated_at", "2019-04-14 01:43:10.543184"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190969" for 127.0.0.1 at 2019-04-13 18:43:10 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190969"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190969], ["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", 980190969]]
+ [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.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-13 18:43:10 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 01:43:10.552682"], ["updated_at", "2019-04-14 01:43:10.552682"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190970
+Completed 302 Found in 3ms (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"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.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.6ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 01:43:36.852376', '2019-04-14 01:43:36.852376'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 01:43:36.852376', '2019-04-14 01:43:36.852376')[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::toggle_complete: test_0002_redirects to task page
+------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:43:36.873570"], ["updated_at", "2019-04-14 01:43:36.873570"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963/complete" for 127.0.0.1 at 2019-04-13 18:43:36 -0700
+Processing by TasksController#toggle_completion 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.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 01:43:36.888413"], ["id", 980190963]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 12ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------------
+TasksController::toggle_complete: test_0001_marks as complete
+-------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:43:36.895496"], ["updated_at", "2019-04-14 01:43:36.895496"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964/complete" for 127.0.0.1 at 2019-04-13 18:43:36 -0700
+Processing by TasksController#toggle_completion 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.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 01:43:36.899465"], ["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: 0.8ms)
+Started PATCH "/tasks/980190964/complete" for 127.0.0.1 at 2019-04-13 18:43:36 -0700
+Processing by TasksController#toggle_completion 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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", false], ["updated_at", "2019-04-14 01:43:36.906553"], ["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: 0.7ms)
+ [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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:43:36.912207"], ["updated_at", "2019-04-14 01:43:36.912207"]]
+ [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-13 18:43:36 -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 (3.7ms)
+Completed 200 OK in 201ms (Views: 197.2ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 18:43: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]]
+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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:43:37.123639"], ["updated_at", "2019-04-14 01:43:37.123639"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966" for 127.0.0.1 at 2019-04-13 18:43:37 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 01:43:37.128938"], ["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.8ms)
+ [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[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" for 127.0.0.1 at 2019-04-13 18:43:37 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 500 Internal Server Error in 2ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:43:37.140404"], ["updated_at", "2019-04-14 01:43:37.140404"]]
+ [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 18:43:37 -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.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------
+TasksController::destroy: test_0002_redirects to task page
+----------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:43:37.147252"], ["updated_at", "2019-04-14 01:43:37.147252"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190968" for 127.0.0.1 at 2019-04-13 18:43:37 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190968"}
+ [1m[36mTask Load (0.1ms)[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.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 2ms (ActiveRecord: 0.6ms)
+ [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[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 18:43:37 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 01:43:37.156959"], ["updated_at", "2019-04-14 01:43:37.156959"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190969
+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"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 18:43:37 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 8ms (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-13 18:43:37 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 3ms (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.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-13 18:43:37 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 5ms (Views: 2.2ms | 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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:43:37.191948"], ["updated_at", "2019-04-14 01:43:37.191948"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190970" for 127.0.0.1 at 2019-04-13 18:43:37 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190970"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190970], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 3ms (Views: 1.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-13 18:43:37 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 01:44:02.784761', '2019-04-14 01:44:02.784761'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 01:44:02.784761', '2019-04-14 01:44:02.784761')[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 "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------
+TasksController::destroy: test_0002_redirects to task page
+----------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:44:02.806589"], ["updated_at", "2019-04-14 01:44:02.806589"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-13 18:44:02 -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.8ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:44:02.826943"], ["updated_at", "2019-04-14 01:44:02.826943"]]
+ [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/980190964" for 127.0.0.1 at 2019-04-13 18:44:02 -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.1ms)[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 2ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 18:44: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"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.2ms)
+Completed 200 OK in 216ms (Views: 213.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 18:44: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 (3.8ms)
+Completed 200 OK in 6ms (Views: 4.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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:44:03.066499"], ["updated_at", "2019-04-14 01:44:03.066499"]]
+ [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-13 18:44:03 -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 (3.8ms)
+Completed 200 OK in 8ms (Views: 5.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/-1/edit" for 127.0.0.1 at 2019-04-13 18:44:03 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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_marks as complete
+-------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:44:03.084717"], ["updated_at", "2019-04-14 01:44:03.084717"]]
+ [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 18:44:03 -0700
+Processing by TasksController#toggle_completion 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 "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 01:44:03.089107"], ["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: 0.7ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::toggle_complete: test_0002_redirects to task page
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:44:03.093926"], ["updated_at", "2019-04-14 01:44:03.093926"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190967/complete" for 127.0.0.1 at 2019-04-13 18:44:03 -0700
+Processing by TasksController#toggle_completion 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 Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 01:44:03.097809"], ["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 5ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:44:03.104335"], ["updated_at", "2019-04-14 01:44:03.104335"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968" for 127.0.0.1 at 2019-04-13 18:44:03 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "id"=>"980190968"}
+ [1m[36mTask Load (0.1ms)[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 "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 01:44:03.108134"], ["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: 0.7ms)
+ [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.1ms)[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-13 18:44:03 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 500 Internal Server Error in 2ms (ActiveRecord: 0.2ms)
+ [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.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:44:03.120426"], ["updated_at", "2019-04-14 01:44:03.120426"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190969" for 127.0.0.1 at 2019-04-13 18:44:03 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190969"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190969], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.2ms)
+ [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 18:44:03 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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 18:44:03 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.0ms)
+ [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.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 18:44:03 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 01:44:03.144093"], ["updated_at", "2019-04-14 01:44:03.144093"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190970
+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"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 01:48:04.244299', '2019-04-14 01:48:04.244299'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 01:48:04.244299', '2019-04-14 01:48:04.244299')[0m
+ [1m[35m (1.7ms)[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 18:48: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 (34.5ms)
+Completed 500 Internal Server Error in 44ms (ActiveRecord: 0.3ms)
+ [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-13 18:48: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 (25.9ms)
+Completed 500 Internal Server Error in 27ms (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/-1/edit" for 127.0.0.1 at 2019-04-13 18:48:04 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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_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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:48:04.350442"], ["updated_at", "2019-04-14 01:48:04.350442"]]
+ [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 18:48:04 -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 (3.0ms)
+Completed 200 OK in 142ms (Views: 139.8ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:48:04.499227"], ["updated_at", "2019-04-14 01:48:04.499227"]]
+ [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 18:48:04 -0700
+Processing by TasksController#destroy 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]]
+ [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", 980190964]]
+ [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.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_redirects to task page
+----------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:48:04.511871"], ["updated_at", "2019-04-14 01:48:04.511871"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190965" for 127.0.0.1 at 2019-04-13 18:48:04 -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.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 18:48:04 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 3ms (Views: 1.8ms | 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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:48:04.526046"], ["updated_at", "2019-04-14 01:48:04.526046"]]
+ [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 18:48:04 -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 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 18:48: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/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_marks as complete
+-------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:48:04.538366"], ["updated_at", "2019-04-14 01:48:04.538366"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190967/complete" for 127.0.0.1 at 2019-04-13 18:48:04 -0700
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::toggle_complete: test_0002_redirects to task page
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:48:04.543052"], ["updated_at", "2019-04-14 01:48:04.543052"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190968/complete" for 127.0.0.1 at 2019-04-13 18:48:04 -0700
+ [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 18:48:04 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 01:48:04.550765"], ["updated_at", "2019-04-14 01:48:04.550765"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190969
+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"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[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 (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:48:04.557925"], ["updated_at", "2019-04-14 01:48:04.557925"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190970" for 127.0.0.1 at 2019-04-13 18:48:04 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "id"=>"980190970"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190970], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 01:48:04.563969"], ["id", 980190970]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190970
+Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190970], ["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" for 127.0.0.1 at 2019-04-13 18:48:04 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "id"=>"999"}
+ [1m[36mTask Load (0.1ms)[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 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)
+ [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 "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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 01:49:42.630113', '2019-04-14 01:49:42.630113'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 01:49:42.630113', '2019-04-14 01:49:42.630113')[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
+-----------------------------
+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.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:49:42.651986"], ["updated_at", "2019-04-14 01:49:42.651986"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963" for 127.0.0.1 at 2019-04-13 18:49:42 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 01:49:42.668221"], ["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: 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.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" for 127.0.0.1 at 2019-04-13 18:49:42 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 500 Internal Server Error in 3ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 18:49:42 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 01:49:42.686874"], ["updated_at", "2019-04-14 01:49:42.686874"]]
+ [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"."title" = $1 LIMIT $2[0m [["title", "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.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:49:42.692667"], ["updated_at", "2019-04-14 01:49:42.692667"]]
+ [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-13 18:49:42 -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 (3.3ms)
+Completed 200 OK in 147ms (Views: 144.7ms | 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/-1/edit" for 127.0.0.1 at 2019-04-13 18:49:42 -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]]
+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_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 18:49:42 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (29.6ms)
+Completed 500 Internal Server Error in 33ms (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-13 18:49:42 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (4.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (31.3ms)
+Completed 500 Internal Server Error in 33ms (ActiveRecord: 4.7ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------------
+TasksController::toggle_complete: test_0001_marks as complete
+-------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:49:42.928425"], ["updated_at", "2019-04-14 01:49:42.928425"]]
+ [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 18:49:42 -0700
+Processing by TasksController#toggle_completion 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.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 01:49:42.932473"], ["id", 980190966]]
+ [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.7ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::toggle_complete: test_0002_redirects to task page
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:49:42.938398"], ["updated_at", "2019-04-14 01:49:42.938398"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete" for 127.0.0.1 at 2019-04-13 18:49:42 -0700
+Processing by TasksController#toggle_completion 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 "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 01:49:42.943259"], ["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 5ms (ActiveRecord: 0.7ms)
+ [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 18:49:42 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 01:49:42.952645"], ["updated_at", "2019-04-14 01:49:42.952645"]]
+ [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 18:49:42 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190968"}
+ [1m[36mTask Load (0.1ms)[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 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:49:42.960567"], ["updated_at", "2019-04-14 01:49:42.960567"]]
+ [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/980190969" for 127.0.0.1 at 2019-04-13 18:49:42 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190969"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190969], ["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", 980190969]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 1.2ms)
+ [1m[35m (0.5ms)[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_redirects to task page
+----------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 01:49:42.970674"], ["updated_at", "2019-04-14 01:49:42.970674"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190970" for 127.0.0.1 at 2019-04-13 18:49:42 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190970"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190970], ["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", 980190970]]
+ [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.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-13 18:49:42 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms)
+ [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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 02:09:28.454969', '2019-04-14 02:09:28.454969'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 02:09:28.454969', '2019-04-14 02:09:28.454969')[0m
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "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 19:09: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 (11.3ms)
+Completed 200 OK in 171ms (Views: 164.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-13 19:09: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 (4.0ms)
+Completed 200 OK in 6ms (Views: 5.4ms | 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-13 19:09:28 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 02:09:28.669188"], ["updated_at", "2019-04-14 02:09:28.669188"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "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.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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 02:09:28.680183"], ["updated_at", "2019-04-14 02:09:28.680183"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964" for 127.0.0.1 at 2019-04-13 19:09:28 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 02:09:28.685446"], ["id", 980190964]]
+ [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.1ms)
+ [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" for 127.0.0.1 at 2019-04-13 19:09:28 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 500 Internal Server Error in 3ms (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.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 02:09:28.699205"], ["updated_at", "2019-04-14 02:09:28.699205"]]
+ [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 19:09:28 -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 5ms (Views: 1.8ms | 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 19:09:28 -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/tasks
+Completed 302 Found in 1ms (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.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 02:09:28.715812"], ["updated_at", "2019-04-14 02:09:28.715812"]]
+ [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 19:09:28 -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 (6.6ms)
+Completed 200 OK in 11ms (Views: 7.8ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 19:09:28 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 02:09:28.736994"], ["updated_at", "2019-04-14 02:09:28.736994"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190967" for 127.0.0.1 at 2019-04-13 19:09:28 -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.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_redirects to task page
+----------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 02:09:28.747709"], ["updated_at", "2019-04-14 02:09:28.747709"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190968" for 127.0.0.1 at 2019-04-13 19:09:28 -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.2ms)[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.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------------
+TasksController::toggle_complete: test_0001_marks as complete
+-------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 02:09:28.756057"], ["updated_at", "2019-04-14 02:09:28.756057"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190969/complete" for 127.0.0.1 at 2019-04-13 19:09:28 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"980190969"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190969], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 02:09:28.760881"], ["id", 980190969]]
+ [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: 0.9ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::toggle_complete: test_0002_redirects to task page
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 02:09:28.768455"], ["updated_at", "2019-04-14 02:09:28.768455"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190970/complete" for 127.0.0.1 at 2019-04-13 19:09:28 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"980190970"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190970], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 02:09:28.772173"], ["id", 980190970]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
+ [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 19:09:28 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 5ms (Views: 2.3ms | 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.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 02:11:00.639710', '2019-04-14 02:11:00.639710'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 02:11:00.639710', '2019-04-14 02:11:00.639710')[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_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 02:11:00.658167"], ["updated_at", "2019-04-14 02:11:00.658167"]]
+ [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 19:11:00 -0700
+Processing by TasksController#destroy 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]]
+ [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 10ms (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::destroy: test_0002_redirects to task page
+----------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 02:11:00.685879"], ["updated_at", "2019-04-14 02:11:00.685879"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-13 19:11:00 -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.1ms)[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 2ms (ActiveRecord: 0.6ms)
+ [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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 02:11:00.692892"], ["updated_at", "2019-04-14 02:11:00.692892"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965" for 127.0.0.1 at 2019-04-13 19:11:00 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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.2ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 02:11:00.696939"], ["id", 980190965]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+ [1m[36mTask Load (0.3ms)[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" for 127.0.0.1 at 2019-04-13 19:11:00 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 500 Internal Server Error in 2ms (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-13 19:11:00 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (6.4ms)
+Completed 200 OK in 172ms (Views: 169.9ms | 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-13 19:11:00 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.0ms)
+Completed 200 OK in 8ms (Views: 4.9ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 19:11:00 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 5ms (Views: 3.8ms | 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_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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 02:11:00.910411"], ["updated_at", "2019-04-14 02:11:00.910411"]]
+ [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 19:11:00 -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.0ms)
+Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.2ms)
+ [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/-1/edit" for 127.0.0.1 at 2019-04-13 19:11:00 -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]]
+Redirected to http://www.example.com/tasks
+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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 02:11:00.927147"], ["updated_at", "2019-04-14 02:11:00.927147"]]
+ [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 19:11:00 -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 6ms (Views: 2.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 19:11: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/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_0002_redirects to task page
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 02:11:00.943366"], ["updated_at", "2019-04-14 02:11:00.943366"]]
+ [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 19:11:00 -0700
+Processing by TasksController#toggle_completion 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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 02:11:00.947331"], ["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 4ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------------
+TasksController::toggle_complete: test_0001_marks as complete
+-------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 02:11:00.951891"], ["updated_at", "2019-04-14 02:11:00.951891"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190969/complete" for 127.0.0.1 at 2019-04-13 19:11:00 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"980190969"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190969], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.6ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 02:11:00.956374"], ["id", 980190969]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 5ms (ActiveRecord: 1.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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:11:00 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 02:11:00.965456"], ["updated_at", "2019-04-14 02:11:00.965456"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190970
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "new task"], ["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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 02:11:47.413925', '2019-04-14 02:11:47.413925'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 02:11:47.413925', '2019-04-14 02:11:47.413925')[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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 02:11:47.433437"], ["updated_at", "2019-04-14 02:11:47.433437"]]
+ [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 19:11:47 -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 (14.1ms)
+Completed 200 OK in 185ms (Views: 174.5ms | ActiveRecord: 0.4ms)
+ [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/-1/edit" for 127.0.0.1 at 2019-04-13 19:11:47 -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]]
+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 19:11:47 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 4ms (Views: 2.1ms | 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
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/999" for 127.0.0.1 at 2019-04-13 19:11:47 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 500 Internal Server Error in 3ms (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.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 02:11:47.660527"], ["updated_at", "2019-04-14 02:11:47.660527"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964" for 127.0.0.1 at 2019-04-13 19:11:47 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 02:11:47.666602"], ["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 6ms (ActiveRecord: 1.2ms)
+ [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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 02:11:47.674289"], ["updated_at", "2019-04-14 02:11:47.674289"]]
+ [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 19:11:47 -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 5ms (Views: 1.6ms | 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-13 19:11:47 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:11:47 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 02:11:47.691169"], ["updated_at", "2019-04-14 02:11:47.691169"]]
+ [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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 02:11:47.698970"], ["updated_at", "2019-04-14 02:11:47.698970"]]
+ [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-13 19:11:47 -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 2ms (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::destroy: test_0002_redirects to task page
+----------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 02:11:47.709439"], ["updated_at", "2019-04-14 02:11:47.709439"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190968" for 127.0.0.1 at 2019-04-13 19:11:47 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190968"}
+ [1m[36mTask Load (0.4ms)[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.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.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 19:11:47 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.3ms)
+Completed 200 OK in 8ms (Views: 5.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-13 19:11:47 -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 (2.3ms)
+Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::toggle_complete: test_0002_redirects to task page
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 02:11:47.738766"], ["updated_at", "2019-04-14 02:11:47.738766"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190969/complete" for 127.0.0.1 at 2019-04-13 19:11:47 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"980190969"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190969], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 02:11:47.742425"], ["id", 980190969]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------------
+TasksController::toggle_complete: test_0001_marks as complete
+-------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 02:11:47.747537"], ["updated_at", "2019-04-14 02:11:47.747537"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190970/complete" for 127.0.0.1 at 2019-04-13 19:11:47 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"980190970"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190970], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 02:11:47.753024"], ["id", 980190970]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
+Started PATCH "/tasks/980190970/complete" for 127.0.0.1 at 2019-04-13 19:11:47 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"980190970"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190970], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", false], ["updated_at", "2019-04-14 02:11:47.758948"], ["id", 980190970]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 02:12:36.523572', '2019-04-14 02:12:36.523572'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 02:12:36.523572', '2019-04-14 02:12:36.523572')[0m
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 02:12:36.543330"], ["updated_at", "2019-04-14 02:12:36.543330"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963" for 127.0.0.1 at 2019-04-13 19:12:36 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 02:12:36.564301"], ["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 13ms (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" for 127.0.0.1 at 2019-04-13 19:12:36 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 500 Internal Server Error in 3ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 02:12:36.581169"], ["updated_at", "2019-04-14 02:12:36.581169"]]
+ [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/980190964" for 127.0.0.1 at 2019-04-13 19:12:36 -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.1ms)[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 2ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------
+TasksController::destroy: test_0002_redirects to task page
+----------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 02:12:36.589625"], ["updated_at", "2019-04-14 02:12:36.589625"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190965" for 127.0.0.1 at 2019-04-13 19:12:36 -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.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 19:12:36 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 02:12:36.599974"], ["updated_at", "2019-04-14 02:12:36.599974"]]
+ [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 19:12:36 -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.4ms)
+Completed 200 OK in 166ms (Views: 163.3ms | ActiveRecord: 0.2ms)
+ [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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 02:12:36.771557"], ["updated_at", "2019-04-14 02:12:36.771557"]]
+ [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 19:12:36 -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 (5.6ms)
+Completed 200 OK in 10ms (Views: 6.9ms | 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/-1/edit" for 127.0.0.1 at 2019-04-13 19:12:36 -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]]
+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-13 19:12: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 (3.0ms)
+Completed 200 OK in 6ms (Views: 4.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 19:12: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 (3.8ms)
+Completed 200 OK in 5ms (Views: 4.8ms | 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::toggle_complete: test_0001_marks as complete
+-------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 02:12:36.813126"], ["updated_at", "2019-04-14 02:12:36.813126"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190968/complete" for 127.0.0.1 at 2019-04-13 19:12:36 -0700
+Processing by TasksController#toggle_completion 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 "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 02:12:36.817877"], ["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 5ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::toggle_complete: test_0002_redirects to task page
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 02:12:36.823525"], ["updated_at", "2019-04-14 02:12:36.823525"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190969/complete" for 127.0.0.1 at 2019-04-13 19:12:36 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"980190969"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190969], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 02:12:36.827592"], ["id", 980190969]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
+ [1m[35m (0.2ms)[0m [1m[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 19:12:36 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 02:12:36.835098"], ["updated_at", "2019-04-14 02:12:36.835098"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190970
+Completed 302 Found in 2ms (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"."title" = $1 LIMIT $2[0m [["title", "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 19:12:36 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
diff --git a/test/controllers/tasks_controller_test.rb b/test/controllers/tasks_controller_test.rb
index 000f70045..b022a5692 100644
--- a/test/controllers/tasks_controller_test.rb
+++ b/test/controllers/tasks_controller_test.rb
@@ -88,13 +88,20 @@
# Unskip and complete these tests for Wave 3
describe "edit" do
it "can get the edit page for an existing task" do
- skip
+
+ #expect edit task link to redirect to edit page
+ get edit_task_path(task.id)
+
+ must_respond_with :success
# Your code here
end
it "will respond with redirect when attempting to edit a nonexistant task" do
- skip
- # Your code here
+ # Act
+ get edit_task_path(-1)
+
+ # Assert
+ must_respond_with :redirect
end
end
@@ -103,24 +110,73 @@
# 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
+ # Arrange
+ # Note to students: Your Task model **may** be different and
+ # you may need to modify this.
+ edit_hash = {
+ task: {
+ title: "edited task",
+ },
+ }
+
+ patch task_path(task.id), params: edit_hash
+ task.reload
+
+ expect(task.title).must_equal edit_hash[:task][:title]
end
it "will redirect to the root page if given an invalid id" do
- skip
- # Your code here
+ edit_hash = {
+ task: {
+ title: "edited task",
+ },
+ }
+
+ patch task_path(999), params: edit_hash
+
+ must_respond_with :redirect
end
end
# Complete these tests for Wave 4
describe "destroy" do
- # Your tests go here
+ it "deletes something" do
+ test_task = Task.create(title: "poop", description: "more poop", completion: false)
+ # Your tests go here
+ expect {
+ delete task_path(test_task.id)
+ }.must_change "Task.count", -1
+
+ must_respond_with :redirect
+ must_redirect_to tasks_path
+ end
+
+ it "redirects to task page" do
+ test_task = Task.create(title: "poop", description: "more poop", completion: false)
+ delete task_path(test_task.id)
+ must_respond_with :redirect
+ must_redirect_to tasks_path
+ end
end
# Complete for Wave 4
describe "toggle_complete" do
- # Your tests go here
+ it "marks as complete" do
+ test_task = Task.create(title: "poop", description: "more poop", completion: false)
+
+ get mark_complete_path(test_task.id)
+ # patch mark_complete_path(test_task.id)
+
+ expect(test_task.completion).must_equal true
+ end
+
+ it "redirects to task page" do
+ test_task = Task.create(title: "poop", description: "more poop", completion: false)
+ patch mark_complete_path(test_task.id)
+
+ must_respond_with :redirect
+ must_redirect_to tasks_path
+ end
end
end
From 6fffb3a7ee7a54daca121173c9f91253cde9dd1d Mon Sep 17 00:00:00 2001
From: K <774162+kaseea@users.noreply.github.com>
Date: Sun, 14 Apr 2019 23:48:12 -0700
Subject: [PATCH 5/6] all functionality no css
---
app/assets/stylesheets/application.css | 9 +
app/controllers/tasks_controller.rb | 5 +-
config/routes.rb | 20 -
log/development.log | 108 ++
log/test.log | 1952 +++++++++++++++++++++
test/controllers/tasks_controller_test.rb | 12 +-
6 files changed, 2075 insertions(+), 31 deletions(-)
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css
index d05ea0f51..fe9258605 100644
--- a/app/assets/stylesheets/application.css
+++ b/app/assets/stylesheets/application.css
@@ -13,3 +13,12 @@
*= require_tree .
*= require_self
*/
+
+ body {
+ background-color: aquamarine;
+ }
+
+ @media (prefers-color-scheme: dark) {
+ color: white;
+ background: black
+ }
\ No newline at end of file
diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb
index 6bdb555ec..abd41081f 100644
--- a/app/controllers/tasks_controller.rb
+++ b/app/controllers/tasks_controller.rb
@@ -37,9 +37,10 @@ def update
task = Task.find_by(id: params[:id])
if task.nil?
redirect_to tasks_path
+ else
+ task.update(task_params)
+ redirect_to task_path(task.id)
end
- task.update(task_params)
- redirect_to task_path(task.id)
end
def delete
diff --git a/config/routes.rb b/config/routes.rb
index 2cefeec66..492ee5fba 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,24 +1,4 @@
Rails.application.routes.draw do
- # get "tasks/index"
- # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
-
- #the fact that its tasks instead of task means I probably named everything wrong and maybe should fix
- # get "/tasks", to: "tasks#index", as: "tasks"
-
- # get "/tasks/new", to: "tasks#new", as: "new_task"
- # post "/tasks", to: "tasks#create"
-
- # get "/tasks/:id", to: "tasks#show", as: "task"
-
- # get "/tasks/:id/edit", to: "tasks#edit", as: "edit_task"
- # patch "tasks/:id", to: "tasks#update"
-
- # get "/tasks/:id/complete", to: "tasks#toggle_completion", as: "mark_complete"
- # patch "tasks/:id/complete", to: "tasks#toggle_completion"
-
- # get "tasks/:id/delete", to: "tasks#delete", as: "delete_task"
- # delete "/tasks/:id", to: "tasks#destroy"
-
root to: "tasks#index"
resources :tasks
diff --git a/log/development.log b/log/development.log
index 5be9e41d2..4019c208b 100644
--- a/log/development.log
+++ b/log/development.log
@@ -5936,3 +5936,111 @@ Processing by TasksController#index as HTML
Completed 200 OK in 22ms (Views: 18.8ms | ActiveRecord: 0.3ms)
+Started GET "/" for ::1 at 2019-04-14 16:35:49 -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:7
+ Rendered tasks/index.html.erb within layouts/application (24.2ms)
+Completed 200 OK in 63ms (Views: 49.5ms | ActiveRecord: 7.5ms)
+
+
+Started GET "/tasks/2/edit" for ::1 at 2019-04-14 16:35:54 -0700
+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:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (4.1ms)
+Completed 200 OK in 35ms (Views: 25.6ms | ActiveRecord: 1.2ms)
+
+
+Started PATCH "/tasks/2" for ::1 at 2019-04-14 16:35:59 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"VSrCsRgkY7zQ726PnbP81Osg+0Of8QMXQScVsu63gppoa2Ww33pkUYEQ/a5nfo+XZPNBdN/QYESwEPRaXpaKYg==", "task"=>{"title"=>"faster", "description"=>"pdf", "completion"=>"false"}, "commit"=>"Save Task", "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:37
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:41
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "faster"], ["updated_at", "2019-04-14 23:35:59.872740"], ["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:41
+ [1m[35m (11.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:41
+Redirected to http://localhost:3000/tasks/2
+Completed 302 Found in 19ms (ActiveRecord: 12.5ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-14 16:35: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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 37ms (Views: 33.0ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/2/edit" for ::1 at 2019-04-14 16:36:08 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (1.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 47ms (Views: 37.7ms | ActiveRecord: 1.8ms)
+
+
+Started GET "/tasks/66/edit" for ::1 at 2019-04-14 16:36:15 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"66"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 66], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:36: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:7
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 21ms (Views: 18.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:53: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
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 43ms (Views: 40.5ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:55: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
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 46ms (Views: 43.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:55: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
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 25ms (Views: 22.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:55: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
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 24ms (Views: 22.0ms | ActiveRecord: 0.3ms)
+
+
diff --git a/log/test.log b/log/test.log
index bfb3cf598..6841150eb 100644
--- a/log/test.log
+++ b/log/test.log
@@ -11413,3 +11413,1955 @@ Processing by TasksController#new as HTML
Rendered tasks/new.html.erb within layouts/application (1.1ms)
Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.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.7ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 02:14:47.817725', '2019-04-14 02:14:47.817725'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 02:14:47.817725', '2019-04-14 02:14:47.817725')[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 "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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 02:14:47.842292"], ["updated_at", "2019-04-14 02:14:47.842292"]]
+ [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 19:14:47 -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 (1.8ms)
+Completed 200 OK in 233ms (Views: 222.2ms | 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-13 19:14: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/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.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:14:48 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 02:14:48.114638"], ["updated_at", "2019-04-14 02:14:48.114638"]]
+ [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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:14:48 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (2.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (7.7ms)
+Completed 200 OK in 12ms (Views: 7.4ms | ActiveRecord: 2.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-13 19:14:48 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 19:14:48 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (12.3ms)
+Completed 200 OK in 15ms (Views: 13.5ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 02:14:48.165402"], ["updated_at", "2019-04-14 02:14:48.165402"]]
+ [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/980190965" for 127.0.0.1 at 2019-04-13 19:14:48 -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::destroy: test_0002_redirects to task page
+----------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 02:14:48.173141"], ["updated_at", "2019-04-14 02:14:48.173141"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190966" for 127.0.0.1 at 2019-04-13 19:14:48 -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.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Destroy (0.3ms)[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.9ms)
+ [1m[35m (1.0ms)[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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 02:14:48.182549"], ["updated_at", "2019-04-14 02:14:48.182549"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967" for 127.0.0.1 at 2019-04-13 19:14:48 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 02:14:48.188194"], ["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 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" for 127.0.0.1 at 2019-04-13 19:14:48 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 500 Internal Server Error in 2ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------------
+TasksController::toggle_complete: test_0001_marks as complete
+-------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 02:14:48.201938"], ["updated_at", "2019-04-14 02:14:48.201938"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190968/complete" for 127.0.0.1 at 2019-04-13 19:14:48 -0700
+Processing by TasksController#toggle_completion 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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 02:14:48.206047"], ["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 4ms (ActiveRecord: 0.8ms)
+Started PATCH "/tasks/980190968/complete" for 127.0.0.1 at 2019-04-13 19:14:48 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"980190968"}
+ [1m[36mTask Load (0.1ms)[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 "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", false], ["updated_at", "2019-04-14 02:14:48.211210"], ["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 4ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::toggle_complete: test_0002_redirects to task page
+------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 02:14:48.217106"], ["updated_at", "2019-04-14 02:14:48.217106"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190969/complete" for 127.0.0.1 at 2019-04-13 19:14:48 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"980190969"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190969], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 02:14:48.222597"], ["id", 980190969]]
+ [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.7ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 02:14:48.229416"], ["updated_at", "2019-04-14 02:14:48.229416"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190970/edit" for 127.0.0.1 at 2019-04-13 19:14:48 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190970"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190970], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.4ms)
+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::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 19:14:48 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 02:21:58.553270', '2019-04-14 02:21:58.553270'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 02:21:58.553270', '2019-04-14 02:21:58.553270')[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 "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" for 127.0.0.1 at 2019-04-13 19:21:58 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 500 Internal Server Error in 11ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.4ms)[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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 02:21:58.596899"], ["updated_at", "2019-04-14 02:21:58.596899"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963" for 127.0.0.1 at 2019-04-13 19:21:58 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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.4ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 02:21:58.603031"], ["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 8ms (ActiveRecord: 1.0ms)
+ [1m[36mTask Load (0.6ms)[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::destroy: test_0002_redirects to task page
+----------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 02:21:58.615051"], ["updated_at", "2019-04-14 02:21:58.615051"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190964" for 127.0.0.1 at 2019-04-13 19:21:58 -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.1ms)[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 2ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 02:21:58.624026"], ["updated_at", "2019-04-14 02:21:58.624026"]]
+ [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/980190965" for 127.0.0.1 at 2019-04-13 19:21:58 -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.7ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:21: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
+ Rendered tasks/index.html.erb within layouts/application (4.3ms)
+Completed 200 OK in 159ms (Views: 156.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-13 19:21: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
+ Rendered tasks/index.html.erb within layouts/application (4.5ms)
+Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 02:21:58.807479"], ["updated_at", "2019-04-14 02:21:58.807479"]]
+ [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 19:21:58 -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.0ms)
+Completed 200 OK in 5ms (Views: 2.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 19:21:58 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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_0002_redirects to task page
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 02:21:58.824735"], ["updated_at", "2019-04-14 02:21:58.824735"]]
+ [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 19:21:58 -0700
+Processing by TasksController#toggle_completion 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.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 02:21:58.829551"], ["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 6ms (ActiveRecord: 1.1ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------------
+TasksController::toggle_complete: test_0001_marks as complete
+-------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 02:21:58.835139"], ["updated_at", "2019-04-14 02:21:58.835139"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968/complete" for 127.0.0.1 at 2019-04-13 19:21:58 -0700
+Processing by TasksController#toggle_completion 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 "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 02:21:58.840520"], ["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 4ms (ActiveRecord: 0.8ms)
+ [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.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 19:21:58 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (12.8ms)
+Completed 200 OK in 17ms (Views: 14.7ms | ActiveRecord: 0.0ms)
+ [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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:21:58 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 02:21:58.872034"], ["updated_at", "2019-04-14 02:21:58.872034"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190969
+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"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-13 19:21:58 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 02:21:58.884560"], ["updated_at", "2019-04-14 02:21:58.884560"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190970/edit" for 127.0.0.1 at 2019-04-13 19:21:58 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190970"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190970], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 5ms (Views: 2.3ms | 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.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (7.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.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (10.3ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 23:17:50.728436', '2019-04-14 23:17:50.728436'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 23:17:50.728436', '2019-04-14 23:17:50.728436')[0m
+ [1m[35m (11.9ms)[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.3ms)[0m [1m[35mCOMMIT[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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 23:17:50.802417"], ["updated_at", "2019-04-14 23:17:50.802417"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-14 16:17:50 -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 (3.1ms)
+Completed 200 OK in 313ms (Views: 278.1ms | ActiveRecord: 0.7ms)
+ [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-14 16:17:51 -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/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 16:17: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 (7.2ms)
+Completed 200 OK in 13ms (Views: 8.8ms | 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-14 16:17: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 (4.4ms)
+Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 16:17:51 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (20.1ms)
+Completed 200 OK in 26ms (Views: 22.1ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::toggle_complete: test_0002_redirects to task page
+------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:17:51.207483"], ["updated_at", "2019-04-14 23:17:51.207483"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964/complete" for 127.0.0.1 at 2019-04-14 16:17:51 -0700
+Processing by TasksController#toggle_completion 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.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (1.1ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 23:17:51.226392"], ["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 10ms (ActiveRecord: 2.3ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------------
+TasksController::toggle_complete: test_0001_marks as complete
+-------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.7ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:17:51.237033"], ["updated_at", "2019-04-14 23:17:51.237033"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965/complete" for 127.0.0.1 at 2019-04-14 16:17:51 -0700
+Processing by TasksController#toggle_completion 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.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.9ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 23:17:51.248205"], ["id", 980190965]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 12ms (ActiveRecord: 2.3ms)
+ [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.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:17:51.263874"], ["updated_at", "2019-04-14 23:17:51.263874"]]
+ [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/980190966" for 127.0.0.1 at 2019-04-14 16:17:51 -0700
+Processing by TasksController#destroy 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]]
+ [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", 980190966]]
+ [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: 1.2ms)
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------
+TasksController::destroy: test_0002_redirects to task page
+----------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:17:51.278709"], ["updated_at", "2019-04-14 23:17:51.278709"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190967" for 127.0.0.1 at 2019-04-14 16:17:51 -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.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[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.8ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 23:17:51.293967"], ["updated_at", "2019-04-14 23:17:51.293967"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968" for 127.0.0.1 at 2019-04-14 16:17:51 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 23:17:51.303452"], ["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 8ms (ActiveRecord: 1.2ms)
+ [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[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" for 127.0.0.1 at 2019-04-14 16:17:51 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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.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-14 16:17:51 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 23:17:51.326927"], ["updated_at", "2019-04-14 23:17:51.326927"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190969
+Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
+ [1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "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.5ms)[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.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 23:17:51.341996"], ["updated_at", "2019-04-14 23:17:51.341996"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190970/edit" for 127.0.0.1 at 2019-04-14 16:17:51 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190970"}
+ [1m[36mTask Load (1.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190970], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 15ms (Views: 5.5ms | ActiveRecord: 1.0ms)
+ [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/-1/edit" for 127.0.0.1 at 2019-04-14 16:17:51 -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]]
+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.9ms)[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 "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 (0.9ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 23:18:30.241733', '2019-04-14 23:18:30.241733'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 23:18:30.241733', '2019-04-14 23:18:30.241733')[0m
+ [1m[35m (2.1ms)[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.3ms)[0m [1m[35mCOMMIT[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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 23:18:30.286378"], ["updated_at", "2019-04-14 23:18:30.286378"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963" for 127.0.0.1 at 2019-04-14 16:18:30 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "id"=>"980190963"}
+ [1m[36mTask Load (0.7ms)[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.6ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 23:18:30.319612"], ["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 22ms (ActiveRecord: 2.2ms)
+ [1m[36mTask Load (0.5ms)[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.2ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 16:18:30 -0700
+Processing by TasksController#update 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/tasks
+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_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 16:18:30 -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]]
+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.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.9ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 23:18:30.351634"], ["updated_at", "2019-04-14 23:18:30.351634"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964/edit" for 127.0.0.1 at 2019-04-14 16:18:30 -0700
+Processing by TasksController#edit 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/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (7.0ms)
+Completed 200 OK in 367ms (Views: 361.4ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.7ms)[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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 23:18:30.732598"], ["updated_at", "2019-04-14 23:18:30.732598"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-14 16:18:30 -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 8ms (Views: 3.5ms | 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-14 16:18: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/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::destroy: test_0002_redirects to task page
+----------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:18:30.756729"], ["updated_at", "2019-04-14 23:18:30.756729"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190966" for 127.0.0.1 at 2019-04-14 16:18:30 -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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Destroy (1.0ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 980190966]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 6ms (ActiveRecord: 1.9ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:18:30.770578"], ["updated_at", "2019-04-14 23:18:30.770578"]]
+ [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/980190967" for 127.0.0.1 at 2019-04-14 16:18:30 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (0.4ms)[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.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 1.1ms)
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [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-14 16:18:30 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (6.1ms)
+Completed 200 OK in 11ms (Views: 7.5ms | 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-14 16:18:30 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.6ms)
+Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.4ms)[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-14 16:18: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.7ms)
+Completed 200 OK in 7ms (Views: 3.5ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 16:18:30 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 23:18:30.834215"], ["updated_at", "2019-04-14 23:18:30.834215"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190968
+Completed 302 Found in 5ms (ActiveRecord: 1.2ms)
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::toggle_complete: test_0002_redirects to task page
+------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:18:30.846106"], ["updated_at", "2019-04-14 23:18:30.846106"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190969/complete" for 127.0.0.1 at 2019-04-14 16:18:30 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"980190969"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190969], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.6ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 23:18:30.855031"], ["id", 980190969]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 10ms (ActiveRecord: 1.6ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------------
+TasksController::toggle_complete: test_0001_marks as complete
+-------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:18:30.866776"], ["updated_at", "2019-04-14 23:18:30.866776"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190970/complete" for 127.0.0.1 at 2019-04-14 16:18:30 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"980190970"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190970], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 23:18:30.874827"], ["id", 980190970]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 10ms (ActiveRecord: 1.3ms)
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190970], ["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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 23:21:51.334099', '2019-04-14 23:21:51.334099'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 23:21:51.334099', '2019-04-14 23:21:51.334099')[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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 16:21:51 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (10.4ms)
+Completed 200 OK in 193ms (Views: 187.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-14 16:21:51 -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 (2.6ms)
+Completed 200 OK in 4ms (Views: 3.4ms | 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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 23:21:51.554707"], ["updated_at", "2019-04-14 23:21:51.554707"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-14 16:21: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.6ms)
+Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 16:21: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/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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 23:21:51.568610"], ["updated_at", "2019-04-14 23:21:51.568610"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964/edit" for 127.0.0.1 at 2019-04-14 16:21:51 -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.7ms)
+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::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 16:21:51 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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-14 16:21: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.1ms)
+Completed 200 OK in 5ms (Views: 2.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.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 16:21:51 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 23:21:51.596466"], ["updated_at", "2019-04-14 23:21:51.596466"]]
+ [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.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"."title" = $1 LIMIT $2[0m [["title", "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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 23:21:51.602460"], ["updated_at", "2019-04-14 23:21:51.602460"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966" for 127.0.0.1 at 2019-04-14 16:21:51 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 23:21:51.606057"], ["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.2ms)[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.3ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 16:21:51 -0700
+Processing by TasksController#update 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/tasks
+Completed 400 Bad Request in 2ms (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::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:21:51.620638"], ["updated_at", "2019-04-14 23:21:51.620638"]]
+ [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-14 16:21:51 -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.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 3ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------
+TasksController::destroy: test_0002_redirects to task page
+----------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:21:51.628522"], ["updated_at", "2019-04-14 23:21:51.628522"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190968" for 127.0.0.1 at 2019-04-14 16:21:51 -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.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.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::toggle_complete: test_0002_redirects to task page
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:21:51.636843"], ["updated_at", "2019-04-14 23:21:51.636843"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190969/complete" for 127.0.0.1 at 2019-04-14 16:21:51 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"980190969"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190969], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 23:21:51.642280"], ["id", 980190969]]
+ [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.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------------
+TasksController::toggle_complete: test_0001_marks as complete
+-------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:21:51.647720"], ["updated_at", "2019-04-14 23:21:51.647720"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190970/complete" for 127.0.0.1 at 2019-04-14 16:21:51 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"980190970"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190970], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 23:21:51.650781"], ["id", 980190970]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190970], ["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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 23:22:41.137820', '2019-04-14 23:22:41.137820'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 23:22:41.137820', '2019-04-14 23:22:41.137820')[0m
+ [1m[35m (1.8ms)[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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 23:22:41.159029"], ["updated_at", "2019-04-14 23:22:41.159029"]]
+ [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-14 16:22: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 (3.6ms)
+Completed 200 OK in 200ms (Views: 191.2ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 16:22:41 -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]]
+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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 23:22:41.375492"], ["updated_at", "2019-04-14 23:22:41.375492"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964" for 127.0.0.1 at 2019-04-14 16:22:41 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "id"=>"980190964"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 23:22:41.382315"], ["id", 980190964]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 16:22:41 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 16:22:41 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 23:22:41.397450"], ["updated_at", "2019-04-14 23:22:41.397450"]]
+ [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"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 16:22: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 (4.5ms)
+Completed 200 OK in 8ms (Views: 5.8ms | 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-14 16:22: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 (2.7ms)
+Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------
+TasksController::destroy: test_0002_redirects to task page
+----------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:22:41.425357"], ["updated_at", "2019-04-14 23:22:41.425357"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190966" for 127.0.0.1 at 2019-04-14 16:22:41 -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.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:22:41.431503"], ["updated_at", "2019-04-14 23:22:41.431503"]]
+ [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-14 16:22:41 -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.6ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [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-14 16:22: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/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_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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 23:22:41.445645"], ["updated_at", "2019-04-14 23:22:41.445645"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190968" for 127.0.0.1 at 2019-04-14 16:22:41 -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 200 OK in 4ms (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-14 16:22: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.9ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------------
+TasksController::toggle_complete: test_0001_marks as complete
+-------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:22:41.465443"], ["updated_at", "2019-04-14 23:22:41.465443"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190969/complete" for 127.0.0.1 at 2019-04-14 16:22:41 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"980190969"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190969], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 23:22:41.469830"], ["id", 980190969]]
+ [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.6ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190969], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::toggle_complete: test_0002_redirects to task page
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:22:41.475141"], ["updated_at", "2019-04-14 23:22:41.475141"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190970/complete" for 127.0.0.1 at 2019-04-14 16:22:41 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"980190970"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190970], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 23:22:41.479093"], ["id", 980190970]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 5ms (ActiveRecord: 0.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.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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 23:29:03.665602', '2019-04-14 23:29:03.665602'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 23:29:03.665602', '2019-04-14 23:29:03.665602')[0m
+ [1m[35m (1.8ms)[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::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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 23:29:03.685872"], ["updated_at", "2019-04-14 23:29:03.685872"]]
+ [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-14 16:29:03 -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 (3.8ms)
+Completed 200 OK in 207ms (Views: 199.0ms | ActiveRecord: 0.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/-1/edit" for 127.0.0.1 at 2019-04-14 16:29:03 -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]]
+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.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 16:29:03 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 23:29:03.919896"], ["updated_at", "2019-04-14 23:29:03.919896"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-14 16:29:03 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 16:29:03 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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_marks as complete
+-------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:29:03.932006"], ["updated_at", "2019-04-14 23:29:03.932006"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965/complete" for 127.0.0.1 at 2019-04-14 16:29:03 -0700
+Processing by TasksController#toggle_completion 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]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 23:29:03.938021"], ["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 5ms (ActiveRecord: 0.8ms)
+ [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::toggle_complete: test_0002_redirects to task page
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:29:03.944129"], ["updated_at", "2019-04-14 23:29:03.944129"]]
+ [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-14 16:29:03 -0700
+Processing by TasksController#toggle_completion 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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 23:29:03.948018"], ["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 5ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 16:29:03 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 23:29:03.956323"], ["updated_at", "2019-04-14 23:29:03.956323"]]
+ [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"."title" = $1 LIMIT $2[0m [["title", "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.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 23:29:03.962469"], ["updated_at", "2019-04-14 23:29:03.962469"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968" for 127.0.0.1 at 2019-04-14 16:29:03 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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 "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 23:29:03.968439"], ["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 4ms (ActiveRecord: 0.6ms)
+ [1m[36mTask Load (0.1ms)[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.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 16:29:03 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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_deletes something
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:29:03.977079"], ["updated_at", "2019-04-14 23:29:03.977079"]]
+ [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/980190969" for 127.0.0.1 at 2019-04-14 16:29:03 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190969"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190969], ["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", 980190969]]
+ [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_redirects to task page
+----------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:29:03.984016"], ["updated_at", "2019-04-14 23:29:03.984016"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190970" for 127.0.0.1 at 2019-04-14 16:29:03 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190970"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190970], ["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", 980190970]]
+ [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[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-14 16:29: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 (4.4ms)
+Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 16:29:04 -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 (3.0ms)
+Completed 200 OK in 4ms (Views: 3.7ms | 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 "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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 23:35:11.421818', '2019-04-14 23:35:11.421818'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 23:35:11.421818', '2019-04-14 23:35:11.421818')[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 "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
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 16:35: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]]
+Redirected to http://www.example.com/tasks
+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.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 23:35:11.459183"], ["updated_at", "2019-04-14 23:35:11.459183"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-14 16:35:11 -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 213ms (Views: 210.6ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 16:35: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 (5.4ms)
+Completed 200 OK in 10ms (Views: 6.7ms | 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-14 16:35:11 -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 (2.3ms)
+Completed 200 OK in 4ms (Views: 3.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
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/-1" for 127.0.0.1 at 2019-04-14 16:35:11 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 23:35:11.705196"], ["updated_at", "2019-04-14 23:35:11.705196"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964" for 127.0.0.1 at 2019-04-14 16:35:11 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "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.4ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 23:35:11.709979"], ["id", 980190964]]
+ [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: 0.8ms)
+ [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.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 16:35:11 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 23:35:11.720878"], ["updated_at", "2019-04-14 23:35:11.720878"]]
+ [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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."title" = $1 LIMIT $2[0m [["title", "new task"], ["LIMIT", 1]]
+ [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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 23:35:11.728323"], ["updated_at", "2019-04-14 23:35:11.728323"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966/edit" for 127.0.0.1 at 2019-04-14 16:35:11 -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.8ms)
+Completed 200 OK in 7ms (Views: 4.0ms | 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/-1/edit" for 127.0.0.1 at 2019-04-14 16:35:11 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-14 16:35:11 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------
+TasksController::destroy: test_0002_redirects to task page
+----------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:35:11.751780"], ["updated_at", "2019-04-14 23:35:11.751780"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190967" for 127.0.0.1 at 2019-04-14 16:35:11 -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.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:35:11.762623"], ["updated_at", "2019-04-14 23:35:11.762623"]]
+ [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-14 16:35:11 -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 (3.6ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 980190968]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 7ms (ActiveRecord: 4.3ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------------
+TasksController::toggle_complete: test_0001_marks as complete
+-------------------------------------------------------------
+ [1m[35m (1.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:35:11.783093"], ["updated_at", "2019-04-14 23:35:11.783093"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190969/complete" for 127.0.0.1 at 2019-04-14 16:35:11 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"980190969"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190969], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 23:35:11.788324"], ["id", 980190969]]
+ [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: 0.8ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190969], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::toggle_complete: test_0002_redirects to task page
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:35:11.795286"], ["updated_at", "2019-04-14 23:35:11.795286"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190970/complete" for 127.0.0.1 at 2019-04-14 16:35:11 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"980190970"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190970], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 23:35:11.799611"], ["id", 980190970]]
+ [1m[35m (0.2ms)[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.6ms)[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[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", "title", "description", "completion", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', FALSE, '2019-04-14 23:57:19.095881', '2019-04-14 23:57:19.095881'), (298486374, 'MyString', 'MyString', FALSE, '2019-04-14 23:57:19.095881', '2019-04-14 23:57:19.095881')[0m
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-14 16:57:19 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"title"=>"new task", "description"=>"new task description", "completion"=>"false"}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "new task"], ["description", "new task description"], ["completion", false], ["created_at", "2019-04-14 23:57:19.137182"], ["updated_at", "2019-04-14 23:57:19.137182"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 17ms (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"."title" = $1 LIMIT $2[0m [["title", "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_marks as complete
+-------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:57:19.157628"], ["updated_at", "2019-04-14 23:57:19.157628"]]
+ [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-14 16:57:19 -0700
+Processing by TasksController#toggle_completion 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]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 23:57:19.163991"], ["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 7ms (ActiveRecord: 1.1ms)
+ [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.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::toggle_complete: test_0002_redirects to task page
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:57:19.171197"], ["updated_at", "2019-04-14 23:57:19.171197"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965/complete" for 127.0.0.1 at 2019-04-14 16:57:19 -0700
+Processing by TasksController#toggle_completion 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]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-14 23:57:19.175591"], ["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: 0.7ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-14 16:57: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]]
+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_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" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 23:57:19.184084"], ["updated_at", "2019-04-14 23:57:19.184084"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-14 16:57:19 -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.4ms)
+Completed 200 OK in 137ms (Views: 134.7ms | ActiveRecord: 0.2ms)
+ [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-14 16:57:19 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (4.2ms)
+Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-14 16:57: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 (3.0ms)
+Completed 200 OK in 6ms (Views: 3.7ms | 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-14 16:57: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 (2.2ms)
+Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::destroy: test_0001_deletes something
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:57:19.361276"], ["updated_at", "2019-04-14 23:57:19.361276"]]
+ [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-14 16:57:19 -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.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 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_redirects to task page
+----------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "poop"], ["description", "more poop"], ["completion", false], ["created_at", "2019-04-14 23:57:19.369361"], ["updated_at", "2019-04-14 23:57:19.369361"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190968" for 127.0.0.1 at 2019-04-14 16:57:19 -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.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 2ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/-1/edit" for 127.0.0.1 at 2019-04-14 16:57:19 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 23:57:19.381154"], ["updated_at", "2019-04-14 23:57:19.381154"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190969/edit" for 127.0.0.1 at 2019-04-14 16:57:19 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190969"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190969], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 4ms (Views: 1.9ms | 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.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "sample task"], ["description", "this is an example for a test"], ["completion", false], ["created_at", "2019-04-14 23:57:19.390191"], ["updated_at", "2019-04-14 23:57:19.390191"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190970" for 127.0.0.1 at 2019-04-14 16:57:19 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"title"=>"edited task"}, "id"=>"980190970"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190970], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.7ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["title", "edited task"], ["updated_at", "2019-04-14 23:57:19.393980"], ["id", 980190970]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190970
+Completed 302 Found in 6ms (ActiveRecord: 1.3ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190970], ["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/-1" for 127.0.0.1 at 2019-04-14 16:57:19 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+ [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 b022a5692..712351a46 100644
--- a/test/controllers/tasks_controller_test.rb
+++ b/test/controllers/tasks_controller_test.rb
@@ -126,13 +126,7 @@
end
it "will redirect to the root page if given an invalid id" do
- edit_hash = {
- task: {
- title: "edited task",
- },
- }
-
- patch task_path(999), params: edit_hash
+ patch task_path(-1)
must_respond_with :redirect
end
@@ -165,8 +159,8 @@
it "marks as complete" do
test_task = Task.create(title: "poop", description: "more poop", completion: false)
- get mark_complete_path(test_task.id)
- # patch mark_complete_path(test_task.id)
+ patch mark_complete_path(test_task.id)
+ test_task.reload
expect(test_task.completion).must_equal true
end
From a100fa0c28708baceafa8d7ed6bffbbe40fc7bce Mon Sep 17 00:00:00 2001
From: K <774162+kaseea@users.noreply.github.com>
Date: Wed, 17 Apr 2019 10:18:20 -0700
Subject: [PATCH 6/6] some minor clean up
---
app/views/tasks/delete.html.erb | 1 -
app/views/tasks/edit.html.erb | 3 +-
app/views/tasks/index.html.erb | 6 +-
log/development.log | 805 ++++++++++++++++++++++++++++++++
4 files changed, 810 insertions(+), 5 deletions(-)
diff --git a/app/views/tasks/delete.html.erb b/app/views/tasks/delete.html.erb
index 132ed823f..da304b5fe 100644
--- a/app/views/tasks/delete.html.erb
+++ b/app/views/tasks/delete.html.erb
@@ -3,5 +3,4 @@
<%= @task.description %>
-<%= @task %>
<%= button_to "click me to delete #{@task.title}", task_path, method: :delete %>
\ No newline at end of file
diff --git a/app/views/tasks/edit.html.erb b/app/views/tasks/edit.html.erb
index dc23df3fc..cbcb00d59 100644
--- a/app/views/tasks/edit.html.erb
+++ b/app/views/tasks/edit.html.erb
@@ -1,8 +1,7 @@
<%= form_with model: @task do |f| %>
<%= f %>
Please edit the form
- title is currently @task.title
<%= f.text_field :title %>
-
+ <%= f.text_field :title %>
description is currently
<%= f.text_field :description %>
completion is currently #{f.completion}
<%= f.text_field :completion %>
<%= f.submit "Save Task", class: "task-button" %>
diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb
index 02e7e4a6d..7cfaff062 100644
--- a/app/views/tasks/index.html.erb
+++ b/app/views/tasks/index.html.erb
@@ -6,7 +6,7 @@
Tasks to do
<% @tasks.each do |task| %>
<% if task.completion == false %>
- <%= task.title %>: <%= task.description %> created at: <%= task.created_at %>
+ <%= task.title %>: <%= task.description %>
<%= link_to "edit task", edit_task_path(task.id) %>
<%= link_to "delete task", delete_task_path(task.id) %>
@@ -17,11 +17,13 @@
Tasks Completed
<% @tasks.each do |task| %>
<% if task.completion == true %>
- <%= task.title %>: <%= task.description %> finished at: <%= task.updated_at %>
+ <%= task.title %>: <%= task.description %> finished at: <%= task.updated_at.strftime("%F") %>
<%= link_to "edit task", edit_task_path(task.id) %>
<% end %>
<% end %>
+
+
<%= link_to "add a new task", new_task_path %>
\ No newline at end of file
diff --git a/log/development.log b/log/development.log
index 4019c208b..ae03052f4 100644
--- a/log/development.log
+++ b/log/development.log
@@ -6044,3 +6044,808 @@ Processing by TasksController#index as HTML
Completed 200 OK in 24ms (Views: 22.0ms | ActiveRecord: 0.3ms)
+Started GET "/tasks" for ::1 at 2019-04-15 08:08:11 -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:7
+ Rendered tasks/index.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 72ms (Views: 69.3ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-15 08:08:16 -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 28ms (Views: 24.7ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-15 08:08:24 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"ifz7Y7pVYq+JIpQOs2rdXegpBJGHrGFye9yC3NE5UCZBhtwpoVDDuMSWRbNpkj92awbIys4qf3y6s/z+8QmvhQ==", "task"=>{"title"=>"hi", "description"=>"how are you ", "completion"=>"false"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "hi"], ["description", "how are you "], ["completion", false], ["created_at", "2019-04-15 15:08:24.788957"], ["updated_at", "2019-04-15 15:08:24.788957"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/3
+Completed 302 Found in 6ms (ActiveRecord: 2.6ms)
+
+
+Started GET "/tasks/3" for ::1 at 2019-04-15 08:08:24 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 22ms (Views: 17.8ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-15 08:08:27 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 29ms (Views: 26.3ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 08:08: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
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 26ms (Views: 22.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-15 09:14:40 -0700
+Started GET "/tasks/2/edit" for ::1 at 2019-04-15 09:14:40 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"2"}
+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" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ [1m[36mTask Load (2.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (9.0ms)
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 45ms (Views: 35.0ms | ActiveRecord: 4.4ms)
+
+
+Completed 200 OK in 45ms (Views: 41.1ms | ActiveRecord: 2.3ms)
+
+
+Started GET "/tasks/2/delete" for ::1 at 2019-04-15 09:14:46 -0700
+Processing by TasksController#delete 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:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 44ms (Views: 38.2ms | ActiveRecord: 0.5ms)
+
+
+Started DELETE "/tasks/2" for ::1 at 2019-04-15 09:14:47 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"QdbajBvqZAGQ/MfNCmkfdy6w2mp95JEPrPgcdmbqJnG/CBXbCHBIX9ji7Toylo3Aj2Jbm66cUEsGv1FNeBKThA==", "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:51
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:52
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:52
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:52
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 5ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 09:14:47 -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:7
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 20ms (Views: 17.9ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/3/delete" for ::1 at 2019-04-15 09:14:48 -0700
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 25ms (Views: 21.1ms | ActiveRecord: 0.4ms)
+
+
+Started DELETE "/tasks/3" for ::1 at 2019-04-15 09:14:49 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"LIBdePz9eQhUCtIdjDt96nMmx/sRfk1atPpJ7seJtpSkeNKgaRPLO7QZw2Pa3nlFR2dtCWtXETSho2zOSbal+A==", "id"=>"3"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:51
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:52
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 3]]
+ ↳ app/controllers/tasks_controller.rb:52
+ [1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:52
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 6ms (ActiveRecord: 2.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 09:14: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:7
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 24ms (Views: 21.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-15 09:14:53 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (1.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 29ms (Views: 23.4ms | ActiveRecord: 1.1ms)
+
+
+Started PATCH "/tasks/1" for ::1 at 2019-04-15 09:15:30 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"MnhZCS3wZ5zimMrVeeolqZLKgIt3P7E8COz3ZkUf2dacSdz+OcEBQRQjePQ+ZfEvHkHxmZsG9OPYEYhIaMofdQ==", "task"=>{"title"=>"buy dry Riesling", "description"=>"Ask at downtown spirits before the bus?", "completion"=>"false"}, "commit"=>"Save 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:37
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:41
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "title" = $1, "description" = $2, "completion" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["title", "buy dry Riesling"], ["description", "Ask at downtown spirits before the bus?"], ["completion", false], ["updated_at", "2019-04-15 16:15:30.777723"], ["id", 1]]
+ ↳ app/controllers/tasks_controller.rb:41
+ [1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:41
+Redirected to http://localhost:3000/tasks/1
+Completed 302 Found in 6ms (ActiveRecord: 2.4ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-15 09:15:30 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 22ms (Views: 19.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-15 09:15:32 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (5.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 38ms (Views: 29.6ms | ActiveRecord: 5.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 09:15: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:7
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 25ms (Views: 21.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-15 09:15:39 -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 32ms (Views: 28.4ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-15 09:15:51 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"FLTiDFLONu+pXKH+m4zUAuCi2L4Ccq9A+5Xa1WkizmjczsVGScuX+OTocENBdDYpY40U5Uv0sU46+qT3SRIxyw==", "task"=>{"title"=>"birthday card", "description"=>"for Angie", "completion"=>"false"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "birthday card"], ["description", "for Angie"], ["completion", false], ["created_at", "2019-04-15 16:15:51.819375"], ["updated_at", "2019-04-15 16:15:51.819375"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/4
+Completed 302 Found in 6ms (ActiveRecord: 2.6ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-15 09:15:51 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 27ms (Views: 24.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-15 09:15:53 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 25ms (Views: 23.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-15 09:15:55 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 33ms (Views: 30.8ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-15 09:16:23 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"3z7yHosEWd5a/lzXQm8viiVyzGUL+ZoUV58Zml/0YeUXRNVUkAH4yRdKjWqYl82hpl0APkJ/hBqW8Ge4f8SeRg==", "task"=>{"title"=>"costoms form", "description"=>"fill out before post office", "completion"=>"false"}, "commit"=>"Save Task"}
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "costoms form"], ["description", "fill out before post office"], ["completion", false], ["created_at", "2019-04-15 16:16:23.218689"], ["updated_at", "2019-04-15 16:16:23.218689"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/5
+Completed 302 Found in 7ms (ActiveRecord: 3.2ms)
+
+
+Started GET "/tasks/5" for ::1 at 2019-04-15 09:16:23 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 24ms (Views: 20.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-15 09:16: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.7ms)
+Completed 200 OK in 39ms (Views: 35.9ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 09:16:32 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 20ms (Views: 18.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-15 09:16:34 -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 34ms (Views: 30.7ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-15 09:16:47 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"xYc3wxp+fJsUFrub1mzE3CsHKy6z3EV8qVoSmUJhMQQN/RCJAXvdjFmiaiYMlCb3qCjndfpaW3JoNWy7YlHOpw==", "task"=>{"title"=>"post office", "description"=>"mail blocks", "completion"=>"false"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "post office"], ["description", "mail blocks"], ["completion", false], ["created_at", "2019-04-15 16:16:47.295641"], ["updated_at", "2019-04-15 16:16:47.295641"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/6
+Completed 302 Found in 5ms (ActiveRecord: 2.2ms)
+
+
+Started GET "/tasks/6" for ::1 at 2019-04-15 09:16: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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 20ms (Views: 17.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-15 09:16:49 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 32ms (Views: 26.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-15 09: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.5ms)
+Completed 200 OK in 38ms (Views: 33.6ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-15 09:17:16 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"lgK6UgAmr7FsnJVIGwKQOw7gs99KYSIP1bqps68zopteeJ0YGyMOpiEoRPXB+nIQjc9/hAPnPAEU1deRjwNdOA==", "task"=>{"title"=>"Beth condolences", "description"=>"what do you send someone who's dad died?", "completion"=>"false"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Beth condolences"], ["description", "what do you send someone who's dad died?"], ["completion", false], ["created_at", "2019-04-15 16:17:16.888465"], ["updated_at", "2019-04-15 16:17:16.888465"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/7
+Completed 302 Found in 7ms (ActiveRecord: 2.3ms)
+
+
+Started GET "/tasks/7" for ::1 at 2019-04-15 09:17:16 -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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 25ms (Views: 21.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 09:17:21 -0700
+Processing by TasksController#index as HTML
+Started GET "/tasks/new" for ::1 at 2019-04-15 09:17:21 -0700
+ Rendering tasks/index.html.erb within layouts/application
+Processing by TasksController#new as HTML
+ [1m[36mTask Load (4.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (12.3ms)
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 66ms (Views: 58.0ms | ActiveRecord: 4.1ms)
+
+
+Completed 200 OK in 55ms (Views: 52.3ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-15 09:17: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.1ms)
+Completed 200 OK in 21ms (Views: 18.6ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-15 09:17:53 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"uWDtJZdkOhdOf1M0lTuCvxg8BhGIefrM3ZgR8V+CRE5xGspvjGGbAAPLgolPw2CUmxPKSsH/5MIc92/Tf7K77Q==", "task"=>{"title"=>"email mentor", "description"=>"schedule looks best Tuesday or Wednesday", "completion"=>"false"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "email mentor"], ["description", "schedule looks best Tuesday or Wednesday"], ["completion", false], ["created_at", "2019-04-15 16:17:53.498220"], ["updated_at", "2019-04-15 16:17:53.498220"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/8
+Completed 302 Found in 4ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks/8" for ::1 at 2019-04-15 09:17:53 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"8"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 22ms (Views: 18.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-15 09:17:55 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 31ms (Views: 23.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-15 09:17:57 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 37ms (Views: 32.8ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-15 09:18:28 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"FLhqbaeVS6MKMfbPbf747OgXodL83ySh42UzTpdmZzPcwk0nvJDqtEeFJ3K3BhrHazhtibVZOq8iCk1st1aYkA==", "task"=>{"title"=>"order lunch", "description"=>"meal pal, by 11", "completion"=>"false"}, "commit"=>"Save Task"}
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "order lunch"], ["description", "meal pal, by 11"], ["completion", false], ["created_at", "2019-04-15 16:18:28.795651"], ["updated_at", "2019-04-15 16:18:28.795651"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/9
+Completed 302 Found in 5ms (ActiveRecord: 2.1ms)
+
+
+Started GET "/tasks/9" for ::1 at 2019-04-15 09:18:28 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ 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.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-15 09:18:32 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 40ms (Views: 36.5ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-15 09:18:45 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"BcjknyZKJ2XojXD1TdNMmYPAupvGQ3E+G6yp5PrgjljNssPVPU+GcqU5oUiXK66yAO92wI/FbzDaw9fG2tBx+w==", "task"=>{"title"=>"message other Beth", "description"=>"respond to her text", "completion"=>"false"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "message other Beth"], ["description", "respond to her text"], ["completion", false], ["created_at", "2019-04-15 16:18:45.935210"], ["updated_at", "2019-04-15 16:18:45.935210"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/10
+Completed 302 Found in 6ms (ActiveRecord: 2.3ms)
+
+
+Started GET "/tasks/10" for ::1 at 2019-04-15 09:18:45 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 28ms (Views: 25.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 09:18:50 -0700
+Processing by TasksController#index as HTML
+Started GET "/tasks/new" for ::1 at 2019-04-15 09:18:50 -0700
+ Rendering tasks/index.html.erb within layouts/application
+Processing by TasksController#new as HTML
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (6.1ms)
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 46ms (Views: 42.6ms | ActiveRecord: 0.8ms)
+
+
+Completed 200 OK in 39ms (Views: 34.6ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-15 09:19:17 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"muQfNI0a0vPt6jj6UZEzkhPRYwymns7cbmozAIZJeARSnjh+lh9z5KBe6UeLadG5kP6vV+8Y0NKvBU0ipnmHpw==", "task"=>{"title"=>"give cloudy wand", "description"=>"do it", "completion"=>"false"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "give cloudy wand"], ["description", "do it"], ["completion", false], ["created_at", "2019-04-15 16:19:17.745180"], ["updated_at", "2019-04-15 16:19:17.745180"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/11
+Completed 302 Found in 6ms (ActiveRecord: 2.3ms)
+
+
+Started GET "/tasks/11" for ::1 at 2019-04-15 09:19:17 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"11"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 28ms (Views: 24.7ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-15 09:19:19 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (9.3ms)
+Completed 200 OK in 41ms (Views: 34.3ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 09:19:26 -0700
+Processing by TasksController#index as HTML
+Started GET "/tasks/new" for ::1 at 2019-04-15 09:19:26 -0700
+ Rendering tasks/index.html.erb within layouts/application
+Processing by TasksController#new as HTML
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (7.7ms)
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 42ms (Views: 39.0ms | ActiveRecord: 0.8ms)
+
+
+Completed 200 OK in 36ms (Views: 33.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/8/complete" for ::1 at 2019-04-15 09:29:37 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"8"}
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:57
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:58
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-15 16:29:37.500525"], ["id", 8]]
+ ↳ app/controllers/tasks_controller.rb:58
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:58
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 7ms (ActiveRecord: 2.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 09:29:37 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (4.5ms)
+Completed 200 OK in 81ms (Views: 77.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-15 09:29:53 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 32ms (Views: 26.5ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-15 09:30:08 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Un+rPe1xT3Eb6P5RBO0CnMR2aYfnKM0/uom0WD7XgdeaBYx39nTuZlZcL+zeFeC3R1ml3K6u0zF75sp6Hud+dA==", "task"=>{"title"=>"pay margaret", "description"=>"bill pay! push her for her address", "completion"=>"false"}, "commit"=>"Save Task"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[36mTask Create (1.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "pay margaret"], ["description", "bill pay! push her for her address"], ["completion", false], ["created_at", "2019-04-15 16:30:08.569653"], ["updated_at", "2019-04-15 16:30:08.569653"]]
+ ↳ app/controllers/tasks_controller.rb:20
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:20
+Redirected to http://localhost:3000/tasks/12
+Completed 302 Found in 6ms (ActiveRecord: 1.9ms)
+
+
+Started GET "/tasks/12" for ::1 at 2019-04-15 09:30:08 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 31ms (Views: 26.3ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-15 09:35:23 -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 33ms (Views: 29.2ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 09:35:25 -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:7
+ Rendered tasks/index.html.erb within layouts/application (4.5ms)
+Completed 200 OK in 28ms (Views: 24.9ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks/10/complete" for ::1 at 2019-04-15 09:35:31 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:57
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:58
+ [1m[36mTask Update (1.8ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-15 16:35:31.656787"], ["id", 10]]
+ ↳ app/controllers/tasks_controller.rb:58
+ [1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:58
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 11ms (ActiveRecord: 4.1ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 09:35: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
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (5.5ms)
+Completed 200 OK in 37ms (Views: 33.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 09:49:39 -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:7
+ Rendered tasks/index.html.erb within layouts/application (4.5ms)
+Completed 200 OK in 88ms (Views: 84.3ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/11/complete" for ::1 at 2019-04-15 10:18:31 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"11"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:57
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:58
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-15 17:18:31.573028"], ["id", 11]]
+ ↳ app/controllers/tasks_controller.rb:58
+ [1m[35m (2.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:58
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 8ms (ActiveRecord: 3.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 10:18: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
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 31ms (Views: 28.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/5/complete" for ::1 at 2019-04-15 10:42:04 -0700
+Processing by TasksController#toggle_completion as HTML
+ Parameters: {"id"=>"5"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:57
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:58
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "completion" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion", true], ["updated_at", "2019-04-15 17:42:04.670885"], ["id", 5]]
+ ↳ app/controllers/tasks_controller.rb:58
+ [1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:58
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 8ms (ActiveRecord: 3.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 10:42: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
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 25ms (Views: 22.4ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/" for ::1 at 2019-04-17 10:12:57 -0700
+ [1m[35m (4.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/kaseyadwon/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (2.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (29.6ms)
+Completed 200 OK in 270ms (Views: 244.7ms | ActiveRecord: 16.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-17 10:13:51 -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:7
+ Rendered tasks/index.html.erb within layouts/application (22.6ms)
+Completed 500 Internal Server Error in 34ms (ActiveRecord: 0.7ms)
+
+
+
+NoMethodError - undefined method `date' for Mon, 15 Apr 2019 09:29:37 PDT -07:00:Time:
+ app/views/tasks/index.html.erb:20:in `block in _app_views_tasks_index_html_erb___4144181703416406073_70129147257880'
+ app/views/tasks/index.html.erb:18:in `_app_views_tasks_index_html_erb___4144181703416406073_70129147257880'
+
+Started POST "/__better_errors/0edea7c12c2128cf/variables" for ::1 at 2019-04-17 10:13:52 -0700
+Started POST "/__better_errors/0edea7c12c2128cf/eval" for ::1 at 2019-04-17 10:14:14 -0700
+Started POST "/__better_errors/0edea7c12c2128cf/eval" for ::1 at 2019-04-17 10:14:28 -0700
+Started POST "/__better_errors/0edea7c12c2128cf/eval" for ::1 at 2019-04-17 10:14:33 -0700
+Started POST "/__better_errors/0edea7c12c2128cf/eval" for ::1 at 2019-04-17 10:15:04 -0700
+Started GET "/" for ::1 at 2019-04-17 10:15: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
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 33ms (Views: 25.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-17 10:15:32 -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:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (13.9ms)
+Completed 200 OK in 58ms (Views: 29.7ms | ActiveRecord: 1.6ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-17 10:15:53 -0700
+Processing by TasksController#edit 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:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 41ms (Views: 33.5ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-17 10:16:26 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (1.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (238.8ms)
+Completed 500 Internal Server Error in 252ms (ActiveRecord: 1.1ms)
+
+
+
+NoMethodError - undefined method `title' for #:
+ app/views/tasks/edit.html.erb:4:in `block in _app_views_tasks_edit_html_erb__2509795994766742342_70129145859940'
+ app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb__2509795994766742342_70129145859940'
+
+Started POST "/__better_errors/742b722efc965863/variables" for ::1 at 2019-04-17 10:16:27 -0700
+Started POST "/__better_errors/742b722efc965863/eval" for ::1 at 2019-04-17 10:16:29 -0700
+Started GET "/tasks/1/edit" for ::1 at 2019-04-17 10:16:55 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"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:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 29ms (Views: 22.2ms | ActiveRecord: 0.9ms)
+
+
+Started GET "/" for ::1 at 2019-04-17 10:17: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
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (4.6ms)
+Completed 200 OK in 26ms (Views: 23.3ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/1/delete" for ::1 at 2019-04-17 10:17:12 -0700
+Processing by TasksController#delete as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (4.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 39ms (Views: 26.0ms | ActiveRecord: 4.8ms)
+
+
+Started GET "/tasks/1/delete" for ::1 at 2019-04-17 10:17:22 -0700
+Processing by TasksController#delete 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:30
+ Rendering tasks/delete.html.erb within layouts/application
+ Rendered tasks/delete.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 28ms (Views: 21.2ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/" for ::1 at 2019-04-17 10:17:23 -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:7
+ Rendered tasks/index.html.erb within layouts/application (6.5ms)
+Completed 200 OK in 29ms (Views: 25.4ms | ActiveRecord: 1.0ms)
+
+
+Started GET "/" for ::1 at 2019-04-17 10:18: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"[0m
+ ↳ app/views/tasks/index.html.erb:7
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 28ms (Views: 22.4ms | ActiveRecord: 0.3ms)
+
+