+<% end %>
\ No newline at end of file
diff --git a/app/views/tasks/edit.html.erb b/app/views/tasks/edit.html.erb
new file mode 100644
index 000000000..3665dd97d
--- /dev/null
+++ b/app/views/tasks/edit.html.erb
@@ -0,0 +1,7 @@
+
\ 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..253dc3e27
--- /dev/null
+++ b/config/credentials.yml.enc
@@ -0,0 +1 @@
+QtYHQNVuGIF1GLmbW9VFKi036Hf0c54rYagxOkGe/ygUmZPW+nqdg7Vx3wPDSyTIPnrTR/4+rM960HYDsdIJp72Tm+2uX10B2ANOppbPCDeZZM/IBskMVYvIM7Revw601EkXN8hV4DIIvw6jgwHNwgJb9ueNENSpOqrUOBO2HWDLqxj4qaQPkOdzuTuINWGfIA+IEV5w2BxillDPEabsbKCYa3v21isQ1/lv6LbKB3cpm1KPHEmQ2Lub/WGrUHd5C7LHiJnc4obQfC2PkCzNzaWPtqxCIDTMMvt5LyILOPJCcJvn1iXHsoL+gwyJOXQgvuDDqsM2yYmVbbdW8xItb7ctimSqSATzLMz3iBCq4D4Y2KPz8W/YectnKy86KMD4SN3jadqcgZvTXsGXz7NuKuG5/llMW6wxQgAj--4dmSNAqFvLSgaLuP--ZxgLUXFzlLr2oxHr2ImnLA==
\ 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..eb232143c
--- /dev/null
+++ b/config/routes.rb
@@ -0,0 +1,8 @@
+Rails.application.routes.draw do
+ # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
+ root :to => "tasks#index"
+
+ resources :tasks
+
+ patch "/tasks/:id/complete_toggle", to: "tasks#complete_toggle", as: "complete_task"
+end
diff --git a/config/spring.rb b/config/spring.rb
new file mode 100644
index 000000000..9fa7863f9
--- /dev/null
+++ b/config/spring.rb
@@ -0,0 +1,6 @@
+%w[
+ .ruby-version
+ .rbenv-vars
+ tmp/restart.txt
+ tmp/caching-dev.txt
+].each { |path| Spring.watch(path) }
diff --git a/config/storage.yml b/config/storage.yml
new file mode 100644
index 000000000..d32f76e8f
--- /dev/null
+++ b/config/storage.yml
@@ -0,0 +1,34 @@
+test:
+ service: Disk
+ root: <%= Rails.root.join("tmp/storage") %>
+
+local:
+ service: Disk
+ root: <%= Rails.root.join("storage") %>
+
+# Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
+# amazon:
+# service: S3
+# access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %>
+# secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %>
+# region: us-east-1
+# bucket: your_own_bucket
+
+# Remember not to checkin your GCS keyfile to a repository
+# google:
+# service: GCS
+# project: your_project
+# credentials: <%= Rails.root.join("path/to/gcs.keyfile") %>
+# bucket: your_own_bucket
+
+# Use rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key)
+# microsoft:
+# service: AzureStorage
+# storage_account_name: your_account_name
+# storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %>
+# container: your_container_name
+
+# mirror:
+# service: Mirror
+# primary: local
+# mirrors: [ amazon, google, microsoft ]
diff --git a/db/migrate/20190409223500_create_tasks.rb b/db/migrate/20190409223500_create_tasks.rb
new file mode 100644
index 000000000..a54f34c25
--- /dev/null
+++ b/db/migrate/20190409223500_create_tasks.rb
@@ -0,0 +1,11 @@
+class CreateTasks < ActiveRecord::Migration[5.2]
+ def change
+ create_table :tasks do |t|
+ t.string :name
+ t.string :description
+ t.date :completion_date
+
+ t.timestamps
+ end
+ end
+end
diff --git a/db/migrate/20190409225013_change_date_attribute.rb b/db/migrate/20190409225013_change_date_attribute.rb
new file mode 100644
index 000000000..acf4b6c85
--- /dev/null
+++ b/db/migrate/20190409225013_change_date_attribute.rb
@@ -0,0 +1,5 @@
+class ChangeDateAttribute < ActiveRecord::Migration[5.2]
+ def change
+ change_column(:tasks, :completion_date, :string)
+ end
+end
diff --git a/db/migrate/20190410235715_add_completed_column2.rb b/db/migrate/20190410235715_add_completed_column2.rb
new file mode 100644
index 000000000..047e09a20
--- /dev/null
+++ b/db/migrate/20190410235715_add_completed_column2.rb
@@ -0,0 +1,5 @@
+class AddCompletedColumn2 < ActiveRecord::Migration[5.2]
+ def change
+ add_column(:tasks, :completed, :boolean, default: false)
+ end
+end
diff --git a/db/migrate/20190413230536_add_completion_date_column.rb b/db/migrate/20190413230536_add_completion_date_column.rb
new file mode 100644
index 000000000..d570eccff
--- /dev/null
+++ b/db/migrate/20190413230536_add_completion_date_column.rb
@@ -0,0 +1,7 @@
+class AddCompletionDateColumn < ActiveRecord::Migration[5.2]
+ def change
+ def change
+ change_column(:tasks, :completion_date, :datetime)
+ end
+ end
+end
diff --git a/db/migrate/20190414013032_change_completion_date.rb b/db/migrate/20190414013032_change_completion_date.rb
new file mode 100644
index 000000000..142f3dba9
--- /dev/null
+++ b/db/migrate/20190414013032_change_completion_date.rb
@@ -0,0 +1,6 @@
+class ChangeCompletionDate < ActiveRecord::Migration[5.2]
+ def change
+ remove_column(:tasks, :completion_date, :string)
+ add_column(:tasks, :completion_date, :datetime)
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
new file mode 100644
index 000000000..d622b009d
--- /dev/null
+++ b/db/schema.rb
@@ -0,0 +1,27 @@
+# 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_14_013032) do
+
+ # These are extensions that must be enabled in order to support this database
+ enable_extension "plpgsql"
+
+ create_table "tasks", force: :cascade do |t|
+ t.string "name"
+ t.string "description"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.boolean "completed", default: false
+ t.datetime "completion_date"
+ end
+
+end
diff --git a/db/seeds.rb b/db/seeds.rb
new file mode 100644
index 000000000..1beea2acc
--- /dev/null
+++ b/db/seeds.rb
@@ -0,0 +1,7 @@
+# This file should contain all the record creation needed to seed the database with its default values.
+# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
+#
+# Examples:
+#
+# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
+# Character.create(name: 'Luke', movie: movies.first)
diff --git a/lib/assets/.keep b/lib/assets/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/lib/tasks/.keep b/lib/tasks/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/log/.keep b/log/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/log/development.log b/log/development.log
new file mode 100644
index 000000000..d66e2dc8d
--- /dev/null
+++ b/log/development.log
@@ -0,0 +1,6619 @@
+ [1m[35m (459.4ms)[0m [1m[35mCREATE DATABASE "TaskList_development" ENCODING = 'unicode'[0m
+ ↳ bin/rails:9
+ [1m[35m (402.2ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ ↳ bin/rails:9
+ [1m[35m (20.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
+ ↳ bin/rails:9
+ [1m[35m (6.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.6ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[36mActiveRecord::InternalMetadata Load (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ ↳ bin/rails:9
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[36mActiveRecord::InternalMetadata Create (2.8ms)[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-08 19:30:00.309567"], ["updated_at", "2019-04-08 19:30:00.309567"]]
+ ↳ bin/rails:9
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Started GET "/" for ::1 at 2019-04-08 14:33:54 -0700
+Processing by Rails::WelcomeController#index as HTML
+ Rendering /Users/shirleychu/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb
+ Rendered /Users/shirleychu/.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 15ms (Views: 7.8ms | ActiveRecord: 0.0ms)
+
+
+ [1m[35m (6.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (3.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Migrating to CreateTasks (20190409221348)
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (31.5ms)[0m [1m[35mCREATE TABLE "tasks" ("id" bigserial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ ↳ db/migrate/20190409221348_create_tasks.rb:3
+ [1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190409221348"]]
+ ↳ bin/rails:9
+ [1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[36mActiveRecord::InternalMetadata Load (1.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[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Migrating to CreateTasks (20190409223500)
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (15.8ms)[0m [1m[35mCREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completion_date" date, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ ↳ db/migrate/20190409223500_create_tasks.rb:3
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Migrating to CreateTasks (20190409223500)
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (8.5ms)[0m [1m[35mCREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completion_date" date, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ ↳ db/migrate/20190409223500_create_tasks.rb:3
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ ↳ bin/rails:9
+ [1m[35m (0.4ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [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.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ ↳ bin/rails:9
+ [1m[35m (203.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_development"[0m
+ ↳ bin/rails:9
+ [1m[35m (205.9ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ ↳ bin/rails:9
+ [1m[35m (449.6ms)[0m [1m[35mCREATE DATABASE "TaskList_development" ENCODING = 'unicode'[0m
+ ↳ bin/rails:9
+ [1m[35m (415.6ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ ↳ bin/rails:9
+ [1m[35m (6.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
+ ↳ bin/rails:9
+ [1m[35m (6.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Migrating to CreateTasks (20190409223500)
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completion_date" date, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ ↳ db/migrate/20190409223500_create_tasks.rb:3
+ [1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190409223500"]]
+ ↳ bin/rails:9
+ [1m[35m (0.4ms)[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.3ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[36mActiveRecord::InternalMetadata Create (0.8ms)[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:45:08.268397"], ["updated_at", "2019-04-09 22:45:08.268397"]]
+ ↳ bin/rails:9
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.3ms)[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[35mBEGIN[0m
+ [1m[36mTask Create (7.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "completion_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "clean room"], ["description", "make bed, tidy up"], ["completion_date", -2008], ["created_at", "2019-04-09 22:47:33.444737"], ["updated_at", "2019-04-09 22:47:33.444737"]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[36mTask Load (2.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Create (7.8ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "completion_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "clean room"], ["description", "make bed, tidy up"], ["completion_date", -2008], ["created_at", "2019-04-09 22:49:41.580170"], ["updated_at", "2019-04-09 22:49:41.580170"]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Migrating to ChangeDateAttribute (20190409225013)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Migrating to ChangeDateAttribute (20190409225013)
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (16.4ms)[0m [1m[35mALTER TABLE "tasks" ALTER COLUMN "completion_date" TYPE character varying[0m
+ ↳ db/migrate/20190409225013_change_date_attribute.rb:3
+ [1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190409225013"]]
+ ↳ bin/rails:9
+ [1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Create (0.7ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "completion_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "clean room"], ["description", "make bed, tidy up"], ["completion_date", "15-04-2019"], ["created_at", "2019-04-09 22:52:54.004287"], ["updated_at", "2019-04-09 22:52:54.004287"]]
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "completion_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "grocery run"], ["description", "go to Safeway"], ["completion_date", "11-04-2019"], ["created_at", "2019-04-09 22:53:23.167729"], ["updated_at", "2019-04-09 22:53:23.167729"]]
+ [1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
+Started GET "/" for ::1 at 2019-04-09 16:03:21 -0700
+ [1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/shirleychu/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 360ms (Views: 354.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2019-04-09 16:03:39 -0700
+Processing by TasksController#index as HTML
+Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)
+
+
+
+NameError - uninitialized constant TasksController::Tasks:
+ app/controllers/tasks_controller.rb:3:in `index'
+
+Started POST "/__better_errors/f4f1a761d710b614/variables" for ::1 at 2019-04-09 16:03:39 -0700
+Started GET "/" for ::1 at 2019-04-09 16:04:11 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.8ms)
+Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected end-of-input, expecting keyword_end
+ end
+ ^:
+ app/views/tasks/index.html.erb:15:in `'
+
+Started POST "/__better_errors/591098389ff707a6/variables" for ::1 at 2019-04-09 16:04:11 -0700
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+Started GET "/" for ::1 at 2019-04-09 16:04: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
+ ↳ app/views/tasks/index.html.erb:2
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 33ms (Views: 29.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-09 16:05: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:2
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 27ms (Views: 24.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-09 16:05: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:2
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 29ms (Views: 26.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 14:28:22 -0700
+ [1m[35m (3.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/shirleychu/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 500 Internal Server Error in 24ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected ';', expecting ')'
+...buffer.safe_append=': '.freeze;@output_buffer.append=( task....
+... ^
+/Users/shirleychu/Documents/Ada/Projects/TaskList/app/views/tasks/index.html.erb:12: syntax error, unexpected keyword_end, expecting ')'
+'.freeze; end
+ ^~~
+/Users/shirleychu/Documents/Ada/Projects/TaskList/app/views/tasks/index.html.erb:16: syntax error, unexpected keyword_ensure, expecting ')'
+ ensure
+ ^~~~~~
+/Users/shirleychu/Documents/Ada/Projects/TaskList/app/views/tasks/index.html.erb:18: syntax error, unexpected keyword_end, expecting ')'
+ end
+ ^~~:
+ app/views/tasks/index.html.erb:6:in `'
+
+Started POST "/__better_errors/e96fc84c74ee0aad/variables" for ::1 at 2019-04-10 14:28:23 -0700
+Started GET "/" for ::1 at 2019-04-10 14:29:19 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected ';', expecting ')'
+...buffer.safe_append=': '.freeze;@output_buffer.append=( task....
+... ^
+/Users/shirleychu/Documents/Ada/Projects/TaskList/app/views/tasks/index.html.erb:10: syntax error, unexpected keyword_end, expecting ')'
+'.freeze; end
+ ^~~
+/Users/shirleychu/Documents/Ada/Projects/TaskList/app/views/tasks/index.html.erb:14: syntax error, unexpected keyword_ensure, expecting ')'
+ ensure
+ ^~~~~~
+/Users/shirleychu/Documents/Ada/Projects/TaskList/app/views/tasks/index.html.erb:16: syntax error, unexpected keyword_end, expecting ')'
+ end
+ ^~~:
+ app/views/tasks/index.html.erb:6:in `'
+
+Started POST "/__better_errors/dfabad5c2cf0dcc4/variables" for ::1 at 2019-04-10 14:29:20 -0700
+Started GET "/" for ::1 at 2019-04-10 14:30:37 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '('
+...r.safe_append='"), task_path %>
+... ^~
+/Users/shirleychu/Documents/Ada/Projects/TaskList/app/views/tasks/index.html.erb:9: syntax error, unexpected '<', expecting ')'
+
+ ^
+/Users/shirleychu/Documents/Ada/Projects/TaskList/app/views/tasks/index.html.erb:12: unknown regexp options - dv
+/Users/shirleychu/Documents/Ada/Projects/TaskList/app/views/tasks/index.html.erb:16: unterminated string meets end of file
+ end
+ ^
+/Users/shirleychu/Documents/Ada/Projects/TaskList/app/views/tasks/index.html.erb:16: syntax error, unexpected end-of-input, expecting ')'
+ end
+ ^:
+ app/views/tasks/index.html.erb:7:in `'
+
+Started POST "/__better_errors/81d9662827158335/variables" for ::1 at 2019-04-10 14:30:37 -0700
+Started GET "/" for ::1 at 2019-04-10 14:31:39 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (11.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:3
+ Rendered tasks/index.html.erb within layouts/application (37.8ms)
+Completed 200 OK in 230ms (Views: 206.4ms | ActiveRecord: 21.2ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-10 14:31:43 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (8.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE (1) LIMIT $1[0m [["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+Completed 500 Internal Server Error in 10ms (ActiveRecord: 8.3ms)
+
+
+
+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:8:in `show'
+
+Started POST "/__better_errors/8d019f537bb8e9bb/variables" for ::1 at 2019-04-10 14:31:44 -0700
+Started GET "/tasks/1" for ::1 at 2019-04-10 14:32:49 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (3.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE (1) LIMIT $1[0m [["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+Completed 500 Internal Server Error in 13ms (ActiveRecord: 4.5ms)
+
+
+
+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:8:in `show'
+
+Started POST "/__better_errors/f7a0c6ab601d9d0a/variables" for ::1 at 2019-04-10 14:32:49 -0700
+Started GET "/" for ::1 at 2019-04-10 14:34:20 -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:3
+ Rendered tasks/index.html.erb within layouts/application (10.0ms)
+Completed 200 OK in 54ms (Views: 47.5ms | ActiveRecord: 3.0ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-10 14:34:22 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (33.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE (2) LIMIT $1[0m [["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+Completed 500 Internal Server Error in 35ms (ActiveRecord: 33.6ms)
+
+
+
+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:8:in `show'
+
+Started POST "/__better_errors/3f1f608cde4cb82a/variables" for ::1 at 2019-04-10 14:34:22 -0700
+Started POST "/__better_errors/3f1f608cde4cb82a/eval" for ::1 at 2019-04-10 14:35:51 -0700
+ [1m[36mTask Load (3.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ (pry):3
+Started GET "/tasks/2" for ::1 at 2019-04-10 14:37:03 -0700
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/shirleychu/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+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 (1.6ms)
+Completed 200 OK in 239ms (Views: 215.7ms | ActiveRecord: 3.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 14:37:09 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:3
+ Rendered tasks/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 23ms (Views: 18.5ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-10 14:37:11 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (22.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 (5.1ms)
+Completed 200 OK in 53ms (Views: 25.4ms | ActiveRecord: 22.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 14:37:40 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:3
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 27ms (Views: 22.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-10 15:41:35 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ 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 31ms (Views: 25.6ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-10 15:53: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]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 76ms (Views: 45.7ms | ActiveRecord: 8.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-10 15:53:57 -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:3
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 30ms (Views: 26.8ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/task/new" for ::1 at 2019-04-10 15:54:00 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (47.1ms)
+Completed 200 OK in 82ms (Views: 73.1ms | ActiveRecord: 0.0ms)
+
+
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
+Started POST "/tasks" for ::1 at 2019-04-10 16:07:37 -0700
+
+ActionController::RoutingError (No route matches [POST] "/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-10 16:30:13 -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:3
+ Rendered tasks/index.html.erb within layouts/application (22.7ms)
+Completed 200 OK in 72ms (Views: 56.5ms | ActiveRecord: 5.7ms)
+
+
+Started GET "/task/new" for ::1 at 2019-04-10 16:30: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.9ms)
+Completed 200 OK in 28ms (Views: 23.9ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-10 16:30:20 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"bxaRkmUmreoKu64WuPI04EoARB3/0b/l6y6XoLxE80EPo/gDyUb6aKsugJmtCefO13pdpvAk/FxaA2BFpA8fBA==", "task"=>{"name"=>"walk dog", "description"=>"mickey wants a walk", "completion_date"=>"05-05-2019"}, "commit"=>"Add Task"}
+Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
+
+
+
+RuntimeError - :
+ app/controllers/tasks_controller.rb:21:in `create'
+
+Started POST "/__better_errors/467c48249afb17df/variables" for ::1 at 2019-04-10 16:30:20 -0700
+Started POST "/__better_errors/467c48249afb17df/eval" for ::1 at 2019-04-10 16:30:25 -0700
+Started POST "/__better_errors/467c48249afb17df/eval" for ::1 at 2019-04-10 16:30:59 -0700
+Started POST "/__better_errors/467c48249afb17df/eval" for ::1 at 2019-04-10 16:31:13 -0700
+Started POST "/__better_errors/467c48249afb17df/eval" for ::1 at 2019-04-10 16:31:28 -0700
+Started POST "/__better_errors/467c48249afb17df/eval" for ::1 at 2019-04-10 16:31:38 -0700
+Started POST "/tasks" for ::1 at 2019-04-10 16:36:20 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"bxaRkmUmreoKu64WuPI04EoARB3/0b/l6y6XoLxE80EPo/gDyUb6aKsugJmtCefO13pdpvAk/FxaA2BFpA8fBA==", "task"=>{"name"=>"walk dog", "description"=>"mickey wants a walk", "completion_date"=>"05-05-2019"}, "commit"=>"Add Task"}
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:28
+ [1m[36mTask Create (6.0ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "completion_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "walk dog"], ["description", "mickey wants a walk"], ["completion_date", "05-05-2019"], ["created_at", "2019-04-10 23:36:20.234452"], ["updated_at", "2019-04-10 23:36:20.234452"]]
+ ↳ app/controllers/tasks_controller.rb:28
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:28
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 27ms (ActiveRecord: 13.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-10 16:36: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:3
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 37ms (Views: 33.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-10 16:36:30 -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 28ms (Views: 21.5ms | ActiveRecord: 0.8ms)
+
+
+ [1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (2.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Migrating to AddCompletedColumn (20190410234650)
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Migrating to AddCompletedColumn (20190410234650)
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Migrating to AddCompletedColumn (20190410234650)
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Migrating to AddCompletedColumn2 (20190410235715)
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (17.1ms)[0m [1m[35mALTER TABLE "tasks" ADD "completed" boolean NOT NULL[0m
+ ↳ db/migrate/20190410235715_add_completed_column2.rb:3
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Migrating to AddCompletedColumn2 (20190410235715)
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (5.4ms)[0m [1m[35mALTER TABLE "tasks" ADD "completed" boolean NOT NULL[0m
+ ↳ db/migrate/20190410235715_add_completed_column2.rb:3
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Migrating to AddCompletedColumn2 (20190410235715)
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (5.1ms)[0m [1m[35mALTER TABLE "tasks" ADD "completed" boolean DEFAULT FALSE[0m
+ ↳ db/migrate/20190410235715_add_completed_column2.rb:3
+ [1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190410235715"]]
+ ↳ bin/rails:9
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[36mActiveRecord::InternalMetadata Load (2.0ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Started GET "/" for ::1 at 2019-04-12 14:14:35 -0700
+ [1m[35m (3.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/shirleychu/.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 (25.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:3
+ Rendered tasks/index.html.erb within layouts/application (57.8ms)
+Completed 200 OK in 327ms (Views: 283.5ms | ActiveRecord: 33.5ms)
+
+
+Started GET "/tasks/3" for ::1 at 2019-04-12 14:15:08 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (23.2ms)[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.4ms)
+Completed 200 OK in 80ms (Views: 20.6ms | ActiveRecord: 27.9ms)
+
+
+Started GET "/" for ::1 at 2019-04-12 14:16: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:3
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 28ms (Views: 24.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-12 14:16:29 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (26.4ms)
+ Rendered tasks/edit.html.erb within layouts/application (30.6ms)
+Completed 200 OK in 58ms (Views: 53.3ms | ActiveRecord: 0.4ms)
+
+
+Started PATCH "/tasks/1" for ::1 at 2019-04-12 14:16:35 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"BqIGXku9B/Fyi8bdJ8xa20csHu5swjpsKNNf6k2CJZyxcFCiGjLvlITNBooYPKzVdmfvuP+7404uZnLG4+kgAQ==", "task"=>{"name"=>"clean room", "description"=>"make bed, tidy u", "completion_date"=>"15-04-2019"}, "commit"=>"Edit Task", "id"=>"1"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:40
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:49
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "description" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["description", "make bed, tidy u"], ["updated_at", "2019-04-12 21:16:35.368395"], ["id", 1]]
+ ↳ app/controllers/tasks_controller.rb:49
+ [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:49
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 6ms (ActiveRecord: 2.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 14:16:35 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:3
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 26ms (Views: 22.9ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-12 14:16:40 -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.4ms)
+Completed 200 OK in 34ms (Views: 28.7ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 14:18: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:3
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 19ms (Views: 15.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 14:18: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
+ ↳ app/views/tasks/index.html.erb:3
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 19ms (Views: 15.9ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 14:18:40 -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:3
+ Rendered tasks/index.html.erb within layouts/application (12.9ms)
+Completed 200 OK in 34ms (Views: 24.7ms | ActiveRecord: 5.7ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-12 14:18: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]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (239.9ms)
+Completed 500 Internal Server Error in 247ms (ActiveRecord: 0.2ms)
+
+
+
+NameError - undefined local variable or method `task' for #<#:0x00007f9640c30bf8>
+Did you mean? @task:
+ app/views/tasks/show.html.erb:14:in `_app_views_tasks_show_html_erb___869772177193695293_70141654174340'
+
+Started POST "/__better_errors/01fa489aabdd5c45/variables" for ::1 at 2019-04-12 14:18:43 -0700
+Started GET "/tasks/1" for ::1 at 2019-04-12 14:19:11 -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 28ms (Views: 22.2ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-12 14:19:13 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (13.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/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.7ms)
+ Rendered tasks/edit.html.erb within layouts/application (4.9ms)
+Completed 200 OK in 47ms (Views: 28.0ms | ActiveRecord: 13.8ms)
+
+
+Started PATCH "/tasks/1" for ::1 at 2019-04-12 14:19:16 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"dj/glABgaiVU0GCdTxUBhDFRCf4U1wzziDiH8bDzJXDB7bZoUe+CQKKWoMpw5feKABr4qIeu1dGOjardHpgg7Q==", "task"=>{"name"=>"clean room", "description"=>"make bed, tidy up", "completion_date"=>"15-04-2019"}, "commit"=>"Edit Task", "id"=>"1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:40
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:49
+ [1m[36mTask Update (0.9ms)[0m [1m[33mUPDATE "tasks" SET "description" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["description", "make bed, tidy up"], ["updated_at", "2019-04-12 21:19:16.360490"], ["id", 1]]
+ ↳ app/controllers/tasks_controller.rb:49
+ [1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:49
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 10ms (ActiveRecord: 3.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 14:19: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:3
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 26ms (Views: 23.6ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/3" for ::1 at 2019-04-12 14:19:21 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (10.6ms)[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 40ms (Views: 24.0ms | ActiveRecord: 10.6ms)
+
+
+Started GET "/tasks/3/edit" for ::1 at 2019-04-12 14:19:22 -0700
+Processing by TasksController#edit 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/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.3ms)
+ Rendered tasks/edit.html.erb within layouts/application (6.0ms)
+Completed 200 OK in 38ms (Views: 33.7ms | ActiveRecord: 0.4ms)
+
+
+Started PATCH "/tasks/3" for ::1 at 2019-04-12 14:19:23 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"GjAYj0eeRMWiviO7B0ZD/QQ5Hs6ULd8pq104K7uXVyKgfG9BPyH7ItqGCrHBTKxl/SGHR5EzYwHyK2SOO1iXJA==", "task"=>{"name"=>"walk dog", "description"=>"mickey wants a walk", "completion_date"=>"05-05-2019"}, "commit"=>"Edit Task", "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:40
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:49
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:49
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 14:19: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:3
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 39ms (Views: 34.7ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 14:20:56 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:3
+ Rendered tasks/index.html.erb within layouts/application (11.8ms)
+Completed 200 OK in 42ms (Views: 34.8ms | ActiveRecord: 2.7ms)
+
+
+Started GET "/tasks/3" for ::1 at 2019-04-12 14:20:57 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb: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.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/3/edit" for ::1 at 2019-04-12 14:20:58 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (19.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/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.3ms)
+ Rendered tasks/edit.html.erb within layouts/application (5.7ms)
+Completed 200 OK in 47ms (Views: 24.7ms | ActiveRecord: 19.2ms)
+
+
+Started PATCH "/tasks/3" for ::1 at 2019-04-12 14:21:00 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"eF8Qx6nedre7Eqx0qRAGalJ+zGPFrhg52wlX6TJVlgTCE2cJ0WHJUMMqhX5vGunyq2ZV6sCwpBGCfwtMsppWAg==", "task"=>{"name"=>"walk dog", "description"=>"mickey wants a wal", "completion_date"=>"05-05-2019"}, "commit"=>"Edit Task", "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:41
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:50
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "description" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["description", "mickey wants a wal"], ["updated_at", "2019-04-12 21:21:00.797957"], ["id", 3]]
+ ↳ app/controllers/tasks_controller.rb:50
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:50
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 7ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 14:21: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:3
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 34ms (Views: 32.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-12 14:21:02 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (1.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (4.9ms)
+Completed 200 OK in 30ms (Views: 24.9ms | ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-12 14: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]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.8ms)
+ Rendered tasks/edit.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 39ms (Views: 19.6ms | ActiveRecord: 3.6ms)
+
+
+Started PATCH "/tasks/1" for ::1 at 2019-04-12 14:22:01 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"iHVYYX5367vQB47EZlG5msMT25WROqhxjcDLp64PatU/pw6dL/gD3iZBTpNZoU+U8lgqwwJDcVOLdeaLAGRvSA==", "task"=>{"name"=>"clean room", "description"=>"make bed, tidy up", "completion_date"=>"15-04-2019"}, "commit"=>"Edit Task", "id"=>"1"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:40
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:49
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:49
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 7ms (ActiveRecord: 1.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 14:22: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
+ ↳ app/views/tasks/index.html.erb:3
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 24ms (Views: 21.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-12 14:24:03 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb: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: 25.9ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/254" for ::1 at 2019-04-12 14:24:07 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"254"}
+ [1m[36mTask Load (1.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 254], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 14:24:07 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:3
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 24ms (Views: 21.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/ehjerh" for ::1 at 2019-04-12 14:24:29 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"ehjerh"}
+ [1m[36mTask Load (6.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 0], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 8ms (ActiveRecord: 6.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 14:24:29 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:3
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 22ms (Views: 19.5ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/2/edit" for ::1 at 2019-04-12 14:24:48 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.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/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.9ms)
+ Rendered tasks/edit.html.erb within layouts/application (4.5ms)
+Completed 200 OK in 27ms (Views: 22.0ms | ActiveRecord: 0.6ms)
+
+
+Started PATCH "/tasks/2" for ::1 at 2019-04-12 14:24:54 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"1tUnHmjG4KWp+eISe4H0XfRxqrITHTwxMVm9a6gg6R3beNQ6pCCof0/TS9xh4LrnO8ruhydNJxmHJP3dn5XxYw==", "task"=>{"name"=>"grocery run", "description"=>"go to Safewa", "completion_date"=>"11-04-2019"}, "commit"=>"Edit 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:40
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:49
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "description" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["description", "go to Safewa"], ["updated_at", "2019-04-12 21:24:54.079330"], ["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:49
+ [1m[35m (5.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:49
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 12ms (ActiveRecord: 6.7ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 14:24:54 -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:3
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 22ms (Views: 20.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 14:25: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:3
+ Rendered tasks/index.html.erb within layouts/application (12.5ms)
+Completed 200 OK in 33ms (Views: 24.0ms | ActiveRecord: 3.8ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-12 14:25:47 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (10.9ms)[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 45ms (Views: 25.6ms | ActiveRecord: 10.9ms)
+
+
+Started GET "/tasks/2/edit" for ::1 at 2019-04-12 14:25:49 -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/_form.html.erb (2.8ms)
+ Rendered tasks/edit.html.erb within layouts/application (5.1ms)
+Completed 200 OK in 27ms (Views: 23.5ms | ActiveRecord: 0.2ms)
+
+
+Started PATCH "/tasks/2" for ::1 at 2019-04-12 14:25:51 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"TNFnDUkH1DfAP2o9CbGu0mZDtnqZ+VebAn4qv4+7SRzKTFdykh8szkVa6Zt2iJMfz+PkbeF/8Q0pAI5n0ZXxyw==", "task"=>{"name"=>"grocery run", "description"=>"go to Safeway", "completion_date"=>"11-04-2019"}, "commit"=>"Edit 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:40
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:49
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "description" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["description", "go to Safeway"], ["updated_at", "2019-04-12 21:25:51.813191"], ["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:49
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:49
+Redirected to http://localhost:3000/tasks/2
+Completed 302 Found in 7ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-12 14:25:51 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb: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: 19.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/2/edit" for ::1 at 2019-04-12 14:38:33 -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/_form.html.erb (2.5ms)
+ Rendered tasks/edit.html.erb within layouts/application (5.0ms)
+Completed 200 OK in 36ms (Views: 30.8ms | ActiveRecord: 0.5ms)
+
+
+Started PATCH "/tasks/2" for ::1 at 2019-04-12 14:38:34 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"XYE42o3H2z4cqH2PPtWtGyRtAhAF6/f/FBDgK1Zxe1LbHAilVt8jx5nN/ilB7JDWjc1QB31tUWk/bkTzCF/DhQ==", "task"=>{"name"=>"grocery run", "description"=>"go to Safeway", "completion_date"=>"11-04-2019"}, "commit"=>"Edit 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:40
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:49
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:49
+Redirected to http://localhost:3000/tasks/2
+Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-12 14:38:34 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 33ms (Views: 28.9ms | ActiveRecord: 0.9ms)
+
+
+Started GET "/" for ::1 at 2019-04-12 14:38: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
+ ↳ app/views/tasks/index.html.erb:3
+ Rendered tasks/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 26ms (Views: 22.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-12 14:44:27 -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.6ms)
+Completed 200 OK in 29ms (Views: 24.3ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-12 14:44:30 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 32ms (Views: 26.5ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/" for ::1 at 2019-04-12 14:44:31 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (6.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:3
+ Rendered tasks/index.html.erb within layouts/application (384.8ms)
+Completed 500 Internal Server Error in 394ms (ActiveRecord: 6.0ms)
+
+
+
+NameError - undefined local variable or method `complete_task_path' for #<#:0x00007f964559bce8>
+Did you mean? compute_asset_path:
+ app/views/tasks/index.html.erb:7:in `block in _app_views_tasks_index_html_erb__2636130682586575582_70141692676120'
+ app/views/tasks/index.html.erb:3:in `_app_views_tasks_index_html_erb__2636130682586575582_70141692676120'
+
+Started POST "/__better_errors/7f710ee536d17c7c/variables" for ::1 at 2019-04-12 14:44:32 -0700
+Started GET "/" for ::1 at 2019-04-12 14:44:50 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:3
+ Rendered tasks/index.html.erb within layouts/application (214.6ms)
+Completed 500 Internal Server Error in 223ms (ActiveRecord: 0.2ms)
+
+
+
+NoMethodError - undefined method `complete_task_path' for #<#:0x00007f9640d7ef50>
+Did you mean? compute_asset_path:
+ app/views/tasks/index.html.erb:7:in `block in _app_views_tasks_index_html_erb__2636130682586575582_70141654858800'
+ app/views/tasks/index.html.erb:3:in `_app_views_tasks_index_html_erb__2636130682586575582_70141654858800'
+
+Started POST "/__better_errors/633f16fcd6e96972/variables" for ::1 at 2019-04-12 14:44:51 -0700
+Started POST "/__better_errors/633f16fcd6e96972/eval" for ::1 at 2019-04-12 14:45:08 -0700
+Started GET "/" for ::1 at 2019-04-12 14:46:21 -0700
+
+SyntaxError - syntax error, unexpected end-of-input, expecting keyword_end:
+ app/controllers/tasks_controller.rb:74:in `'
+
+Started POST "/__better_errors/cc57431fe09e5595/variables" for ::1 at 2019-04-12 14:46:21 -0700
+Started GET "/" for ::1 at 2019-04-12 14:47:12 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:3
+ Rendered tasks/index.html.erb within layouts/application (13.1ms)
+Completed 200 OK in 47ms (Views: 35.7ms | ActiveRecord: 5.5ms)
+
+
+Started GET "/tasks/1/complete" for ::1 at 2019-04-12 14:47:14 -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 "/tasks/1/complete" for ::1 at 2019-04-12 14:48:54 -0700
+
+NameError - uninitialized constant TaskController:
+
+Started POST "/__better_errors/b4376f8454842735/variables" for ::1 at 2019-04-12 14:48:54 -0700
+Started GET "/" for ::1 at 2019-04-12 14:57:33 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:3
+ Rendered tasks/index.html.erb within layouts/application (77.9ms)
+Completed 200 OK in 142ms (Views: 75.2ms | ActiveRecord: 54.2ms)
+
+
+Started GET "/tasks/1/complete" for ::1 at 2019-04-12 14:57:37 -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-12 15: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
+ ↳ app/views/tasks/index.html.erb:3
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 27ms (Views: 23.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-12 15:02: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
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 27ms (Views: 23.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1/complete" for ::1 at 2019-04-12 15:03:22 -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-12 15:03:39 -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:4
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 37ms (Views: 33.0ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/1/complete" for ::1 at 2019-04-12 15:03:45 -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 "/tasks/1/complete" for ::1 at 2019-04-12 15:11:47 -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-12 15:12: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:4
+ Rendered tasks/index.html.erb within layouts/application (289.8ms)
+Completed 500 Internal Server Error in 300ms (ActiveRecord: 0.5ms)
+
+
+
+NameError - undefined local variable or method `completion_date' for #<#:0x00007f96452a8a68>
+Did you mean? complete_task_url:
+ app/views/tasks/index.html.erb:19:in `block in _app_views_tasks_index_html_erb__2636130682586575582_70141691120060'
+ app/views/tasks/index.html.erb:17:in `_app_views_tasks_index_html_erb__2636130682586575582_70141691120060'
+
+Started POST "/__better_errors/cac891d8d5b4a126/variables" for ::1 at 2019-04-12 15:12:02 -0700
+Started GET "/" for ::1 at 2019-04-12 15:12: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:4
+ Rendered tasks/index.html.erb within layouts/application (210.8ms)
+Completed 500 Internal Server Error in 219ms (ActiveRecord: 0.3ms)
+
+
+
+NoMethodError - undefined method `completion_date' for #:
+ app/views/tasks/index.html.erb:19:in `block in _app_views_tasks_index_html_erb__2636130682586575582_70141691824180'
+ app/views/tasks/index.html.erb:17:in `_app_views_tasks_index_html_erb__2636130682586575582_70141691824180'
+
+Started POST "/__better_errors/2f01bdbe85bb2dca/variables" for ::1 at 2019-04-12 15:12:17 -0700
+Started GET "/" for ::1 at 2019-04-12 15:12: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:4
+ Rendered tasks/index.html.erb within layouts/application (195.2ms)
+Completed 500 Internal Server Error in 204ms (ActiveRecord: 0.3ms)
+
+
+
+NoMethodError - undefined method `completion_date=' for #:
+ app/views/tasks/index.html.erb:19:in `block in _app_views_tasks_index_html_erb__2636130682586575582_70141683824580'
+ app/views/tasks/index.html.erb:17:in `_app_views_tasks_index_html_erb__2636130682586575582_70141683824580'
+
+Started POST "/__better_errors/0b65e18a06eb09a1/variables" for ::1 at 2019-04-12 15:12:47 -0700
+Started GET "/" for ::1 at 2019-04-12 15:13:13 -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:4
+ Rendered tasks/index.html.erb within layouts/application (186.6ms)
+Completed 500 Internal Server Error in 195ms (ActiveRecord: 0.2ms)
+
+
+
+NoMethodError - undefined method `completion_date' for #:
+ app/views/tasks/index.html.erb:22:in `block in _app_views_tasks_index_html_erb__2636130682586575582_70141654398020'
+ app/views/tasks/index.html.erb:17:in `_app_views_tasks_index_html_erb__2636130682586575582_70141654398020'
+
+Started POST "/__better_errors/cb69985c26977df2/variables" for ::1 at 2019-04-12 15:13:14 -0700
+Started GET "/" for ::1 at 2019-04-12 15:13: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:4
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 37ms (Views: 33.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1/complete" for ::1 at 2019-04-12 15:13:47 -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-12 15:14: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
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 30ms (Views: 27.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-12 15:14:27 -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:4
+ Rendered tasks/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 21ms (Views: 18.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-12 15:14: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
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 22ms (Views: 18.7ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-12 15:14: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:4
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 24ms (Views: 19.7ms | ActiveRecord: 0.3ms)
+
+
+Started POST "/" for ::1 at 2019-04-12 15:14:48 -0700
+
+ActionController::RoutingError (No route matches [POST] "/"):
+
+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 POST "/" for ::1 at 2019-04-12 15:19:38 -0700
+
+ActionController::RoutingError (No route matches [POST] "/"):
+
+actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
+web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
+web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
+railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
+activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
+railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
+sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
+rack (2.0.7) lib/rack/method_override.rb:22:in `call'
+rack (2.0.7) lib/rack/runtime.rb:22:in `call'
+activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
+actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
+rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
+railties (5.2.3) lib/rails/engine.rb:524:in `call'
+puma (3.12.1) lib/puma/configuration.rb:227:in `call'
+puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
+puma (3.12.1) lib/puma/server.rb:474:in `process_client'
+puma (3.12.1) lib/puma/server.rb:334:in `block in run'
+puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
+Started GET "/" for ::1 at 2019-04-12 15:19:39 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected end-of-input, expecting keyword_end
+ end
+ ^:
+ app/views/tasks/index.html.erb:33:in `'
+
+Started POST "/__better_errors/8c1e36842a127b26/variables" for ::1 at 2019-04-12 15:19:39 -0700
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+Started GET "/" for ::1 at 2019-04-12 15:19: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:4
+ Rendered tasks/index.html.erb within layouts/application (7.4ms)
+Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.3ms)
+
+
+
+NoMethodError - undefined method `submit' for #:
+ app/views/tasks/index.html.erb:11:in `block (2 levels) in _app_views_tasks_index_html_erb__2636130682586575582_70141683285380'
+ app/views/tasks/index.html.erb:7:in `block in _app_views_tasks_index_html_erb__2636130682586575582_70141683285380'
+ app/views/tasks/index.html.erb:4:in `_app_views_tasks_index_html_erb__2636130682586575582_70141683285380'
+
+Started POST "/__better_errors/e34482d7c7f46ae2/variables" for ::1 at 2019-04-12 15:19:55 -0700
+Started GET "/" for ::1 at 2019-04-12 15:20:55 -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:4
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 20ms (Views: 16.9ms | ActiveRecord: 0.2ms)
+
+
+Started PATCH "/tasks/1/complete" for ::1 at 2019-04-12 15:20:56 -0700
+
+NameError - uninitialized constant TaskController:
+
+Started POST "/__better_errors/ed374905bd4a90a8/variables" for ::1 at 2019-04-12 15:20:57 -0700
+Started PATCH "/tasks/1/complete" for ::1 at 2019-04-12 15:21:29 -0700
+
+NameError - uninitialized constant TaskController:
+
+Started POST "/__better_errors/964c06813c7ecedb/variables" for ::1 at 2019-04-12 15:21:30 -0700
+Started GET "/" for ::1 at 2019-04-12 15:21: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:4
+ Rendered tasks/index.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 33ms (Views: 29.2ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/1/complete" for ::1 at 2019-04-12 15:21:35 -0700
+
+NameError - uninitialized constant TaskController:
+
+Started POST "/__better_errors/df077c7e3e433d68/variables" for ::1 at 2019-04-12 15:21:35 -0700
+Started POST "/__better_errors/df077c7e3e433d68/eval" for ::1 at 2019-04-12 15:22:41 -0700
+Started POST "/__better_errors/df077c7e3e433d68/eval" for ::1 at 2019-04-12 15:22:47 -0700
+Started GET "/" for ::1 at 2019-04-12 15:23: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:4
+ Rendered tasks/index.html.erb within layouts/application (10.7ms)
+Completed 200 OK in 81ms (Views: 76.1ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/1/complete" for ::1 at 2019-04-12 15:24:00 -0700
+
+NameError - uninitialized constant TaskController:
+
+Started POST "/__better_errors/48ed71ad938d8690/variables" for ::1 at 2019-04-12 15:24:00 -0700
+Started GET "/" for ::1 at 2019-04-12 15: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:4
+ Rendered tasks/index.html.erb within layouts/application (18.5ms)
+Completed 200 OK in 49ms (Views: 36.5ms | ActiveRecord: 5.5ms)
+
+
+Started PATCH "/tasks/1/complete" for ::1 at 2019-04-12 15:28:17 -0700
+Processing by TasksController#complete as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"t+/vaYtQJbMvrKbwyfmQuh9HKvKM4M+BWMJBsgi+Moq6QhxNR7ZtacmGDz7TmN4A0Pxux7iw1KnuvwEEPwsq9A==", "commit"=>"Mark Incomplete", "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:56
+Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.4ms)
+
+
+
+NoMethodError - undefined method `complete=' for #
+Did you mean? completed=
+ completed
+ completed?:
+ app/controllers/tasks_controller.rb:65:in `complete'
+
+Started POST "/__better_errors/da1b7496192f5673/variables" for ::1 at 2019-04-12 15:28:17 -0700
+Started PATCH "/tasks/1/complete" for ::1 at 2019-04-12 15:29:36 -0700
+Processing by TasksController#complete as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"t+/vaYtQJbMvrKbwyfmQuh9HKvKM4M+BWMJBsgi+Moq6QhxNR7ZtacmGDz7TmN4A0Pxux7iw1KnuvwEEPwsq9A==", "commit"=>"Mark Incomplete", "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:56
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 20ms (ActiveRecord: 7.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 15:29: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:4
+ Rendered tasks/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 32ms (Views: 29.4ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/1/complete" for ::1 at 2019-04-12 15:29:46 -0700
+Processing by TasksController#complete as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"gXsktXL+h18Ft01La8Q9+fAPDKEcrAwl2lyrF88m8KKM1teRvhjPheOd5IVxpXNDP7RIlCj8Fw1sIeuh+JPo3A==", "commit"=>"Mark Incomplete", "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:56
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 15:29:46 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 23ms (Views: 21.3ms | ActiveRecord: 0.2ms)
+
+
+Started PATCH "/tasks/1/complete" for ::1 at 2019-04-12 15:29:48 -0700
+Processing by TasksController#complete as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"eXYkvBwqW94APSxTajhKCAjkGG/Y7At/gLRSOqnKUEx029eY0MwTBOYXhZ1wWQSyx19cWuy8EFc2yRKMnn9IMg==", "commit"=>"Mark Incomplete", "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:56
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 15:29:48 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 25ms (Views: 22.9ms | ActiveRecord: 0.2ms)
+
+
+Started PATCH "/tasks/1/complete" for ::1 at 2019-04-12 15:29:51 -0700
+Processing by TasksController#complete as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"2jzaLbW10a+YMB7KyRNjUmmlVBq0BG3I1mE8xNHn9b3XkSkJeVOZdX4atwTTci3oph4QL4BUduBgHHxy5lLtww==", "commit"=>"Mark Incomplete", "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:56
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 15:29: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
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 25ms (Views: 22.8ms | ActiveRecord: 0.2ms)
+
+
+Started PATCH "/tasks/1/complete" for ::1 at 2019-04-12 15:29:52 -0700
+Processing by TasksController#complete as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"mw5aIDwhKHbh6YcAVyK8CrTaL+cr+JOezHEUlHVB54aWo6kE8MdgrAfDLs5NQ/Kwe2Fr0h+oiLZ6DFQiQvT/+A==", "commit"=>"Mark Incomplete", "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:56
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 15:29: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
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 24ms (Views: 22.0ms | ActiveRecord: 0.2ms)
+
+
+Started PATCH "/tasks/1/complete" for ::1 at 2019-04-12 15:29:54 -0700
+Processing by TasksController#complete as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"k2vGQncagGkH1xRisp4dGQpe7HGYkKMCgUllSvAWa++exjVmu/zIs+H9vayo/1OjxeWoRKzAuCo3NCX8x6NzkQ==", "commit"=>"Mark Incomplete", "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:56
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 15:29:54 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (5.2ms)
+Completed 200 OK in 28ms (Views: 25.4ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/1/complete" for ::1 at 2019-04-12 15:29:54 -0700
+Processing by TasksController#complete as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"tvABhtSwDlfHpgULMJ/U13NanfKm7eCxKWFf+mGODaC7XfKiGFZGjSGMrMUq/pptvOHZx5K9+5mfHB9MVjsV3g==", "commit"=>"Mark Incomplete", "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:56
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-12 15:29:54 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 25ms (Views: 22.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 15:56:53 -0700
+ [1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/shirleychu/.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 (5.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (39.7ms)
+Completed 200 OK in 244ms (Views: 221.3ms | ActiveRecord: 13.5ms)
+
+
+Started PATCH "/tasks/1/complete" for ::1 at 2019-04-13 15:56:55 -0700
+
+AbstractController::ActionNotFound - The action 'complete' could not be found for TasksController:
+
+Started POST "/__better_errors/bd5da5720c6d97db/variables" for ::1 at 2019-04-13 15:56:56 -0700
+Started GET "/" for ::1 at 2019-04-13 15:59: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
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (16.0ms)
+Completed 200 OK in 48ms (Views: 35.9ms | ActiveRecord: 5.8ms)
+
+
+Started PATCH "/tasks/1/complete_toggle" for ::1 at 2019-04-13 15:59:34 -0700
+
+AbstractController::ActionNotFound - The action 'complete' could not be found for TasksController:
+
+Started POST "/__better_errors/3cd56567995f6780/variables" for ::1 at 2019-04-13 15:59:34 -0700
+Started GET "/" for ::1 at 2019-04-13 16:00:19 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (17.8ms)
+Completed 200 OK in 52ms (Views: 43.8ms | ActiveRecord: 4.6ms)
+
+
+Started PATCH "/tasks/1/complete_toggle" for ::1 at 2019-04-13 16:00:20 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"V4vmQLFnk1sZHwXGnlm2FuD0F/sn4h8pPsu4Vrw0ba5aJhVkfYHbgf81rAiEOPisL09TzhOyBAGItvjgi4F10A==", "commit"=>"Mark Incomplete", "id"=>"1"}
+ [1m[36mTask Load (1.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:56
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:73
+ [1m[36mTask Update (12.7ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion_date", nil], ["updated_at", "2019-04-13 23:00:20.617404"], ["id", 1]]
+ ↳ app/controllers/tasks_controller.rb:73
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:73
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 27ms (ActiveRecord: 15.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 16:00:20 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (4.2ms)
+Completed 200 OK in 35ms (Views: 31.8ms | ActiveRecord: 1.1ms)
+
+
+Started PATCH "/tasks/3/complete_toggle" for ::1 at 2019-04-13 16:00:25 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"oIwoFy9uEkkzZlziBv8Y1ATtlrvJNTtnOLzYWLljGa2tIdsz44hak9VM9SwcnlZuy1bSjv1lIE+OwZjujtYB0w==", "commit"=>"Mark Incomplete", "id"=>"3"}
+ [1m[36mTask Load (12.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:56
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:73
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion_date", nil], ["updated_at", "2019-04-13 23:00:25.827160"], ["id", 3]]
+ ↳ app/controllers/tasks_controller.rb:73
+ [1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:73
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 19ms (ActiveRecord: 15.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 16:00: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:4
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 25ms (Views: 22.6ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/2/complete_toggle" for ::1 at 2019-04-13 16:00:27 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"pUcZFegqnvJ/GmO88nqgbtbuEGp82LQazWyh/3q2ALmo6uoxJMzWKJkwynLoG+7UGVVUX0iIrzJ7EeFJTQMYxw==", "commit"=>"Mark Incomplete", "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:56
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:73
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion_date", nil], ["updated_at", "2019-04-13 23:00:27.098395"], ["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:73
+ [1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:73
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 7ms (ActiveRecord: 2.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 16:00: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:4
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 24ms (Views: 21.9ms | ActiveRecord: 0.3ms)
+
+
+ [1m[35m (1.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[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
+Migrating to AddCompletionDateColumn (20190413230536)
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[36mActiveRecord::SchemaMigration Create (4.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190413230536"]]
+ ↳ bin/rails:9
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[36mActiveRecord::InternalMetadata Load (3.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.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Migrating to ChangeCompletionDate (20190414013032)
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (12.7ms)[0m [1m[35mALTER TABLE "tasks" ALTER COLUMN "completion_date" TYPE timestamp[0m
+ ↳ db/migrate/20190414013032_change_completion_date.rb:3
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Migrating to ChangeCompletionDate (20190414013032)
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (16.0ms)[0m [1m[35mALTER TABLE "tasks" DROP COLUMN "completion_date"[0m
+ ↳ db/migrate/20190414013032_change_completion_date.rb:3
+ [1m[35m (4.7ms)[0m [1m[35mALTER TABLE "tasks" ADD "completion_date" timestamp[0m
+ ↳ db/migrate/20190414013032_change_completion_date.rb:4
+ [1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190414013032"]]
+ ↳ bin/rails:9
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [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[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[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
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Update (1.8ms)[0m [1m[33mUPDATE "tasks" SET "updated_at" = $1, "completion_date" = $2 WHERE "tasks"."id" = $3[0m [["updated_at", "2019-04-14 01:42:53.962234"], ["completion_date", "2019-04-11 00:00:00"], ["id", 1]]
+ [1m[35m (2.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "updated_at" = $1, "completion_date" = $2 WHERE "tasks"."id" = $3[0m [["updated_at", "2019-04-14 01:42:56.173640"], ["completion_date", "2019-04-08 00:00:00"], ["id", 3]]
+ [1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "updated_at" = $1, "completion_date" = $2 WHERE "tasks"."id" = $3[0m [["updated_at", "2019-04-14 01:43:59.937566"], ["completion_date", "2019-04-09 00:00:00"], ["id", 2]]
+ [1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
+Started GET "/tasks/1" for ::1 at 2019-04-13 18:57:23 -0700
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/shirleychu/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+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.8ms)
+Completed 200 OK in 45ms (Views: 26.3ms | ActiveRecord: 6.1ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-13 18:57:40 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (9.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/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (12.5ms)
+ Rendered tasks/edit.html.erb within layouts/application (15.2ms)
+Completed 200 OK in 46ms (Views: 33.0ms | ActiveRecord: 9.5ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-13 18:59: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]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.0ms)
+ Rendered tasks/edit.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 33ms (Views: 28.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-13 18:59:50 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (3.0ms)
+ Rendered tasks/edit.html.erb within layouts/application (4.8ms)
+Completed 200 OK in 31ms (Views: 26.5ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-13 18:59:56 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.6ms)
+ Rendered tasks/edit.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 23ms (Views: 18.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-13 19:00: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]]
+ ↳ app/controllers/tasks_controller.rb:30
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (16.7ms)
+ Rendered tasks/edit.html.erb within layouts/application (18.5ms)
+Completed 200 OK in 42ms (Views: 38.1ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/1" for ::1 at 2019-04-13 19:00:45 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"lQAT/ZwTASXuIY9FujqpLPtZSP3VphEAP6jwSbF9STiYreDZUPVJ/wgLJougW+eWNOIMyOH2CiiJ1bD/hshRRg==", "task"=>{"name"=>"clean room", "description"=>"make bed, tidy up", "completion_date"=>"2019-04-11"}, "commit"=>"Edit 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:40
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:49
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:49
+Redirected to http://localhost:3000/tasks/1
+Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-13 19:00: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.6ms)
+Completed 200 OK in 29ms (Views: 26.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 19:00:48 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (194.9ms)
+Completed 500 Internal Server Error in 203ms (ActiveRecord: 0.3ms)
+
+
+
+NoMethodError - undefined method `completion_date' for #:
+ app/views/tasks/index.html.erb:11:in `block (2 levels) in _app_views_tasks_index_html_erb___125459206914793528_70296759323200'
+ app/views/tasks/index.html.erb:7:in `block in _app_views_tasks_index_html_erb___125459206914793528_70296759323200'
+ app/views/tasks/index.html.erb:4:in `_app_views_tasks_index_html_erb___125459206914793528_70296759323200'
+
+Started POST "/__better_errors/b4a22930f9be7183/variables" for ::1 at 2019-04-13 19:00:49 -0700
+Started GET "/" for ::1 at 2019-04-13 19:00: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:4
+ Rendered tasks/index.html.erb within layouts/application (207.5ms)
+Completed 500 Internal Server Error in 216ms (ActiveRecord: 0.3ms)
+
+
+
+NoMethodError - undefined method `completion_date' for #:
+ app/views/tasks/index.html.erb:11:in `block (2 levels) in _app_views_tasks_index_html_erb___125459206914793528_70296759642100'
+ app/views/tasks/index.html.erb:7:in `block in _app_views_tasks_index_html_erb___125459206914793528_70296759642100'
+ app/views/tasks/index.html.erb:4:in `_app_views_tasks_index_html_erb___125459206914793528_70296759642100'
+
+Started POST "/__better_errors/2b07976aa1bc2439/variables" for ::1 at 2019-04-13 19:00:56 -0700
+Started GET "/" for ::1 at 2019-04-13 19:01:10 -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:4
+ Rendered tasks/index.html.erb within layouts/application (268.7ms)
+Completed 500 Internal Server Error in 278ms (ActiveRecord: 0.7ms)
+
+
+
+NoMethodError - undefined method `completion_date' for #:
+ app/views/tasks/index.html.erb:11:in `block (2 levels) in _app_views_tasks_index_html_erb___125459206914793528_70296721241620'
+ app/views/tasks/index.html.erb:7:in `block in _app_views_tasks_index_html_erb___125459206914793528_70296721241620'
+ app/views/tasks/index.html.erb:4:in `_app_views_tasks_index_html_erb___125459206914793528_70296721241620'
+
+Started POST "/__better_errors/6c221aaca294bff5/variables" for ::1 at 2019-04-13 19:01:11 -0700
+Started POST "/__better_errors/6c221aaca294bff5/eval" for ::1 at 2019-04-13 19:01:25 -0700
+Started POST "/__better_errors/6c221aaca294bff5/eval" for ::1 at 2019-04-13 19:01:36 -0700
+Started POST "/__better_errors/6c221aaca294bff5/eval" for ::1 at 2019-04-13 19:01:51 -0700
+Started POST "/__better_errors/6c221aaca294bff5/variables" for ::1 at 2019-04-13 19:02:07 -0700
+Started POST "/__better_errors/6c221aaca294bff5/variables" for ::1 at 2019-04-13 19:02:18 -0700
+Started GET "/" for ::1 at 2019-04-13 19:03: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:4
+ Rendered tasks/index.html.erb within layouts/application (233.3ms)
+Completed 500 Internal Server Error in 242ms (ActiveRecord: 0.3ms)
+
+
+
+NoMethodError - undefined method `completion_date' for #:
+ app/views/tasks/index.html.erb:11:in `block (2 levels) in _app_views_tasks_index_html_erb___125459206914793528_70296762321640'
+ app/views/tasks/index.html.erb:7:in `block in _app_views_tasks_index_html_erb___125459206914793528_70296762321640'
+ app/views/tasks/index.html.erb:4:in `_app_views_tasks_index_html_erb___125459206914793528_70296762321640'
+
+Started POST "/__better_errors/3c55dc5cd69e3616/variables" for ::1 at 2019-04-13 19:03:04 -0700
+Started GET "/" for ::1 at 2019-04-13 19:04:07 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (220.0ms)
+Completed 500 Internal Server Error in 228ms (ActiveRecord: 0.2ms)
+
+
+
+NoMethodError - undefined method `completion_date' for #:
+ app/views/tasks/index.html.erb:8:in `block (2 levels) in _app_views_tasks_index_html_erb___125459206914793528_70296758034280'
+ app/views/tasks/index.html.erb:7:in `block in _app_views_tasks_index_html_erb___125459206914793528_70296758034280'
+ app/views/tasks/index.html.erb:4:in `_app_views_tasks_index_html_erb___125459206914793528_70296758034280'
+
+Started POST "/__better_errors/32782957721363ea/variables" for ::1 at 2019-04-13 19:04:08 -0700
+Started POST "/__better_errors/32782957721363ea/eval" for ::1 at 2019-04-13 19:05:28 -0700
+Started GET "/" for ::1 at 2019-04-13 19:07: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:4
+ Rendered tasks/index.html.erb within layouts/application (186.5ms)
+Completed 500 Internal Server Error in 196ms (ActiveRecord: 0.3ms)
+
+
+
+NoMethodError - undefined method `completion_date' for #:
+ app/views/tasks/index.html.erb:8:in `block (2 levels) in _app_views_tasks_index_html_erb___125459206914793528_70296763855500'
+ app/views/tasks/index.html.erb:7:in `block in _app_views_tasks_index_html_erb___125459206914793528_70296763855500'
+ app/views/tasks/index.html.erb:4:in `_app_views_tasks_index_html_erb___125459206914793528_70296763855500'
+
+Started POST "/__better_errors/06dde5d7b70e53e9/variables" for ::1 at 2019-04-13 19:07:05 -0700
+Started POST "/__better_errors/06dde5d7b70e53e9/eval" for ::1 at 2019-04-13 19:07:13 -0700
+Started GET "/" for ::1 at 2019-04-13 19:11:03 -0700
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/shirleychu/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (1.1ms)
+Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - `@' without identifiers is not allowed as an instance variable name
+/Users/shirleychu/Documents/Ada/Projects/TaskList/app/views/tasks/index.html.erb:7: syntax error, unexpected end-of-input
+...fer.append= form_with model:@ task, url: complete_task_path...
+... ^~:
+ app/views/tasks/index.html.erb:7:in `'
+
+Started POST "/__better_errors/d2e0e8a36cff3173/variables" for ::1 at 2019-04-13 19:11:03 -0700
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+Started GET "/" for ::1 at 2019-04-13 19:11: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
+ ↳ app/views/tasks/index.html.erb:4
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ Rendered tasks/index.html.erb within layouts/application (190.4ms)
+Completed 500 Internal Server Error in 199ms (ActiveRecord: 0.6ms)
+
+
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+
+NoMethodError - undefined method `completion_date' for #:
+ app/views/tasks/index.html.erb:8:in `block (2 levels) in _app_views_tasks_index_html_erb___797602437760304021_70221272548680'
+ app/views/tasks/index.html.erb:7:in `block in _app_views_tasks_index_html_erb___797602437760304021_70221272548680'
+ app/views/tasks/index.html.erb:4:in `_app_views_tasks_index_html_erb___797602437760304021_70221272548680'
+
+Started POST "/__better_errors/b34386664292fce6/variables" for ::1 at 2019-04-13 19:11:21 -0700
+Started GET "/" for ::1 at 2019-04-13 19:11:57 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.7ms)
+Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected keyword_class, expecting ')'
+....submit "Mark Incomplete" class: "task-button");@output_buff...
+... ^~~~~:
+ app/views/tasks/index.html.erb:8:in `'
+
+Started POST "/__better_errors/ef8c86ba0a0fc050/variables" for ::1 at 2019-04-13 19:11:58 -0700
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+Started GET "/" for ::1 at 2019-04-13 19:12: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:4
+ Rendered tasks/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 157ms (Views: 153.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-13 19:12:12 -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.6ms)
+Completed 200 OK in 40ms (Views: 16.8ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-13 19:12:17 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (15.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/_form.html.erb (13.8ms)
+ Rendered tasks/edit.html.erb within layouts/application (17.4ms)
+Completed 200 OK in 52ms (Views: 32.3ms | ActiveRecord: 15.9ms)
+
+
+Started PATCH "/tasks/1" for ::1 at 2019-04-13 19:12:21 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"NzIj0v5RZpbYogFbQJkSsnGJGDzHyY6PT227ujefhdOA4HUur96O8y7kwQx/aeS8QMLpalSwV61J2JaWmfSATg==", "task"=>{"name"=>"clean room", "description"=>"make bed, tidy up", "completion_date"=>"2019-04-10"}, "commit"=>"Edit 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:40
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:49
+ [1m[36mTask Update (0.7ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion_date", "2019-04-10 00:00:00"], ["updated_at", "2019-04-14 02:12:21.572461"], ["id", 1]]
+ ↳ app/controllers/tasks_controller.rb:49
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:49
+Redirected to http://localhost:3000/tasks/1
+Completed 302 Found in 9ms (ActiveRecord: 1.8ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-13 19:12:21 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 37ms (Views: 34.2ms | ActiveRecord: 0.2ms)
+
+
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+Started GET "/" for ::1 at 2019-04-13 19:13:17 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (4.2ms)
+Completed 200 OK in 30ms (Views: 24.1ms | ActiveRecord: 1.5ms)
+
+
+Started PATCH "/tasks/1/complete_toggle" for ::1 at 2019-04-13 19:13:21 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"sC8r2ksHsJTP9ps7+kp9gREMJ1XOm7PgvigZRC6iHlS9gtj+h+H4TincMvXgKzM73rdjYPrLqMgIVVnyGRcGKg==", "commit"=>"Mark Incomplete", "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:56
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:73
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion_date", nil], ["updated_at", "2019-04-14 02:13:21.781202"], ["id", 1]]
+ ↳ app/controllers/tasks_controller.rb:73
+ [1m[35m (3.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:73
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 11ms (ActiveRecord: 4.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 19:13:21 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 24ms (Views: 21.4ms | ActiveRecord: 0.4ms)
+
+
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+Started PATCH "/tasks/1/complete_toggle" for ::1 at 2019-04-13 19:13:37 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"qmQCRYFFIv6j4yEv9978eM/jqapVfyjYfEMCdzEkR1CnyfFhTaNqJEXJiOHtv7LCAFjtn2EvM/DKPkLBBpFfLg==", "commit"=>"Mark Incomplete", "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:56
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:73
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 02:13:37.439871"], ["completed", true], ["updated_at", "2019-04-14 02:13:37.440898"], ["id", 1]]
+ ↳ app/controllers/tasks_controller.rb:73
+ [1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:73
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 7ms (ActiveRecord: 1.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 19:13: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:4
+ Rendered tasks/index.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 46ms (Views: 43.9ms | ActiveRecord: 0.3ms)
+
+
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+Started GET "/tasks" for ::1 at 2019-04-13 19:15:36 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (4.7ms)
+Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected end-of-input, expecting keyword_end
+ end
+ ^:
+ app/views/tasks/index.html.erb:26:in `'
+
+Started POST "/__better_errors/5545345a9bbcf32d/variables" for ::1 at 2019-04-13 19:15:36 -0700
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.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-13 19:15:48 -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:4
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ Rendered tasks/index.html.erb within layouts/application (192.8ms)
+Completed 500 Internal Server Error in 201ms (ActiveRecord: 1.3ms)
+
+
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+ [1m[36mCACHE Task Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb:8
+
+NoMethodError - undefined method `completion_date' for #:
+ app/views/tasks/index.html.erb:8:in `block (2 levels) in _app_views_tasks_index_html_erb___797602437760304021_70221240268220'
+ app/views/tasks/index.html.erb:7:in `block in _app_views_tasks_index_html_erb___797602437760304021_70221240268220'
+ app/views/tasks/index.html.erb:4:in `_app_views_tasks_index_html_erb___797602437760304021_70221240268220'
+
+Started POST "/__better_errors/714fec4985ebfdce/variables" for ::1 at 2019-04-13 19:15:48 -0700
+Started POST "/__better_errors/714fec4985ebfdce/eval" for ::1 at 2019-04-13 19:16:04 -0700
+Started POST "/__better_errors/714fec4985ebfdce/eval" for ::1 at 2019-04-13 19:16:09 -0700
+Started GET "/tasks" for ::1 at 2019-04-13 19:17:29 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 27ms (Views: 24.1ms | ActiveRecord: 0.4ms)
+
+
+Started PATCH "/tasks/3/complete_toggle" for ::1 at 2019-04-13 19:17:33 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"mUA5BZiCv3t0gTpLZPeTkAhbOy1K1IEOYoC9zB//NXuU7cohVGT3oZKrk4V+lt0qx+B/GH6EmibU/f16KEotBQ==", "commit"=>"Unmark Complete", "id"=>"3"}
+ [1m[36mTask Load (0.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:56
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:73
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion_date", nil], ["updated_at", "2019-04-14 02:17:33.895970"], ["id", 3]]
+ ↳ app/controllers/tasks_controller.rb:73
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:73
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 8ms (ActiveRecord: 2.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 19:17: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
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 21ms (Views: 19.0ms | ActiveRecord: 0.2ms)
+
+
+Started PATCH "/tasks/3/complete_toggle" for ::1 at 2019-04-13 19:17:38 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"w7i2uyjOuv+kWrjRtX5kv0UK7dM7zFfthpA8jPYur8DOFUWf5CjyJUJwER+vHyoFirGp5g+cTMUw7Xw6wZu3vg==", "commit"=>"Mark Complete", "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:56
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:73
+ [1m[36mTask Update (0.7ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 02:17:38.269395"], ["completed", true], ["updated_at", "2019-04-14 02:17:38.270763"], ["id", 3]]
+ ↳ app/controllers/tasks_controller.rb:73
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:73
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 7ms (ActiveRecord: 1.7ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 19:17: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:4
+ Rendered tasks/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 33ms (Views: 30.3ms | ActiveRecord: 0.4ms)
+
+
+Started PATCH "/tasks/3/complete_toggle" for ::1 at 2019-04-13 19:17:39 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"an+gJWEWJ+62oc3uJFTSwsjdl9Df8JQ9DgnS6PXhncpn0lMBrfBvNFCLZCA+NZx4B2bT5eugjxW4dJJewlSFtA==", "commit"=>"Unmark Complete", "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:56
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:73
+ [1m[36mTask Update (0.7ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 02:17:39.962588"], ["id", 3]]
+ ↳ app/controllers/tasks_controller.rb:73
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:73
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 8ms (ActiveRecord: 2.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 19:17: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:4
+ Rendered tasks/index.html.erb within layouts/application (4.2ms)
+Completed 200 OK in 26ms (Views: 23.5ms | ActiveRecord: 0.6ms)
+
+
+Started PATCH "/tasks/3/complete_toggle" for ::1 at 2019-04-13 19:17:40 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"NrGgueCCWakM/W0FXIW/UJ1HB+BBLmEJ0L7Pvb/nIfY7HFOdLGQRc+rXxMtG5PHqUvxD1XV+eiFmw48LiFI5iA==", "commit"=>"Mark Complete", "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:56
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:73
+ [1m[36mTask Update (0.7ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 02:17:41.002124"], ["completed", true], ["updated_at", "2019-04-14 02:17:41.003551"], ["id", 3]]
+ ↳ app/controllers/tasks_controller.rb:73
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:73
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 7ms (ActiveRecord: 1.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 19:17:41 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 26ms (Views: 23.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-13 19:17:43 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.4ms)
+ Rendered tasks/new.html.erb within layouts/application (5.5ms)
+Completed 200 OK in 38ms (Views: 32.7ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-13 19:17:52 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"ugWwqClMqMJQ8+EJXwHIFBhsdu0b9ST6VDYD4LiiLCVln8I0JQsFesb0KVyLnPWWYoEwQaXUWAcyQPzeFPbvxw==", "task"=>{"name"=>"Eat Chips", "description"=>"Let's eat junk", "completion_date"=>""}, "commit"=>"New Task!"}
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:23
+ [1m[36mTask Create (3.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Eat Chips"], ["description", "Let's eat junk"], ["created_at", "2019-04-14 02:17:52.565692"], ["updated_at", "2019-04-14 02:17:52.565692"]]
+ ↳ app/controllers/tasks_controller.rb:23
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:23
+Redirected to http://localhost:3000/tasks/4
+Completed 302 Found in 9ms (ActiveRecord: 4.1ms)
+
+
+Started GET "/tasks/4" for ::1 at 2019-04-13 19:17:52 -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.2ms)
+Completed 200 OK in 30ms (Views: 26.6ms | ActiveRecord: 0.2ms)
+
+
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks/4" for ::1 at 2019-04-13 20:56:57 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 74ms (Views: 44.5ms | ActiveRecord: 5.7ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 20:57: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:4
+ Rendered tasks/index.html.erb within layouts/application (4.2ms)
+Completed 200 OK in 40ms (Views: 35.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 20:57:05 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 33ms (Views: 30.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 20:57: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:4
+ Rendered tasks/index.html.erb within layouts/application (4.4ms)
+Completed 200 OK in 39ms (Views: 35.6ms | ActiveRecord: 0.3ms)
+
+
+Started DELETE "/tasks/4" for ::1 at 2019-04-13 20:57:37 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"7xJM6Xz8hipi7olyvodPXChw2OBDbc7EKYbgZ0KDgAniv7/NsBrO8ITEILyk5gHm58uc1Xc91eyf+6DRdTaYdw==", "id"=>"4"}
+ [1m[36mTask Load (2.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:54
+ [1m[36mTask Destroy (2.7ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 4]]
+ ↳ app/controllers/tasks_controller.rb:54
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:54
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 14ms (ActiveRecord: 7.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 20:57: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:4
+ Rendered tasks/index.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 37ms (Views: 34.6ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-13 20:57: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.8ms)
+Completed 200 OK in 32ms (Views: 27.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-13 21:00:03 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 500 Internal Server Error in 48ms (ActiveRecord: 0.2ms)
+
+
+
+NameError - uninitialized constant ActionView::CompiledTemplates::TasksAPP:
+ app/views/layouts/application.html.erb:14:in `_app_views_layouts_application_html_erb___173029069897378193_70221274686980'
+
+Started POST "/__better_errors/e0f90b43e9adcc86/variables" for ::1 at 2019-04-13 21:00:03 -0700
+Started GET "/tasks" for ::1 at 2019-04-13 21:00:15 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 23ms (Views: 20.0ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 21:00:17 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (2.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (6.5ms)
+Completed 200 OK in 39ms (Views: 32.0ms | ActiveRecord: 2.2ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-13 21:00:19 -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 (2.7ms)
+Completed 200 OK in 55ms (Views: 45.0ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 21:00: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:4
+ Rendered tasks/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 38ms (Views: 35.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 21:04: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:4
+ Rendered tasks/index.html.erb within layouts/application (4.9ms)
+Completed 200 OK in 81ms (Views: 77.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 21:05: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:4
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 29ms (Views: 26.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 21:05:44 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 35ms (Views: 31.9ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 21:05:56 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 29ms (Views: 25.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 21:06: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:4
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 41ms (Views: 37.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 21:06:35 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 38ms (Views: 34.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 21:09: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
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (4.7ms)
+Completed 200 OK in 30ms (Views: 27.2ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/2/edit" for ::1 at 2019-04-13 21:09:52 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (2.5ms)[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/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.1ms)
+ Rendered tasks/edit.html.erb within layouts/application (4.3ms)
+Completed 200 OK in 29ms (Views: 21.5ms | ActiveRecord: 2.5ms)
+
+
+Started PATCH "/tasks/2" for ::1 at 2019-04-13 21:09:59 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"hBpb8C2uYO4nMFrAuHFNtCdXhRrDc9Mtj7O4XQFu1VECh2uP9raYF6JV2WbHSHB5jvfXDbv1dbukzRyFX0Bthg==", "task"=>{"name"=>"Grocery Run", "description"=>"go to Safeway", "completion_date"=>"2019-04-09"}, "commit"=>"Edit Task", "id"=>"2"}
+ [1m[36mTask Load (0.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:46
+ [1m[36mTask Update (0.6ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "Grocery Run"], ["updated_at", "2019-04-14 04:09:59.351391"], ["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:46
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:46
+Redirected to http://localhost:3000/tasks/2
+Completed 302 Found in 9ms (ActiveRecord: 2.5ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-13 21:09:59 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb: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.9ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 21:10:03 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (10.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (14.7ms)
+Completed 200 OK in 42ms (Views: 28.1ms | ActiveRecord: 10.6ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-13 21:10:08 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (15.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 (1.0ms)
+Completed 200 OK in 39ms (Views: 20.7ms | ActiveRecord: 15.3ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-13 21:10:10 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.5ms)
+ Rendered tasks/edit.html.erb within layouts/application (4.6ms)
+Completed 200 OK in 30ms (Views: 26.4ms | ActiveRecord: 0.4ms)
+
+
+Started PATCH "/tasks/1" for ::1 at 2019-04-13 21:10:17 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"c+sOxvtOGYC6oJgn0GuZ1uHUADWqWMHfuE9Q+eFMQlHEOVg6qsHx5UzmWHDvm2/Y0J/xYzkhGP2++n3VTydHzA==", "task"=>{"name"=>"Clean Room", "description"=>"make bed, tidy up", "completion_date"=>"2019-04-14"}, "commit"=>"Edit Task", "id"=>"1"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:46
+ [1m[36mTask Update (0.6ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "completion_date" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["name", "Clean Room"], ["completion_date", "2019-04-14 00:00:00"], ["updated_at", "2019-04-14 04:10:17.177196"], ["id", 1]]
+ ↳ app/controllers/tasks_controller.rb:46
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:46
+Redirected to http://localhost:3000/tasks/1
+Completed 302 Found in 10ms (ActiveRecord: 2.2ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-13 21:10:17 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 28ms (Views: 24.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 21:10:19 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (32.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (35.8ms)
+Completed 200 OK in 58ms (Views: 22.0ms | ActiveRecord: 32.8ms)
+
+
+Started GET "/tasks/3" for ::1 at 2019-04-13 21:10:21 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (16.9ms)[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 (4.8ms)
+Completed 200 OK in 50ms (Views: 29.2ms | ActiveRecord: 16.9ms)
+
+
+Started GET "/tasks/3/edit" for ::1 at 2019-04-13 21:10:23 -0700
+Processing by TasksController#edit 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:8
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.0ms)
+ Rendered tasks/edit.html.erb within layouts/application (4.6ms)
+Completed 200 OK in 27ms (Views: 23.2ms | ActiveRecord: 0.2ms)
+
+
+Started PATCH "/tasks/3" for ::1 at 2019-04-13 21:10:35 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"ee0XFIc1f+Dh+Y7IFilv4Pt7r76un7rCUwjQaHIoD/vDoWDa/4rAB5nBp8LQI4B4AmM2N6uBBuoKfozN8ufP/Q==", "task"=>{"name"=>"Walk Dog", "description"=>"Mickey wants a walk", "completion_date"=>"2019-04-14"}, "commit"=>"Edit Task", "id"=>"3"}
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:46
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "description" = $2, "completion_date" = $3, "updated_at" = $4 WHERE "tasks"."id" = $5[0m [["name", "Walk Dog"], ["description", "Mickey wants a walk"], ["completion_date", "2019-04-14 00:00:00"], ["updated_at", "2019-04-14 04:10:35.575122"], ["id", 3]]
+ ↳ app/controllers/tasks_controller.rb:46
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:46
+Redirected to http://localhost:3000/tasks/3
+Completed 302 Found in 7ms (ActiveRecord: 1.9ms)
+
+
+Started GET "/tasks/3" for ::1 at 2019-04-13 21:10:35 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 26ms (Views: 23.8ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-13 21:10: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:4
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 22ms (Views: 19.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 14:33:20 -0700
+ [1m[35m (3.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/shirleychu/.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 (16.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (268.8ms)
+Completed 500 Internal Server Error in 287ms (ActiveRecord: 24.0ms)
+
+
+
+NameError - undefined local variable or method `button' for #<#:0x00007fd818ca74f0>
+Did you mean? button_to:
+ app/views/tasks/index.html.erb:9:in `block (2 levels) in _app_views_tasks_index_html_erb___230562169942864848_70283063610520'
+ app/views/tasks/index.html.erb:7:in `block in _app_views_tasks_index_html_erb___230562169942864848_70283063610520'
+ app/views/tasks/index.html.erb:4:in `_app_views_tasks_index_html_erb___230562169942864848_70283063610520'
+
+Started POST "/__better_errors/59e36f77c8fdfd7c/variables" for ::1 at 2019-04-14 14:33:21 -0700
+Started GET "/" for ::1 at 2019-04-14 14:33: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:4
+ Rendered tasks/index.html.erb within layouts/application (401.3ms)
+Completed 500 Internal Server Error in 410ms (ActiveRecord: 0.3ms)
+
+
+
+NameError - undefined local variable or method `button' for #<#:0x00007fd81874e508>
+Did you mean? button_to:
+ app/views/tasks/index.html.erb:10:in `block (2 levels) in _app_views_tasks_index_html_erb___230562169942864848_70283049990220'
+ app/views/tasks/index.html.erb:7:in `block in _app_views_tasks_index_html_erb___230562169942864848_70283049990220'
+ app/views/tasks/index.html.erb:4:in `_app_views_tasks_index_html_erb___230562169942864848_70283049990220'
+
+Started POST "/__better_errors/3bd4b0532d1cd9df/variables" for ::1 at 2019-04-14 14:34:00 -0700
+Started GET "/" for ::1 at 2019-04-14 14:34: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:4
+ Rendered tasks/index.html.erb within layouts/application (396.4ms)
+Completed 500 Internal Server Error in 404ms (ActiveRecord: 0.3ms)
+
+
+
+NameError - undefined local variable or method `button' for #<#:0x00007fd81d91a2b0>
+Did you mean? button_to:
+ app/views/tasks/index.html.erb:10:in `block (2 levels) in _app_views_tasks_index_html_erb___230562169942864848_70283092874720'
+ app/views/tasks/index.html.erb:7:in `block in _app_views_tasks_index_html_erb___230562169942864848_70283092874720'
+ app/views/tasks/index.html.erb:4:in `_app_views_tasks_index_html_erb___230562169942864848_70283092874720'
+
+Started POST "/__better_errors/e402ba285a005a8c/variables" for ::1 at 2019-04-14 14:34:18 -0700
+Started GET "/" for ::1 at 2019-04-14 14:34:40 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (4.9ms)
+Completed 200 OK in 234ms (Views: 230.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 14:38:35 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 35ms (Views: 32.1ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 14:40: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:4
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 28ms (Views: 24.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 14:40: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:4
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 20ms (Views: 16.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 14:40: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:4
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 20ms (Views: 17.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 14:40:46 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 24ms (Views: 21.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 14:41: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
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 28ms (Views: 24.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 14:43: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:4
+ Rendered tasks/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 34ms (Views: 30.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 14:43:50 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 27ms (Views: 25.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 14:43: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
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 28ms (Views: 25.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 14:45: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:4
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 40ms (Views: 37.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-14 14:46:50 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 64ms (Views: 25.1ms | ActiveRecord: 1.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 14:47:02 -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:4
+ Rendered tasks/index.html.erb within layouts/application (4.3ms)
+Completed 200 OK in 30ms (Views: 26.2ms | ActiveRecord: 1.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 14:47: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:4
+ Rendered tasks/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 27ms (Views: 24.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 14:52: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:4
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 43ms (Views: 39.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 14:56: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:4
+ Rendered tasks/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 56ms (Views: 52.7ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/2/complete_toggle" for ::1 at 2019-04-14 14:56:37 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"NW1jIDh4WFlvT2k2JO+vUnZcj+k9/SMcvtyKHxdfeyUW3ycDqAfLePRp/sGlzxxVa34emxnu97OVZhNMgDDLGQ==", "commit"=>"Unmark Complete", "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
+ [1m[35m (5.3ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[36mTask Update (7.5ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion_date", nil], ["updated_at", "2019-04-14 21:56:37.377207"], ["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:72
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 20ms (ActiveRecord: 13.6ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 14:56:37 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (8.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (11.3ms)
+Completed 200 OK in 45ms (Views: 34.6ms | ActiveRecord: 8.1ms)
+
+
+Started PATCH "/tasks/2/complete_toggle" for ::1 at 2019-04-14 14:56:40 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"yiDZE9Wdfnv5HCOVKYZytpW8+1L+Qwn/jTxGoNPN2Ynpkp0wReLtWmI6tGKopsGxiJ5qINpQ3VCmht/zRKJptQ==", "commit"=>"Mark Complete", "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
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 21:56:40.975559"], ["completed", true], ["updated_at", "2019-04-14 21:56:40.976677"], ["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:72
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 7ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 14:56:40 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (12.4ms)
+Completed 200 OK in 33ms (Views: 30.7ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/2/complete_toggle" for ::1 at 2019-04-14 14:56:42 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"+EjIdtElZj+ywonJ+zYwuAaZ2AwRi0JZ/Q2GW/ACcYTb+oxVQVr1HinkHj56FoO/G7tJfjWYlvbWtx8IZ23BuA==", "commit"=>"Unmark Complete", "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
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 21:56:42.938264"], ["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:72
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 6ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 14:56: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
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 25ms (Views: 23.1ms | ActiveRecord: 0.2ms)
+
+
+Started PATCH "/tasks/2/complete_toggle" for ::1 at 2019-04-14 14:56:43 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"uTfg7RZfYfLHRXBmBVU61+I6gh9VmOf/tBWADC3wF2yahaTOhiDy01xj55GEdYnQ/xgTbXGLM1Cfrxlfup+nUA==", "commit"=>"Mark Complete", "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:8
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 21:56:44.001660"], ["completed", true], ["updated_at", "2019-04-14 21:56:44.002521"], ["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:72
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 7ms (ActiveRecord: 2.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 14:56: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
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 25ms (Views: 22.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 14: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
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 27ms (Views: 25.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 14:59: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
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 55ms (Views: 52.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:00:05 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 31ms (Views: 28.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:00:17 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 20ms (Views: 18.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:00: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
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 20ms (Views: 17.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:05:06 -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:4
+ Rendered tasks/index.html.erb within layouts/application (5.0ms)
+Completed 200 OK in 72ms (Views: 69.3ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:05:21 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 41ms (Views: 37.9ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 15:05:45 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 40ms (Views: 36.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-14 15:07:33 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (23.9ms)
+ Rendered tasks/edit.html.erb within layouts/application (26.5ms)
+Completed 200 OK in 51ms (Views: 46.5ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:07:38 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (23.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:4
+ Rendered tasks/index.html.erb within layouts/application (28.6ms)
+Completed 200 OK in 54ms (Views: 26.8ms | ActiveRecord: 23.6ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-14 15:07:39 -0700
+Processing by TasksController#show 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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 42ms (Views: 34.1ms | ActiveRecord: 0.9ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:07:46 -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:4
+ Rendered tasks/index.html.erb within layouts/application (4.2ms)
+Completed 200 OK in 25ms (Views: 22.0ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:08:29 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:9
+ Rendered tasks/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 20ms (Views: 17.3ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:14:46 -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:9
+ Rendered tasks/index.html.erb within layouts/application (4.0ms)
+Completed 200 OK in 83ms (Views: 78.8ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:18: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
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (10.7ms)
+Completed 500 Internal Server Error in 64ms (ActiveRecord: 0.6ms)
+
+
+
+Sass::SyntaxError - Invalid CSS after "...padding-bottom:": expected expression (e.g. 1px, bold), was "}":
+ app/views/layouts/application.html.erb:8:in `_app_views_layouts_application_html_erb__3914692438764928191_70283082699560'
+
+Started POST "/__better_errors/a7b0a03f2e64c555/variables" for ::1 at 2019-04-14 15:18:23 -0700
+Started GET "/" for ::1 at 2019-04-14 15:18: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:10
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 49ms (Views: 45.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:19:39 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 500 Internal Server Error in 23ms (ActiveRecord: 0.3ms)
+
+
+
+Sass::SyntaxError - Invalid CSS after "background-size": expected ";", was ": 100% 20px;":
+ app/views/layouts/application.html.erb:8:in `_app_views_layouts_application_html_erb__3914692438764928191_70283093839140'
+
+Started POST "/__better_errors/ae7a730935995bb9/variables" for ::1 at 2019-04-14 15:19:39 -0700
+Started GET "/" for ::1 at 2019-04-14 15:19:59 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (4.1ms)
+Completed 500 Internal Server Error in 26ms (ActiveRecord: 0.4ms)
+
+
+
+Sass::SyntaxError - Invalid CSS after "background-size": expected ";", was ": 100%, 20px;":
+ app/views/layouts/application.html.erb:8:in `_app_views_layouts_application_html_erb__3914692438764928191_70283094133700'
+
+Started POST "/__better_errors/d7ddb0474ae9e4f9/variables" for ::1 at 2019-04-14 15:19:59 -0700
+Started GET "/" for ::1 at 2019-04-14 15:20:14 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 40ms (Views: 37.7ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15: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
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 24ms (Views: 20.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:24:13 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (4.1ms)
+Completed 200 OK in 40ms (Views: 36.6ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:25: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
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 30ms (Views: 27.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/images/journal.jpeg" for ::1 at 2019-04-14 15:25:04 -0700
+
+ActionController::RoutingError (No route matches [GET] "/images/journal.jpeg"):
+
+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-14 15:25: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:10
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 33ms (Views: 30.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/images/journal.jpeg" for ::1 at 2019-04-14 15:25:33 -0700
+
+ActionController::RoutingError (No route matches [GET] "/images/journal.jpeg"):
+
+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-14 15:26: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:10
+ Rendered tasks/index.html.erb within layouts/application (4.3ms)
+Completed 200 OK in 37ms (Views: 34.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/images/journal.jpeg" for ::1 at 2019-04-14 15:26:17 -0700
+
+ActionController::RoutingError (No route matches [GET] "/images/journal.jpeg"):
+
+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 "/images/journal.jpeg" for ::1 at 2019-04-14 15:26:33 -0700
+
+ActionController::RoutingError (No route matches [GET] "/images/journal.jpeg"):
+
+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-14 15:27: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:10
+ Rendered tasks/index.html.erb within layouts/application (5.1ms)
+Completed 200 OK in 35ms (Views: 31.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/images/journal.jpeg" for ::1 at 2019-04-14 15:27:03 -0700
+
+ActionController::RoutingError (No route matches [GET] "/images/journal.jpeg"):
+
+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-14 15:30:18 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (16.9ms)
+Completed 200 OK in 91ms (Views: 81.4ms | ActiveRecord: 1.1ms)
+
+
+Started GET "/images/journal.jpeg" for ::1 at 2019-04-14 15:30:18 -0700
+
+ActionController::RoutingError (No route matches [GET] "/images/journal.jpeg"):
+
+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 "/images/journal.jpeg" for ::1 at 2019-04-14 15:30:28 -0700
+
+ActionController::RoutingError (No route matches [GET] "/images/journal.jpeg"):
+
+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 "/images/journal.jpeg" for ::1 at 2019-04-14 15:30:30 -0700
+
+ActionController::RoutingError (No route matches [GET] "/images/journal.jpeg"):
+
+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 "/images/journal.jpeg" for ::1 at 2019-04-14 15:30:37 -0700
+
+ActionController::RoutingError (No route matches [GET] "/images/journal.jpeg"):
+
+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-14 15:31: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:10
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 92ms (Views: 88.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/images/background.jpg" for ::1 at 2019-04-14 15:31:58 -0700
+
+ActionController::RoutingError (No route matches [GET] "/images/background.jpg"):
+
+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-14 15:33:02 -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:10
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 43ms (Views: 40.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/images/background.jpg" for ::1 at 2019-04-14 15:33:02 -0700
+
+ActionController::RoutingError (No route matches [GET] "/images/background.jpg"):
+
+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 "/images/background.jpg" for ::1 at 2019-04-14 15:33:16 -0700
+
+ActionController::RoutingError (No route matches [GET] "/images/background.jpg"):
+
+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-14 15:33:39 -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:10
+ Rendered tasks/index.html.erb within layouts/application (5.0ms)
+Completed 200 OK in 63ms (Views: 59.1ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:34: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:10
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 37ms (Views: 33.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:35: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
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 31ms (Views: 28.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/images/journal.jpeg" for ::1 at 2019-04-14 15:35:02 -0700
+
+ActionController::RoutingError (No route matches [GET] "/images/journal.jpeg"):
+
+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-14 15:41:03 -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:10
+ Rendered tasks/index.html.erb within layouts/application (3.7ms)
+Completed 200 OK in 40ms (Views: 36.8ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:41:53 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (4.4ms)
+Completed 200 OK in 40ms (Views: 35.8ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:43:13 -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:10
+ Rendered tasks/index.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 35ms (Views: 31.9ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:43: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
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 32ms (Views: 29.9ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:44: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
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (4.1ms)
+Completed 200 OK in 35ms (Views: 32.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:44:17 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (5.2ms)
+Completed 200 OK in 47ms (Views: 43.6ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:44: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:10
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 38ms (Views: 34.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:44:46 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 24ms (Views: 21.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:45: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
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 44ms (Views: 40.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:45: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
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 500 Internal Server Error in 29ms (ActiveRecord: 0.2ms)
+
+
+
+Sprockets::FileNotFound - couldn't find file '../images/journal.jpeg' under '/Users/shirleychu/Documents/Ada/Projects/TaskList/app/assets/stylesheets'
+Checked in these paths:
+ /Users/shirleychu/Documents/Ada/Projects/TaskList/app/assets/config
+ /Users/shirleychu/Documents/Ada/Projects/TaskList/app/assets/images
+ /Users/shirleychu/Documents/Ada/Projects/TaskList/app/assets/javascripts
+ /Users/shirleychu/Documents/Ada/Projects/TaskList/app/assets/stylesheets
+ /Users/shirleychu/.rvm/gems/ruby-2.5.1/gems/jquery-rails-4.3.3/vendor/assets/javascripts
+ /Users/shirleychu/.rvm/gems/ruby-2.5.1/gems/jquery-turbolinks-2.1.0/vendor/assets/javascripts
+ /Users/shirleychu/.rvm/gems/ruby-2.5.1/gems/actioncable-5.2.3/lib/assets/compiled
+ /Users/shirleychu/.rvm/gems/ruby-2.5.1/gems/activestorage-5.2.3/app/assets/javascripts
+ /Users/shirleychu/.rvm/gems/ruby-2.5.1/gems/actionview-5.2.3/lib/assets/compiled
+ /Users/shirleychu/.rvm/gems/ruby-2.5.1/gems/turbolinks-source-5.2.0/lib/assets/javascripts
+ /Users/shirleychu/Documents/Ada/Projects/TaskList/node_modules:
+ app/views/layouts/application.html.erb:8:in `_app_views_layouts_application_html_erb__3914692438764928191_70283053751020'
+
+Started POST "/__better_errors/9b1c7774f365e640/variables" for ::1 at 2019-04-14 15:45:48 -0700
+Started GET "/" for ::1 at 2019-04-14 15:46: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:10
+ Rendered tasks/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 189ms (Views: 186.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:47: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:10
+ Rendered tasks/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 151ms (Views: 148.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:48:25 -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:10
+ Rendered tasks/index.html.erb within layouts/application (4.0ms)
+Completed 200 OK in 143ms (Views: 140.6ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:48:35 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 139ms (Views: 136.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:49: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
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 147ms (Views: 143.7ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:53: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:10
+ Rendered tasks/index.html.erb within layouts/application (3.7ms)
+Completed 200 OK in 69ms (Views: 65.6ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:53: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:10
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 72ms (Views: 69.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:53: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
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 58ms (Views: 55.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:53:57 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (4.8ms)
+Completed 200 OK in 76ms (Views: 72.4ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:54:05 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 46ms (Views: 42.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:54:36 -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:10
+ Rendered tasks/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 49ms (Views: 46.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-14 15:55:03 -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 (1.0ms)
+Completed 200 OK in 63ms (Views: 54.6ms | ActiveRecord: 2.0ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-14 15:55:03 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ 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 34ms (Views: 27.9ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:55:14 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (10.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (14.2ms)
+Completed 200 OK in 45ms (Views: 28.9ms | ActiveRecord: 10.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:57:03 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 76ms (Views: 73.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:58: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:10
+ Rendered tasks/index.html.erb within layouts/application (3.1ms)
+Completed 500 Internal Server Error in 43ms (ActiveRecord: 0.3ms)
+
+
+
+Sass::SyntaxError - Invalid CSS after " margin-left": expected ";", was ": 33%":
+ app/views/layouts/application.html.erb:8:in `_app_views_layouts_application_html_erb__3914692438764928191_70283094884680'
+
+Started POST "/__better_errors/e09527ae83ffd3ae/variables" for ::1 at 2019-04-14 15:58:09 -0700
+Started GET "/" for ::1 at 2019-04-14 15:58: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:10
+ Rendered tasks/index.html.erb within layouts/application (4.2ms)
+Completed 200 OK in 65ms (Views: 61.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:58:27 -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:10
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 47ms (Views: 44.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 15:58: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:10
+ Rendered tasks/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 52ms (Views: 48.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-14 16:01:31 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 46ms (Views: 39.7ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 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:10
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 87ms (Views: 84.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:06:06 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 52ms (Views: 48.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:07: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:10
+ Rendered tasks/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 62ms (Views: 59.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:14:17 -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:10
+ Rendered tasks/index.html.erb within layouts/application (7.0ms)
+Completed 500 Internal Server Error in 60ms (ActiveRecord: 1.3ms)
+
+
+
+Sass::SyntaxError - Invalid CSS after " color": expected ";", was ": red":
+ app/views/layouts/application.html.erb:8:in `_app_views_layouts_application_html_erb__3914692438764928191_70283058466080'
+
+Started POST "/__better_errors/e841d356e14d7cf0/variables" for ::1 at 2019-04-14 16:14:17 -0700
+Started GET "/" for ::1 at 2019-04-14 16:14: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:10
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 68ms (Views: 64.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:15: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:10
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 44ms (Views: 41.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:16: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
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 51ms (Views: 49.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:16:17 -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:10
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 59ms (Views: 56.3ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:16: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:10
+ Rendered tasks/index.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 50ms (Views: 46.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:16: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
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 47ms (Views: 44.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:18:11 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected tIDENTIFIER, expecting ')'
+...er.append=( link_to "♥ " task.name , task_path(task), clas...
+... ^~~~
+/Users/shirleychu/Documents/Ada/Projects/TaskList/app/views/tasks/index.html.erb:12: syntax error, unexpected ',', expecting &. or :: or '[' or '.'
+... " task.name , task_path(task), class: "task-name");@output_...
+... ^:
+ app/views/tasks/index.html.erb:12:in `'
+
+Started POST "/__better_errors/aefddbce76b1aecb/variables" for ::1 at 2019-04-14 16:18:11 -0700
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+Started GET "/" for ::1 at 2019-04-14 16:18: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.9ms)
+Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected tIDENTIFIER, expecting ')'
+...r.append=( link_to ("♥ " task.name) , task_path(task), cla...
+... ^~~~
+/Users/shirleychu/Documents/Ada/Projects/TaskList/app/views/tasks/index.html.erb:12: syntax error, unexpected tLABEL
+...name) , task_path(task), class: "task-name");@output_buffer....
+... ^~~~~~
+/Users/shirleychu/Documents/Ada/Projects/TaskList/app/views/tasks/index.html.erb:12: syntax error, unexpected ')', expecting keyword_end
+...path(task), class: "task-name");@output_buffer.safe_append='
+... ^
+/Users/shirleychu/Documents/Ada/Projects/TaskList/app/views/tasks/index.html.erb:29: syntax error, unexpected keyword_ensure, expecting end-of-input
+ ensure
+ ^~~~~~:
+ app/views/tasks/index.html.erb:12:in `'
+
+Started POST "/__better_errors/d8639d6c61fe832f/variables" for ::1 at 2019-04-14 16:18:25 -0700
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" LIMIT $1[0m [["LIMIT", 11]]
+ ↳ /Users/shirleychu/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
+Started GET "/" for ::1 at 2019-04-14 16:18: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:10
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 33ms (Views: 29.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:19: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:10
+ Rendered tasks/index.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 24ms (Views: 20.5ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:19:25 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 500 Internal Server Error in 32ms (ActiveRecord: 0.2ms)
+
+
+
+Sass::SyntaxError - Invalid CSS after " background:": expected expression (e.g. 1px, bold), was "}":
+ app/views/layouts/application.html.erb:8:in `_app_views_layouts_application_html_erb__3914692438764928191_70283094279440'
+
+Started POST "/__better_errors/a1bb857cb3bf7f1d/variables" for ::1 at 2019-04-14 16:19:26 -0700
+Started GET "/" for ::1 at 2019-04-14 16:19:39 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 53ms (Views: 50.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:20: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:10
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 58ms (Views: 54.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:20: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:10
+ Rendered tasks/index.html.erb within layouts/application (4.4ms)
+Completed 200 OK in 73ms (Views: 70.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:21:45 -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:10
+ Rendered tasks/index.html.erb within layouts/application (4.6ms)
+Completed 200 OK in 96ms (Views: 93.1ms | ActiveRecord: 0.6ms)
+
+
+Started PATCH "/tasks/1/complete_toggle" for ::1 at 2019-04-14 16:29:05 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"3AEQZiNL8u/BetMSsYDMMR2kRB8wnhUoK/iXpqhOtLn/s1RFszRhzlpcROUwoH82AIbVbRSNwYcAQg71PyEEhQ==", "commit"=>"Unmark Complete", "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:8
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[36mTask Update (1.6ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 23:29:06.003835"], ["id", 1]]
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:72
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 8ms (ActiveRecord: 3.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:29:06 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (4.5ms)
+Completed 200 OK in 52ms (Views: 47.4ms | ActiveRecord: 0.4ms)
+
+
+Started PATCH "/tasks/3/complete_toggle" for ::1 at 2019-04-14 16:29:15 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"blgI589ROLbKEdAPh5GEVvLhwTFcgABlKCLwgRs+k71N6kzEXy6rl1E3R/gGsTdR78NQQ3iT1MoDmGnSjFEjgQ==", "commit"=>"Unmark Complete", "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
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[36mTask Update (1.3ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 23:29:15.195970"], ["id", 3]]
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:72
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 8ms (ActiveRecord: 2.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:29:15 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 31ms (Views: 28.1ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/2/complete_toggle" for ::1 at 2019-04-14 16:29:18 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"glrKQ8SJTie4DZttOg6NmI0NvZfloeXhbv66c8jAUeuh6I5gVPbdBiMrDJq7Lj6fkC8s5cGyMU5FRCMgX6/h1w==", "commit"=>"Unmark Complete", "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
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 23:29:18.166769"], ["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:72
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 7ms (ActiveRecord: 2.6ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:29: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:10
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 29ms (Views: 26.2ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/1/complete_toggle" for ::1 at 2019-04-14 16:29:20 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"2PVUhOTuWt/GSdxFcod+Cdyh2u85u37raBsWoNR7Ryf7RxCndJHJ/l1vS7Lzp80OwYNLnR2oqkRDoY/zQxT3Gw==", "commit"=>"Mark Complete", "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
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 23:29:20.320836"], ["completed", true], ["updated_at", "2019-04-14 23:29:20.321646"], ["id", 1]]
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[35m (2.1ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:72
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 7ms (ActiveRecord: 3.0ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:29: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
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 26ms (Views: 23.6ms | ActiveRecord: 0.2ms)
+
+
+Started PATCH "/tasks/3/complete_toggle" for ::1 at 2019-04-14 16:29:21 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"16jLHuUreApFr2VtNI3aOtlOHOW5KIxpmEtb34OQcT70Go89dVTrK96J8pq1rWk9xGyNl507WMaz8cKMFP/BAg==", "commit"=>"Mark Complete", "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
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 23:29:21.399417"], ["completed", true], ["updated_at", "2019-04-14 23:29:21.400136"], ["id", 3]]
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:72
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 6ms (ActiveRecord: 2.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:29:21 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 27ms (Views: 24.6ms | ActiveRecord: 0.2ms)
+
+
+Started PATCH "/tasks/2/complete_toggle" for ::1 at 2019-04-14 16:29:22 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"bDB1EeZ6//H/Boy1g7wWmOQU8tAwMy3mwge5Ai285IFPgjEydgVs0GQgG0ICnKWf+TZjohQg+UnpvSBRutNUvQ==", "commit"=>"Mark Complete", "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
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 23:29:22.303567"], ["completed", true], ["updated_at", "2019-04-14 23:29:22.304175"], ["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:72
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 5ms (ActiveRecord: 1.1ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:29:22 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (6.3ms)
+Completed 200 OK in 50ms (Views: 45.2ms | ActiveRecord: 1.9ms)
+
+
+Started PATCH "/tasks/3/complete_toggle" for ::1 at 2019-04-14 16:29:23 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"igT9evXWn26ikMVuHfYf9X20VQ4bATSle6DEECDfYeOptrlZZakMTzm2Upmc1qzyYJbEfD8S4ApQGl1Dt7DR3w==", "commit"=>"Unmark Complete", "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
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 23:29:23.479379"], ["id", 3]]
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:72
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 7ms (ActiveRecord: 2.1ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:29: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:10
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 23ms (Views: 20.3ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/3/complete_toggle" for ::1 at 2019-04-14 16:29:24 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"jP6KboURp/9XGbOVPSOzYyIPgZKkD/d1bMJS3tzVggGvTM5NFW403sw/JGK8AwBkPy0Q4IAcI9pHeMuNS7oyPQ==", "commit"=>"Mark Complete", "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
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[36mTask Update (0.8ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 23:29:24.370386"], ["completed", true], ["updated_at", "2019-04-14 23:29:24.371104"], ["id", 3]]
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:72
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 6ms (ActiveRecord: 2.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:29: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:10
+ Rendered tasks/index.html.erb within layouts/application (3.7ms)
+Completed 200 OK in 61ms (Views: 58.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:31: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:10
+ Rendered tasks/index.html.erb within layouts/application (6.0ms)
+Completed 200 OK in 94ms (Views: 91.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:31: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
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 49ms (Views: 46.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:32: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
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 56ms (Views: 52.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:32: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:10
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 50ms (Views: 47.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 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:10
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 77ms (Views: 73.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:33: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:10
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 51ms (Views: 47.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 16:35: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
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 23ms (Views: 20.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-14 16:36:02 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (1.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ 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 43ms (Views: 37.9ms | ActiveRecord: 1.0ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:36:06 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (6.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (11.4ms)
+Completed 200 OK in 47ms (Views: 36.7ms | ActiveRecord: 6.8ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:37: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
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 51ms (Views: 48.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:38: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
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 60ms (Views: 58.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:39:02 -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:10
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 55ms (Views: 52.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:39:19 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 51ms (Views: 48.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:40:09 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (3.6ms)
+Completed 500 Internal Server Error in 36ms (ActiveRecord: 0.3ms)
+
+
+
+Sass::SyntaxError - Invalid CSS after " display": expected ";", was ": flex;":
+ app/views/layouts/application.html.erb:8:in `_app_views_layouts_application_html_erb__3914692438764928191_70283083477680'
+
+Started POST "/__better_errors/77c7c71a0acaec7a/variables" for ::1 at 2019-04-14 16:40:09 -0700
+Started GET "/" for ::1 at 2019-04-14 16:40:18 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (4.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (8.2ms)
+Completed 200 OK in 72ms (Views: 65.1ms | ActiveRecord: 4.8ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:40: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
+ ↳ app/views/tasks/index.html.erb:10
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 26ms (Views: 23.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:41:52 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (4.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (8.3ms)
+Completed 500 Internal Server Error in 41ms (ActiveRecord: 4.9ms)
+
+
+
+Sass::SyntaxError - Invalid CSS after " align-items": expected ";", was ": center":
+ app/views/layouts/application.html.erb:8:in `_app_views_layouts_application_html_erb__3914692438764928191_70283083474060'
+
+Started POST "/__better_errors/130ebc169cbb2f87/variables" for ::1 at 2019-04-14 16:41:52 -0700
+Started GET "/" for ::1 at 2019-04-14 16:41: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:11
+ Rendered tasks/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 73ms (Views: 70.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 16:43:36 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (4.5ms)
+ Rendered tasks/new.html.erb within layouts/application (7.9ms)
+Completed 200 OK in 32ms (Views: 28.6ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:43: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:11
+ Rendered tasks/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 37ms (Views: 34.7ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/2/edit" for ::1 at 2019-04-14 16:43:58 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (1.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/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.3ms)
+ Rendered tasks/edit.html.erb within layouts/application (4.9ms)
+Completed 200 OK in 37ms (Views: 32.0ms | ActiveRecord: 1.7ms)
+
+
+Started PATCH "/tasks/2" for ::1 at 2019-04-14 16:44:15 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"14zOW9ayAc72Cvq/yP80pv/urUd/dJFCnJF5MOJ81xOaD3mLNQXTujDdDDFLLg0Y0KQ0fcEfoL9u3GrZSKYEjw==", "task"=>{"name"=>"Grocery Run", "description"=>"go to Safeway", "completion_date"=>"2019-04-14"}, "commit"=>"Edit Task", "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:8
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:46
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["completion_date", "2019-04-14 00:00:00"], ["updated_at", "2019-04-14 23:44:15.407086"], ["id", 2]]
+ ↳ app/controllers/tasks_controller.rb:46
+ [1m[35m (5.0ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:46
+Redirected to http://localhost:3000/tasks/2
+Completed 302 Found in 14ms (ActiveRecord: 6.9ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-14 16:44:15 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 22ms (Views: 19.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16: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
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (38.5ms)
+Completed 200 OK in 65ms (Views: 61.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-14 16:44:51 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (46.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.6ms)
+Completed 200 OK in 71ms (Views: 19.9ms | ActiveRecord: 46.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:45:00 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (66.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (69.4ms)
+Completed 200 OK in 105ms (Views: 34.9ms | ActiveRecord: 66.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:45: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
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 65ms (Views: 62.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:45: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:11
+ Rendered tasks/index.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 51ms (Views: 48.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:46:49 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 51ms (Views: 48.0ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:49:25 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 58ms (Views: 55.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:49: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:11
+ Rendered tasks/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 63ms (Views: 60.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:49:46 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 26ms (Views: 23.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:49: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
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 59ms (Views: 55.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:50: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
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 51ms (Views: 48.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:52: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:11
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 78ms (Views: 74.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:52:46 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 34ms (Views: 30.8ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:52:52 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (4.2ms)
+Completed 200 OK in 29ms (Views: 26.3ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:53: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
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 23ms (Views: 20.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:53: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
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 24ms (Views: 21.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:53:56 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 21ms (Views: 18.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:54: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:11
+ Rendered tasks/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 47ms (Views: 43.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:54: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
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 27ms (Views: 23.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:55: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:11
+ Rendered tasks/index.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 56ms (Views: 53.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:55: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:11
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 42ms (Views: 39.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:55:58 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 22ms (Views: 19.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 16:56: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:11
+ Rendered tasks/index.html.erb within layouts/application (5.0ms)
+Completed 200 OK in 32ms (Views: 25.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:02:51 -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:11
+ Rendered tasks/index.html.erb within layouts/application (4.7ms)
+Completed 200 OK in 44ms (Views: 40.4ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:03:13 -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:11
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 23ms (Views: 19.8ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:03:47 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (6.4ms)
+Completed 200 OK in 48ms (Views: 42.9ms | ActiveRecord: 1.5ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:04: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:11
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 73ms (Views: 69.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:04:15 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 64ms (Views: 61.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:04: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:11
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 61ms (Views: 58.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:05: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:11
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 47ms (Views: 44.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:06:54 -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:11
+ Rendered tasks/index.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 73ms (Views: 69.8ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:07: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:11
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 24ms (Views: 20.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:07: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
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (3.7ms)
+Completed 200 OK in 23ms (Views: 20.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:08:22 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 71ms (Views: 67.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:08: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:11
+ Rendered tasks/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 31ms (Views: 29.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:09: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:11
+ Rendered tasks/index.html.erb within layouts/application (4.3ms)
+Completed 200 OK in 81ms (Views: 77.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 17:09:28 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (4.3ms)
+ Rendered tasks/new.html.erb within layouts/application (7.3ms)
+Completed 200 OK in 34ms (Views: 31.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 17:10:48 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.5ms)
+ Rendered tasks/new.html.erb within layouts/application (4.0ms)
+Completed 200 OK in 30ms (Views: 27.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 17:13:04 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.5ms)
+ Rendered tasks/new.html.erb within layouts/application (4.8ms)
+Completed 200 OK in 63ms (Views: 60.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:13:47 -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:11
+ Rendered tasks/index.html.erb within layouts/application (4.9ms)
+Completed 200 OK in 39ms (Views: 32.7ms | ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 17:13:52 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (3.1ms)
+ Rendered tasks/new.html.erb within layouts/application (5.7ms)
+Completed 200 OK in 58ms (Views: 54.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:13: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:11
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 25ms (Views: 20.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-14 17:13:55 -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:8
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (3.7ms)
+ Rendered tasks/edit.html.erb within layouts/application (6.9ms)
+Completed 200 OK in 39ms (Views: 33.2ms | ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-14 17:16:10 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.0ms)
+ Rendered tasks/edit.html.erb within layouts/application (5.1ms)
+Completed 200 OK in 77ms (Views: 72.5ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-14 17:16:45 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.6ms)
+ Rendered tasks/edit.html.erb within layouts/application (3.3ms)
+Completed 500 Internal Server Error in 40ms (ActiveRecord: 0.3ms)
+
+
+
+Sass::SyntaxError - Invalid CSS after " border-radius": expected ";", was ": 10px":
+ app/views/layouts/application.html.erb:8:in `_app_views_layouts_application_html_erb__3914692438764928191_70283101133280'
+
+Started POST "/__better_errors/a07af9eb45db1021/variables" for ::1 at 2019-04-14 17:16:46 -0700
+Started GET "/tasks/1/edit" for ::1 at 2019-04-14 17:16:51 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.0ms)
+ Rendered tasks/edit.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 67ms (Views: 63.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-14 17:17:14 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.4ms)
+ Rendered tasks/edit.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 66ms (Views: 62.4ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-14 17:18:15 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.8ms)
+ Rendered tasks/edit.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 30ms (Views: 26.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-14 17:18: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]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.6ms)
+ Rendered tasks/edit.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 25ms (Views: 21.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-14 17:19:26 -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:8
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.8ms)
+ Rendered tasks/edit.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 75ms (Views: 71.9ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:19: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:11
+ Rendered tasks/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 22ms (Views: 19.1ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:19:32 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (14.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (17.7ms)
+Completed 200 OK in 46ms (Views: 28.0ms | ActiveRecord: 14.1ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-14 17:19:34 -0700
+Processing by TasksController#edit 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]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (4.0ms)
+ Rendered tasks/edit.html.erb within layouts/application (18.6ms)
+Completed 200 OK in 45ms (Views: 40.3ms | ActiveRecord: 1.5ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-14 17:20:05 -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]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.2ms)
+ Rendered tasks/edit.html.erb within layouts/application (4.9ms)
+Completed 200 OK in 71ms (Views: 67.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-14 17:20:56 -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]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.9ms)
+ Rendered tasks/edit.html.erb within layouts/application (4.2ms)
+Completed 200 OK in 81ms (Views: 76.9ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-14 17:21: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]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.6ms)
+ Rendered tasks/edit.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 24ms (Views: 20.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:23:47 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (11.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (15.7ms)
+Completed 200 OK in 54ms (Views: 38.6ms | ActiveRecord: 11.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-14 17:23: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]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 35ms (Views: 30.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-14 17:24:43 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ 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 72ms (Views: 68.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-14 17:24: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 20ms (Views: 16.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-14 17:25: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]]
+ ↳ 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 23ms (Views: 19.4ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:25: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:11
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 23ms (Views: 19.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-14 17:25:43 -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:8
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.8ms)
+ Rendered tasks/edit.html.erb within layouts/application (4.8ms)
+Completed 200 OK in 32ms (Views: 26.3ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:25:49 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (4.4ms)
+Completed 200 OK in 37ms (Views: 32.9ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-14 17:25:54 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 63ms (Views: 58.8ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:26: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:11
+ Rendered tasks/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 26ms (Views: 22.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-14 17:26:03 -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:8
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.6ms)
+ Rendered tasks/edit.html.erb within layouts/application (5.1ms)
+Completed 200 OK in 27ms (Views: 22.1ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:26:18 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (3.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (7.0ms)
+Completed 200 OK in 47ms (Views: 38.7ms | ActiveRecord: 3.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 17:26:19 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.0ms)
+ Rendered tasks/new.html.erb within layouts/application (4.1ms)
+Completed 200 OK in 28ms (Views: 24.9ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 17:27:46 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.5ms)
+ Rendered tasks/new.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 22ms (Views: 19.9ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:27: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:11
+ Rendered tasks/index.html.erb within layouts/application (8.3ms)
+Completed 200 OK in 33ms (Views: 28.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-14 17:27:48 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (26.1ms)[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/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.9ms)
+ Rendered tasks/edit.html.erb within layouts/application (6.2ms)
+Completed 200 OK in 60ms (Views: 29.9ms | ActiveRecord: 26.1ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-14 17:28:23 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.1ms)
+ Rendered tasks/edit.html.erb within layouts/application (4.8ms)
+Completed 200 OK in 74ms (Views: 70.5ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:28: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:11
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 23ms (Views: 19.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 17:28:35 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.6ms)
+ Rendered tasks/new.html.erb within layouts/application (5.4ms)
+Completed 200 OK in 46ms (Views: 41.2ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:28:42 -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:11
+ Rendered tasks/index.html.erb within layouts/application (7.5ms)
+Completed 200 OK in 37ms (Views: 29.9ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 17:28:50 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.6ms)
+ Rendered tasks/new.html.erb within layouts/application (4.6ms)
+Completed 200 OK in 27ms (Views: 23.8ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 17:29:11 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"HpY7b1hTpwO+ktX5xLs04FTcgU81Of92UKhWULsczR1o9fbekMDK8G01gKuej1x5jT4WEQVdPTE0P/64l5Syug==", "task"=>{"name"=>"Finish HW", "description"=>"I'm almost done!", "completion_date"=>""}, "commit"=>"New Task!"}
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:33
+ [1m[36mTask Create (8.1ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Finish HW"], ["description", "I'm almost done!"], ["created_at", "2019-04-15 00:29:11.402470"], ["updated_at", "2019-04-15 00:29:11.402470"]]
+ ↳ app/controllers/tasks_controller.rb:33
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:33
+Redirected to http://localhost:3000/tasks/5
+Completed 302 Found in 17ms (ActiveRecord: 9.3ms)
+
+
+Started GET "/tasks/5" for ::1 at 2019-04-14 17:29:11 -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 (0.9ms)
+Completed 200 OK in 28ms (Views: 22.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:29:14 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (15.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (19.9ms)
+Completed 200 OK in 52ms (Views: 33.0ms | ActiveRecord: 15.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 17:30:04 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.8ms)
+ Rendered tasks/new.html.erb within layouts/application (4.7ms)
+Completed 200 OK in 29ms (Views: 25.6ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:30:06 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (46.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (51.4ms)
+Completed 200 OK in 90ms (Views: 38.4ms | ActiveRecord: 46.6ms)
+
+
+Started GET "/tasks/5" for ::1 at 2019-04-14 17:30:11 -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 (0.5ms)
+Completed 200 OK in 22ms (Views: 16.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:30: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:11
+ Rendered tasks/index.html.erb within layouts/application (4.4ms)
+Completed 200 OK in 29ms (Views: 25.6ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/5/complete_toggle" for ::1 at 2019-04-14 17:30:43 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"UqN3kRMqR1r4E22OTJ470D3aFYZoGPrM840IzqH186zw8UwVFV0nLmRlnt9vUxbSGDHRhXhS9jf7ztlxVFZP+A==", "commit"=>"Mark Complete", "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
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[36mTask Update (0.6ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-15 00:30:43.215241"], ["completed", true], ["updated_at", "2019-04-15 00:30:43.216099"], ["id", 5]]
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:72
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 8ms (ActiveRecord: 2.8ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 17:30: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:11
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 26ms (Views: 24.3ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/5/complete_toggle" for ::1 at 2019-04-14 17:30:45 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"zyPREA8Wx2hAcEWgMqDtaaUGBJXUYqG2SrdxJ2Yf+4vskZUzn2lUSdtW0lezgF5uuCSV5/BxdRlhDeh08XBLtw==", "commit"=>"Unmark Complete", "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
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-15 00:30:45.918562"], ["id", 5]]
+ ↳ app/controllers/tasks_controller.rb:72
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:72
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 6ms (ActiveRecord: 1.4ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 17:30: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:11
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 27ms (Views: 25.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 17:34:12 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (22.5ms)
+Completed 200 OK in 62ms (Views: 43.1ms | ActiveRecord: 12.9ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 17:34:15 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (3.2ms)
+ Rendered tasks/new.html.erb within layouts/application (8.3ms)
+Completed 200 OK in 43ms (Views: 37.0ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-14 17:34:23 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"qihhVEt87NpKBWLRdK7QgqNftjiI7A+rhcaFA9fVEHbcS6zlg++BKZmiN4Mumrgber0hZriIzezhUS3r+11v0Q==", "task"=>{"name"=>"Eat Chips", "description"=>"make bed, tidy u", "completion_date"=>"2019-04-16"}, "commit"=>"New Task!"}
+Completed 500 Internal Server Error in 228ms (ActiveRecord: 0.0ms)
+
+
+
+NameError - undefined local variable or method `task' for #
+Did you mean? @task:
+ app/controllers/tasks_controller.rb:29:in `create'
+
+Started POST "/__better_errors/a1a89faf94b3240f/variables" for ::1 at 2019-04-14 17:34:24 -0700
+Started POST "/tasks" for ::1 at 2019-04-14 17:34:35 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"qihhVEt87NpKBWLRdK7QgqNftjiI7A+rhcaFA9fVEHbcS6zlg++BKZmiN4Mumrgber0hZriIzezhUS3r+11v0Q==", "task"=>{"name"=>"Eat Chips", "description"=>"make bed, tidy u", "completion_date"=>"2019-04-16"}, "commit"=>"New Task!"}
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:32
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Eat Chips"], ["description", "make bed, tidy u"], ["created_at", "2019-04-15 00:34:35.486806"], ["updated_at", "2019-04-15 00:34:35.486806"]]
+ ↳ app/controllers/tasks_controller.rb:32
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:32
+Redirected to http://localhost:3000/tasks/6
+Completed 302 Found in 17ms (ActiveRecord: 4.9ms)
+
+
+Started GET "/tasks/6" for ::1 at 2019-04-14 17:34:35 -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 (1.0ms)
+Completed 200 OK in 34ms (Views: 29.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:34: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
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (4.0ms)
+Completed 200 OK in 24ms (Views: 20.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-14 17:34:50 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (22.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 (1.3ms)
+Completed 200 OK in 55ms (Views: 29.5ms | ActiveRecord: 22.0ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:34:53 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (4.4ms)
+Completed 200 OK in 26ms (Views: 22.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/5" for ::1 at 2019-04-14 17:34:54 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"5"}
+ [1m[36mTask Load (3.9ms)[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 46ms (Views: 38.1ms | ActiveRecord: 3.9ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:35: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:11
+ Rendered tasks/index.html.erb within layouts/application (4.9ms)
+Completed 200 OK in 27ms (Views: 23.9ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/6/complete_toggle" for ::1 at 2019-04-14 17:35:11 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"AgJ6wBSVG3UY3arnYQp5zaWi38sEDcs1wHTMHNHw9FzwyU8X+aQKlCMkwI4E8NDjmefj6VNUVmdcKkG35rxL/A==", "commit"=>"Mark Complete", "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
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:71
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-15 00:35:11.898860"], ["completed", true], ["updated_at", "2019-04-15 00:35:11.899601"], ["id", 6]]
+ ↳ app/controllers/tasks_controller.rb:71
+ [1m[35m (2.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:71
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 8ms (ActiveRecord: 3.2ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 17:35: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:11
+ Rendered tasks/index.html.erb within layouts/application (5.6ms)
+Completed 200 OK in 28ms (Views: 25.7ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks/6" for ::1 at 2019-04-14 17:35:14 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (5.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.9ms)
+Completed 200 OK in 48ms (Views: 39.4ms | ActiveRecord: 5.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:35:19 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (31.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (38.2ms)
+Completed 200 OK in 65ms (Views: 30.6ms | ActiveRecord: 31.4ms)
+
+
+Started PATCH "/tasks/6/complete_toggle" for ::1 at 2019-04-14 17:35:21 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"ydasuPtmv3XkC/lsU2QgOiQAx3pnJf83dcQrKQvfdfw7HZlvFleulN/ykwU2nokUGEX7WDB8YmXpmqaCPJPKXA==", "commit"=>"Unmark Complete", "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
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:71
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-15 00:35:21.551291"], ["id", 6]]
+ ↳ app/controllers/tasks_controller.rb:71
+ [1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:71
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 7ms (ActiveRecord: 1.9ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 17:35:21 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 27ms (Views: 25.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/6" for ::1 at 2019-04-14 17:35:23 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (10.1ms)[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.8ms)
+Completed 200 OK in 58ms (Views: 43.5ms | ActiveRecord: 10.1ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:35:27 -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:11
+ Rendered tasks/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 23ms (Views: 19.1ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/6" for ::1 at 2019-04-14 17:35:34 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"tn2thtFHyu3aLKUCMO8LqJHIhqjdnDi3lUao/qbikgmVz+mlQThZzEEKMvWxz7ivjOoX2vmP7Bi+/DGtMY0iNQ==", "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
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:53
+ [1m[36mTask Destroy (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 6]]
+ ↳ app/controllers/tasks_controller.rb:53
+ [1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:53
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 7ms (ActiveRecord: 2.6ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-14 17:35: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:11
+ Rendered tasks/index.html.erb within layouts/application (4.3ms)
+Completed 200 OK in 28ms (Views: 26.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/3" for ::1 at 2019-04-14 17:36:57 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb: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: 18.8ms | ActiveRecord: 2.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:37:06 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (32.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (37.8ms)
+Completed 200 OK in 65ms (Views: 27.2ms | ActiveRecord: 32.9ms)
+
+
+Started GET "/tasks/2" for ::1 at 2019-04-14 17:37:09 -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.6ms)
+Completed 200 OK in 23ms (Views: 19.5ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:37:12 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (68.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (73.2ms)
+Completed 200 OK in 102ms (Views: 26.6ms | ActiveRecord: 68.7ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-14 17:37:17 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (1.7ms)[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 48ms (Views: 37.2ms | ActiveRecord: 1.7ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:37:21 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (61.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (66.6ms)
+Completed 200 OK in 93ms (Views: 26.1ms | ActiveRecord: 61.8ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:38: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:11
+ Rendered tasks/index.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 69ms (Views: 66.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-14 17:38:04 -0700
+Processing by TasksController#show 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:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 27ms (Views: 21.8ms | ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-14 17:38: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]]
+ ↳ 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 67ms (Views: 62.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-14 17:38: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]]
+ ↳ 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 54ms (Views: 50.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-14 17:39:05 -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.6ms)
+Completed 200 OK in 65ms (Views: 60.9ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-14 17:39:15 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ 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 70ms (Views: 66.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:39:29 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 23ms (Views: 19.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 17:39:31 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.3ms)
+ Rendered tasks/new.html.erb within layouts/application (5.5ms)
+Completed 200 OK in 28ms (Views: 24.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-14 17:40:02 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.5ms)
+ Rendered tasks/new.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 24ms (Views: 20.6ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:40:38 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (34.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (42.8ms)
+Completed 200 OK in 77ms (Views: 36.0ms | ActiveRecord: 34.9ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-14 17:40:43 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (1.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 26ms (Views: 20.5ms | ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-14 17:40:45 -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]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (4.9ms)
+ Rendered tasks/edit.html.erb within layouts/application (7.9ms)
+Completed 200 OK in 46ms (Views: 42.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:41: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:11
+ Rendered tasks/index.html.erb within layouts/application (5.5ms)
+Completed 200 OK in 38ms (Views: 34.8ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/3" for ::1 at 2019-04-14 17:41:33 -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.7ms)
+Completed 200 OK in 66ms (Views: 61.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-14 17:41:36 -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:11
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 23ms (Views: 19.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-15 10:26:59 -0700
+ [1m[35m (3.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/shirleychu/.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 (18.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (42.1ms)
+Completed 200 OK in 426ms (Views: 388.2ms | ActiveRecord: 27.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-15 10:27:03 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (13.4ms)
+ Rendered tasks/new.html.erb within layouts/application (16.5ms)
+Completed 200 OK in 40ms (Views: 34.5ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2019-04-15 10:27:13 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"7omOM7pL/XE4cj0oZq2gJiJa8E+SSrqcaY05yE/dGhzY8O96Fl4QBBOd4Im58BSHDvA9OcPrx2jZj8zgMGMb2Q==", "task"=>{"name"=>"Eat Chips", "description"=>"Ruffles!"}, "commit"=>"New Task!"}
+ [1m[35m (3.6ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:29
+ [1m[36mTask Create (8.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Eat Chips"], ["description", "Ruffles!"], ["created_at", "2019-04-15 17:27:13.734638"], ["updated_at", "2019-04-15 17:27:13.734638"]]
+ ↳ app/controllers/tasks_controller.rb:29
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:29
+Redirected to http://localhost:3000/tasks/7
+Completed 302 Found in 17ms (ActiveRecord: 12.4ms)
+
+
+Started GET "/tasks/7" for ::1 at 2019-04-15 10:27:13 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"7"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 23ms (Views: 17.8ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/7/edit" for ::1 at 2019-04-15 10:27:20 -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:8
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.2ms)
+ Rendered tasks/edit.html.erb within layouts/application (5.4ms)
+Completed 200 OK in 49ms (Views: 45.2ms | ActiveRecord: 0.2ms)
+
+
+Started PATCH "/tasks/7" for ::1 at 2019-04-15 10:27:25 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"WBluL99OTq7RJTPZflUqoqnE3XzqTsu8su8KDh4aFXqmT1K3LGGb4V6LOyOVKrJ/+E3DwpstWxruj6POMjqAQQ==", "task"=>{"name"=>"Eat Chips", "description"=>"Ruffles!"}, "commit"=>"Edit Task", "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:8
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:42
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:42
+Redirected to http://localhost:3000/tasks/7
+Completed 302 Found in 6ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks/7" for ::1 at 2019-04-15 10:27:25 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"7"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb: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.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-15 10:27: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
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (4.5ms)
+Completed 200 OK in 26ms (Views: 23.2ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/7/complete_toggle" for ::1 at 2019-04-15 10:27:32 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"rnS75bNdG4L+NvcS3DPtsSP8pLjhd1kKDS7Q6xAAgO7nNRgYO/eXgtRQHZUhZhyXNILalwNpl3vMKTrd6h6XXA==", "commit"=>"Mark Complete", "id"=>"7"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:68
+ [1m[36mTask Update (1.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-15 17:27:32.557930"], ["completed", true], ["updated_at", "2019-04-15 17:27:32.558975"], ["id", 7]]
+ ↳ app/controllers/tasks_controller.rb:68
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:68
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 9ms (ActiveRecord: 2.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 10:27:32 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (5.5ms)
+Completed 200 OK in 32ms (Views: 29.5ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/7" for ::1 at 2019-04-15 10:27:34 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"7"}
+ [1m[36mTask Load (8.6ms)[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 41ms (Views: 29.9ms | ActiveRecord: 8.6ms)
+
+
+Started GET "/" for ::1 at 2019-04-15 10:28: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:11
+ Rendered tasks/index.html.erb within layouts/application (7.9ms)
+Completed 200 OK in 45ms (Views: 41.3ms | ActiveRecord: 0.6ms)
+
+
+Started DELETE "/tasks/7" for ::1 at 2019-04-15 10:28:49 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"DAK1k8pwTsVVNJfzSsjaRmaacYuTaI0A2WcIavFwwY/sW1b1WAKem9SHwCVdJGN5N1uq12Q1uRCzm31bG8rCBQ==", "id"=>"7"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:50
+ [1m[36mTask Destroy (0.2ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 7]]
+ ↳ app/controllers/tasks_controller.rb:50
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:50
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 6ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-15 10:28: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:11
+ Rendered tasks/index.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 35ms (Views: 31.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-16 22:37:00 -0700
+ [1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/shirleychu/.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 (7.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (25.4ms)
+Completed 200 OK in 282ms (Views: 251.0ms | ActiveRecord: 13.6ms)
+
+
+Started PATCH "/tasks/5/complete_toggle" for ::1 at 2019-04-16 22:37:49 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"1r7jGwhxFIGedkPqmImGdBz0qXUrsrgJ5fc3nqMwMm5bLk1PNPsoNiVqXgKI926YtK2scQiw8tFt27tLX4VM8A==", "commit"=>"Mark Complete", "id"=>"5"}
+ [1m[36mTask Load (4.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:68
+ [1m[36mTask Update (6.7ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-17 05:37:49.520697"], ["completed", true], ["updated_at", "2019-04-17 05:37:49.521720"], ["id", 5]]
+ ↳ app/controllers/tasks_controller.rb:68
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:68
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 20ms (ActiveRecord: 12.1ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-16 22:37: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:11
+ Rendered tasks/index.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 32ms (Views: 29.6ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/5/complete_toggle" for ::1 at 2019-04-16 22:37:51 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Utca6VebgF8i87LhNZwja7bYbBCOEFjKjfTNgSrXDJPfR7S9axG86Jnvrwkl4suHHoFpFK0SEhIF2EFU1mJyDQ==", "commit"=>"Unmark Complete", "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:8
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:68
+ [1m[36mTask Update (1.5ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-17 05:37:51.221951"], ["id", 5]]
+ ↳ app/controllers/tasks_controller.rb:68
+ [1m[35m (3.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:68
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 11ms (ActiveRecord: 5.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-16 22:37: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
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 24ms (Views: 21.3ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/5/complete_toggle" for ::1 at 2019-04-16 22:37:53 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"ewvUWndiTbve9iEuT4x8pu2feGjYaTjinKk5tGNTXrb2m3oOS+hxDGXqPMZf8pRKRcZ9bPtrcjoUhbVhn+YgKA==", "commit"=>"Mark Complete", "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
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ app/controllers/tasks_controller.rb:68
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-17 05:37:53.304617"], ["completed", true], ["updated_at", "2019-04-17 05:37:53.305262"], ["id", 5]]
+ ↳ app/controllers/tasks_controller.rb:68
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ app/controllers/tasks_controller.rb:68
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 5ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/tasks" for ::1 at 2019-04-16 22:37:53 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 24ms (Views: 22.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/1" for ::1 at 2019-04-16 22:37:55 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (13.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.6ms)
+Completed 200 OK in 36ms (Views: 18.3ms | ActiveRecord: 13.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-16 22:37:59 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (7.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (10.9ms)
+Completed 200 OK in 39ms (Views: 27.4ms | ActiveRecord: 7.4ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2019-04-16 22:38:04 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (1.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ ↳ app/controllers/tasks_controller.rb:8
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (16.7ms)
+ Rendered tasks/edit.html.erb within layouts/application (21.4ms)
+Completed 200 OK in 52ms (Views: 43.3ms | ActiveRecord: 1.8ms)
+
+
+Started GET "/" for ::1 at 2019-04-16 22:38: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
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 42ms (Views: 38.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-16 22:38:07 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.2ms)
+ Rendered tasks/new.html.erb within layouts/application (5.3ms)
+Completed 200 OK in 37ms (Views: 32.9ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2019-04-16 22:38: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:11
+ Rendered tasks/index.html.erb within layouts/application (4.7ms)
+Completed 200 OK in 27ms (Views: 23.4ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-18 09:28:07 -0700
+ [1m[35m (3.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/shirleychu/.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 (8.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (30.4ms)
+Completed 200 OK in 339ms (Views: 313.8ms | ActiveRecord: 16.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-18 09:57:45 -0700
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/shirleychu/.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.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (21.4ms)
+Completed 200 OK in 384ms (Views: 354.8ms | ActiveRecord: 6.7ms)
+
+
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (5.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.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+ [1m[35m (0.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 (226.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_development"[0m
+ ↳ bin/rails:9
+ [1m[35m (219.6ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ ↳ bin/rails:9
+ [1m[35m (480.0ms)[0m [1m[35mCREATE DATABASE "TaskList_development" ENCODING = 'unicode'[0m
+ ↳ bin/rails:9
+ [1m[35m (417.7ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ ↳ bin/rails:9
+ [1m[35m (14.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
+ ↳ bin/rails:9
+ [1m[35m (2.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ bin/rails:9
+Migrating to CreateTasks (20190409223500)
+ [1m[35m (5.5ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (6.1ms)[0m [1m[35mCREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completion_date" date, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ ↳ db/migrate/20190409223500_create_tasks.rb:3
+ [1m[36mActiveRecord::SchemaMigration Create (2.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190409223500"]]
+ ↳ bin/rails:9
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+Migrating to ChangeDateAttribute (20190409225013)
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (9.6ms)[0m [1m[35mALTER TABLE "tasks" ALTER COLUMN "completion_date" TYPE character varying[0m
+ ↳ db/migrate/20190409225013_change_date_attribute.rb:3
+ [1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190409225013"]]
+ ↳ bin/rails:9
+ [1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+Migrating to AddCompletedColumn2 (20190410235715)
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (1.8ms)[0m [1m[35mALTER TABLE "tasks" ADD "completed" boolean DEFAULT FALSE[0m
+ ↳ db/migrate/20190410235715_add_completed_column2.rb:3
+ [1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190410235715"]]
+ ↳ bin/rails:9
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+Migrating to AddCompletionDateColumn (20190413230536)
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190413230536"]]
+ ↳ bin/rails:9
+ [1m[35m (3.9ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+Migrating to ChangeCompletionDate (20190414013032)
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ ↳ bin/rails:9
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DROP COLUMN "completion_date"[0m
+ ↳ db/migrate/20190414013032_change_completion_date.rb:3
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "tasks" ADD "completion_date" timestamp[0m
+ ↳ db/migrate/20190414013032_change_completion_date.rb:4
+ [1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190414013032"]]
+ ↳ bin/rails:9
+ [1m[35m (3.4ms)[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 (8.2ms)[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-18 16:58:56.307404"], ["updated_at", "2019-04-18 16:58:56.307404"]]
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ ↳ bin/rails:9
+ [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4169262226251541860)[0m
+ ↳ bin/rails:9
+ [1m[35m (0.3ms)[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-18 09:59:08 -0700
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/shirleychu/.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 (5.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (11.3ms)
+Completed 200 OK in 229ms (Views: 212.0ms | ActiveRecord: 6.8ms)
+
+
+Started GET "/" for ::1 at 2019-04-18 09:59:14 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (24.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (26.0ms)
+Completed 200 OK in 54ms (Views: 27.4ms | ActiveRecord: 24.3ms)
+
+
+Started GET "/" for ::1 at 2019-04-18 09:59:16 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (32.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (34.4ms)
+Completed 200 OK in 62ms (Views: 25.0ms | ActiveRecord: 32.6ms)
+
+
+Started GET "/" for ::1 at 2019-04-18 10:04:20 -0700
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/shirleychu/.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.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (6.1ms)
+Completed 200 OK in 232ms (Views: 207.3ms | ActiveRecord: 1.8ms)
+
+
+Started GET "/" for ::1 at 2019-04-18 10:06:14 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (4.6ms)
+Completed 200 OK in 38ms (Views: 34.0ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-18 10:06:29 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (21.9ms)
+ Rendered tasks/new.html.erb within layouts/application (24.9ms)
+Completed 200 OK in 80ms (Views: 40.9ms | ActiveRecord: 27.2ms)
+
+
+Started GET "/" for ::1 at 2019-04-18 10:06:35 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (42.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (44.0ms)
+Completed 200 OK in 84ms (Views: 34.6ms | ActiveRecord: 42.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-18 10:07:44 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (111.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (114.8ms)
+Completed 200 OK in 464ms (Views: 348.4ms | ActiveRecord: 111.9ms)
+
+
+Started GET "/" for ::1 at 2019-04-18 10:08:06 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 30ms (Views: 26.1ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2019-04-24 22:46:08 -0700
+ [1m[35m (3.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ ↳ /Users/shirleychu/.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 (5.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ ↳ app/views/tasks/index.html.erb:11
+ Rendered tasks/index.html.erb within layouts/application (11.6ms)
+Completed 200 OK in 351ms (Views: 335.1ms | ActiveRecord: 7.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2019-04-24 22:46:12 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (12.3ms)
+ Rendered tasks/new.html.erb within layouts/application (15.8ms)
+Completed 200 OK in 55ms (Views: 32.9ms | ActiveRecord: 11.6ms)
+
+
diff --git a/log/generate.log b/log/generate.log
new file mode 100644
index 000000000..e69de29bb
diff --git a/log/test.log b/log/test.log
new file mode 100644
index 000000000..788f21400
--- /dev/null
+++ b/log/test.log
@@ -0,0 +1,14708 @@
+ [1m[35m (208.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ [1m[35m (437.0ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ [1m[35mSQL (1.0ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
+ [1m[35m (38.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
+ [1m[35m (32.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
+ [1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [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", "test"], ["created_at", "2019-04-08 20:37:36.627061"], ["updated_at", "2019-04-08 20:37:36.627061"]]
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (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.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::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.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (188.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ [1m[35m (391.4ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ [1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
+ [1m[35m (4.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
+ [1m[35m (0.6ms)[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 (0)[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.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2019-04-08 21:19:14.925694"], ["updated_at", "2019-04-08 21:19:14.925694"]]
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.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-08 14:19:15 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 225ms (Views: 218.9ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (212.9ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ [1m[35m (470.0ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ [1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
+ [1m[35m (5.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
+ [1m[35m (4.9ms)[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.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", "test"], ["created_at", "2019-04-08 21:24:04.122782"], ["updated_at", "2019-04-08 21:24:04.122782"]]
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-08 14:24:04 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 150ms (Views: 145.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.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.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (214.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ [1m[35m (402.2ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ [1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
+ [1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
+ [1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
+ [1m[35m (5.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
+ [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.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", "test"], ["created_at", "2019-04-08 21:35:17.150746"], ["updated_at", "2019-04-08 21:35:17.150746"]]
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+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_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_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-08 14:35:17 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 148ms (Views: 142.1ms | 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-08 14:35:17 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (209.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ [1m[35m (488.9ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ [1m[35mSQL (1.8ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
+ [1m[35m (4.5ms)[0m [1m[35mDROP TABLE IF EXISTS "tasks" CASCADE[0m
+ [1m[35m (15.5ms)[0m [1m[35mCREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completion_date" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ [1m[35m (2.4ms)[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 (2.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20190409225013)[0m
+ [1m[35m (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
+(20190409223500);
+
+[0m
+ [1m[35m (5.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
+ [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[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", "test"], ["created_at", "2019-04-10 23:12:05.156863"], ["updated_at", "2019-04-10 23:12:05.156863"]]
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (4.9ms)[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 (1.8ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "completion_date", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-10 23:12:05.453474', '2019-04-10 23:12:05.453474'), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-10 23:12:05.453474', '2019-04-10 23:12:05.453474')[0m
+ [1m[35m (0.7ms)[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 "/task/new" for 127.0.0.1 at 2019-04-10 16:12:05 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (14.4ms)
+Completed 200 OK in 213ms (Views: 203.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 (3.0ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-10 16:12:05 -0700
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "completion_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-15 16:12:05 -0700"], ["created_at", "2019-04-10 23:12:05.721636"], ["updated_at", "2019-04-10 23:12:05.721636"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 16:12:05 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 6ms (Views: 1.7ms | 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-10 16:12:05 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+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
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-10 16:12:05 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.1ms)
+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
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-10 16:12: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 (0.9ms)
+Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms)
+ [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", "name", "description", "completion_date", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-10 23:16:19.603599', '2019-04-10 23:16:19.603599'), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-10 23:16:19.603599', '2019-04-10 23:16:19.603599')[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::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 16:16: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]]
+Completed 404 Not Found in 7ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "completion_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-15 16:16:19 -0700"], ["created_at", "2019-04-10 23:16:19.664557"], ["updated_at", "2019-04-10 23:16:19.664557"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 16:16:19 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 207ms (Views: 199.8ms | ActiveRecord: 0.2ms)
+ [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-10 16:16:19 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-10 16:16:19 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 2ms (Views: 1.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 "/task/new" for 127.0.0.1 at 2019-04-10 16:16: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.7ms)
+Completed 200 OK in 14ms (Views: 11.5ms | ActiveRecord: 0.0ms)
+ [1m[35m (5.0ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (17.8ms)[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 (1.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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-10 16:16:19 -0700
+ [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.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", "name", "description", "completion_date", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-10 23:18:40.563858', '2019-04-10 23:18:40.563858'), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-10 23:18:40.563858', '2019-04-10 23:18:40.563858')[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.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
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-10 16:18:40 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (8.2ms)
+Completed 200 OK in 205ms (Views: 198.3ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-10 16:18:40 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.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.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.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/task/new" for 127.0.0.1 at 2019-04-10 16:18:40 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (10.6ms)
+Completed 200 OK in 16ms (Views: 11.7ms | 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 16:18:40 -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 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.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "completion_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-15 16:18:40 -0700"], ["created_at", "2019-04-10 23:18:40.842766"], ["updated_at", "2019-04-10 23:18:40.842766"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 16:18:40 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-10 16:18:40 -0700
+ [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", "name", "description", "completion_date", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-10 23:20:35.909020', '2019-04-10 23:20:35.909020'), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-10 23:20:35.909020', '2019-04-10 23:20:35.909020')[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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/task/new" for 127.0.0.1 at 2019-04-10 16:20:35 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (13.2ms)
+Completed 200 OK in 168ms (Views: 158.1ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "completion_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-15 16:20:36 -0700"], ["created_at", "2019-04-10 23:20:36.106846"], ["updated_at", "2019-04-10 23:20:36.106846"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 16:20:36 -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 11ms (Views: 2.9ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 16:20: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::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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-10 16:20:36 -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.9ms)
+Completed 200 OK in 8ms (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-10 16:20:36 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 4ms (Views: 3.6ms | 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.8ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-10 16:20:36 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>nil}}
+Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.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", "name", "description", "completion_date", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-10 23:32:10.609608', '2019-04-10 23:32:10.609608'), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-10 23:32:10.609608', '2019-04-10 23:32:10.609608')[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
+-----------------------------
+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 16:32: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 9ms (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" ("name", "description", "completion_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-15 16:32:10 -0700"], ["created_at", "2019-04-10 23:32:10.650758"], ["updated_at", "2019-04-10 23:32:10.650758"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 16:32:10 -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 193ms (Views: 189.0ms | 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[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/task/new" for 127.0.0.1 at 2019-04-10 16:32:10 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (10.0ms)
+Completed 200 OK in 14ms (Views: 11.4ms | 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-10 16:32:10 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>nil}}
+Completed 500 Internal Server Error in 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-10 16:32:10 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-10 16:32:10 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "completion_date", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-10 23:32:29.337576', '2019-04-10 23:32:29.337576'), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-10 23:32:29.337576', '2019-04-10 23:32:29.337576')[0m
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-10 16:32:29 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (10.5ms)
+Completed 200 OK in 202ms (Views: 196.3ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-10 16:32: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 (0.8ms)
+Completed 200 OK in 2ms (Views: 1.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.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "completion_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-15 16:32:29 -0700"], ["created_at", "2019-04-10 23:32:29.571559"], ["updated_at", "2019-04-10 23:32:29.571559"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 16:32:29 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 16:32: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::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_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 "/task/new" for 127.0.0.1 at 2019-04-10 16:32:29 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (9.8ms)
+Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-10 16:32:29 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>nil}}
+Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "completion_date", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-10 23:32:47.811682', '2019-04-10 23:32:47.811682'), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-10 23:32:47.811682', '2019-04-10 23:32:47.811682')[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_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-10 16:32: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 (7.8ms)
+Completed 200 OK in 189ms (Views: 183.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 16:32:48 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-10 16:32:48 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>nil}}
+Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 16:32: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 3ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "completion_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-15 16:32:48 -0700"], ["created_at", "2019-04-10 23:32:48.061559"], ["updated_at", "2019-04-10 23:32:48.061559"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 16:32:48 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 4ms (Views: 1.3ms | 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 "/task/new" for 127.0.0.1 at 2019-04-10 16:32:48 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (7.3ms)
+Completed 200 OK in 11ms (Views: 9.0ms | 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.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "completion_date", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-10 23:32:59.352947', '2019-04-10 23:32:59.352947'), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-10 23:32:59.352947', '2019-04-10 23:32:59.352947')[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_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "completion_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-15 16:32:59 -0700"], ["created_at", "2019-04-10 23:32:59.370102"], ["updated_at", "2019-04-10 23:32:59.370102"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-10 16:32:59 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 180ms (Views: 172.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-10 16:32:59 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+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-10 16:32: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 (1.2ms)
+Completed 200 OK in 5ms (Views: 2.0ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-10 16:32: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 (0.8ms)
+Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-10 16:32:59 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>nil}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-10 23:32:59.586441"], ["updated_at", "2019-04-10 23:32:59.586441"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/task/new" for 127.0.0.1 at 2019-04-10 16:32:59 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (10.8ms)
+Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "completion_date", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-10 23:34:28.237553', '2019-04-10 23:34:28.237553'), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-10 23:34:28.237553', '2019-04-10 23:34:28.237553')[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_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/task/new" for 127.0.0.1 at 2019-04-10 16:34:28 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (12.7ms)
+Completed 200 OK in 210ms (Views: 198.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::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 16:34:28 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completion_date"=>nil}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-10 23:34:28.482321"], ["updated_at", "2019-04-10 23:34:28.482321"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 16:34:28 -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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "completion_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["completion_date", "2019-04-15 16:34:28 -0700"], ["created_at", "2019-04-10 23:34:28.504547"], ["updated_at", "2019-04-10 23:34:28.504547"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-10 16:34:28 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-10 16:34: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 (1.2ms)
+Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-10 16:34: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 (1.0ms)
+Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "completion_date", "created_at", "updated_at") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-10 23:34:37.532650', '2019-04-10 23:34:37.532650'), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-10 23:34:37.532650', '2019-04-10 23:34:37.532650')[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::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/task/new" for 127.0.0.1 at 2019-04-10 16:34:37 -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 174ms (Views: 165.3ms | 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-10 16:34:37 -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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-10 23:34:37.736525"], ["updated_at", "2019-04-10 23:34:37.736525"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::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 16:34:37 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 3ms (Views: 1.8ms | 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 16:34:37 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 16:34: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.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ [1m[35m (219.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ [1m[35m (471.0ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ [1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
+ [1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "tasks" CASCADE[0m
+ [1m[35m (18.0ms)[0m [1m[35mCREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completion_date" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ [1m[35m (2.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20190409225013)[0m
+ [1m[35m (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
+(20190409223500);
+
+[0m
+ [1m[35m (2.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.4ms)[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.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", "test"], ["created_at", "2019-04-10 23:52:11.982101"], ["updated_at", "2019-04-10 23:52:11.982101"]]
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ [1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ [1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ [1m[35m (194.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ [1m[35m (433.0ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ [1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
+ [1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "tasks" CASCADE[0m
+ [1m[35m (7.1ms)[0m [1m[35mCREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "completion_date" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completed" boolean DEFAULT FALSE)[0m
+ [1m[35m (2.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
+ [1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20190410235715)[0m
+ [1m[35m (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
+(20190409223500),
+(20190409225013);
+
+[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.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2019-04-11 00:01:31.258476"], ["updated_at", "2019-04-11 00:01:31.258476"]]
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "completion_date", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-11 00:01:31.556642', '2019-04-11 00:01:31.556642', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-11 00:01:31.556642', '2019-04-11 00:01:31.556642', DEFAULT)[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::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-10 17:01:31 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (6.7ms)
+Completed 200 OK in 199ms (Views: 190.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-10 17:01:31 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 00:01:31.789722"], ["updated_at", "2019-04-11 00:01:31.789722"]]
+ [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 17:01:31 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 17:01:31 -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 "/task/new" for 127.0.0.1 at 2019-04-10 17:01:31 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (11.7ms)
+Completed 200 OK in 15ms (Views: 13.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-10 17:01:31 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 00:01:31.832071"], ["updated_at", "2019-04-11 00:01:31.832071"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "completion_date", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-11 00:02:40.496094', '2019-04-11 00:02:40.496094', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-11 00:02:40.496094', '2019-04-11 00:02:40.496094', DEFAULT)[0m
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 00:02:40.517265"], ["updated_at", "2019-04-11 00:02:40.517265"]]
+ [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 17:02:40 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 191ms (Views: 180.6ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 17:02:40 -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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-10 17:02:40 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 00:02:40.729135"], ["updated_at", "2019-04-11 00:02:40.729135"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.4ms)
+ [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-10 17:02:40 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 5ms (Views: 2.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-10 17:02:40 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 3ms (Views: 2.3ms | 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 "/task/new" for 127.0.0.1 at 2019-04-10 17:02:40 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (9.5ms)
+Completed 200 OK in 15ms (Views: 10.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[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "completion_date", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-11 00:04:20.310603', '2019-04-11 00:04:20.310603', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-11 00:04:20.310603', '2019-04-11 00:04:20.310603', DEFAULT)[0m
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 00:04:20.329113"], ["updated_at", "2019-04-11 00:04:20.329113"]]
+ [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 17:04: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 (1.2ms)
+Completed 200 OK in 192ms (Views: 181.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-10 17:04:20 -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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-10 17:04:20 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 00:04:20.540020"], ["updated_at", "2019-04-11 00:04:20.540020"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+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
+-----------------------------
+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 17:04: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.1ms)
+Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-10 17:04: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 (0.7ms)
+Completed 200 OK in 2ms (Views: 1.4ms | 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 "/task/new" for 127.0.0.1 at 2019-04-10 17:04:20 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (9.1ms)
+Completed 200 OK in 13ms (Views: 10.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "completion_date", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-11 00:04:33.337315', '2019-04-11 00:04:33.337315', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-11 00:04:33.337315', '2019-04-11 00:04:33.337315', DEFAULT)[0m
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-11 00:04:33.362959"], ["updated_at", "2019-04-11 00:04:33.362959"]]
+ [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 17:04:33 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 180ms (Views: 167.7ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-10 17:04: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 2ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.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 17:04:33 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-10 17:04:33 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/task/new" for 127.0.0.1 at 2019-04-10 17:04:33 -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 13ms (Views: 11.0ms | 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-10 17:04:33 -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.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-11 00:04:33.625656"], ["updated_at", "2019-04-11 00:04:33.625656"]]
+ [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.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (3.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (6.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (4.5ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (3.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "completion_date", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-12 19:20:54.912841', '2019-04-12 19:20:54.912841', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-12 19:20:54.912841', '2019-04-12 19:20:54.912841', DEFAULT)[0m
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 19:20:54.973693"], ["updated_at", "2019-04-12 19:20:54.973693"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-12 12:20:54 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 143ms (Views: 132.2ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-12 12:20:55 -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 (1.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 19:20:55.138141"], ["updated_at", "2019-04-12 19:20:55.138141"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (5.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-12 12:20:55 -0700
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-12 12:20:55 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (11.4ms)
+Completed 200 OK in 15ms (Views: 12.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-12 12:20: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 (1.5ms)
+Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-12 12:20:55 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (2.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-12 12:20:55 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 19:20:55.303344"], ["updated_at", "2019-04-12 19:20:55.303344"]]
+ [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.9ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 19:20:55.313152"], ["updated_at", "2019-04-12 19:20:55.313152"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966" for 127.0.0.1 at 2019-04-12 12:20:55 -0700
+ [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", "name", "description", "completion_date", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-12 19:25:52.711007', '2019-04-12 19:25:52.711007', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-12 19:25:52.711007', '2019-04-12 19:25:52.711007', DEFAULT)[0m
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 19:25:52.728856"], ["updated_at", "2019-04-12 19:25:52.728856"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963" for 127.0.0.1 at 2019-04-12 12:25:52 -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
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-12 12:25:52 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Completed 500 Internal Server Error in 11ms (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_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 19:25:52.794825"], ["updated_at", "2019-04-12 19:25:52.794825"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-12 12:25: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 (1.6ms)
+Completed 200 OK in 139ms (Views: 131.3ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-12 12:25: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.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-12 12:25:52 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (26.0ms)
+Completed 200 OK in 30ms (Views: 27.0ms | 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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 19:25:52.982219"], ["updated_at", "2019-04-12 19:25:52.982219"]]
+ [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
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-12 12:25:53 -0700
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-12 12:25:53 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-12 12:25:53 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "completion_date", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-12 19:29:37.806766', '2019-04-12 19:29:37.806766', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-12 19:29:37.806766', '2019-04-12 19:29:37.806766', DEFAULT)[0m
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "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::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-12 12:29:37 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 19:29:37.851639"], ["updated_at", "2019-04-12 19:29:37.851639"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-12 12:29: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 (1.7ms)
+Completed 200 OK in 202ms (Views: 195.6ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-12 12:29: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 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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 19:29:38.066351"], ["updated_at", "2019-04-12 19:29:38.066351"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964" for 127.0.0.1 at 2019-04-12 12:29:38 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"980190964"}
+No template found for TasksController#update, rendering head :no_content
+Completed 204 No Content in 89ms (ActiveRecord: 0.0ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 19:29:38.162331"], ["updated_at", "2019-04-12 19:29:38.162331"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-12 12:29:38 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["LIMIT", 1]]
+Completed 406 Not Acceptable in 84ms (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-12 12:29:38 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 7ms (Views: 3.0ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-12 12:29: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 (0.7ms)
+Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-12 12:29:38 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (12.6ms)
+Completed 200 OK in 16ms (Views: 14.0ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "completion_date", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-12 19:31:22.296019', '2019-04-12 19:31:22.296019', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-12 19:31:22.296019', '2019-04-12 19:31:22.296019', DEFAULT)[0m
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "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-12 12:31:22 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (15.9ms)
+Completed 200 OK in 220ms (Views: 209.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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-12 12:31:22 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 19:31:22.544060"], ["updated_at", "2019-04-12 19:31:22.544060"]]
+ [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"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-12 12:31:22 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-12 12:31:22 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 2ms (Views: 1.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-12 12:31:22 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 19:31:22.568180"], ["updated_at", "2019-04-12 19:31:22.568180"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-12 12:31:22 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 6ms (Views: 2.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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 19:31:22.583336"], ["updated_at", "2019-04-12 19:31:22.583336"]]
+ [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::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-12 12:31:22 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["LIMIT", 1]]
+Completed 406 Not Acceptable in 89ms (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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 19:31:22.711624"], ["updated_at", "2019-04-12 19:31:22.711624"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966" for 127.0.0.1 at 2019-04-12 12:31:22 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"980190966"}
+No template found for TasksController#update, rendering head :no_content
+Completed 204 No Content in 83ms (ActiveRecord: 0.0ms)
+ [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.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "completion_date", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-12 19:33:59.196206', '2019-04-12 19:33:59.196206', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-12 19:33:59.196206', '2019-04-12 19:33:59.196206', DEFAULT)[0m
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-12 12:33:59 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (14.7ms)
+Completed 200 OK in 212ms (Views: 201.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.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 19:33:59.428435"], ["updated_at", "2019-04-12 19:33:59.428435"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963" for 127.0.0.1 at 2019-04-12 12:33:59 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"980190963"}
+No template found for TasksController#update, rendering head :no_content
+Completed 204 No Content in 90ms (ActiveRecord: 0.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.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-12 12:33: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 (1.3ms)
+Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-12 12:33: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 (0.7ms)
+Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 19:33:59.546017"], ["updated_at", "2019-04-12 19:33:59.546017"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964/edit" for 127.0.0.1 at 2019-04-12 12:33:59 -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]]
+Completed 406 Not Acceptable in 86ms (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/3456/edit" for 127.0.0.1 at 2019-04-12 12:33:59 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["LIMIT", 1]]
+Completed 406 Not Acceptable 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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-12 12:33:59 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 19:33:59.643304"], ["updated_at", "2019-04-12 19:33:59.643304"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 19:33:59.648242"], ["updated_at", "2019-04-12 19:33:59.648242"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-12 12:33:59 -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
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-12 12:33: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 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.2ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "completion_date", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-12 19:39:13.770558', '2019-04-12 19:39:13.770558', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-12 19:39:13.770558', '2019-04-12 19:39:13.770558', DEFAULT)[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::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 19:39:13.788467"], ["updated_at", "2019-04-12 19:39:13.788467"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963/edit" for 127.0.0.1 at 2019-04-12 12:39:13 -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 (0.9ms)
+Completed 500 Internal Server Error in 18ms (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/3456/edit" for 127.0.0.1 at 2019-04-12 12:39:13 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (0.7ms)
+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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-12 12:39:13 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 19:39:13.842368"], ["updated_at", "2019-04-12 19:39:13.842368"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-12 12:39:13 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.6ms)
+Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 19:39:13.862020"], ["updated_at", "2019-04-12 19:39:13.862020"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965" for 127.0.0.1 at 2019-04-12 12:39:13 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"980190965"}
+No template found for TasksController#update, rendering head :no_content
+Completed 204 No Content in 89ms (ActiveRecord: 0.0ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 19:39:13.958091"], ["updated_at", "2019-04-12 19:39:13.958091"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-12 12:39: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 (1.4ms)
+Completed 200 OK in 173ms (Views: 169.0ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-12 12:39:14 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/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-12 12:39:14 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.1ms)
+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
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-12 12:39:14 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+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.2ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "completion_date", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-12 19:41:23.002920', '2019-04-12 19:41:23.002920', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-12 19:41:23.002920', '2019-04-12 19:41:23.002920', DEFAULT)[0m
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 19:41:23.020021"], ["updated_at", "2019-04-12 19:41:23.020021"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963" for 127.0.0.1 at 2019-04-12 12:41:23 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"980190963"}
+No template found for TasksController#update, rendering head :no_content
+Completed 204 No Content in 88ms (ActiveRecord: 0.0ms)
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 19:41:23.132708"], ["updated_at", "2019-04-12 19:41:23.132708"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-12 12:41:23 -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.7ms)
+Completed 200 OK in 187ms (Views: 183.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-12 12:41: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
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-12 12:41: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.5ms)
+Completed 500 Internal Server Error in 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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-12 12:41:23 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 19:41:23.338112"], ["updated_at", "2019-04-12 19:41:23.338112"]]
+ [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.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-12 12:41:23 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (0.5ms)
+Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 19:41:23.351192"], ["updated_at", "2019-04-12 19:41:23.351192"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966/edit" for 127.0.0.1 at 2019-04-12 12:41:23 -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.3ms)
+Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-12 12:41: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 (1.2ms)
+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::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-12 12:41:23 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 2ms (Views: 1.6ms | 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.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "completion_date", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-12 19:42:38.506485', '2019-04-12 19:42:38.506485', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-12 19:42:38.506485', '2019-04-12 19:42:38.506485', DEFAULT)[0m
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 19:42:38.525071"], ["updated_at", "2019-04-12 19:42:38.525071"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963/edit" for 127.0.0.1 at 2019-04-12 12:42:38 -0700
+Processing by TasksController#edit 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/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (13.4ms)
+ Rendered tasks/edit.html.erb within layouts/application (17.5ms)
+Completed 200 OK in 204ms (Views: 193.2ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.5ms)[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/3456/edit" for 127.0.0.1 at 2019-04-12 12:42:38 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 19:42:38.745830"], ["updated_at", "2019-04-12 19:42:38.745830"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-12 12:42:38 -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 4ms (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-12 12:42: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 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-12 12:42:38 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.0ms)
+ Rendered tasks/new.html.erb within layouts/application (1.3ms)
+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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-12 12:42:38 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 19:42:38.770331"], ["updated_at", "2019-04-12 19:42:38.770331"]]
+ [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.6ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.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.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 19:42:38.779318"], ["updated_at", "2019-04-12 19:42:38.779318"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966" for 127.0.0.1 at 2019-04-12 12:42:38 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"980190966"}
+No template found for TasksController#update, rendering head :no_content
+Completed 204 No Content in 90ms (ActiveRecord: 0.0ms)
+ [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.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-12 12:42: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 (1.3ms)
+Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-12 12:42: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 (0.7ms)
+Completed 200 OK in 2ms (Views: 1.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.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", "name", "description", "completion_date", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-12 21:11:22.783582', '2019-04-12 21:11:22.783582', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-12 21:11:22.783582', '2019-04-12 21:11:22.783582', DEFAULT)[0m
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:11:22.801245"], ["updated_at", "2019-04-12 21:11:22.801245"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963/edit" for 127.0.0.1 at 2019-04-12 14:11:22 -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/_form.html.erb (14.7ms)
+ Rendered tasks/edit.html.erb within layouts/application (18.3ms)
+Completed 200 OK in 238ms (Views: 224.8ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-12 14:11:23 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:11:23.056132"], ["updated_at", "2019-04-12 21:11:23.056132"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-12 14:11:23 -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 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-12 14:11: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
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-12 14:11:23 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-12 14:11: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 (0.7ms)
+Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:11:23.080972"], ["updated_at", "2019-04-12 21:11:23.080972"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965" for 127.0.0.1 at 2019-04-12 14:11:23 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 (1.8ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-12 21:11:23.090586"], ["id", 980190965]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/
+Completed 302 Found in 6ms (ActiveRecord: 2.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/1234" for 127.0.0.1 at 2019-04-12 14:11:23 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["LIMIT", 1]]
+Completed 404 Not 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-12 14:11:23 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.3ms)
+ Rendered tasks/new.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 6ms (Views: 3.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::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-12 14:11:23 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 21:11:23.115473"], ["updated_at", "2019-04-12 21:11:23.115473"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190966
+Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "completion_date", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-12 21:12:05.877842', '2019-04-12 21:12:05.877842', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-12 21:12:05.877842', '2019-04-12 21:12:05.877842', DEFAULT)[0m
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "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-12 14:12:05 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:12:05.911997"], ["updated_at", "2019-04-12 21:12:05.911997"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-12 14:12:05 -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.9ms)
+Completed 200 OK in 187ms (Views: 183.0ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-12 14:12:06 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:12:06.112837"], ["updated_at", "2019-04-12 21:12:06.112837"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964/edit" for 127.0.0.1 at 2019-04-12 14:12:06 -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/_form.html.erb (11.0ms)
+ Rendered tasks/edit.html.erb within layouts/application (12.9ms)
+Completed 200 OK in 16ms (Views: 13.9ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-12 14:12:06 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 5ms (Views: 2.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-12 14:12: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 (0.7ms)
+Completed 200 OK in 2ms (Views: 1.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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-12 14:12:06 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 21:12:06.154403"], ["updated_at", "2019-04-12 21:12:06.154403"]]
+ [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.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-12 14:12:06 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.0ms)
+ Rendered tasks/new.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 5ms (Views: 2.3ms | 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.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:12:06.169259"], ["updated_at", "2019-04-12 21:12:06.169259"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966" for 127.0.0.1 at 2019-04-12 14:12:06 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-12 21:12:06.173360"], ["id", 980190966]]
+ [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[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/1234" for 127.0.0.1 at 2019-04-12 14:12:06 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["LIMIT", 1]]
+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.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.8ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "completion_date", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-12 21:12:37.855594', '2019-04-12 21:12:37.855594', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-12 21:12:37.855594', '2019-04-12 21:12:37.855594', DEFAULT)[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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:12:37.876886"], ["updated_at", "2019-04-12 21:12:37.876886"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-12 14:12: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.8ms)
+Completed 200 OK in 164ms (Views: 155.5ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-12 14:12:38 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/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
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-12 14:12:38 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (6.4ms)
+ Rendered tasks/new.html.erb within layouts/application (9.1ms)
+Completed 200 OK in 13ms (Views: 10.4ms | 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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:12:38.075749"], ["updated_at", "2019-04-12 21:12:38.075749"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964/edit" for 127.0.0.1 at 2019-04-12 14:12: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/_form.html.erb (1.0ms)
+ Rendered tasks/edit.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 4ms (Views: 2.2ms | 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/3456/edit" for 127.0.0.1 at 2019-04-12 14:12:38 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:12:38.089144"], ["updated_at", "2019-04-12 21:12:38.089144"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965" for 127.0.0.1 at 2019-04-12 14:12:38 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-12 21:12:38.094687"], ["id", 980190965]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/
+Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
+ [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/1234" for 127.0.0.1 at 2019-04-12 14:12:38 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["LIMIT", 1]]
+Redirected to
+Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)
+ [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-12 14:12: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 (1.1ms)
+Completed 200 OK in 4ms (Views: 1.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-12 14:12: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 (1.3ms)
+Completed 200 OK in 3ms (Views: 2.0ms | 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-12 14:12:38 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 21:12:38.119298"], ["updated_at", "2019-04-12 21:12:38.119298"]]
+ [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.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "completion_date", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-12 21:13:23.513123', '2019-04-12 21:13:23.513123', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-12 21:13:23.513123', '2019-04-12 21:13:23.513123', DEFAULT)[0m
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::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-12 14:13:23 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 21:13:23.546216"], ["updated_at", "2019-04-12 21:13:23.546216"]]
+ [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: 1.0ms)
+ [1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:13:23.562152"], ["updated_at", "2019-04-12 21:13:23.562152"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-12 14:13:23 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 165ms (Views: 160.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-12 14:13: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.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-12 14:13: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 (1.1ms)
+Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-12 14:13: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 (0.6ms)
+Completed 200 OK in 2ms (Views: 1.2ms | 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/3456/edit" for 127.0.0.1 at 2019-04-12 14:13:23 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:13:23.754101"], ["updated_at", "2019-04-12 21:13:23.754101"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965/edit" for 127.0.0.1 at 2019-04-12 14:13:23 -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/_form.html.erb (9.8ms)
+ Rendered tasks/edit.html.erb within layouts/application (12.0ms)
+Completed 200 OK in 15ms (Views: 12.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-12 14:13:23 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.1ms)
+ Rendered tasks/new.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/1234" for 127.0.0.1 at 2019-04-12 14:13:23 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["LIMIT", 1]]
+Redirected to
+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::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:13:23.785621"], ["updated_at", "2019-04-12 21:13:23.785621"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966" for 127.0.0.1 at 2019-04-12 14:13:23 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-12 21:13:23.788774"], ["id", 980190966]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/
+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", 980190966], ["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.4ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "completion_date", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-12 21:14:08.430610', '2019-04-12 21:14:08.430610', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-12 21:14:08.430610', '2019-04-12 21:14:08.430610', DEFAULT)[0m
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "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-12 14:14: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
+ Rendered tasks/index.html.erb within layouts/application (8.7ms)
+Completed 200 OK in 189ms (Views: 182.7ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-12 14:14: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 (0.9ms)
+Completed 200 OK in 2ms (Views: 1.6ms | 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-12 14:14:08 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (6.6ms)
+ Rendered tasks/new.html.erb within layouts/application (8.5ms)
+Completed 200 OK in 12ms (Views: 9.5ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:14:08.662233"], ["updated_at", "2019-04-12 21:14:08.662233"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963" for 127.0.0.1 at 2019-04-12 14:14:08 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-12 21:14:08.670665"], ["id", 980190963]]
+ [1m[35m (0.4ms)[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.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/1234" for 127.0.0.1 at 2019-04-12 14:14:08 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["LIMIT", 1]]
+Redirected to http://www.example.com/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:14:08.684104"], ["updated_at", "2019-04-12 21:14:08.684104"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964" for 127.0.0.1 at 2019-04-12 14:14: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 (0.4ms)
+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-12 14:14:08 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/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
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:14:08.700143"], ["updated_at", "2019-04-12 21:14:08.700143"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965/edit" for 127.0.0.1 at 2019-04-12 14:14:08 -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/_form.html.erb (1.2ms)
+ Rendered tasks/edit.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 6ms (Views: 2.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/3456/edit" for 127.0.0.1 at 2019-04-12 14:14:08 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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-12 14:14:08 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 21:14:08.715594"], ["updated_at", "2019-04-12 21:14:08.715594"]]
+ [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"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "completion_date", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-12 21:22:14.949835', '2019-04-12 21:22:14.949835', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-12 21:22:14.949835', '2019-04-12 21:22:14.949835', DEFAULT)[0m
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::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-12 14:22:14 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 21:22:14.979053"], ["updated_at", "2019-04-12 21:22:14.979053"]]
+ [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.8ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:22:14.993331"], ["updated_at", "2019-04-12 21:22:14.993331"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190964/edit" for 127.0.0.1 at 2019-04-12 14:22:14 -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/_form.html.erb (13.2ms)
+ Rendered tasks/edit.html.erb within layouts/application (16.7ms)
+Completed 200 OK in 204ms (Views: 201.0ms | 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/3456/edit" for 127.0.0.1 at 2019-04-12 14:22:15 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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-12 14:22:15 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-12 14:22:15 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 2ms (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_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:22:15.220088"], ["updated_at", "2019-04-12 21:22:15.220088"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-12 14:22:15 -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.4ms)
+Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-12 14:22:15 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-12 14:22:15 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.7ms)
+ Rendered tasks/new.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 6ms (Views: 3.6ms | 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/1234" for 127.0.0.1 at 2019-04-12 14:22:15 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:22:15.245059"], ["updated_at", "2019-04-12 21:22:15.245059"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966" for 127.0.0.1 at 2019-04-12 14:22:15 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-12 21:22:15.248993"], ["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 3ms (ActiveRecord: 0.6ms)
+ [1m[36mTask Load (0.1ms)[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.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "completion_date", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-12 21:26:00.821122', '2019-04-12 21:26:00.821122', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-12 21:26:00.821122', '2019-04-12 21:26:00.821122', DEFAULT)[0m
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:26:00.839516"], ["updated_at", "2019-04-12 21:26:00.839516"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963/edit" for 127.0.0.1 at 2019-04-12 14:26:00 -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/_form.html.erb (13.1ms)
+ Rendered tasks/edit.html.erb within layouts/application (16.8ms)
+Completed 200 OK in 221ms (Views: 209.3ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-12 14:26:01 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:26:01.079153"], ["updated_at", "2019-04-12 21:26:01.079153"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964" for 127.0.0.1 at 2019-04-12 14:26:01 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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.2ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-12 21:26:01.087532"], ["id", 980190964]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/1234" for 127.0.0.1 at 2019-04-12 14:26:01 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:26:01.095885"], ["updated_at", "2019-04-12 21:26:01.095885"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-12 14:26:01 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.1ms)
+ Rendered tasks/new.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 5ms (Views: 3.1ms | 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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:26:01.110088"], ["updated_at", "2019-04-12 21:26:01.110088"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966" for 127.0.0.1 at 2019-04-12 14:26:01 -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 5ms (Views: 1.7ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-12 14:26:01 -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.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-12 14:26: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 (1.3ms)
+Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-12 14:26:01 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::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-12 14:26:01 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 21:26:01.140921"], ["updated_at", "2019-04-12 21:26:01.140921"]]
+ [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.4ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "completion_date", "created_at", "updated_at", "completed") VALUES (980190962, 'MyString', 'MyString', '2019-04-09', '2019-04-12 21:26:37.955148', '2019-04-12 21:26:37.955148', DEFAULT), (298486374, 'MyString', 'MyString', '2019-04-09', '2019-04-12 21:26:37.955148', '2019-04-12 21:26:37.955148', DEFAULT)[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::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:26:37.975605"], ["updated_at", "2019-04-12 21:26:37.975605"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963" for 127.0.0.1 at 2019-04-12 14:26:37 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-12 21:26:37.991954"], ["id", 980190963]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 11ms (ActiveRecord: 1.0ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/1234" for 127.0.0.1 at 2019-04-12 14:26:37 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-12 14:26:38 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (6.7ms)
+ Rendered tasks/new.html.erb within layouts/application (9.0ms)
+Completed 200 OK in 171ms (Views: 169.1ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-12 14:26:38 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-12 21:26:38.186955"], ["updated_at", "2019-04-12 21:26:38.186955"]]
+ [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.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-12 14:26: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 (1.8ms)
+Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-12 14:26: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 (0.9ms)
+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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:26:38.209565"], ["updated_at", "2019-04-12 21:26:38.209565"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190965" for 127.0.0.1 at 2019-04-12 14:26:38 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-12 14:26: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 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-12 21:26:38.225028"], ["updated_at", "2019-04-12 21:26:38.225028"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190966/edit" for 127.0.0.1 at 2019-04-12 14:26:38 -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/_form.html.erb (1.2ms)
+ Rendered tasks/edit.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-12 14:26:38 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (1.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (7.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ [1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ [1m[35m (224.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "TaskList_test"[0m
+ [1m[35m (480.9ms)[0m [1m[35mCREATE DATABASE "TaskList_test" ENCODING = 'unicode'[0m
+ [1m[35mSQL (1.0ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
+ [1m[35m (0.6ms)[0m [1m[35mDROP TABLE IF EXISTS "tasks" CASCADE[0m
+ [1m[35m (13.4ms)[0m [1m[35mCREATE TABLE "tasks" ("id" bigserial primary key, "name" character varying, "description" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "completed" boolean DEFAULT FALSE, "completion_date" timestamp)[0m
+ [1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20190414013032)[0m
+ [1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
+(20190413230536),
+(20190410235715),
+(20190409223500),
+(20190409225013);
+
+[0m
+ [1m[35m (2.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mActiveRecord::InternalMetadata Create (0.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", "test"], ["created_at", "2019-04-14 02:35:04.420418"], ["updated_at", "2019-04-14 02:35:04.420418"]]
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.4ms)[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 (4.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 (2.1ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 02:35:04.792200', '2019-04-14 02:35:04.792200', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 02:35:04.792200', '2019-04-14 02:35:04.792200', DEFAULT, '2019-04-09')[0m
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.6ms)[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
+-----------------------------
+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 19:35:04 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (16.6ms)
+ Rendered tasks/new.html.erb within layouts/application (20.1ms)
+Completed 200 OK in 168ms (Views: 161.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 (2.7ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:35:05 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 02:35:05.019377"], ["updated_at", "2019-04-14 02:35:05.019377"]]
+ [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"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------
+TasksController::complete_toggle: test_0001_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:35:05.026560"], ["updated_at", "2019-04-14 02:35:05.026560"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:35:05.039168"], ["updated_at", "2019-04-14 02:35:05.039168"]]
+ [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:35:05 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 02:35:05.043868"], ["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/1234" for 127.0.0.1 at 2019-04-13 19:35:05 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:35:05.054002"], ["updated_at", "2019-04-14 02:35:05.054002"]]
+ [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:35:05 -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.7ms)
+Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:35:05 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/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 19:35:05 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 5ms (Views: 3.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 19:35:05 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+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::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:35:05.080664"], ["updated_at", "2019-04-14 02:35:05.080664"]]
+ [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:35:05 -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/_form.html.erb (1.1ms)
+ Rendered tasks/edit.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-13 19:35:05 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 02:35:29.753650', '2019-04-14 02:35:29.753650', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 02:35:29.753650', '2019-04-14 02:35:29.753650', DEFAULT, '2019-04-09')[0m
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:35:29.773851"], ["updated_at", "2019-04-14 02:35:29.773851"]]
+ [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:35:29 -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/_form.html.erb (13.3ms)
+ Rendered tasks/edit.html.erb within layouts/application (32.1ms)
+Completed 200 OK in 168ms (Views: 158.3ms | 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/3456/edit" for 127.0.0.1 at 2019-04-13 19:35:29 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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-13 19:35:29 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.6ms)
+ Rendered tasks/new.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 6ms (Views: 3.7ms | 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.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:35:29 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 02:35:29.977539"], ["updated_at", "2019-04-14 02:35:29.977539"]]
+ [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.4ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:35:29.984223"], ["updated_at", "2019-04-14 02:35:29.984223"]]
+ [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:35:29 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 02:35:29.987827"], ["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 5ms (ActiveRecord: 0.9ms)
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ [1m[35m (0.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/1234" for 127.0.0.1 at 2019-04-13 19:35:29 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 19:35: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 (2.7ms)
+Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:35:30 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:35:30.014997"], ["updated_at", "2019-04-14 02:35:30.014997"]]
+ [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:35:30 -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.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:35:30 -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::complete_toggle: test_0001_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:35:30.025961"], ["updated_at", "2019-04-14 02:35:30.025961"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 02:35:43.570634', '2019-04-14 02:35:43.570634', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 02:35:43.570634', '2019-04-14 02:35:43.570634', DEFAULT, '2019-04-09')[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 19:35:43 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (5.6ms)
+ Rendered tasks/new.html.erb within layouts/application (9.2ms)
+Completed 200 OK in 135ms (Views: 125.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 19:35:43 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.1ms)
+Completed 200 OK in 8ms (Views: 4.7ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 19:35:43 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 3ms (Views: 2.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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:35:43 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 02:35:43.750354"], ["updated_at", "2019-04-14 02:35:43.750354"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------
+TasksController::complete_toggle: test_0001_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:35:43.757459"], ["updated_at", "2019-04-14 02:35:43.757459"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964/complete_toggle" for 127.0.0.1 at 2019-04-13 19:35:43 -0700
+Processing by TasksController#complete_toggle 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 Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 02:35:43.761108"], ["completed", true], ["updated_at", "2019-04-14 02:35:43.761965"], ["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 5ms (ActiveRecord: 0.8ms)
+ [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/3456/edit" for 127.0.0.1 at 2019-04-13 19:35:43 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:35:43.796716"], ["updated_at", "2019-04-14 02:35:43.796716"]]
+ [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 19:35:43 -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/_form.html.erb (1.3ms)
+ Rendered tasks/edit.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 6ms (Views: 3.0ms | 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_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:35:43.807911"], ["updated_at", "2019-04-14 02:35:43.807911"]]
+ [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:35:43 -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.4ms)
+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 19:35:43 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:35:43.818659"], ["updated_at", "2019-04-14 02:35:43.818659"]]
+ [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 19:35:43 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 02:35:43.822014"], ["id", 980190967]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190967
+Completed 302 Found in 5ms (ActiveRecord: 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/1234" for 127.0.0.1 at 2019-04-13 19:35:43 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 02:35:53.157490', '2019-04-14 02:35:53.157490', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 02:35:53.157490', '2019-04-14 02:35:53.157490', DEFAULT, '2019-04-09')[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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:35:53.175606"], ["updated_at", "2019-04-14 02:35:53.175606"]]
+ [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:35:53 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 187ms (Views: 178.0ms | ActiveRecord: 0.7ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:35:53 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/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::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-13 19:35:53 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:35:53.382394"], ["updated_at", "2019-04-14 02:35:53.382394"]]
+ [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 19:35:53 -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/_form.html.erb (4.3ms)
+ Rendered tasks/edit.html.erb within layouts/application (6.0ms)
+Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:35:53.395316"], ["updated_at", "2019-04-14 02:35:53.395316"]]
+ [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:35:53 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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.2ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 02:35:53.400041"], ["id", 980190965]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ [1m[35m (0.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/1234" for 127.0.0.1 at 2019-04-13 19:35:53 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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::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:35:53 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 02:35:53.412360"], ["updated_at", "2019-04-14 02:35:53.412360"]]
+ [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.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------
+TasksController::complete_toggle: test_0001_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:35:53.417482"], ["updated_at", "2019-04-14 02:35:53.417482"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete_toggle" for 127.0.0.1 at 2019-04-13 19:35:53 -0700
+Processing by TasksController#complete_toggle 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 Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 02:35:53.422860"], ["completed", true], ["updated_at", "2019-04-14 02:35:53.423956"], ["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: 1.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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 19:35:53 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.3ms)
+ Rendered tasks/new.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.0ms)
+ [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 19:35:53 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 5ms (Views: 3.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 19:35:53 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 02:37:15.868833', '2019-04-14 02:37:15.868833', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 02:37:15.868833', '2019-04-14 02:37:15.868833', DEFAULT, '2019-04-09')[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 19:37:15 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 02:37:15.904837"], ["updated_at", "2019-04-14 02:37:15.904837"]]
+ [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.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0001_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:37:15.916598"], ["updated_at", "2019-04-14 02:37:15.916598"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964/complete_toggle" for 127.0.0.1 at 2019-04-13 19:37:15 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 02:37:15.922205"], ["completed", true], ["updated_at", "2019-04-14 02:37:15.922756"], ["id", 980190964]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:37:15.929140"], ["updated_at", "2019-04-14 02:37:15.929140"]]
+ [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:37:15 -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 137ms (Views: 134.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 19:37: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::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/1234" for 127.0.0.1 at 2019-04-13 19:37:16 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:37:16.083028"], ["updated_at", "2019-04-14 02:37:16.083028"]]
+ [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 19:37:16 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 02:37:16.086720"], ["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.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:37: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.2ms)
+Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:37: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 (1.6ms)
+Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 19:37:16 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (11.4ms)
+ Rendered tasks/new.html.erb within layouts/application (13.8ms)
+Completed 200 OK in 17ms (Views: 14.9ms | 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
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-13 19:37:16 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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.7ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:37:16.130770"], ["updated_at", "2019-04-14 02:37:16.130770"]]
+ [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 19:37:16 -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/_form.html.erb (1.0ms)
+ Rendered tasks/edit.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 02:37:50.956149', '2019-04-14 02:37:50.956149', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 02:37:50.956149', '2019-04-14 02:37:50.956149', DEFAULT, '2019-04-09')[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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:37:50.978756"], ["updated_at", "2019-04-14 02:37:50.978756"]]
+ [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:37:50 -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 132ms (Views: 123.9ms | 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 19:37: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::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:37:51 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 02:37:51.132768"], ["updated_at", "2019-04-14 02:37:51.132768"]]
+ [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.4ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:37: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.2ms)
+Completed 200 OK in 4ms (Views: 2.8ms | 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 19:37: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 (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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 19:37:51 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (5.0ms)
+ Rendered tasks/new.html.erb within layouts/application (6.5ms)
+Completed 200 OK in 9ms (Views: 7.4ms | 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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:37:51.161116"], ["updated_at", "2019-04-14 02:37:51.161116"]]
+ [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 19:37:51 -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/_form.html.erb (1.0ms)
+ Rendered tasks/edit.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 4ms (Views: 2.2ms | 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/3456/edit" for 127.0.0.1 at 2019-04-13 19:37:51 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:37:51.174297"], ["updated_at", "2019-04-14 02:37:51.174297"]]
+ [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 19:37:51 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 02:37:51.177537"], ["id", 980190966]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190966
+Completed 302 Found in 4ms (ActiveRecord: 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.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/1234" for 127.0.0.1 at 2019-04-13 19:37:51 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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.3ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0001_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:37:51.187441"], ["updated_at", "2019-04-14 02:37:51.187441"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete_toggle" for 127.0.0.1 at 2019-04-13 19:37:51 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 02:37:51.192182"], ["completed", true], ["updated_at", "2019-04-14 02:37:51.192794"], ["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.6ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 02:38:42.512543', '2019-04-14 02:38:42.512543', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 02:38:42.512543', '2019-04-14 02:38:42.512543', DEFAULT, '2019-04-09')[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_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-13 19:38:42 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:38:42.548966"], ["updated_at", "2019-04-14 02:38:42.548966"]]
+ [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:38:42 -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/_form.html.erb (16.2ms)
+ Rendered tasks/edit.html.erb within layouts/application (20.3ms)
+Completed 200 OK in 158ms (Views: 154.2ms | 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 19:38:42 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.5ms)
+ Rendered tasks/new.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 5ms (Views: 3.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.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:38:42 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 02:38:42.728345"], ["updated_at", "2019-04-14 02:38:42.728345"]]
+ [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.4ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.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/1234" for 127.0.0.1 at 2019-04-13 19:38:42 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:38:42.737212"], ["updated_at", "2019-04-14 02:38:42.737212"]]
+ [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:38:42 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 02:38:42.740953"], ["id", 980190965]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
+ [1m[36mTask Load (0.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.3ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:38:42.748779"], ["updated_at", "2019-04-14 02:38:42.748779"]]
+ [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:38:42 -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.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:38:42 -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
+-----------------------------
+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 19:38: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 (2.8ms)
+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:38: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 (1.7ms)
+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::complete_toggle: test_0001_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:38:42.777039"], ["updated_at", "2019-04-14 02:38:42.777039"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete_toggle" for 127.0.0.1 at 2019-04-13 19:38:42 -0700
+Processing by TasksController#complete_toggle 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 Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 02:38:42.779926"], ["completed", true], ["updated_at", "2019-04-14 02:38:42.780440"], ["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.5ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 02:39:02.433597', '2019-04-14 02:39:02.433597', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 02:39:02.433597', '2019-04-14 02:39:02.433597', DEFAULT, '2019-04-09')[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::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:39: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 6ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:39:02.475970"], ["updated_at", "2019-04-14 02:39:02.475970"]]
+ [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:39:02 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 200ms (Views: 197.3ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0001_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:39:02.681752"], ["updated_at", "2019-04-14 02:39:02.681752"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964/complete_toggle" for 127.0.0.1 at 2019-04-13 19:39:02 -0700
+Processing by TasksController#complete_toggle 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.4ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 02:39:02.688463"], ["completed", true], ["updated_at", "2019-04-14 02:39:02.689314"], ["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 5ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 19:39:02 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (6.2ms)
+Completed 200 OK in 14ms (Views: 10.0ms | ActiveRecord: 0.6ms)
+ [1m[35m (1.0ms)[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:39: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.4ms)
+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
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/1234" for 127.0.0.1 at 2019-04-13 19:39:02 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:39:02.763793"], ["updated_at", "2019-04-14 02:39:02.763793"]]
+ [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:39:02 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 02:39:02.769038"], ["id", 980190965]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ [1m[35m (0.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:39:02 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (16.8ms)
+ Rendered tasks/new.html.erb within layouts/application (20.2ms)
+Completed 200 OK in 25ms (Views: 22.1ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:39:02 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 02:39:02.807163"], ["updated_at", "2019-04-14 02:39:02.807163"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190966
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:39:02.812298"], ["updated_at", "2019-04-14 02:39:02.812298"]]
+ [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:39:02 -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/_form.html.erb (1.2ms)
+ Rendered tasks/edit.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.1ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-13 19:39:02 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 02:39:24.258762', '2019-04-14 02:39:24.258762', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 02:39:24.258762', '2019-04-14 02:39:24.258762', DEFAULT, '2019-04-09')[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::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:39:24 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 02:39:24.297091"], ["updated_at", "2019-04-14 02:39:24.297091"]]
+ [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.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:39:24.306280"], ["updated_at", "2019-04-14 02:39:24.306280"]]
+ [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:39:24 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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.2ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 02:39:24.311359"], ["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.6ms)
+ [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/1234" for 127.0.0.1 at 2019-04-13 19:39:24 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0001_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:39:24.325755"], ["updated_at", "2019-04-14 02:39:24.325755"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965/complete_toggle" for 127.0.0.1 at 2019-04-13 19:39:24 -0700
+Processing by TasksController#complete_toggle 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.5ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 02:39:24.329878"], ["completed", true], ["updated_at", "2019-04-14 02:39:24.330371"], ["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.9ms)
+ [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/3456/edit" for 127.0.0.1 at 2019-04-13 19:39:24 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:39:24.341304"], ["updated_at", "2019-04-14 02:39:24.341304"]]
+ [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:39:24 -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/_form.html.erb (6.5ms)
+ Rendered tasks/edit.html.erb within layouts/application (8.7ms)
+Completed 200 OK in 134ms (Views: 131.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 19:39:24 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 7ms (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 19:39:24 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 19:39:24 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.0ms)
+ Rendered tasks/new.html.erb within layouts/application (1.3ms)
+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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:39:24.505057"], ["updated_at", "2019-04-14 02:39:24.505057"]]
+ [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:39:24 -0700
+Processing by TasksController#show 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/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 3ms (Views: 1.2ms | 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 19:39:24 -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.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 02:40:30.771687', '2019-04-14 02:40:30.771687', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 02:40:30.771687', '2019-04-14 02:40:30.771687', DEFAULT, '2019-04-09')[0m
+ [1m[35m (4.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.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.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:40:30.802217"], ["updated_at", "2019-04-14 02:40:30.802217"]]
+ [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 19:40:30 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"980190963"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 02:40:30.830521"], ["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.3ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/1234" for 127.0.0.1 at 2019-04-13 19:40:30 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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 19:40:30 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (12.9ms)
+ Rendered tasks/new.html.erb within layouts/application (16.3ms)
+Completed 200 OK in 163ms (Views: 160.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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:40:31 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 02:40:31.013818"], ["updated_at", "2019-04-14 02:40:31.013818"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:40:31.021145"], ["updated_at", "2019-04-14 02:40:31.021145"]]
+ [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:40: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 (0.4ms)
+Completed 200 OK in 4ms (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 19:40:31 -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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:40:31.032658"], ["updated_at", "2019-04-14 02:40:31.032658"]]
+ [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:40:31 -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/_form.html.erb (1.2ms)
+ Rendered tasks/edit.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 5ms (Views: 2.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/3456/edit" for 127.0.0.1 at 2019-04-13 19:40:31 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::complete_toggle: test_0001_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:40:31.045798"], ["updated_at", "2019-04-14 02:40:31.045798"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete_toggle" for 127.0.0.1 at 2019-04-13 19:40:31 -0700
+Processing by TasksController#complete_toggle 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.4ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 02:40:31.049838"], ["completed", true], ["updated_at", "2019-04-14 02:40:31.050344"], ["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.7ms)
+ [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[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:40:31 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 19:40:31 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 3ms (Views: 2.6ms | 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.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 02:47:01.457973', '2019-04-14 02:47:01.457973', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 02:47:01.457973', '2019-04-14 02:47:01.457973', DEFAULT, '2019-04-09')[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::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:47:01.487794"], ["updated_at", "2019-04-14 02:47:01.487794"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963/edit" for 127.0.0.1 at 2019-04-13 19:47:01 -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/_form.html.erb (17.3ms)
+ Rendered tasks/edit.html.erb within layouts/application (21.8ms)
+Completed 200 OK in 168ms (Views: 156.0ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-13 19:47:01 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::complete_toggle: test_0001_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:47:01.677659"], ["updated_at", "2019-04-14 02:47:01.677659"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964/complete_toggle" for 127.0.0.1 at 2019-04-13 19:47:01 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 02:47:01.684904"], ["completed", true], ["updated_at", "2019-04-14 02:47:01.685544"], ["id", 980190964]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 5ms (ActiveRecord: 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.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0002_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 02:47:01.718155"], ["updated_at", "2019-04-14 02:47:01.718155"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:47:01.721455"], ["updated_at", "2019-04-14 02:47:01.721455"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:47:01 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 6ms (Views: 3.8ms | 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 19:47: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.2ms)
+Completed 200 OK in 4ms (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.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:47:01 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 02:47:01.744972"], ["updated_at", "2019-04-14 02:47:01.744972"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190967
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:47:01.751460"], ["updated_at", "2019-04-14 02:47:01.751460"]]
+ [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 19:47:01 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190968"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190968], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:47:01 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:47:01.766633"], ["updated_at", "2019-04-14 02:47:01.766633"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190969" for 127.0.0.1 at 2019-04-13 19:47:01 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 02:47:01.770165"], ["id", 980190969]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190969
+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", 980190969], ["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/1234" for 127.0.0.1 at 2019-04-13 19:47:01 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 19:47:01 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.2ms)
+ Rendered tasks/new.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 7ms (Views: 3.9ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 02:47:45.163776', '2019-04-14 02:47:45.163776', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 02:47:45.163776', '2019-04-14 02:47:45.163776', DEFAULT, '2019-04-09')[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::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:47:45.181326"], ["updated_at", "2019-04-14 02:47:45.181326"]]
+ [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:47:45 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 02:47:45.203289"], ["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 13ms (ActiveRecord: 1.0ms)
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/1234" for 127.0.0.1 at 2019-04-13 19:47:45 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:47:45 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:47:45.223425"], ["updated_at", "2019-04-14 02:47:45.223425"]]
+ [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 19:47:45 -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.8ms)
+Completed 200 OK in 144ms (Views: 141.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:47:45 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 02:47:45.376077"], ["updated_at", "2019-04-14 02:47:45.376077"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:47:45.382598"], ["updated_at", "2019-04-14 02:47:45.382598"]]
+ [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:47:45 -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/_form.html.erb (8.1ms)
+ Rendered tasks/edit.html.erb within layouts/application (9.9ms)
+Completed 200 OK in 13ms (Views: 10.9ms | 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/3456/edit" for 127.0.0.1 at 2019-04-13 19:47:45 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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 19:47:45 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.0ms)
+ Rendered tasks/new.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0001_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:47:45.413955"], ["updated_at", "2019-04-14 02:47:45.413955"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete_toggle" for 127.0.0.1 at 2019-04-13 19:47:45 -0700
+Processing by TasksController#complete_toggle 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 Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 02:47:45.417051"], ["completed", true], ["updated_at", "2019-04-14 02:47:45.417540"], ["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.6ms)
+ [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.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------
+TasksController::complete_toggle: test_0002_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 02:47:45.444223"], ["updated_at", "2019-04-14 02:47:45.444223"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:47:45.446223"], ["updated_at", "2019-04-14 02:47:45.446223"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:47: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 (2.7ms)
+Completed 200 OK in 6ms (Views: 3.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-13 19:47: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 4ms (Views: 3.1ms | 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.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 02:50:24.106139', '2019-04-14 02:50:24.106139', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 02:50:24.106139', '2019-04-14 02:50:24.106139', DEFAULT, '2019-04-09')[0m
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "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-13 19:50:24 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (15.2ms)
+ Rendered tasks/new.html.erb within layouts/application (18.5ms)
+Completed 200 OK in 160ms (Views: 154.5ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:50:24.294642"], ["updated_at", "2019-04-14 02:50:24.294642"]]
+ [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:50:24 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 02:50:24.306018"], ["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/1234" for 127.0.0.1 at 2019-04-13 19:50:24 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 19:50:24 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 5ms (Views: 3.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 19:50:24 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:50:24 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 02:50:24.334203"], ["updated_at", "2019-04-14 02:50:24.334203"]]
+ [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.4ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:50:24.339345"], ["updated_at", "2019-04-14 02:50:24.339345"]]
+ [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 19:50:24 -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/_form.html.erb (1.3ms)
+ Rendered tasks/edit.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-13 19:50:24 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::complete_toggle: test_0002_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 02:50:24.355800"], ["updated_at", "2019-04-14 02:50:24.355800"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:50:24.357289"], ["updated_at", "2019-04-14 02:50:24.357289"]]
+ [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::complete_toggle: test_0001_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:50:24.360429"], ["updated_at", "2019-04-14 02:50:24.360429"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968/complete_toggle" for 127.0.0.1 at 2019-04-13 19:50:24 -0700
+Processing by TasksController#complete_toggle 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.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 02:50:24.363542"], ["completed", true], ["updated_at", "2019-04-14 02:50:24.364114"], ["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.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::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:50:24 -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.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:50:24.374087"], ["updated_at", "2019-04-14 02:50:24.374087"]]
+ [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 19:50:24 -0700
+Processing by TasksController#show 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]]
+ 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.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.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 02:50:52.413293', '2019-04-14 02:50:52.413293', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 02:50:52.413293', '2019-04-14 02:50:52.413293', DEFAULT, '2019-04-09')[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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 19:50:52 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (6.3ms)
+ Rendered tasks/new.html.erb within layouts/application (9.1ms)
+Completed 200 OK in 132ms (Views: 121.9ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------
+TasksController::complete_toggle: test_0002_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 02:50:52.568844"], ["updated_at", "2019-04-14 02:50:52.568844"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:50:52.571859"], ["updated_at", "2019-04-14 02:50:52.571859"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0001_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:50:52.575530"], ["updated_at", "2019-04-14 02:50:52.575530"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::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:50:52 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 02:50:52.584341"], ["updated_at", "2019-04-14 02:50:52.584341"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190966
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-13 19:50:52 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:50:52.594246"], ["updated_at", "2019-04-14 02:50:52.594246"]]
+ [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:50: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/_form.html.erb (1.9ms)
+ Rendered tasks/edit.html.erb within layouts/application (2.6ms)
+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::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/1234" for 127.0.0.1 at 2019-04-13 19:50:52 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:50:52.608478"], ["updated_at", "2019-04-14 02:50:52.608478"]]
+ [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 19:50:52 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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.2ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 02:50:52.611686"], ["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 3ms (ActiveRecord: 0.5ms)
+ [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::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 19:50: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 5ms (Views: 3.0ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:50: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 (1.8ms)
+Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.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 19:50: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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:50:52.637346"], ["updated_at", "2019-04-14 02:50:52.637346"]]
+ [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 19:50:52 -0700
+Processing by TasksController#show 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]]
+ 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.2ms | ActiveRecord: 0.1ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 02:51:06.723549', '2019-04-14 02:51:06.723549', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 02:51:06.723549', '2019-04-14 02:51:06.723549', DEFAULT, '2019-04-09')[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::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:51:06 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 8ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:51:06.768571"], ["updated_at", "2019-04-14 02:51:06.768571"]]
+ [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 19:51:06 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 114ms (Views: 110.3ms | 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-13 19:51:06 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 8ms (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 19:51: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 (1.7ms)
+Completed 200 OK in 3ms (Views: 2.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:51:06 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (4.2ms)
+ Rendered tasks/new.html.erb within layouts/application (5.7ms)
+Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:51:06.916098"], ["updated_at", "2019-04-14 02:51:06.916098"]]
+ [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 19:51:06 -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/_form.html.erb (0.9ms)
+ Rendered tasks/edit.html.erb within layouts/application (1.3ms)
+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/3456/edit" for 127.0.0.1 at 2019-04-13 19:51:06 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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:51:06 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 02:51:06.932892"], ["updated_at", "2019-04-14 02:51:06.932892"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:51:06.937953"], ["updated_at", "2019-04-14 02:51:06.937953"]]
+ [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 19:51:06 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 02:51:06.944253"], ["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 3ms (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/1234" for 127.0.0.1 at 2019-04-13 19:51:06 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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::complete_toggle: test_0001_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:51:06.952321"], ["updated_at", "2019-04-14 02:51:06.952321"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete_toggle" for 127.0.0.1 at 2019-04-13 19:51:06 -0700
+Processing by TasksController#complete_toggle 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 Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 02:51:06.954925"], ["completed", true], ["updated_at", "2019-04-14 02:51:06.955397"], ["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.5ms)
+ [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[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------
+TasksController::complete_toggle: test_0002_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 02:51:06.960912"], ["updated_at", "2019-04-14 02:51:06.960912"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:51:06.962309"], ["updated_at", "2019-04-14 02:51:06.962309"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 02:52:20.774210', '2019-04-14 02:52:20.774210', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 02:52:20.774210', '2019-04-14 02:52:20.774210', DEFAULT, '2019-04-09')[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::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:52:20.792891"], ["updated_at", "2019-04-14 02:52:20.792891"]]
+ [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:52:20 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 02:52:20.808921"], ["id", 980190963]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 12ms (ActiveRecord: 1.7ms)
+ [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/1234" for 127.0.0.1 at 2019-04-13 19:52:20 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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 19:52:20 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (7.1ms)
+ Rendered tasks/new.html.erb within layouts/application (9.1ms)
+Completed 200 OK in 140ms (Views: 138.5ms | 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
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 19:52:20 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:52: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 (2.2ms)
+Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 19:52:20 -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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:52:20.992884"], ["updated_at", "2019-04-14 02:52:20.992884"]]
+ [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 19:52:20 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 5ms (Views: 3.1ms | 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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:52:21.003865"], ["updated_at", "2019-04-14 02:52:21.003865"]]
+ [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 19:52:21 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.0ms)
+ Rendered tasks/edit.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-13 19:52:21 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 19:52:21 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 02:52:21.028270"], ["updated_at", "2019-04-14 02:52:21.028270"]]
+ [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"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------
+TasksController::complete_toggle: test_0002_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 02:52:21.034586"], ["updated_at", "2019-04-14 02:52:21.034586"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete_toggle" for 127.0.0.1 at 2019-04-13 19:52:21 -0700
+Processing by TasksController#complete_toggle 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 Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 02:52:21.040142"], ["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 6ms (ActiveRecord: 0.9ms)
+ [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[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0001_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:52:21.048296"], ["updated_at", "2019-04-14 02:52:21.048296"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968/complete_toggle" for 127.0.0.1 at 2019-04-13 19:52:21 -0700
+Processing by TasksController#complete_toggle 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.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 02:52:21.056195"], ["completed", true], ["updated_at", "2019-04-14 02:52:21.056706"], ["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 8ms (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.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 02:52:34.563742', '2019-04-14 02:52:34.563742', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 02:52:34.563742', '2019-04-14 02:52:34.563742', DEFAULT, '2019-04-09')[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-13 19:52:34 -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 6ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:52:34.595925"], ["updated_at", "2019-04-14 02:52:34.595925"]]
+ [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:52:34 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 144ms (Views: 141.4ms | 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::complete_toggle: test_0001_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:52:34.749950"], ["updated_at", "2019-04-14 02:52:34.749950"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964/complete_toggle" for 127.0.0.1 at 2019-04-13 19:52:34 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 02:52:34.756655"], ["completed", true], ["updated_at", "2019-04-14 02:52:34.757200"], ["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[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::complete_toggle: test_0002_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 02:52:34.764476"], ["updated_at", "2019-04-14 02:52:34.764476"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965/complete_toggle" for 127.0.0.1 at 2019-04-13 19:52:34 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 02:52:34.769840"], ["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.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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 19:52:34 -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.8ms)
+Completed 200 OK in 7ms (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 19:52: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
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+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
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:52:34.798842"], ["updated_at", "2019-04-14 02:52:34.798842"]]
+ [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:52:34 -0700
+Processing by TasksController#edit 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/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (9.7ms)
+ Rendered tasks/edit.html.erb within layouts/application (11.7ms)
+Completed 200 OK in 15ms (Views: 13.0ms | ActiveRecord: 0.1ms)
+ [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/3456/edit" for 127.0.0.1 at 2019-04-13 19:52:34 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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 19:52:34 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 02:52:34.827741"], ["updated_at", "2019-04-14 02:52:34.827741"]]
+ [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.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 19:52:34 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.1ms)
+ Rendered tasks/new.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 02:52:34.850680"], ["updated_at", "2019-04-14 02:52:34.850680"]]
+ [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 19:52:34 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 02:52:34.853737"], ["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 3ms (ActiveRecord: 0.5ms)
+ [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/1234" for 127.0.0.1 at 2019-04-13 19:52:34 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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.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.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:05:47.755714', '2019-04-14 03:05:47.755714', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:05:47.755714', '2019-04-14 03:05:47.755714', DEFAULT, '2019-04-09')[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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 20:05:47 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (13.5ms)
+ Rendered tasks/new.html.erb within layouts/application (16.8ms)
+Completed 200 OK in 218ms (Views: 207.8ms | 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 20:05: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.3ms)
+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 20:05:48 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 3ms (Views: 2.8ms | 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 20:05: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 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.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:05:48.016652"], ["updated_at", "2019-04-14 03:05:48.016652"]]
+ [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 20:05:48 -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.7ms)
+Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:05:48.030842"], ["updated_at", "2019-04-14 03:05:48.030842"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964" for 127.0.0.1 at 2019-04-13 20:05:48 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:05:48.039839"], ["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: 0.9ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/1234" for 127.0.0.1 at 2019-04-13 20:05:48 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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::complete_toggle: test_0002_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:05:48.051326"], ["updated_at", "2019-04-14 03:05:48.051326"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965/complete_toggle" for 127.0.0.1 at 2019-04-13 20:05:48 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:05:48.056036"], ["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[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::complete_toggle: test_0001_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:05:48.060627"], ["updated_at", "2019-04-14 03:05:48.060627"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966/complete_toggle" for 127.0.0.1 at 2019-04-13 20:05:48 -0700
+Processing by TasksController#complete_toggle 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]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:05:48.063132"], ["completed", true], ["updated_at", "2019-04-14 03:05:48.063616"], ["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 3ms (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.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:05:48.072805"], ["updated_at", "2019-04-14 03:05:48.072805"]]
+ [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 20:05:48 -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/_form.html.erb (1.5ms)
+ Rendered tasks/edit.html.erb within layouts/application (2.1ms)
+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/3456/edit" for 127.0.0.1 at 2019-04-13 20:05:48 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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_removes the task from the database
+----------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:05:48.088571"], ["updated_at", "2019-04-14 03:05:48.088571"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:05:48.096398"], ["updated_at", "2019-04-14 03:05:48.096398"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 20:05:48 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:05:48.105730"], ["updated_at", "2019-04-14 03:05:48.105730"]]
+ [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.4ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:06:36.002557', '2019-04-14 03:06:36.002557', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:06:36.002557', '2019-04-14 03:06:36.002557', DEFAULT, '2019-04-09')[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_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 20:06: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 (16.7ms)
+Completed 200 OK in 189ms (Views: 183.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 20:06:36 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:06:36.223990"], ["updated_at", "2019-04-14 03:06:36.223990"]]
+ [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 20:06:36 -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.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 20:06: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::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 20:06:36 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:06:36.242993"], ["updated_at", "2019-04-14 03:06:36.242993"]]
+ [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.4ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 20:06:36 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (8.4ms)
+ Rendered tasks/new.html.erb within layouts/application (10.9ms)
+Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------
+TasksController::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:06:36.267447"], ["updated_at", "2019-04-14 03:06:36.267447"]]
+ [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 20:06:36 -0700
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:06:36.316335"], ["updated_at", "2019-04-14 03:06:36.316335"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:06:36.323156"], ["updated_at", "2019-04-14 03:06:36.323156"]]
+ [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 20:06:36 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:06:36.326383"], ["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 3ms (ActiveRecord: 0.6ms)
+ [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/1234" for 127.0.0.1 at 2019-04-13 20:06:36 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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::complete_toggle: test_0001_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:06:36.334435"], ["updated_at", "2019-04-14 03:06:36.334435"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968/complete_toggle" for 127.0.0.1 at 2019-04-13 20:06:36 -0700
+Processing by TasksController#complete_toggle 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.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:06:36.337177"], ["completed", true], ["updated_at", "2019-04-14 03:06:36.337704"], ["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.5ms)
+ [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::complete_toggle: test_0002_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:06:36.343416"], ["updated_at", "2019-04-14 03:06:36.343416"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190969/complete_toggle" for 127.0.0.1 at 2019-04-13 20:06:36 -0700
+Processing by TasksController#complete_toggle 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.4ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:06:36.347830"], ["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: 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::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-13 20:06:36 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:06:36.358273"], ["updated_at", "2019-04-14 03:06:36.358273"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190970/edit" for 127.0.0.1 at 2019-04-13 20:06:36 -0700
+Processing by TasksController#edit 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]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.3ms)
+ Rendered tasks/edit.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 0.1ms)
+ [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.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:08:54.866906', '2019-04-14 03:08:54.866906', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:08:54.866906', '2019-04-14 03:08:54.866906', DEFAULT, '2019-04-09')[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::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:08:54.884357"], ["updated_at", "2019-04-14 03:08:54.884357"]]
+ [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 20:08:54 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:08:54.908348"], ["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 14ms (ActiveRecord: 0.9ms)
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/1234" for 127.0.0.1 at 2019-04-13 20:08:54 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:08:54.924374"], ["updated_at", "2019-04-14 03:08:54.924374"]]
+ [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 20:08:54 -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.9ms)
+Completed 200 OK in 158ms (Views: 154.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 20:08:55 -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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 20:08:55 -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 6ms (Views: 3.5ms | 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 20:08:55 -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.8ms)
+Completed 200 OK in 3ms (Views: 2.6ms | 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 20:08:55 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:08:55.108381"], ["updated_at", "2019-04-14 03:08:55.108381"]]
+ [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.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------
+TasksController::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:08:55.113268"], ["updated_at", "2019-04-14 03:08:55.113268"]]
+ [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 20:08:55 -0700
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:08:55 -0700
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0001_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:08:55.158417"], ["updated_at", "2019-04-14 03:08:55.158417"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete_toggle" for 127.0.0.1 at 2019-04-13 20:08:55 -0700
+Processing by TasksController#complete_toggle 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 Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:08:55.161106"], ["completed", true], ["updated_at", "2019-04-14 03:08:55.161612"], ["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.5ms)
+ [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[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------
+TasksController::complete_toggle: test_0002_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:08:55.167581"], ["updated_at", "2019-04-14 03:08:55.167581"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968/complete_toggle" for 127.0.0.1 at 2019-04-13 20:08:55 -0700
+Processing by TasksController#complete_toggle 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.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:08:55.173155"], ["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[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::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:08:55.178581"], ["updated_at", "2019-04-14 03:08:55.178581"]]
+ [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-13 20:08:55 -0700
+Processing by TasksController#edit 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]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (12.5ms)
+ Rendered tasks/edit.html.erb within layouts/application (14.9ms)
+Completed 200 OK in 20ms (Views: 16.2ms | ActiveRecord: 0.1ms)
+ [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/3456/edit" for 127.0.0.1 at 2019-04-13 20:08:55 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.3ms)[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-13 20:08:55 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.2ms)
+ Rendered tasks/new.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.6ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:13:02.369708', '2019-04-14 03:13:02.369708', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:13:02.369708', '2019-04-14 03:13:02.369708', DEFAULT, '2019-04-09')[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::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-13 20:13:02 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:13:02.407986"], ["updated_at", "2019-04-14 03:13:02.407986"]]
+ [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 20:13:02 -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/_form.html.erb (13.6ms)
+ Rendered tasks/edit.html.erb within layouts/application (17.1ms)
+Completed 200 OK in 167ms (Views: 162.5ms | 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 20:13:02 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.0ms)
+ Rendered tasks/new.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.0ms)
+ [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 20:13: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.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:13:02.595740"], ["updated_at", "2019-04-14 03:13:02.595740"]]
+ [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 20:13:02 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (3.6ms)
+Completed 500 Internal Server Error in 6ms (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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 20:13:02 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:13:02.612813"], ["updated_at", "2019-04-14 03:13:02.612813"]]
+ [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"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------
+TasksController::complete_toggle: test_0002_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:13:02.621517"], ["updated_at", "2019-04-14 03:13:02.621517"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966/complete_toggle" for 127.0.0.1 at 2019-04-13 20:13:02 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:13:02.626513"], ["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.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.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0001_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:13:02.632130"], ["updated_at", "2019-04-14 03:13:02.632130"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete_toggle" for 127.0.0.1 at 2019-04-13 20:13:02 -0700
+Processing by TasksController#complete_toggle 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 Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:13:02.637834"], ["completed", true], ["updated_at", "2019-04-14 03:13:02.638762"], ["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.9ms)
+ [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[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------
+TasksController::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:13:02.645802"], ["updated_at", "2019-04-14 03:13:02.645802"]]
+ [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 20:13:02 -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]]
+No template found for TasksController#destroy, rendering head :no_content
+Completed 204 No Content in 97ms (ActiveRecord: 0.1ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:13:02 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 20:13: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 (3.4ms)
+Completed 200 OK in 8ms (Views: 4.9ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 20:13:02 -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.8ms)
+Completed 200 OK in 3ms (Views: 2.5ms | 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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:13:02.770700"], ["updated_at", "2019-04-14 03:13:02.770700"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190969" for 127.0.0.1 at 2019-04-13 20:13:02 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "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.2ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:13:02.774244"], ["id", 980190969]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190969
+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", 980190969], ["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/1234" for 127.0.0.1 at 2019-04-13 20:13:02 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+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.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:13:51.558775', '2019-04-14 03:13:51.558775', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:13:51.558775', '2019-04-14 03:13:51.558775', DEFAULT, '2019-04-09')[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::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 20:13:51 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.7ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:13:51.588386"], ["updated_at", "2019-04-14 03:13:51.588386"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 12ms (ActiveRecord: 1.1ms)
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 20:13:51 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (6.0ms)
+ Rendered tasks/new.html.erb within layouts/application (8.7ms)
+Completed 200 OK in 188ms (Views: 186.0ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/1234" for 127.0.0.1 at 2019-04-13 20:13:51 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:13:51.799206"], ["updated_at", "2019-04-14 03:13:51.799206"]]
+ [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 20:13:51 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:13:51.805313"], ["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: 1.0ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 20:13: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.2ms)
+Completed 200 OK in 6ms (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-13 20:13: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.2ms)
+Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (10.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0001_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:13:51.841585"], ["updated_at", "2019-04-14 03:13:51.841585"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965/complete_toggle" for 127.0.0.1 at 2019-04-13 20:13:51 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:13:51.844769"], ["completed", true], ["updated_at", "2019-04-14 03:13:51.845259"], ["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.6ms)
+ [1m[36mTask Load (0.1ms)[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::complete_toggle: test_0002_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:13:51.851054"], ["updated_at", "2019-04-14 03:13:51.851054"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966/complete_toggle" for 127.0.0.1 at 2019-04-13 20:13:51 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:13:51.855484"], ["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.6ms)
+ [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.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:13:51.863653"], ["updated_at", "2019-04-14 03:13:51.863653"]]
+ [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 20:13:51 -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/_form.html.erb (2.2ms)
+ 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/3456/edit" for 127.0.0.1 at 2019-04-13 20:13:51 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:13:51.878562"], ["updated_at", "2019-04-14 03:13:51.878562"]]
+ [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 20:13:51 -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.7ms)
+Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.1ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 20:13: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::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:13:51 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [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_0001_removes the task from the database
+----------------------------------------------------------------------
+ [1m[35m (0.1ms)[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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:13:51.898611"], ["updated_at", "2019-04-14 03:13:51.898611"]]
+ [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 20:13:51 -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]]
+No template found for TasksController#destroy, rendering head :no_content
+Completed 204 No Content in 90ms (ActiveRecord: 0.1ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:14:52.335664', '2019-04-14 03:14:52.335664', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:14:52.335664', '2019-04-14 03:14:52.335664', DEFAULT, '2019-04-09')[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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:14:52.361230"], ["updated_at", "2019-04-14 03:14:52.361230"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190963" for 127.0.0.1 at 2019-04-13 20:14: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 (2.0ms)
+Completed 200 OK in 190ms (Views: 179.9ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 20:14: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.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:14:52.572642"], ["updated_at", "2019-04-14 03:14:52.572642"]]
+ [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 20:14:52 -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/_form.html.erb (7.4ms)
+ Rendered tasks/edit.html.erb within layouts/application (9.2ms)
+Completed 200 OK in 13ms (Views: 10.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/3456/edit" for 127.0.0.1 at 2019-04-13 20:14:52 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:14:52.593413"], ["updated_at", "2019-04-14 03:14:52.593413"]]
+ [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 20:14:52 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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.4ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:14:52.600436"], ["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.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/1234" for 127.0.0.1 at 2019-04-13 20:14:52 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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::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 20:14:52 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:14:52.615646"], ["updated_at", "2019-04-14 03:14:52.615646"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190966
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.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 20:14:52 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.2ms)
+ Rendered tasks/new.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0001_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:14:52.637751"], ["updated_at", "2019-04-14 03:14:52.637751"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete_toggle" for 127.0.0.1 at 2019-04-13 20:14:52 -0700
+Processing by TasksController#complete_toggle 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 Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:14:52.640630"], ["completed", true], ["updated_at", "2019-04-14 03:14:52.641184"], ["id", 980190967]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 4ms (ActiveRecord: 0.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.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------
+TasksController::complete_toggle: test_0002_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:14:52.649598"], ["updated_at", "2019-04-14 03:14:52.649598"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968/complete_toggle" for 127.0.0.1 at 2019-04-13 20:14:52 -0700
+Processing by TasksController#complete_toggle 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.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:14:52.655152"], ["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[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::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:14:52.660578"], ["updated_at", "2019-04-14 03:14:52.660578"]]
+ [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 20:14:52 -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]]
+No template found for TasksController#destroy, rendering head :no_content
+Completed 204 No Content in 91ms (ActiveRecord: 0.1ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:14:52 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 20:14:52 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 8ms (Views: 4.1ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 20:14: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.0ms)
+Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.6ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:15:14.435581', '2019-04-14 03:15:14.435581', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:15:14.435581', '2019-04-14 03:15:14.435581', DEFAULT, '2019-04-09')[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::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [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.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:15:14.456878"], ["updated_at", "2019-04-14 03:15:14.456878"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-13 20:15:14 -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]]
+No template found for TasksController#destroy, rendering head :no_content
+Completed 204 No Content in 93ms (ActiveRecord: 0.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::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:15:14 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.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 20:15:14 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:15:14.572562"], ["updated_at", "2019-04-14 03:15:14.572562"]]
+ [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.4ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:15:14.577532"], ["updated_at", "2019-04-14 03:15:14.577532"]]
+ [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 20:15: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.9ms)
+Completed 200 OK in 173ms (Views: 171.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 20:15: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 1ms (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/3456/edit" for 127.0.0.1 at 2019-04-13 20:15:14 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:15:14.766169"], ["updated_at", "2019-04-14 03:15:14.766169"]]
+ [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 20:15:14 -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/_form.html.erb (8.0ms)
+ Rendered tasks/edit.html.erb within layouts/application (9.8ms)
+Completed 200 OK in 13ms (Views: 10.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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 20:15: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
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 6ms (Views: 3.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 20:15: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
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+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::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/1234" for 127.0.0.1 at 2019-04-13 20:15:14 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:15:14.807561"], ["updated_at", "2019-04-14 03:15:14.807561"]]
+ [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 20:15:14 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:15:14.812014"], ["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.1ms)[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.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0001_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:15:14.818623"], ["updated_at", "2019-04-14 03:15:14.818623"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968/complete_toggle" for 127.0.0.1 at 2019-04-13 20:15:14 -0700
+Processing by TasksController#complete_toggle 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.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:15:14.821466"], ["completed", true], ["updated_at", "2019-04-14 03:15:14.822049"], ["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.5ms)
+ [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::complete_toggle: test_0002_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:15:14.827903"], ["updated_at", "2019-04-14 03:15:14.827903"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190969/complete_toggle" for 127.0.0.1 at 2019-04-13 20:15:14 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:15:14.832178"], ["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: 0.7ms)
+ [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[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 20:15:14 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.2ms)
+ Rendered tasks/new.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 5ms (Views: 2.7ms | 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", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:16:39.403775', '2019-04-14 03:16:39.403775', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:16:39.403775', '2019-04-14 03:16:39.403775', DEFAULT, '2019-04-09')[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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 20:16:39 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (14.8ms)
+ Rendered tasks/new.html.erb within layouts/application (17.7ms)
+Completed 200 OK in 204ms (Views: 194.5ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:16:39.631412"], ["updated_at", "2019-04-14 03:16:39.631412"]]
+ [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 20:16:39 -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/_form.html.erb (1.1ms)
+ Rendered tasks/edit.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 9ms (Views: 2.6ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-13 20:16:39 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:16:39.651332"], ["updated_at", "2019-04-14 03:16:39.651332"]]
+ [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 20:16:39 -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.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 20:16: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/1234" for 127.0.0.1 at 2019-04-13 20:16:39 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:16:39.672947"], ["updated_at", "2019-04-14 03:16:39.672947"]]
+ [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 20:16:39 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:16:39.676741"], ["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.1ms)[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::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 20:16:39 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:16:39.684438"], ["updated_at", "2019-04-14 03:16:39.684438"]]
+ [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.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0001_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:16:39.689355"], ["updated_at", "2019-04-14 03:16:39.689355"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete_toggle" for 127.0.0.1 at 2019-04-13 20:16:39 -0700
+Processing by TasksController#complete_toggle 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]]
+Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------
+TasksController::complete_toggle: test_0002_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:16:39.702842"], ["updated_at", "2019-04-14 03:16:39.702842"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968/complete_toggle" for 127.0.0.1 at 2019-04-13 20:16:39 -0700
+Processing by TasksController#complete_toggle 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]]
+Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.1ms)
+ [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 20:16:39 -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.1ms)
+Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 20:16:39 -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.6ms)
+Completed 200 OK in 6ms (Views: 4.9ms | 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::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:16:39.736120"], ["updated_at", "2019-04-14 03:16:39.736120"]]
+ [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 20:16:39 -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]]
+No template found for TasksController#destroy, rendering head :no_content
+Completed 204 No Content in 90ms (ActiveRecord: 0.1ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:16:39 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:17:00.572264', '2019-04-14 03:17:00.572264', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:17:00.572264', '2019-04-14 03:17:00.572264', DEFAULT, '2019-04-09')[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::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 20:17: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 (8.4ms)
+Completed 200 OK in 178ms (Views: 172.8ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 20:17: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 (1.7ms)
+Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:17:00.778805"], ["updated_at", "2019-04-14 03:17:00.778805"]]
+ [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 20:17:00 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 20:17: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::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 20:17:00 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:17:00.798794"], ["updated_at", "2019-04-14 03:17:00.798794"]]
+ [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.4ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0001_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:17:00.803541"], ["updated_at", "2019-04-14 03:17:00.803541"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965/complete_toggle" for 127.0.0.1 at 2019-04-13 20:17:00 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:17:00.807041"], ["completed", true], ["updated_at", "2019-04-14 03:17:00.807640"], ["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[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::complete_toggle: test_0002_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (1.7ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:17:00.814355"], ["updated_at", "2019-04-14 03:17:00.814355"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966/complete_toggle" for 127.0.0.1 at 2019-04-13 20:17:00 -0700
+Processing by TasksController#complete_toggle 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.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:17:00.823747"], ["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 7ms (ActiveRecord: 1.2ms)
+ [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::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:17:00.830567"], ["updated_at", "2019-04-14 03:17:00.830567"]]
+ [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 20:17:00 -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]]
+No template found for TasksController#destroy, rendering head :no_content
+Completed 204 No Content in 90ms (ActiveRecord: 0.1ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:17:00 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:17:00.929751"], ["updated_at", "2019-04-14 03:17:00.929751"]]
+ [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 20:17:00 -0700
+Processing by TasksController#edit 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/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (12.5ms)
+ Rendered tasks/edit.html.erb within layouts/application (14.6ms)
+Completed 200 OK in 19ms (Views: 15.7ms | ActiveRecord: 0.1ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-13 20:17:00 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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 20:17:00 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.4ms)
+ Rendered tasks/new.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:17:00.966333"], ["updated_at", "2019-04-14 03:17:00.966333"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190969" for 127.0.0.1 at 2019-04-13 20:17:00 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "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.2ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:17:00.969903"], ["id", 980190969]]
+ [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[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[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/1234" for 127.0.0.1 at 2019-04-13 20:17:00 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:17:41.702240', '2019-04-14 03:17:41.702240', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:17:41.702240', '2019-04-14 03:17:41.702240', DEFAULT, '2019-04-09')[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::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 20:17:41 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:17:41.731413"], ["updated_at", "2019-04-14 03:17:41.731413"]]
+ [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.8ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:17:41 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------
+TasksController::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:17:41.749949"], ["updated_at", "2019-04-14 03:17:41.749949"]]
+ [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 20:17:41 -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]]
+No template found for TasksController#destroy, rendering head :no_content
+Completed 204 No Content in 89ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:17:41.844572"], ["updated_at", "2019-04-14 03:17:41.844572"]]
+ [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 20:17:41 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"980190965"}
+Completed 500 Internal Server Error in 6ms (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/1234" for 127.0.0.1 at 2019-04-13 20:17:41 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 20:17:41 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 165ms (Views: 163.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 20:17: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 (2.8ms)
+Completed 200 OK in 5ms (Views: 3.9ms | 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 20:17:42 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (4.5ms)
+ Rendered tasks/new.html.erb within layouts/application (6.1ms)
+Completed 200 OK in 9ms (Views: 6.9ms | 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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:17:42.055564"], ["updated_at", "2019-04-14 03:17:42.055564"]]
+ [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 20:17: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/_form.html.erb (1.0ms)
+ Rendered tasks/edit.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-13 20:17:42 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------
+TasksController::complete_toggle: test_0002_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:17:42.070040"], ["updated_at", "2019-04-14 03:17:42.070040"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete_toggle" for 127.0.0.1 at 2019-04-13 20:17:42 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:17:42.076311"], ["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 6ms (ActiveRecord: 0.9ms)
+ [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[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0001_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:17:42.081196"], ["updated_at", "2019-04-14 03:17:42.081196"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968/complete_toggle" for 127.0.0.1 at 2019-04-13 20:17:42 -0700
+Processing by TasksController#complete_toggle 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.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:17:42.083827"], ["completed", true], ["updated_at", "2019-04-14 03:17:42.084322"], ["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.5ms)
+ [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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:17:42.089718"], ["updated_at", "2019-04-14 03:17:42.089718"]]
+ [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 20:17:42 -0700
+Processing by TasksController#show 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]]
+ 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.2ms | ActiveRecord: 0.1ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 20:17:42 -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.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:17:57.484278', '2019-04-14 03:17:57.484278', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:17:57.484278', '2019-04-14 03:17:57.484278', DEFAULT, '2019-04-09')[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::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:17:57.504100"], ["updated_at", "2019-04-14 03:17:57.504100"]]
+ [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 20:17:57 -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/_form.html.erb (5.5ms)
+ Rendered tasks/edit.html.erb within layouts/application (7.8ms)
+Completed 200 OK in 180ms (Views: 170.9ms | ActiveRecord: 0.7ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-13 20:17:57 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:17:57.700577"], ["updated_at", "2019-04-14 03:17:57.700577"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964" for 127.0.0.1 at 2019-04-13 20:17:57 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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.2ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:17:57.707536"], ["id", 980190964]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
+ [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/1234" for 127.0.0.1 at 2019-04-13 20:17:57 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:17:57.717919"], ["updated_at", "2019-04-14 03:17:57.717919"]]
+ [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 20:17:57 -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]]
+No template found for TasksController#destroy, rendering head :no_content
+Completed 204 No Content in 89ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:17:57 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+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 20:17:57 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.0ms)
+ Rendered tasks/new.html.erb within layouts/application (1.4ms)
+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::complete_toggle: test_0001_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:17:57.824927"], ["updated_at", "2019-04-14 03:17:57.824927"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966/complete_toggle" for 127.0.0.1 at 2019-04-13 20:17:57 -0700
+Processing by TasksController#complete_toggle 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]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:17:57.827708"], ["completed", true], ["updated_at", "2019-04-14 03:17:57.828199"], ["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 3ms (ActiveRecord: 0.5ms)
+ [1m[36mTask Load (0.1ms)[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::complete_toggle: test_0002_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:17:57.834675"], ["updated_at", "2019-04-14 03:17:57.834675"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete_toggle" for 127.0.0.1 at 2019-04-13 20:17:57 -0700
+Processing by TasksController#complete_toggle 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 Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:17:57.839255"], ["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[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[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 20:17:57 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 20:17:57 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (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
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:17:57.857917"], ["updated_at", "2019-04-14 03:17:57.857917"]]
+ [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 20:17:57 -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.4ms)
+Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 20:17:57 -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 20:17:57 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:17:57.870049"], ["updated_at", "2019-04-14 03:17:57.870049"]]
+ [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"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:19:52.461931', '2019-04-14 03:19:52.461931', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:19:52.461931', '2019-04-14 03:19:52.461931', DEFAULT, '2019-04-09')[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::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [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.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:19:52.481273"], ["updated_at", "2019-04-14 03:19:52.481273"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-13 20:19:52 -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]]
+No template found for TasksController#destroy, rendering head :no_content
+Completed 204 No Content in 94ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:19:52 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:19:52.602945"], ["updated_at", "2019-04-14 03:19:52.602945"]]
+ [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 20:19:52 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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.2ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:19:52.607224"], ["id", 980190964]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/1234" for 127.0.0.1 at 2019-04-13 20:19:52 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:19:52.617240"], ["updated_at", "2019-04-14 03:19:52.617240"]]
+ [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 20:19:52 -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/_form.html.erb (13.8ms)
+ Rendered tasks/edit.html.erb within layouts/application (17.1ms)
+Completed 200 OK in 173ms (Views: 170.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/3456/edit" for 127.0.0.1 at 2019-04-13 20:19:52 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::complete_toggle: test_0001_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:19:52.808902"], ["updated_at", "2019-04-14 03:19:52.808902"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966/complete_toggle" for 127.0.0.1 at 2019-04-13 20:19:52 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:19:52.813585"], ["completed", true], ["updated_at", "2019-04-14 03:19:52.814381"], ["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[36mTask Load (0.1ms)[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::complete_toggle: test_0002_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:19:52.822573"], ["updated_at", "2019-04-14 03:19:52.822573"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete_toggle" for 127.0.0.1 at 2019-04-13 20:19:52 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:19:52.827126"], ["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[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[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 20:19: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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:19:52.836389"], ["updated_at", "2019-04-14 03:19:52.836389"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190968" for 127.0.0.1 at 2019-04-13 20:19:52 -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.9ms)
+Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+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 20:19:52 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:19:52.851445"], ["updated_at", "2019-04-14 03:19:52.851445"]]
+ [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.4ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.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 20:19:52 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.8ms)
+ Rendered tasks/new.html.erb within layouts/application (5.2ms)
+Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 20:19: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 (3.3ms)
+Completed 200 OK in 8ms (Views: 4.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 20:19: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.9ms)
+Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:21:28.996938', '2019-04-14 03:21:28.996938', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:21:28.996938', '2019-04-14 03:21:28.996938', DEFAULT, '2019-04-09')[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::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:21:29.015068"], ["updated_at", "2019-04-14 03:21:29.015068"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-13 20:21:29 -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]]
+No template found for TasksController#destroy, rendering head :no_content
+Completed 204 No Content in 96ms (ActiveRecord: 0.5ms)
+ [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::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:21:29 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[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_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:21:29.136265"], ["updated_at", "2019-04-14 03:21:29.136265"]]
+ [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 20:21: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 (1.5ms)
+Completed 200 OK in 182ms (Views: 179.0ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 20:21:29 -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.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 20:21:29 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:21:29.332394"], ["updated_at", "2019-04-14 03:21:29.332394"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.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 20:21:29 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (8.5ms)
+ Rendered tasks/new.html.erb within layouts/application (10.4ms)
+Completed 200 OK in 13ms (Views: 11.4ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0002_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:21:29.354820"], ["updated_at", "2019-04-14 03:21:29.354820"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966/complete_toggle" for 127.0.0.1 at 2019-04-13 20:21:29 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:21:29.359019"], ["completed", true], ["updated_at", "2019-04-14 03:21:29.359611"], ["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[36mTask Load (0.1ms)[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::complete_toggle: test_0003_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:21:29.366408"], ["updated_at", "2019-04-14 03:21:29.366408"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete_toggle" for 127.0.0.1 at 2019-04-13 20:21:29 -0700
+Processing by TasksController#complete_toggle 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 Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:21:29.370379"], ["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.5ms)
+ [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[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------------------------------------------------------
+TasksController::complete_toggle: test_0001_will respond with redirect when attempting to mark a nonexistant task
+-----------------------------------------------------------------------------------------------------------------
+Started PATCH "/tasks/3456/complete_toggle" for 127.0.0.1 at 2019-04-13 20:21:29 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.1ms)
+ [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 20:21: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.6ms)
+Completed 200 OK in 8ms (Views: 5.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 20:21: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 (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::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-13 20:21:29 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:21:29.399664"], ["updated_at", "2019-04-14 03:21:29.399664"]]
+ [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 20:21:29 -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/_form.html.erb (1.2ms)
+ Rendered tasks/edit.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 7ms (Views: 2.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::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/1234" for 127.0.0.1 at 2019-04-13 20:21:29 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:21:29.416936"], ["updated_at", "2019-04-14 03:21:29.416936"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190969" for 127.0.0.1 at 2019-04-13 20:21:29 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:21:29.422511"], ["id", 980190969]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190969
+Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
+ [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[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:22:00.440529', '2019-04-14 03:22:00.440529', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:22:00.440529', '2019-04-14 03:22:00.440529', DEFAULT, '2019-04-09')[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.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:22:00.460069"], ["updated_at", "2019-04-14 03:22:00.460069"]]
+ [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 20:22:00 -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/_form.html.erb (17.6ms)
+ Rendered tasks/edit.html.erb within layouts/application (21.7ms)
+Completed 200 OK in 213ms (Views: 201.9ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-13 20:22:00 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:22:00.687746"], ["updated_at", "2019-04-14 03:22:00.687746"]]
+ [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 20:22:00 -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.6ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 20:22: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::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 20:22:00 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:22:00.704605"], ["updated_at", "2019-04-14 03:22:00.704605"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:22:00.710770"], ["updated_at", "2019-04-14 03:22:00.710770"]]
+ [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 20:22:00 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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.6ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:22:00.714712"], ["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.2ms)
+ [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/1234" for 127.0.0.1 at 2019-04-13 20:22:00 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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 20:22:00 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.1ms)
+ Rendered tasks/new.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------
+TasksController::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:22:00.737623"], ["updated_at", "2019-04-14 03:22:00.737623"]]
+ [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 20:22:00 -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]]
+No template found for TasksController#destroy, rendering head :no_content
+Completed 204 No Content in 98ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:22:00 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+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 20:22: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.0ms)
+Completed 200 OK in 7ms (Views: 4.0ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 20:22: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 (1.9ms)
+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
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0002_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:22:00.862290"], ["updated_at", "2019-04-14 03:22:00.862290"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968/complete_toggle" for 127.0.0.1 at 2019-04-13 20:22:00 -0700
+Processing by TasksController#complete_toggle 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.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:22:00.864962"], ["completed", true], ["updated_at", "2019-04-14 03:22:00.865453"], ["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.5ms)
+ [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::complete_toggle: test_0001_will respond with redirect when attempting to mark a nonexistant task
+-----------------------------------------------------------------------------------------------------------------
+Started PATCH "/tasks/3456/complete_toggle" for 127.0.0.1 at 2019-04-13 20:22:00 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::complete_toggle: test_0003_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:22:00.875120"], ["updated_at", "2019-04-14 03:22:00.875120"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190969/complete_toggle" for 127.0.0.1 at 2019-04-13 20:22:00 -0700
+Processing by TasksController#complete_toggle 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.5ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:22:00.879875"], ["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: 0.8ms)
+ [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[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:23:54.763198', '2019-04-14 03:23:54.763198', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:23:54.763198', '2019-04-14 03:23:54.763198', DEFAULT, '2019-04-09')[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::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [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.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:23:54.782298"], ["updated_at", "2019-04-14 03:23:54.782298"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-13 20:23:54 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+No template found for TasksController#destroy, rendering head :no_content
+Completed 204 No Content in 97ms (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_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:23:54 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [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 20:23:54 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (15.5ms)
+ Rendered tasks/new.html.erb within layouts/application (19.3ms)
+Completed 200 OK in 197ms (Views: 195.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
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-13 20:23:55 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:23:55.108739"], ["updated_at", "2019-04-14 03:23:55.108739"]]
+ [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 20:23:55 -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/_form.html.erb (1.0ms)
+ Rendered tasks/edit.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:23:55.121215"], ["updated_at", "2019-04-14 03:23:55.121215"]]
+ [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 20:23:55 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:23:55.124459"], ["id", 980190965]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190965
+Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ [1m[35m (0.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/1234" for 127.0.0.1 at 2019-04-13 20:23:55 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 20:23: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 (2.7ms)
+Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 20:23:55 -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.7ms | 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 20:23:55 -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.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:23:55.151851"], ["updated_at", "2019-04-14 03:23:55.151851"]]
+ [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 20:23:55 -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 (1.0ms)
+Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.1ms)
+ [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 20:23:55 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:23:55.165127"], ["updated_at", "2019-04-14 03:23:55.165127"]]
+ [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.4ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0002_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:23:55.169577"], ["updated_at", "2019-04-14 03:23:55.169577"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968/complete_toggle" for 127.0.0.1 at 2019-04-13 20:23:55 -0700
+Processing by TasksController#complete_toggle 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.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:23:55.172163"], ["completed", true], ["updated_at", "2019-04-14 03:23:55.172652"], ["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.5ms)
+ [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::complete_toggle: test_0001_will respond with redirect when attempting to mark a nonexistant task
+-----------------------------------------------------------------------------------------------------------------
+Started PATCH "/tasks/3456/complete_toggle" for 127.0.0.1 at 2019-04-13 20:23:55 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------
+TasksController::complete_toggle: test_0003_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:23:55.183479"], ["updated_at", "2019-04-14 03:23:55.183479"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190969/complete_toggle" for 127.0.0.1 at 2019-04-13 20:23:55 -0700
+Processing by TasksController#complete_toggle 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.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:23:55.188760"], ["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[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[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:24:16.869345', '2019-04-14 03:24:16.869345', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:24:16.869345', '2019-04-14 03:24:16.869345', DEFAULT, '2019-04-09')[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::complete_toggle: test_0001_will respond with redirect when attempting to mark a nonexistant task
+-----------------------------------------------------------------------------------------------------------------
+Started PATCH "/tasks/3456/complete_toggle" for 127.0.0.1 at 2019-04-13 20:24:16 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------
+TasksController::complete_toggle: test_0003_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:24:16.911746"], ["updated_at", "2019-04-14 03:24:16.911746"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963/complete_toggle" for 127.0.0.1 at 2019-04-13 20:24:16 -0700
+Processing by TasksController#complete_toggle 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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:24:16.919298"], ["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 8ms (ActiveRecord: 1.0ms)
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0002_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:24:16.930382"], ["updated_at", "2019-04-14 03:24:16.930382"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964/complete_toggle" for 127.0.0.1 at 2019-04-13 20:24:16 -0700
+Processing by TasksController#complete_toggle 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.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:24:16.933689"], ["completed", true], ["updated_at", "2019-04-14 03:24:16.934247"], ["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[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.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:24:16.940427"], ["updated_at", "2019-04-14 03:24:16.940427"]]
+ [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 20:24: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 (1.8ms)
+Completed 200 OK in 190ms (Views: 186.2ms | 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 20:24:17 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+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::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:24:17.143069"], ["updated_at", "2019-04-14 03:24:17.143069"]]
+ [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 20:24:17 -0700
+Processing by TasksController#edit 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/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (9.5ms)
+ Rendered tasks/edit.html.erb within layouts/application (11.4ms)
+Completed 200 OK in 15ms (Views: 12.4ms | ActiveRecord: 0.1ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-13 20:24:17 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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 20:24:17 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:24:17.168454"], ["updated_at", "2019-04-14 03:24:17.168454"]]
+ [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.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 20:24:17 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.3ms)
+ Rendered tasks/new.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 4ms (Views: 2.7ms | 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/1234" for 127.0.0.1 at 2019-04-13 20:24:17 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:24:17.184822"], ["updated_at", "2019-04-14 03:24:17.184822"]]
+ [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 20:24:17 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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.4ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:24:17.188236"], ["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.9ms)
+ [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.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 20:24: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 (2.5ms)
+Completed 200 OK in 6ms (Views: 3.4ms | 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 20:24: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 (1.6ms)
+Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------
+TasksController::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:24:17.210431"], ["updated_at", "2019-04-14 03:24:17.210431"]]
+ [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 20:24:17 -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.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
+No template found for TasksController#destroy, rendering head :no_content
+Completed 204 No Content in 89ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:24:17 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.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.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:29:16.266903', '2019-04-14 03:29:16.266903', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:29:16.266903', '2019-04-14 03:29:16.266903', DEFAULT, '2019-04-09')[0m
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (10.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:29:16.287565"], ["updated_at", "2019-04-14 03:29:16.287565"]]
+ [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 20:29:16 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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.7ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:29:16.317606"], ["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 14ms (ActiveRecord: 1.6ms)
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ [1m[35m (0.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/1234" for 127.0.0.1 at 2019-04-13 20:29:16 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:29:16.337988"], ["updated_at", "2019-04-14 03:29:16.337988"]]
+ [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 20:29: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 (1.8ms)
+Completed 200 OK in 177ms (Views: 172.9ms | 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 20:29: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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 20:29:16 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (9.6ms)
+ Rendered tasks/new.html.erb within layouts/application (11.7ms)
+Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0002_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:29:16.540936"], ["updated_at", "2019-04-14 03:29:16.540936"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965/complete_toggle" for 127.0.0.1 at 2019-04-13 20:29:16 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:29:16.544287"], ["completed", true], ["updated_at", "2019-04-14 03:29:16.544794"], ["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.6ms)
+ [1m[36mTask Load (0.1ms)[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::complete_toggle: test_0003_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:29:16.551346"], ["updated_at", "2019-04-14 03:29:16.551346"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966/complete_toggle" for 127.0.0.1 at 2019-04-13 20:29:16 -0700
+Processing by TasksController#complete_toggle 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.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.5ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:29:16.559878"], ["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 10ms (ActiveRecord: 1.2ms)
+ [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::complete_toggle: test_0001_redirects in attempt to mark nonexistent task
+-----------------------------------------------------------------------------------------
+Started PATCH "/tasks/3456/complete_toggle" for 127.0.0.1 at 2019-04-13 20:29:16 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-13 20:29:16 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:29:16.578700"], ["updated_at", "2019-04-14 03:29:16.578700"]]
+ [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 20:29:16 -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/_form.html.erb (2.0ms)
+ Rendered tasks/edit.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.1ms)
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 20:29:16 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:29:16.593546"], ["updated_at", "2019-04-14 03:29:16.593546"]]
+ [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"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 20:29: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 (3.1ms)
+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 20:29: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.9ms)
+Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------
+TasksController::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:29:16.616642"], ["updated_at", "2019-04-14 03:29:16.616642"]]
+ [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 20:29:16 -0700
+Processing by TasksController#destroy 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 Destroy (0.4ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = $1[0m [["id", 980190969]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+No template found for TasksController#destroy, rendering head :no_content
+Completed 204 No Content in 111ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:29:16 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:29:30.226846', '2019-04-14 03:29:30.226846', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:29:30.226846', '2019-04-14 03:29:30.226846', DEFAULT, '2019-04-09')[0m
+ [1m[35m (3.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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 20:29:30 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (10.9ms)
+Completed 200 OK in 182ms (Views: 176.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 20:29: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 (3.2ms)
+Completed 200 OK in 5ms (Views: 4.6ms | 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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 20:29:30 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:29:30.452639"], ["updated_at", "2019-04-14 03:29:30.452639"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:29:30.459329"], ["updated_at", "2019-04-14 03:29:30.459329"]]
+ [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 20:29:30 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:29:30.463649"], ["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/1234" for 127.0.0.1 at 2019-04-13 20:29:30 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------------------------------
+TasksController::complete_toggle: test_0001_redirects in attempt to mark nonexistent task
+-----------------------------------------------------------------------------------------
+Started PATCH "/tasks/3456/complete_toggle" for 127.0.0.1 at 2019-04-13 20:29:30 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::complete_toggle: test_0002_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:29:30.500321"], ["updated_at", "2019-04-14 03:29:30.500321"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965/complete_toggle" for 127.0.0.1 at 2019-04-13 20:29:30 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:29:30.503054"], ["completed", true], ["updated_at", "2019-04-14 03:29:30.503588"], ["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.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::complete_toggle: test_0003_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:29:30.510145"], ["updated_at", "2019-04-14 03:29:30.510145"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966/complete_toggle" for 127.0.0.1 at 2019-04-13 20:29:30 -0700
+Processing by TasksController#complete_toggle 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]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:29:30.514757"], ["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.6ms)
+ [1m[36mTask Load (0.1ms)[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::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:29:30.521882"], ["updated_at", "2019-04-14 03:29:30.521882"]]
+ [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 20:29:30 -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
+No template found for TasksController#destroy, rendering head :no_content
+Completed 204 No Content in 94ms (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::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:29:30 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:29:30.626965"], ["updated_at", "2019-04-14 03:29:30.626965"]]
+ [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 20:29:30 -0700
+Processing by TasksController#edit 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/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (13.7ms)
+ Rendered tasks/edit.html.erb within layouts/application (16.2ms)
+Completed 200 OK in 21ms (Views: 17.5ms | ActiveRecord: 0.1ms)
+ [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/3456/edit" for 127.0.0.1 at 2019-04-13 20:29:30 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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-13 20:29:30 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.0ms)
+ Rendered tasks/new.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:29:30.666665"], ["updated_at", "2019-04-14 03:29:30.666665"]]
+ [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 20:29:30 -0700
+Processing by TasksController#show 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]]
+ 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.3ms | ActiveRecord: 0.1ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 20:29:30 -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.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:30:06.041196', '2019-04-14 03:30:06.041196', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:30:06.041196', '2019-04-14 03:30:06.041196', DEFAULT, '2019-04-09')[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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 20:30:06 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (13.9ms)
+ Rendered tasks/new.html.erb within layouts/application (17.1ms)
+Completed 200 OK in 195ms (Views: 184.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::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 20:30:06 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:30:06.268057"], ["updated_at", "2019-04-14 03:30:06.268057"]]
+ [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"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------
+TasksController::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:30:06 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [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 20:30: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 (4.2ms)
+Completed 200 OK in 8ms (Views: 5.7ms | 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 20: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
+ Rendered tasks/index.html.erb within layouts/application (2.0ms)
+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::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:30:06.304790"], ["updated_at", "2019-04-14 03:30:06.304790"]]
+ [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 20:30:06 -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/_form.html.erb (1.6ms)
+ Rendered tasks/edit.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 5ms (Views: 3.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/3456/edit" for 127.0.0.1 at 2019-04-13 20:30:06 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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.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.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:30:06.321020"], ["updated_at", "2019-04-14 03:30:06.321020"]]
+ [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 20:30:06 -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.7ms)
+Completed 200 OK in 5ms (Views: 2.2ms | 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 20:30:06 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:30:06.334710"], ["updated_at", "2019-04-14 03:30:06.334710"]]
+ [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 20:30:06 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:30:06.338878"], ["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.1ms)[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/1234" for 127.0.0.1 at 2019-04-13 20:30:06 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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::complete_toggle: test_0002_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:30:06.347794"], ["updated_at", "2019-04-14 03:30:06.347794"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete_toggle" for 127.0.0.1 at 2019-04-13 20:30:06 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:30:06.353078"], ["completed", true], ["updated_at", "2019-04-14 03:30:06.354402"], ["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.3ms)
+ [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.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------
+TasksController::complete_toggle: test_0003_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:30:06.362214"], ["updated_at", "2019-04-14 03:30:06.362214"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968/complete_toggle" for 127.0.0.1 at 2019-04-13 20:30:06 -0700
+Processing by TasksController#complete_toggle 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.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:30:06.366892"], ["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.5ms)
+ [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::complete_toggle: test_0001_redirects in attempt to mark nonexistent task
+-----------------------------------------------------------------------------------------
+Started PATCH "/tasks/3456/complete_toggle" for 127.0.0.1 at 2019-04-13 20:30:06 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:30:59.769953', '2019-04-14 03:30:59.769953', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:30:59.769953', '2019-04-14 03:30:59.769953', DEFAULT, '2019-04-09')[0m
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "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 20:30:59 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (15.3ms)
+ Rendered tasks/new.html.erb within layouts/application (19.4ms)
+Completed 200 OK in 194ms (Views: 180.5ms | 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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:30:59.990966"], ["updated_at", "2019-04-14 03:30:59.990966"]]
+ [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 20:30:59 -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.0ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 20:31: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::complete_toggle: test_0001_redirects in attempt to mark nonexistent task
+-----------------------------------------------------------------------------------------
+Started PATCH "/tasks/3456/complete_toggle" for 127.0.0.1 at 2019-04-13 20:31:00 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::complete_toggle: test_0002_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:31:00.015714"], ["updated_at", "2019-04-14 03:31:00.015714"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964/complete_toggle" for 127.0.0.1 at 2019-04-13 20:31:00 -0700
+Processing by TasksController#complete_toggle 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.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.7ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:31:00.019632"], ["completed", true], ["updated_at", "2019-04-14 03:31:00.021534"], ["id", 980190964]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 8ms (ActiveRecord: 1.6ms)
+ [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::complete_toggle: test_0003_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:31:00.031753"], ["updated_at", "2019-04-14 03:31:00.031753"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965/complete_toggle" for 127.0.0.1 at 2019-04-13 20:31:00 -0700
+Processing by TasksController#complete_toggle 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.3ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:31:00.036633"], ["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.7ms)
+ [1m[36mTask Load (0.1ms)[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_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:31:00.043062"], ["updated_at", "2019-04-14 03:31:00.043062"]]
+ [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 20:31:00 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:31:00.048580"], ["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.1ms)[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/1234" for 127.0.0.1 at 2019-04-13 20:31:00 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:31:00.057910"], ["updated_at", "2019-04-14 03:31:00.057910"]]
+ [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 20:31:00 -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
+No template found for TasksController#destroy, rendering head :no_content
+Completed 204 No Content in 90ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:31:00 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 20:31: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 8ms (Views: 4.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 20:31: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 (1.8ms)
+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
+--------------------------------------------------------
+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 20:31:00 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:31:00.174707"], ["updated_at", "2019-04-14 03:31:00.174707"]]
+ [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.8ms)
+ [1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:31:00.181494"], ["updated_at", "2019-04-14 03:31:00.181494"]]
+ [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-13 20:31:00 -0700
+Processing by TasksController#edit 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]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.4ms)
+ Rendered tasks/edit.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.1ms)
+ [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/3456/edit" for 127.0.0.1 at 2019-04-13 20:31:00 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:32:00.604453', '2019-04-14 03:32:00.604453', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:32:00.604453', '2019-04-14 03:32:00.604453', DEFAULT, '2019-04-09')[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_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:32:00 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
+ [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::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:32:00.644809"], ["updated_at", "2019-04-14 03:32:00.644809"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-13 20:32:00 -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.2ms)[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 3ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0002_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:32:00.659478"], ["updated_at", "2019-04-14 03:32:00.659478"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964/complete_toggle" for 127.0.0.1 at 2019-04-13 20:32:00 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:32:00.664885"], ["completed", true], ["updated_at", "2019-04-14 03:32:00.666130"], ["id", 980190964]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 6ms (ActiveRecord: 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::complete_toggle: test_0001_redirects in attempt to mark nonexistent task
+-----------------------------------------------------------------------------------------
+Started PATCH "/tasks/3456/complete_toggle" for 127.0.0.1 at 2019-04-13 20:32:00 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::complete_toggle: test_0003_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:32:00.677537"], ["updated_at", "2019-04-14 03:32:00.677537"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965/complete_toggle" for 127.0.0.1 at 2019-04-13 20:32:00 -0700
+Processing by TasksController#complete_toggle 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.3ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:32:00.684730"], ["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.7ms)
+ [1m[36mTask Load (0.1ms)[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::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 20:32:00 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:32:00.692984"], ["updated_at", "2019-04-14 03:32:00.692984"]]
+ [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.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:32:00.699784"], ["updated_at", "2019-04-14 03:32:00.699784"]]
+ [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 20:32:00 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "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 Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:32:00.704542"], ["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 3ms (ActiveRecord: 0.6ms)
+ [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[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/1234" for 127.0.0.1 at 2019-04-13 20:32:00 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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 20:32:00 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (12.4ms)
+ Rendered tasks/new.html.erb within layouts/application (16.4ms)
+Completed 200 OK in 194ms (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_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:32:00.911654"], ["updated_at", "2019-04-14 03:32:00.911654"]]
+ [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 20:32:00 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190968"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190968], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 7ms (Views: 2.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 20:32: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::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 20:32: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 5ms (Views: 3.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 20:32: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 (1.6ms)
+Completed 200 OK in 3ms (Views: 2.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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:32:00.940643"], ["updated_at", "2019-04-14 03:32:00.940643"]]
+ [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-13 20:32:00 -0700
+Processing by TasksController#edit 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]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.4ms)
+ Rendered tasks/edit.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.1ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-13 20:32:00 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:36:31.312903', '2019-04-14 03:36:31.312903', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:36:31.312903', '2019-04-14 03:36:31.312903', DEFAULT, '2019-04-09')[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
+-----------------------------
+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_removes the task from the database
+----------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:36:31.333363"], ["updated_at", "2019-04-14 03:36:31.333363"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190963" for 127.0.0.1 at 2019-04-13 20:36:31 -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.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:36:31 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 20:36:31 -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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:36:31.378506"], ["updated_at", "2019-04-14 03:36:31.378506"]]
+ [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 20:36:31 -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.9ms)
+Completed 200 OK in 183ms (Views: 179.6ms | 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 20:36:31 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (10.7ms)
+ Rendered tasks/new.html.erb within layouts/application (13.0ms)
+Completed 200 OK in 16ms (Views: 14.0ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:36:31.585543"], ["updated_at", "2019-04-14 03:36:31.585543"]]
+ [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 20:36:31 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.5ms)[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/_form.html.erb (1.5ms)
+ Rendered tasks/edit.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.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/3456/edit" for 127.0.0.1 at 2019-04-13 20:36:31 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------------------------------
+TasksController::complete_toggle: test_0001_redirects in attempt to mark nonexistent task
+-----------------------------------------------------------------------------------------
+Started PATCH "/tasks/3456/complete_toggle" for 127.0.0.1 at 2019-04-13 20:36:31 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::complete_toggle: test_0002_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:36:31.607321"], ["updated_at", "2019-04-14 03:36:31.607321"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966/complete_toggle" for 127.0.0.1 at 2019-04-13 20:36:31 -0700
+Processing by TasksController#complete_toggle 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]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:36:31.610426"], ["completed", true], ["updated_at", "2019-04-14 03:36:31.611043"], ["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.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::complete_toggle: test_0003_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:36:31.618975"], ["updated_at", "2019-04-14 03:36:31.618975"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete_toggle" for 127.0.0.1 at 2019-04-13 20:36:31 -0700
+Processing by TasksController#complete_toggle 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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.7ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:36:31.624008"], ["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 6ms (ActiveRecord: 1.2ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:36:31.633216"], ["updated_at", "2019-04-14 03:36:31.633216"]]
+ [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 20:36:31 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:36:31.636777"], ["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 3ms (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/1234" for 127.0.0.1 at 2019-04-13 20:36:31 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 20:36:31 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 8ms (Views: 4.9ms | 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 20:36:31 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 3ms (Views: 2.3ms | 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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 20:36:31 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:36:31.663243"], ["updated_at", "2019-04-14 03:36:31.663243"]]
+ [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.4ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.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", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:38:19.707032', '2019-04-14 03:38:19.707032', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:38:19.707032', '2019-04-14 03:38:19.707032', DEFAULT, '2019-04-09')[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
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:38:19.734775"], ["updated_at", "2019-04-14 03:38:19.734775"]]
+ [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 20:38:19 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 152ms (Views: 143.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 20:38:19 -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.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:38:19.903626"], ["updated_at", "2019-04-14 03:38:19.903626"]]
+ [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 20:38:19 -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/_form.html.erb (4.6ms)
+ Rendered tasks/edit.html.erb within layouts/application (6.2ms)
+Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-13 20:38:19 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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 20:38: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 4ms (Views: 2.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 20:38: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 4ms (Views: 3.9ms | 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 20:38:19 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.0ms)
+ Rendered tasks/new.html.erb within layouts/application (1.4ms)
+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::complete_toggle: test_0001_redirects in attempt to mark nonexistent task
+-----------------------------------------------------------------------------------------
+Started PATCH "/tasks/3456/complete_toggle" for 127.0.0.1 at 2019-04-13 20:38:19 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::complete_toggle: test_0002_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:38:19.949541"], ["updated_at", "2019-04-14 03:38:19.949541"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965/complete_toggle" for 127.0.0.1 at 2019-04-13 20:38:19 -0700
+Processing by TasksController#complete_toggle 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.4ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:38:19.953257"], ["completed", true], ["updated_at", "2019-04-14 03:38:19.953969"], ["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 6ms (ActiveRecord: 0.9ms)
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------
+TasksController::complete_toggle: test_0003_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:38:19.963387"], ["updated_at", "2019-04-14 03:38:19.963387"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966/complete_toggle" for 127.0.0.1 at 2019-04-13 20:38:19 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:38:19.968296"], ["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.6ms)
+ [1m[36mTask Load (0.1ms)[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::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:38:19.973655"], ["updated_at", "2019-04-14 03:38:19.973655"]]
+ [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 20:38:19 -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.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:38:19 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 20:38:19 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:38:20.011347"], ["updated_at", "2019-04-14 03:38:20.011347"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190968
+Completed 302 Found in 19ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/1234" for 127.0.0.1 at 2019-04-13 20:38:20 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:38:20.020661"], ["updated_at", "2019-04-14 03:38:20.020661"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190969" for 127.0.0.1 at 2019-04-13 20:38:20 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "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.2ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:38:20.024805"], ["id", 980190969]]
+ [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[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[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:39:04.109399', '2019-04-14 03:39:04.109399', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:39:04.109399', '2019-04-14 03:39:04.109399', DEFAULT, '2019-04-09')[0m
+ [1m[35m (3.1ms)[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 20:39:04 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:39:04.146288"], ["updated_at", "2019-04-14 03:39:04.146288"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 13ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:39:04.161605"], ["updated_at", "2019-04-14 03:39:04.161605"]]
+ [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 20:39:04 -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/_form.html.erb (15.1ms)
+ Rendered tasks/edit.html.erb within layouts/application (18.6ms)
+Completed 200 OK in 206ms (Views: 201.3ms | 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/3456/edit" for 127.0.0.1 at 2019-04-13 20:39:04 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::complete_toggle: test_0001_redirects in attempt to mark nonexistent task
+-----------------------------------------------------------------------------------------
+Started PATCH "/tasks/3456/complete_toggle" for 127.0.0.1 at 2019-04-13 20:39:04 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::complete_toggle: test_0003_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:39:04.383934"], ["updated_at", "2019-04-14 03:39:04.383934"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965/complete_toggle" for 127.0.0.1 at 2019-04-13 20:39:04 -0700
+Processing by TasksController#complete_toggle 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.3ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:39:04.388118"], ["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.7ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0002_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:39:04.392969"], ["updated_at", "2019-04-14 03:39:04.392969"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966/complete_toggle" for 127.0.0.1 at 2019-04-13 20:39:04 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:39:04.395524"], ["completed", true], ["updated_at", "2019-04-14 03:39:04.395985"], ["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 3ms (ActiveRecord: 0.5ms)
+ [1m[36mTask Load (0.1ms)[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_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:39:04.401461"], ["updated_at", "2019-04-14 03:39:04.401461"]]
+ [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 20:39:04 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "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 Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:39:04.404878"], ["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.6ms)
+ [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[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/1234" for 127.0.0.1 at 2019-04-13 20:39:04 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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 20:39:04 -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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:39:04.417756"], ["updated_at", "2019-04-14 03:39:04.417756"]]
+ [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 20:39:04 -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.7ms)
+Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.1ms)
+ [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 20:39:04 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.1ms)
+ Rendered tasks/new.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------
+TasksController::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:39:04.437728"], ["updated_at", "2019-04-14 03:39:04.437728"]]
+ [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 20:39:04 -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.2ms)[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 2ms (ActiveRecord: 0.7ms)
+Started DELETE "/tasks/980190969" for 127.0.0.1 at 2019-04-13 20:39:30 -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]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [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", 980190969]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:41:37 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 20:41:37 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.0ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (6.7ms)
+Completed 200 OK in 11ms (Views: 7.4ms | ActiveRecord: 1.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 20:41:37 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:41:41.012076', '2019-04-14 03:41:41.012076', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:41:41.012076', '2019-04-14 03:41:41.012076', DEFAULT, '2019-04-09')[0m
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:41:41.028943"], ["updated_at", "2019-04-14 03:41:41.028943"]]
+ [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 20:41:41 -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 (1.4ms)
+Completed 200 OK in 179ms (Views: 167.6ms | ActiveRecord: 1.0ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 20:41:41 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/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 20:41:41 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:41:41.232878"], ["updated_at", "2019-04-14 03:41:41.232878"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0002_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:41:41.239110"], ["updated_at", "2019-04-14 03:41:41.239110"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965/complete_toggle" for 127.0.0.1 at 2019-04-13 20:41:41 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:41:41.242488"], ["completed", true], ["updated_at", "2019-04-14 03:41:41.243029"], ["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[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::complete_toggle: test_0001_redirects in attempt to mark nonexistent task
+-----------------------------------------------------------------------------------------
+Started PATCH "/tasks/3456/complete_toggle" for 127.0.0.1 at 2019-04-13 20:41:41 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::complete_toggle: test_0003_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:41:41.254247"], ["updated_at", "2019-04-14 03:41:41.254247"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966/complete_toggle" for 127.0.0.1 at 2019-04-13 20:41:41 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"980190966"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190966], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:41:41.261042"], ["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[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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 20:41:41 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (12.4ms)
+ Rendered tasks/new.html.erb within layouts/application (15.0ms)
+Completed 200 OK in 19ms (Views: 16.3ms | 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.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:41:41.288671"], ["updated_at", "2019-04-14 03:41:41.288671"]]
+ [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 20:41:41 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:41:41.292564"], ["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 3ms (ActiveRecord: 0.6ms)
+ [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[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/1234" for 127.0.0.1 at 2019-04-13 20:41:41 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:41:41.300860"], ["updated_at", "2019-04-14 03:41:41.300860"]]
+ [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 20:41:41 -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/_form.html.erb (1.4ms)
+ Rendered tasks/edit.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 8ms (Views: 3.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/3456/edit" for 127.0.0.1 at 2019-04-13 20:41:41 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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
+-----------------------------
+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_removes the task from the database
+----------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "delete sample task"], ["description", "i am trash"], ["created_at", "2019-04-14 03:41:41.318496"], ["updated_at", "2019-04-14 03:41:41.318496"]]
+ [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 20:41:41 -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.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.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:41:42 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.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 20:41: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
+ Rendered tasks/index.html.erb within layouts/application (4.7ms)
+Completed 200 OK in 40ms (Views: 36.2ms | 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 20:41: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 (1.7ms)
+Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.6ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:41:47.681276', '2019-04-14 03:41:47.681276', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:41:47.681276', '2019-04-14 03:41:47.681276', DEFAULT, '2019-04-09')[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::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 20:41:47 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:41:47.717143"], ["updated_at", "2019-04-14 03:41:47.717143"]]
+ [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.6ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 20:41:47 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (6.6ms)
+ Rendered tasks/new.html.erb within layouts/application (8.7ms)
+Completed 200 OK in 155ms (Views: 152.7ms | 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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:41:47.886196"], ["updated_at", "2019-04-14 03:41:47.886196"]]
+ [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 20:41:47 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"980190964"}
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:41:47.892478"], ["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.4ms)
+ [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/1234" for 127.0.0.1 at 2019-04-13 20:41:47 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 20:41: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.1ms)
+Completed 200 OK in 4ms (Views: 2.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 20:41: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 (1.6ms)
+Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:41:47.915156"], ["updated_at", "2019-04-14 03:41:47.915156"]]
+ [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 20:41: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 4ms (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 20:41: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::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:41:47.927081"], ["updated_at", "2019-04-14 03:41:47.927081"]]
+ [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 20:41: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/_form.html.erb (1.2ms)
+ Rendered tasks/edit.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 5ms (Views: 2.6ms | 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/3456/edit" for 127.0.0.1 at 2019-04-13 20:41:47 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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_removes the task from the database
+----------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "delete sample task"], ["description", "i am trash"], ["created_at", "2019-04-14 03:41:47.941517"], ["updated_at", "2019-04-14 03:41:47.941517"]]
+ [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 20:41: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.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.3ms)[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[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
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:44:42 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------
+TasksController::complete_toggle: test_0003_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:44:42.976065"], ["updated_at", "2019-04-14 03:44:42.976065"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968/complete_toggle" for 127.0.0.1 at 2019-04-13 20:44:42 -0700
+Processing by TasksController#complete_toggle 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.4ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:44:42.984296"], ["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 8ms (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::complete_toggle: test_0001_redirects in attempt to mark nonexistent task
+-----------------------------------------------------------------------------------------
+Started PATCH "/tasks/3456/complete_toggle" for 127.0.0.1 at 2019-04-13 20:44:42 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0002_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:44:42.999374"], ["updated_at", "2019-04-14 03:44:42.999374"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190969/complete_toggle" for 127.0.0.1 at 2019-04-13 20:44:43 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:44:43.003717"], ["completed", true], ["updated_at", "2019-04-14 03:44:43.004269"], ["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[36mTask Load (0.1ms)[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.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:44:45.615530', '2019-04-14 03:44:45.615530', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:44:45.615530', '2019-04-14 03:44:45.615530', DEFAULT, '2019-04-09')[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_removes the task from the database
+----------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "delete sample task"], ["description", "i am trash"], ["created_at", "2019-04-14 03:44:45.634224"], ["updated_at", "2019-04-14 03:44:45.634224"]]
+ [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 20:44:45 -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 10ms (ActiveRecord: 0.9ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190962], ["LIMIT", 1]]
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 298486374], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:44:45 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (7.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:44:45.681710"], ["updated_at", "2019-04-14 03:44:45.681710"]]
+ [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 20:44:45 -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/_form.html.erb (15.0ms)
+ Rendered tasks/edit.html.erb within layouts/application (18.5ms)
+Completed 200 OK in 169ms (Views: 165.5ms | 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/3456/edit" for 127.0.0.1 at 2019-04-13 20:44:45 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:44:45.867797"], ["updated_at", "2019-04-14 03:44:45.867797"]]
+ [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 20:44:45 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ Rendering tasks/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.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 20:44:45 -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 20:44:45 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:44:45.882405"], ["updated_at", "2019-04-14 03:44:45.882405"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190966
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+ [1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------------------------------
+TasksController::complete_toggle: test_0001_redirects in attempt to mark nonexistent task
+-----------------------------------------------------------------------------------------
+Started PATCH "/tasks/3456/complete_toggle" for 127.0.0.1 at 2019-04-13 20:44:45 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0002_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:44:45.899216"], ["updated_at", "2019-04-14 03:44:45.899216"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete_toggle" for 127.0.0.1 at 2019-04-13 20:44:45 -0700
+Processing by TasksController#complete_toggle 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.4ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:44:45.905466"], ["completed", true], ["updated_at", "2019-04-14 03:44:45.906305"], ["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 6ms (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.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------
+TasksController::complete_toggle: test_0003_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:44:45.914500"], ["updated_at", "2019-04-14 03:44:45.914500"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968/complete_toggle" for 127.0.0.1 at 2019-04-13 20:44:45 -0700
+Processing by TasksController#complete_toggle 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.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:44:45.918456"], ["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 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.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 20:44:45 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.2ms)
+ Rendered tasks/new.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 8ms (Views: 4.8ms | 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/1234" for 127.0.0.1 at 2019-04-13 20:44:45 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:44:45.939930"], ["updated_at", "2019-04-14 03:44:45.939930"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190969" for 127.0.0.1 at 2019-04-13 20:44:45 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:44:45.943981"], ["id", 980190969]]
+ [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.7ms)
+ [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
+-----------------------------
+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 20:44: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 (3.0ms)
+Completed 200 OK in 7ms (Views: 3.8ms | 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 20:44: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.3ms | 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.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:45:18.582370', '2019-04-14 03:45:18.582370', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:45:18.582370', '2019-04-14 03:45:18.582370', DEFAULT, '2019-04-09')[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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 20:45:18 -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 (13.1ms)
+Completed 200 OK in 175ms (Views: 168.5ms | 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 20:45:18 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 5ms (Views: 4.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 20:45:18 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (9.7ms)
+ Rendered tasks/new.html.erb within layouts/application (11.6ms)
+Completed 200 OK in 15ms (Views: 12.5ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:45:18.805464"], ["updated_at", "2019-04-14 03:45:18.805464"]]
+ [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 20:45:18 -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/_form.html.erb (1.3ms)
+ Rendered tasks/edit.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 7ms (Views: 3.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/3456/edit" for 127.0.0.1 at 2019-04-13 20:45:18 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::complete_toggle: test_0001_redirects in attempt to mark nonexistent task
+-----------------------------------------------------------------------------------------
+Started PATCH "/tasks/3456/complete_toggle" for 127.0.0.1 at 2019-04-13 20:45:18 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::complete_toggle: test_0002_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:45:18.829001"], ["updated_at", "2019-04-14 03:45:18.829001"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964/complete_toggle" for 127.0.0.1 at 2019-04-13 20:45:18 -0700
+Processing by TasksController#complete_toggle 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.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:45:18.832035"], ["completed", true], ["updated_at", "2019-04-14 03:45:18.832546"], ["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[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[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------
+TasksController::complete_toggle: test_0003_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:45:18.841312"], ["updated_at", "2019-04-14 03:45:18.841312"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190965/complete_toggle" for 127.0.0.1 at 2019-04-13 20:45:18 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:45:18.845507"], ["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.5ms)
+ [1m[36mTask Load (0.1ms)[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::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 20:45:18 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:45:18.852481"], ["updated_at", "2019-04-14 03:45:18.852481"]]
+ [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"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (1.0ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:45:18.857929"], ["updated_at", "2019-04-14 03:45:18.857929"]]
+ [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 20:45:18 -0700
+Processing by TasksController#show 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/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 6ms (Views: 1.8ms | 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 20:45:18 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+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::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:45:18.874839"], ["updated_at", "2019-04-14 03:45:18.874839"]]
+ [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 20:45:18 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:45:18.877958"], ["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 3ms (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/1234" for 127.0.0.1 at 2019-04-13 20:45:18 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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_removes the task from the database
+----------------------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "delete sample task"], ["description", "i am trash"], ["created_at", "2019-04-14 03:45:18.886668"], ["updated_at", "2019-04-14 03:45:18.886668"]]
+ [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/980190969" for 127.0.0.1 at 2019-04-13 20:45:18 -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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190962], ["LIMIT", 1]]
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 298486374], ["LIMIT", 1]]
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "test test"], ["created_at", "2019-04-14 03:46:47.054404"], ["updated_at", "2019-04-14 03:46:47.054404"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [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 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
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:47:46 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:47:48.977840', '2019-04-14 03:47:48.977840', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:47:48.977840', '2019-04-14 03:47:48.977840', DEFAULT, '2019-04-09')[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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 20:47:48 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (20.4ms)
+ Rendered tasks/new.html.erb within layouts/application (23.0ms)
+Completed 200 OK in 173ms (Views: 161.5ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:47:49.173971"], ["updated_at", "2019-04-14 03:47:49.173971"]]
+ [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 20:47:49 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:47:49.183057"], ["id", 980190963]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/1234" for 127.0.0.1 at 2019-04-13 20:47:49 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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 20:47:49 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:47:49.195367"], ["updated_at", "2019-04-14 03:47:49.195367"]]
+ [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.4ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:47:49.200003"], ["updated_at", "2019-04-14 03:47:49.200003"]]
+ [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 20:47:49 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190965"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.0ms)
+ Rendered tasks/edit.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 5ms (Views: 2.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/3456/edit" for 127.0.0.1 at 2019-04-13 20:47:49 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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 20:47: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 (2.2ms)
+Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 20:47: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 (1.7ms)
+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::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "delete sample task"], ["description", "i am trash"], ["created_at", "2019-04-14 03:47:49.229144"], ["updated_at", "2019-04-14 03:47:49.229144"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190966" for 127.0.0.1 at 2019-04-13 20:47:49 -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.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"."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::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:48:01 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.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 20:48:01 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:48:01.940695"], ["updated_at", "2019-04-14 03:48:01.940695"]]
+ [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 20:48:01 -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.6ms)
+Completed 200 OK in 5ms (Views: 2.0ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0002_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:48:01.953350"], ["updated_at", "2019-04-14 03:48:01.953350"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968/complete_toggle" for 127.0.0.1 at 2019-04-13 20:48:01 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:48:01.956840"], ["completed", true], ["updated_at", "2019-04-14 03:48:01.957353"], ["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[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::complete_toggle: test_0003_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:48:01.964135"], ["updated_at", "2019-04-14 03:48:01.964135"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190969/complete_toggle" for 127.0.0.1 at 2019-04-13 20:48:01 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:48:01.968793"], ["id", 980190969]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 7ms (ActiveRecord: 1.2ms)
+ [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.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------------------------------
+TasksController::complete_toggle: test_0001_redirects in attempt to mark nonexistent task
+-----------------------------------------------------------------------------------------
+Started PATCH "/tasks/3456/complete_toggle" for 127.0.0.1 at 2019-04-13 20:48:01 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:49:04.440204', '2019-04-14 03:49:04.440204', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:49:04.440204', '2019-04-14 03:49:04.440204', DEFAULT, '2019-04-09')[0m
+ [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:49:04.457767"], ["updated_at", "2019-04-14 03:49:04.457767"]]
+ [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 20:49:04 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:49:04.477477"], ["id", 980190963]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190963
+Completed 302 Found in 12ms (ActiveRecord: 1.1ms)
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/1234" for 127.0.0.1 at 2019-04-13 20:49:04 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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::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 20:49:04 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:49:04.494425"], ["updated_at", "2019-04-14 03:49:04.494425"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190964
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------
+TasksController::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [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.5ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:49:04.501379"], ["updated_at", "2019-04-14 03:49:04.501379"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started DELETE "/tasks/980190965" for 127.0.0.1 at 2019-04-13 20:49: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.2ms)[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::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:49:04 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-13 20:49:04 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:49:04.522483"], ["updated_at", "2019-04-14 03:49:04.522483"]]
+ [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 20:49:04 -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/_form.html.erb (11.8ms)
+ Rendered tasks/edit.html.erb within layouts/application (14.9ms)
+Completed 200 OK in 193ms (Views: 188.9ms | 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 20:49:04 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.2ms)
+ Rendered tasks/new.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 5ms (Views: 2.9ms | 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 20:49: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 (2.2ms)
+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-13 20:49: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 (1.6ms)
+Completed 200 OK in 3ms (Views: 2.2ms | 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::complete_toggle: test_0003_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:49:04.743483"], ["updated_at", "2019-04-14 03:49:04.743483"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete_toggle" for 127.0.0.1 at 2019-04-13 20:49:04 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:49:04.747724"], ["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[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[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------------------------------
+TasksController::complete_toggle: test_0001_redirects in attempt to mark nonexistent task
+-----------------------------------------------------------------------------------------
+Started PATCH "/tasks/3456/complete_toggle" for 127.0.0.1 at 2019-04-13 20:49:04 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::complete_toggle: test_0002_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:49:04.755316"], ["updated_at", "2019-04-14 03:49:04.755316"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968/complete_toggle" for 127.0.0.1 at 2019-04-13 20:49:04 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:49:04.758864"], ["completed", true], ["updated_at", "2019-04-14 03:49:04.759375"], ["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.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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:49:04.765608"], ["updated_at", "2019-04-14 03:49:04.765608"]]
+ [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 20:49:04 -0700
+Processing by TasksController#show 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]]
+ 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.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 20:49:04 -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.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:50:05.982960', '2019-04-14 03:50:05.982960', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:50:05.982960', '2019-04-14 03:50:05.982960', DEFAULT, '2019-04-09')[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 20:50: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 (10.1ms)
+Completed 200 OK in 155ms (Views: 149.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 20:50:06 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 5ms (Views: 4.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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:50:06.181276"], ["updated_at", "2019-04-14 03:50:06.181276"]]
+ [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 20:50: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/_form.html.erb (5.8ms)
+ Rendered tasks/edit.html.erb within layouts/application (7.6ms)
+Completed 200 OK in 12ms (Views: 8.6ms | 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/3456/edit" for 127.0.0.1 at 2019-04-13 20:50:06 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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 20:50:06 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"-1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", -1], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+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.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:50:06.206618"], ["updated_at", "2019-04-14 03:50:06.206618"]]
+ [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 20:50:06 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+TasksController::update: test_0002_will redirect to the root page if given an invalid id
+----------------------------------------------------------------------------------------
+Started PATCH "/tasks/1234" for 127.0.0.1 at 2019-04-13 20:50:06 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:50:06.223592"], ["updated_at", "2019-04-14 03:50:06.223592"]]
+ [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 20:50:06 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:50:06.226943"], ["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 3ms (ActiveRecord: 0.6ms)
+ [1m[36mTask Load (0.1ms)[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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 20:50:06 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.6ms)
+ Rendered tasks/new.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::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 20:50:06 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:50:06.243792"], ["updated_at", "2019-04-14 03:50:06.243792"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks/980190966
+Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------------------------------
+TasksController::complete_toggle: test_0001_redirects in attempt to mark nonexistent task
+-----------------------------------------------------------------------------------------
+Started PATCH "/tasks/3456/complete_toggle" for 127.0.0.1 at 2019-04-13 20:50:06 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::complete_toggle: test_0002_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:50:06.252721"], ["updated_at", "2019-04-14 03:50:06.252721"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete_toggle" for 127.0.0.1 at 2019-04-13 20:50:06 -0700
+Processing by TasksController#complete_toggle 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 Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:50:06.255309"], ["completed", true], ["updated_at", "2019-04-14 03:50:06.255772"], ["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[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------
+TasksController::complete_toggle: test_0003_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:50:06.264879"], ["updated_at", "2019-04-14 03:50:06.264879"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968/complete_toggle" for 127.0.0.1 at 2019-04-13 20:50:06 -0700
+Processing by TasksController#complete_toggle 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.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:50:06.269476"], ["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.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::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:50:08.256722"], ["updated_at", "2019-04-14 03:50:08.256722"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/980190969" for 127.0.0.1 at 2019-04-13 20:50:45 -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.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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [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::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:50:49 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.5ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:50:52.481580', '2019-04-14 03:50:52.481580', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:50:52.481580', '2019-04-14 03:50:52.481580', DEFAULT, '2019-04-09')[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::complete_toggle: test_0001_redirects in attempt to mark nonexistent task
+-----------------------------------------------------------------------------------------
+Started PATCH "/tasks/3456/complete_toggle" for 127.0.0.1 at 2019-04-13 20:50:52 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 10ms (ActiveRecord: 1.1ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------
+TasksController::complete_toggle: test_0003_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:50:52.530214"], ["updated_at", "2019-04-14 03:50:52.530214"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963/complete_toggle" for 127.0.0.1 at 2019-04-13 20:50:52 -0700
+Processing by TasksController#complete_toggle 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.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:50:52.538657"], ["id", 980190963]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 8ms (ActiveRecord: 0.9ms)
+ [1m[36mTask Load (0.4ms)[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::complete_toggle: test_0002_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:50:52.547702"], ["updated_at", "2019-04-14 03:50:52.547702"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190964/complete_toggle" for 127.0.0.1 at 2019-04-13 20:50:52 -0700
+Processing by TasksController#complete_toggle 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.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:50:52.552106"], ["completed", true], ["updated_at", "2019-04-14 03:50:52.552724"], ["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.6ms)
+ [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::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:50:52.560443"], ["updated_at", "2019-04-14 03:50:52.560443"]]
+ [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 20:50:52 -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[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190965], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:51:02 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 20:51: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
+ Rendered tasks/index.html.erb within layouts/application (6.1ms)
+Completed 200 OK in 154ms (Views: 151.7ms | ActiveRecord: 0.4ms)
+ [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 20:51: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 (3.0ms)
+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::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:51:02.469508"], ["updated_at", "2019-04-14 03:51:02.469508"]]
+ [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 20:51: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/_form.html.erb (13.4ms)
+ Rendered tasks/edit.html.erb within layouts/application (16.2ms)
+Completed 200 OK in 20ms (Views: 17.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/3456/edit" for 127.0.0.1 at 2019-04-13 20:51:02 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::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 20:51:02 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:51:02.511006"], ["updated_at", "2019-04-14 03:51:02.511006"]]
+ [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.4ms)
+ [1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:51:02.534185"], ["updated_at", "2019-04-14 03:51:02.534185"]]
+ [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 20:51:02 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:51:02.537524"], ["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 3ms (ActiveRecord: 0.5ms)
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190968], ["LIMIT", 1]]
+ [1m[35m (0.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/1234" for 127.0.0.1 at 2019-04-13 20:51:02 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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
+-----------------------------
+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 20:51:02 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.4ms)
+ Rendered tasks/new.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 5ms (Views: 2.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-13 20:51:02 -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.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------
+TasksController::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:51:02.567311"], ["updated_at", "2019-04-14 03:51:02.567311"]]
+ [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 20:51:02 -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 5ms (Views: 1.9ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:51:04.721252', '2019-04-14 03:51:04.721252', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:51:04.721252', '2019-04-14 03:51:04.721252', DEFAULT, '2019-04-09')[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::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:51:04 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 5ms (ActiveRecord: 0.2ms)
+ [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::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:51:04.761741"], ["updated_at", "2019-04-14 03:51:04.761741"]]
+ [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 20:51:04 -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 3ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [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.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (9.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:51:04.784010"], ["updated_at", "2019-04-14 03:51:04.784010"]]
+ [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 20:51:04 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"980190964"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190964], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (6.7ms)
+ Rendered tasks/edit.html.erb within layouts/application (9.0ms)
+Completed 200 OK in 144ms (Views: 141.4ms | 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/3456/edit" for 127.0.0.1 at 2019-04-13 20:51:04 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------
+TasksController::create: test_0001_can create a new task
+--------------------------------------------------------
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started POST "/tasks" for 127.0.0.1 at 2019-04-13 20:51:04 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:51:04.941490"], ["updated_at", "2019-04-14 03:51:04.941490"]]
+ [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.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------
+Task: test_0001_must be valid
+-----------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------
+TasksController::update: test_0001_can update an existing task
+--------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:51:04.947297"], ["updated_at", "2019-04-14 03:51:04.947297"]]
+ [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 20:51:04 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"980190966"}
+ [1m[36mTask Load (0.1ms)[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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:51:04.950329"], ["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 3ms (ActiveRecord: 0.5ms)
+ [1m[36mTask Load (0.1ms)[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/1234" for 127.0.0.1 at 2019-04-13 20:51:04 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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::index: test_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 20:51: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 (2.1ms)
+Completed 200 OK in 4ms (Views: 2.8ms | 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 20:51: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 (2.2ms)
+Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------------------------------
+TasksController::complete_toggle: test_0001_redirects in attempt to mark nonexistent task
+-----------------------------------------------------------------------------------------
+Started PATCH "/tasks/3456/complete_toggle" for 127.0.0.1 at 2019-04-13 20:51:04 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (1.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+TasksController::complete_toggle: test_0002_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:51:04.976993"], ["updated_at", "2019-04-14 03:51:04.976993"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete_toggle" for 127.0.0.1 at 2019-04-13 20:51:04 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"980190967"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190967], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.4ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:51:04.980786"], ["completed", true], ["updated_at", "2019-04-14 03:51:04.981457"], ["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[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.2ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------
+TasksController::complete_toggle: test_0003_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:51:04.990310"], ["updated_at", "2019-04-14 03:51:04.990310"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190968/complete_toggle" for 127.0.0.1 at 2019-04-13 20:51:04 -0700
+Processing by TasksController#complete_toggle 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.6ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:51:04.995082"], ["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 6ms (ActiveRecord: 1.2ms)
+ [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::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 20:51:05 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.6ms)
+ Rendered tasks/new.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 5ms (Views: 3.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.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:51:05.009909"], ["updated_at", "2019-04-14 03:51:05.009909"]]
+ [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 20:51:05 -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.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 20:51:05 -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.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (0.4ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-14 03:51:12.978426', '2019-04-14 03:51:12.978426', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-14 03:51:12.978426', '2019-04-14 03:51:12.978426', DEFAULT, '2019-04-09')[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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:51:13.000107"], ["updated_at", "2019-04-14 03:51:13.000107"]]
+ [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 20:51:13 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"980190963"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 145ms (Views: 137.9ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+TasksController::show: test_0002_will redirect for an invalid task
+------------------------------------------------------------------
+Started GET "/tasks/-1" for 127.0.0.1 at 2019-04-13 20:51: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.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:51:13.160694"], ["updated_at", "2019-04-14 03:51:13.160694"]]
+ [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 20:51:13 -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/_form.html.erb (4.6ms)
+ Rendered tasks/edit.html.erb within layouts/application (6.2ms)
+Completed 200 OK in 10ms (Views: 7.1ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-13 20:51:13 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:51:13.180239"], ["updated_at", "2019-04-14 03:51:13.180239"]]
+ [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 20:51:13 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-14 03:51:13.185356"], ["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.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/1234" for 127.0.0.1 at 2019-04-13 20:51:13 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-13 20:51:13 -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_0001_can get the index path
+--------------------------------------------------------
+Started GET "/tasks" for 127.0.0.1 at 2019-04-13 20:51:13 -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.2ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------
+TasksController::complete_toggle: test_0003_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-14 03:51:13.209787"], ["updated_at", "2019-04-14 03:51:13.209787"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966/complete_toggle" for 127.0.0.1 at 2019-04-13 20:51:13 -0700
+Processing by TasksController#complete_toggle 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]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Update (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-14 03:51:13.214024"], ["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[36mTask Load (0.1ms)[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::complete_toggle: test_0001_redirects in attempt to mark nonexistent task
+-----------------------------------------------------------------------------------------
+Started PATCH "/tasks/3456/complete_toggle" for 127.0.0.1 at 2019-04-13 20:51:13 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::complete_toggle: test_0002_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:51:13.221922"], ["updated_at", "2019-04-14 03:51:13.221922"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete_toggle" for 127.0.0.1 at 2019-04-13 20:51:13 -0700
+Processing by TasksController#complete_toggle 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 Update (0.2ms)[0m [1m[33mUPDATE "tasks" SET "completion_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-14 03:51:13.224638"], ["completed", true], ["updated_at", "2019-04-14 03:51:13.225516"], ["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[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[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 20:51:13 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-14 03:51:13.233676"], ["updated_at", "2019-04-14 03:51:13.233676"]]
+ [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.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------
+TasksController::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-14 03:51:13.238094"], ["updated_at", "2019-04-14 03:51:13.238094"]]
+ [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 20:51:13 -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 2ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [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[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-13 20:51:13 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+TasksController::new: test_0001_can get the new task page
+---------------------------------------------------------
+Started GET "/tasks/new" for 127.0.0.1 at 2019-04-13 20:51:13 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.0ms)
+ Rendered tasks/new.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (4.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (9.6ms)[0m [1m[35mALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixtures Load (4.0ms)[0m [1m[31mDELETE FROM "tasks";
+INSERT INTO "tasks" ("id", "name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES (980190962, 'MyString', 'MyString', '2019-04-15 17:28:40.540310', '2019-04-15 17:28:40.540310', DEFAULT, '2019-04-09'), (298486374, 'MyString', 'MyString', '2019-04-15 17:28:40.540310', '2019-04-15 17:28:40.540310', DEFAULT, '2019-04-09')[0m
+ [1m[35m (0.6ms)[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[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-15 17:28:40.597253"], ["updated_at", "2019-04-15 17:28:40.597253"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190963" for 127.0.0.1 at 2019-04-15 10:28:40 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample 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 (2.8ms)[0m [1m[33mUPDATE "tasks" SET "name" = $1, "updated_at" = $2 WHERE "tasks"."id" = $3[0m [["name", "changed sample task"], ["updated_at", "2019-04-15 17:28:40.617766"], ["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 14ms (ActiveRecord: 3.5ms)
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 980190963], ["LIMIT", 1]]
+ [1m[35m (0.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/1234" for 127.0.0.1 at 2019-04-15 10:28:40 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"task"=>{"name"=>"changed sample task"}, "id"=>"1234"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 1234], ["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-15 10:28:40 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (5.4ms)
+Completed 200 OK in 287ms (Views: 284.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------
+TasksController::index: test_0002_can get the root path
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2019-04-15 10:28:40 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.9ms)
+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
+-----------------------------
+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-15 10:28:40 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"task"=>{"name"=>"new task", "description"=>"new task description", "completed"=>"false"}}
+Unpermitted parameter: :completed
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "new task"], ["description", "new task description"], ["created_at", "2019-04-15 17:28:40.937615"], ["updated_at", "2019-04-15 17:28:40.937615"]]
+ [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.4ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."name" = $1 LIMIT $2[0m [["name", "new task"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------------
+TasksController::edit: test_0001_can get the edit page for an existing task
+---------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-15 17:28:40.943664"], ["updated_at", "2019-04-15 17:28:40.943664"]]
+ [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-15 10:28:40 -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/_form.html.erb (9.5ms)
+ Rendered tasks/edit.html.erb within layouts/application (11.3ms)
+Completed 200 OK in 15ms (Views: 12.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------------------------
+TasksController::edit: test_0002_will respond with redirect when attempting to edit a nonexistant task
+------------------------------------------------------------------------------------------------------
+Started GET "/tasks/3456/edit" for 127.0.0.1 at 2019-04-15 10:28:40 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::complete_toggle: test_0001_redirects in attempt to mark nonexistent task
+-----------------------------------------------------------------------------------------
+Started PATCH "/tasks/3456/complete_toggle" for 127.0.0.1 at 2019-04-15 10:28:40 -0700
+Processing by TasksController#complete_toggle as HTML
+ Parameters: {"id"=>"3456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 3456], ["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::complete_toggle: test_0003_unmarks a completed task
+--------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at", "completed", "completion_date") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "completed sample task"], ["description", "test completed task"], ["created_at", "2019-04-15 17:28:40.970669"], ["updated_at", "2019-04-15 17:28:40.970669"], ["completed", true], ["completion_date", "2019-04-01 07:00:00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190966/complete_toggle" for 127.0.0.1 at 2019-04-15 10:28:40 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", nil], ["completed", false], ["updated_at", "2019-04-15 17:28:40.975972"], ["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.7ms)
+ [1m[36mTask Load (0.1ms)[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::complete_toggle: test_0002_marks a task complete
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-15 17:28:40.981611"], ["updated_at", "2019-04-15 17:28:40.981611"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started PATCH "/tasks/980190967/complete_toggle" for 127.0.0.1 at 2019-04-15 10:28:40 -0700
+Processing by TasksController#complete_toggle 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_date" = $1, "completed" = $2, "updated_at" = $3 WHERE "tasks"."id" = $4[0m [["completion_date", "2019-04-15 17:28:40.986050"], ["completed", true], ["updated_at", "2019-04-15 17:28:40.986743"], ["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.7ms)
+ [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[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-15 10:28:40 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (0.8ms)
+ Rendered tasks/new.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 4ms (Views: 2.5ms | 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-15 10:28:40 -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::show: test_0001_can get a valid task
+-----------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-15 17:28:41.002767"], ["updated_at", "2019-04-15 17:28:41.002767"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/tasks/980190968" for 127.0.0.1 at 2019-04-15 10:28:41 -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.6ms)
+Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.1ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------
+TasksController::destroy: test_0001_removes the task from the database
+----------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTask Create (0.2ms)[0m [1m[32mINSERT INTO "tasks" ("name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "sample task"], ["description", "this is an example for a test"], ["created_at", "2019-04-15 17:28:41.011389"], ["updated_at", "2019-04-15 17:28:41.011389"]]
+ [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-15 10:28:41 -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.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [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[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TasksController::destroy: test_0002_returns a 404 if the task does not exist
+----------------------------------------------------------------------------
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+Started DELETE "/tasks/123456" for 127.0.0.1 at 2019-04-15 10:28:41 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"id"=>"123456"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2[0m [["id", 123456], ["LIMIT", 1]]
+Redirected to http://www.example.com/tasks
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
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/controllers/tasks_controller_test.rb b/test/controllers/tasks_controller_test.rb
index 971913898..e6327e2f5 100644
--- a/test/controllers/tasks_controller_test.rb
+++ b/test/controllers/tasks_controller_test.rb
@@ -1,9 +1,12 @@
require "test_helper"
+require "pry"
describe TasksController do
+ # Note to students: Your Task model **may** be different and
+ # you may need to modify this.
let (:task) {
Task.create name: "sample task", description: "this is an example for a test",
- completion_date: Time.now + 5.days
+ completed: false
}
# Tests for Wave 1
@@ -28,7 +31,7 @@
# Unskip these tests for Wave 2
describe "show" do
it "can get a valid task" do
- skip
+
# Act
get task_path(task.id)
@@ -37,19 +40,17 @@
end
it "will redirect for an invalid task" do
- skip
+
# Act
get task_path(-1)
# Assert
must_respond_with :redirect
- expect(flash[:error]).must_equal "Could not find task with id: -1"
end
end
describe "new" do
it "can get the new task page" do
- skip
# Act
get new_task_path
@@ -61,14 +62,15 @@
describe "create" do
it "can create a new task" do
- skip
# Arrange
+ # Note to students: Your Task model **may** be different and
+ # you may need to modify this.
task_hash = {
task: {
name: "new task",
description: "new task description",
- completion_date: nil,
+ completed: false,
},
}
@@ -79,7 +81,6 @@
new_task = Task.find_by(name: task_hash[:task][:name])
expect(new_task.description).must_equal task_hash[:task][:description]
- expect(new_task.due_date.to_time.to_i).must_equal task_hash[:task][:due_date].to_i
expect(new_task.completed).must_equal task_hash[:task][:completed]
must_respond_with :redirect
@@ -90,39 +91,119 @@
# Unskip and complete these tests for Wave 3
describe "edit" do
it "can get the edit page for an existing task" do
- skip
- # Your code here
+ # successfully goes to edit page
+ # Arrange
+
+ # Act
+ get edit_task_path(task)
+ # Assert
+ must_respond_with :success
end
it "will respond with redirect when attempting to edit a nonexistant task" do
- skip
- # Your code here
+ # successfully rediredts
+ # Arrange
+ # Act
+ get edit_task_path(3456)
+ # Assert
+ must_respond_with :redirect
+ must_redirect_to tasks_path
end
end
# Uncomment and complete these tests for Wave 3
describe "update" do
- # Note: If there was a way to fail to save the changes to a task, that would be a great
- # thing to test.
it "can update an existing task" do
- skip
- # Your code here
+ task_data = {
+ task: {
+ name: "changed sample task",
+ },
+ }
+
+ patch task_path(task), params: task_data
+ task.reload
+ expect(task.name).must_equal(task_data[:task][:name])
end
it "will redirect to the root page if given an invalid id" do
- skip
- # Your code here
+ task_data = {
+ task: {
+ name: "changed sample task",
+ },
+ }
+
+ patch task_path(1234), params: task_data
+
+ must_redirect_to tasks_path
end
end
# Complete these tests for Wave 4
describe "destroy" do
- # Your tests go here
+ it "removes the task from the database" do
+ task
+
+ expect {
+ delete task_path(task)
+ }.must_change "Task.count", -1
+
+ must_respond_with :redirect
+ must_redirect_to tasks_path
+
+ after_task = Task.find_by(id: task.id)
+ expect(after_task).must_be_nil
+ end
+
+ it "returns a 404 if the task does not exist" do
+ # Arrange
+ task_id = 123456
+
+ # Assumptions
+ expect(Task.find_by(id: task_id)).must_be_nil
+ # Act
+ expect {
+ delete task_path(task_id)
+ }.wont_change "Task.count"
+
+ # Assert
+ must_respond_with :redirect
+ end
end
# Complete for Wave 4
- describe "toggle_complete" do
- # Your tests go here
+ describe "complete_toggle" do
+ it "redirects in attempt to mark nonexistent task" do
+ patch complete_task_path(3456)
+
+ must_respond_with :redirect
+ must_redirect_to tasks_path
+ end
+
+ it "marks a task complete" do
+ expect(task.completion_date).must_be_nil
+ expect(task.completed).must_equal false
+ patch complete_task_path(task)
+
+ task.reload
+
+ # used delta = 1 because updated date and completed date might have some lag
+ assert_in_delta(task.updated_at, task.completion_date, delta = 1)
+ expect(task.completed).must_equal true
+ end
+
+ it "unmarks a completed task" do
+ date = Time.new(2019, 04, 01)
+ completed_task = Task.create!(name: "completed sample task", description: "test completed task",
+ completed: true, completion_date: date)
+
+ expect(completed_task.completion_date).must_equal date
+ expect(completed_task.completed).must_equal true
+
+ patch complete_task_path(completed_task)
+ completed_task.reload
+ expect(completed_task.completion_date).must_be_nil
+ expect(completed_task.completed).must_equal false
+ end
end
end
diff --git a/test/fixtures/.keep b/test/fixtures/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/test/fixtures/files/.keep b/test/fixtures/files/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/test/fixtures/tasks.yml b/test/fixtures/tasks.yml
new file mode 100644
index 000000000..7bf25359e
--- /dev/null
+++ b/test/fixtures/tasks.yml
@@ -0,0 +1,11 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ name: MyString
+ description: MyString
+ completion_date: 2019-04-09
+
+two:
+ name: MyString
+ description: MyString
+ completion_date: 2019-04-09
diff --git a/test/helpers/.keep b/test/helpers/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/test/integration/.keep b/test/integration/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/test/mailers/.keep b/test/mailers/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/test/models/.keep b/test/models/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/test/models/task_test.rb b/test/models/task_test.rb
new file mode 100644
index 000000000..7928a374f
--- /dev/null
+++ b/test/models/task_test.rb
@@ -0,0 +1,9 @@
+require "test_helper"
+
+describe Task do
+ let(:task) { Task.new }
+
+ it "must be valid" do
+ value(task).must_be :valid?
+ end
+end
diff --git a/test/system/.keep b/test/system/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/test/test_helper.rb b/test/test_helper.rb
new file mode 100644
index 000000000..10594a324
--- /dev/null
+++ b/test/test_helper.rb
@@ -0,0 +1,26 @@
+ENV["RAILS_ENV"] = "test"
+require File.expand_path("../../config/environment", __FILE__)
+require "rails/test_help"
+require "minitest/rails"
+require "minitest/reporters" # for Colorized output
+
+# For colorful output!
+Minitest::Reporters.use!(
+ Minitest::Reporters::SpecReporter.new,
+ ENV,
+ Minitest.backtrace_filter
+)
+
+
+# To add Capybara feature tests add `gem "minitest-rails-capybara"`
+# to the test group in the Gemfile and uncomment the following:
+# require "minitest/rails/capybara"
+
+# Uncomment for awesome colorful output
+# require "minitest/pride"
+
+class ActiveSupport::TestCase
+ # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
+ fixtures :all
+ # Add more helper methods to be used by all tests here...
+end
diff --git a/vendor/.keep b/vendor/.keep
new file mode 100644
index 000000000..e69de29bb