From 73f9d3d8f3706176903fa3cf98936dd210b3ff47 Mon Sep 17 00:00:00 2001
From: jjousun
Date: Mon, 20 Mar 2017 14:36:23 -0700
Subject: [PATCH 1/9] Created new Railsapplication
---
Gemfile | 53 ++++++
Gemfile.lock | 174 ++++++++++++++++++
Rakefile | 6 +
app/assets/config/manifest.js | 3 +
app/assets/images/.keep | 0
app/assets/javascripts/application.js | 16 ++
app/assets/javascripts/cable.js | 13 ++
app/assets/javascripts/channels/.keep | 0
app/assets/stylesheets/application.css | 15 ++
app/channels/application_cable/channel.rb | 4 +
app/channels/application_cable/connection.rb | 4 +
app/controllers/application_controller.rb | 3 +
app/controllers/concerns/.keep | 0
app/helpers/application_helper.rb | 2 +
app/jobs/application_job.rb | 2 +
app/mailers/application_mailer.rb | 4 +
app/models/application_record.rb | 3 +
app/models/concerns/.keep | 0
app/views/layouts/application.html.erb | 14 ++
app/views/layouts/mailer.html.erb | 13 ++
app/views/layouts/mailer.text.erb | 1 +
bin/bundle | 3 +
bin/rails | 9 +
bin/rake | 9 +
bin/setup | 34 ++++
bin/spring | 17 ++
bin/update | 29 +++
config.ru | 5 +
config/application.rb | 15 ++
config/boot.rb | 3 +
config/cable.yml | 9 +
config/database.yml | 25 +++
config/environment.rb | 5 +
config/environments/development.rb | 54 ++++++
config/environments/production.rb | 86 +++++++++
config/environments/test.rb | 42 +++++
.../application_controller_renderer.rb | 6 +
config/initializers/assets.rb | 11 ++
config/initializers/backtrace_silencers.rb | 7 +
config/initializers/cookies_serializer.rb | 5 +
.../initializers/filter_parameter_logging.rb | 4 +
config/initializers/inflections.rb | 16 ++
config/initializers/mime_types.rb | 4 +
config/initializers/new_framework_defaults.rb | 24 +++
config/initializers/session_store.rb | 3 +
config/initializers/wrap_parameters.rb | 14 ++
config/locales/en.yml | 23 +++
config/puma.rb | 47 +++++
config/routes.rb | 3 +
config/secrets.yml | 22 +++
config/spring.rb | 6 +
db/seeds.rb | 7 +
lib/assets/.keep | 0
lib/tasks/.keep | 0
log/.keep | 0
public/404.html | 67 +++++++
public/422.html | 67 +++++++
public/500.html | 66 +++++++
public/apple-touch-icon-precomposed.png | 0
public/apple-touch-icon.png | 0
public/favicon.ico | 0
public/robots.txt | 5 +
test/controllers/.keep | 0
test/fixtures/.keep | 0
test/fixtures/files/.keep | 0
test/helpers/.keep | 0
test/integration/.keep | 0
test/mailers/.keep | 0
test/models/.keep | 0
test/test_helper.rb | 10 +
vendor/assets/javascripts/.keep | 0
vendor/assets/stylesheets/.keep | 0
72 files changed, 1092 insertions(+)
create mode 100644 Gemfile
create mode 100644 Gemfile.lock
create mode 100644 Rakefile
create mode 100644 app/assets/config/manifest.js
create mode 100644 app/assets/images/.keep
create mode 100644 app/assets/javascripts/application.js
create mode 100644 app/assets/javascripts/cable.js
create mode 100644 app/assets/javascripts/channels/.keep
create mode 100644 app/assets/stylesheets/application.css
create mode 100644 app/channels/application_cable/channel.rb
create mode 100644 app/channels/application_cable/connection.rb
create mode 100644 app/controllers/application_controller.rb
create mode 100644 app/controllers/concerns/.keep
create mode 100644 app/helpers/application_helper.rb
create mode 100644 app/jobs/application_job.rb
create mode 100644 app/mailers/application_mailer.rb
create mode 100644 app/models/application_record.rb
create mode 100644 app/models/concerns/.keep
create mode 100644 app/views/layouts/application.html.erb
create mode 100644 app/views/layouts/mailer.html.erb
create mode 100644 app/views/layouts/mailer.text.erb
create mode 100755 bin/bundle
create mode 100755 bin/rails
create mode 100755 bin/rake
create mode 100755 bin/setup
create mode 100755 bin/spring
create mode 100755 bin/update
create mode 100644 config.ru
create mode 100644 config/application.rb
create mode 100644 config/boot.rb
create mode 100644 config/cable.yml
create mode 100644 config/database.yml
create mode 100644 config/environment.rb
create mode 100644 config/environments/development.rb
create mode 100644 config/environments/production.rb
create mode 100644 config/environments/test.rb
create mode 100644 config/initializers/application_controller_renderer.rb
create mode 100644 config/initializers/assets.rb
create mode 100644 config/initializers/backtrace_silencers.rb
create mode 100644 config/initializers/cookies_serializer.rb
create mode 100644 config/initializers/filter_parameter_logging.rb
create mode 100644 config/initializers/inflections.rb
create mode 100644 config/initializers/mime_types.rb
create mode 100644 config/initializers/new_framework_defaults.rb
create mode 100644 config/initializers/session_store.rb
create mode 100644 config/initializers/wrap_parameters.rb
create mode 100644 config/locales/en.yml
create mode 100644 config/puma.rb
create mode 100644 config/routes.rb
create mode 100644 config/secrets.yml
create mode 100644 config/spring.rb
create mode 100644 db/seeds.rb
create mode 100644 lib/assets/.keep
create mode 100644 lib/tasks/.keep
create mode 100644 log/.keep
create mode 100644 public/404.html
create mode 100644 public/422.html
create mode 100644 public/500.html
create mode 100644 public/apple-touch-icon-precomposed.png
create mode 100644 public/apple-touch-icon.png
create mode 100644 public/favicon.ico
create mode 100644 public/robots.txt
create mode 100644 test/controllers/.keep
create mode 100644 test/fixtures/.keep
create mode 100644 test/fixtures/files/.keep
create mode 100644 test/helpers/.keep
create mode 100644 test/integration/.keep
create mode 100644 test/mailers/.keep
create mode 100644 test/models/.keep
create mode 100644 test/test_helper.rb
create mode 100644 vendor/assets/javascripts/.keep
create mode 100644 vendor/assets/stylesheets/.keep
diff --git a/Gemfile b/Gemfile
new file mode 100644
index 000000000..b5fbf94e0
--- /dev/null
+++ b/Gemfile
@@ -0,0 +1,53 @@
+source 'https://rubygems.org'
+
+git_source(:github) do |repo_name|
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
+ "https://github.com/#{repo_name}.git"
+end
+
+
+# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
+gem 'rails', '~> 5.0.2'
+# Use sqlite3 as the database for Active Record
+gem 'sqlite3'
+# Use Puma as the app server
+gem 'puma', '~> 3.0'
+# Use SCSS for stylesheets
+gem 'sass-rails', '~> 5.0'
+# Use Uglifier as compressor for JavaScript assets
+gem 'uglifier', '>= 1.3.0'
+# Use CoffeeScript for .coffee assets and views
+gem 'coffee-rails', '~> 4.2'
+# See https://github.com/rails/execjs#readme for more supported runtimes
+# gem 'therubyracer', platforms: :ruby
+
+# Use jquery as the JavaScript library
+gem 'jquery-rails'
+# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
+gem 'turbolinks', '~> 5'
+# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
+gem 'jbuilder', '~> 2.5'
+# Use Redis adapter to run Action Cable in production
+# gem 'redis', '~> 3.0'
+# Use ActiveModel has_secure_password
+# gem 'bcrypt', '~> 3.1.7'
+
+# Use Capistrano for deployment
+# gem 'capistrano-rails', group: :development
+
+group :development, :test do
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
+ gem 'byebug', platform: :mri
+end
+
+group :development do
+ # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
+ gem 'web-console', '>= 3.3.0'
+ gem 'listen', '~> 3.0.5'
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
+ gem 'spring'
+ gem 'spring-watcher-listen', '~> 2.0.0'
+end
+
+# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
+gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
diff --git a/Gemfile.lock b/Gemfile.lock
new file mode 100644
index 000000000..559a4476d
--- /dev/null
+++ b/Gemfile.lock
@@ -0,0 +1,174 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actioncable (5.0.2)
+ actionpack (= 5.0.2)
+ nio4r (>= 1.2, < 3.0)
+ websocket-driver (~> 0.6.1)
+ actionmailer (5.0.2)
+ actionpack (= 5.0.2)
+ actionview (= 5.0.2)
+ activejob (= 5.0.2)
+ mail (~> 2.5, >= 2.5.4)
+ rails-dom-testing (~> 2.0)
+ actionpack (5.0.2)
+ actionview (= 5.0.2)
+ activesupport (= 5.0.2)
+ rack (~> 2.0)
+ rack-test (~> 0.6.3)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
+ actionview (5.0.2)
+ activesupport (= 5.0.2)
+ builder (~> 3.1)
+ erubis (~> 2.7.0)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
+ activejob (5.0.2)
+ activesupport (= 5.0.2)
+ globalid (>= 0.3.6)
+ activemodel (5.0.2)
+ activesupport (= 5.0.2)
+ activerecord (5.0.2)
+ activemodel (= 5.0.2)
+ activesupport (= 5.0.2)
+ arel (~> 7.0)
+ activesupport (5.0.2)
+ concurrent-ruby (~> 1.0, >= 1.0.2)
+ i18n (~> 0.7)
+ minitest (~> 5.1)
+ tzinfo (~> 1.1)
+ arel (7.1.4)
+ builder (3.2.3)
+ byebug (9.0.6)
+ coffee-rails (4.2.1)
+ coffee-script (>= 2.2.0)
+ railties (>= 4.0.0, < 5.2.x)
+ coffee-script (2.4.1)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.12.2)
+ concurrent-ruby (1.0.5)
+ debug_inspector (0.0.2)
+ erubis (2.7.0)
+ execjs (2.7.0)
+ ffi (1.9.18)
+ globalid (0.3.7)
+ activesupport (>= 4.1.0)
+ i18n (0.8.1)
+ jbuilder (2.6.3)
+ activesupport (>= 3.0.0, < 5.2)
+ multi_json (~> 1.2)
+ jquery-rails (4.2.2)
+ rails-dom-testing (>= 1, < 3)
+ railties (>= 4.2.0)
+ thor (>= 0.14, < 2.0)
+ listen (3.0.8)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ loofah (2.0.3)
+ nokogiri (>= 1.5.9)
+ mail (2.6.4)
+ mime-types (>= 1.16, < 4)
+ method_source (0.8.2)
+ mime-types (3.1)
+ mime-types-data (~> 3.2015)
+ mime-types-data (3.2016.0521)
+ mini_portile2 (2.1.0)
+ minitest (5.10.1)
+ multi_json (1.12.1)
+ nio4r (2.0.0)
+ nokogiri (1.7.1)
+ mini_portile2 (~> 2.1.0)
+ puma (3.8.2)
+ rack (2.0.1)
+ rack-test (0.6.3)
+ rack (>= 1.0)
+ rails (5.0.2)
+ actioncable (= 5.0.2)
+ actionmailer (= 5.0.2)
+ actionpack (= 5.0.2)
+ actionview (= 5.0.2)
+ activejob (= 5.0.2)
+ activemodel (= 5.0.2)
+ activerecord (= 5.0.2)
+ activesupport (= 5.0.2)
+ bundler (>= 1.3.0, < 2.0)
+ railties (= 5.0.2)
+ sprockets-rails (>= 2.0.0)
+ rails-dom-testing (2.0.2)
+ activesupport (>= 4.2.0, < 6.0)
+ nokogiri (~> 1.6)
+ rails-html-sanitizer (1.0.3)
+ loofah (~> 2.0)
+ railties (5.0.2)
+ actionpack (= 5.0.2)
+ activesupport (= 5.0.2)
+ method_source
+ rake (>= 0.8.7)
+ thor (>= 0.18.1, < 2.0)
+ rake (12.0.0)
+ rb-fsevent (0.9.8)
+ rb-inotify (0.9.8)
+ ffi (>= 0.5.0)
+ sass (3.4.23)
+ sass-rails (5.0.6)
+ railties (>= 4.0.0, < 6)
+ sass (~> 3.1)
+ sprockets (>= 2.8, < 4.0)
+ sprockets-rails (>= 2.0, < 4.0)
+ tilt (>= 1.1, < 3)
+ spring (2.0.1)
+ activesupport (>= 4.2)
+ spring-watcher-listen (2.0.1)
+ listen (>= 2.7, < 4.0)
+ spring (>= 1.2, < 3.0)
+ sprockets (3.7.1)
+ concurrent-ruby (~> 1.0)
+ rack (> 1, < 3)
+ sprockets-rails (3.2.0)
+ actionpack (>= 4.0)
+ activesupport (>= 4.0)
+ sprockets (>= 3.0.0)
+ sqlite3 (1.3.13)
+ thor (0.19.4)
+ thread_safe (0.3.6)
+ tilt (2.0.7)
+ turbolinks (5.0.1)
+ turbolinks-source (~> 5)
+ turbolinks-source (5.0.0)
+ tzinfo (1.2.2)
+ thread_safe (~> 0.1)
+ uglifier (3.1.9)
+ execjs (>= 0.3.0, < 3)
+ web-console (3.4.0)
+ actionview (>= 5.0)
+ activemodel (>= 5.0)
+ debug_inspector
+ railties (>= 5.0)
+ websocket-driver (0.6.5)
+ websocket-extensions (>= 0.1.0)
+ websocket-extensions (0.1.2)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ byebug
+ coffee-rails (~> 4.2)
+ jbuilder (~> 2.5)
+ jquery-rails
+ listen (~> 3.0.5)
+ puma (~> 3.0)
+ rails (~> 5.0.2)
+ sass-rails (~> 5.0)
+ spring
+ spring-watcher-listen (~> 2.0.0)
+ sqlite3
+ turbolinks (~> 5)
+ tzinfo-data
+ uglifier (>= 1.3.0)
+ web-console (>= 3.3.0)
+
+BUNDLED WITH
+ 1.14.6
diff --git a/Rakefile b/Rakefile
new file mode 100644
index 000000000..e85f91391
--- /dev/null
+++ b/Rakefile
@@ -0,0 +1,6 @@
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+
+require_relative 'config/application'
+
+Rails.application.load_tasks
diff --git a/app/assets/config/manifest.js b/app/assets/config/manifest.js
new file mode 100644
index 000000000..b16e53d6d
--- /dev/null
+++ b/app/assets/config/manifest.js
@@ -0,0 +1,3 @@
+//= link_tree ../images
+//= link_directory ../javascripts .js
+//= link_directory ../stylesheets .css
diff --git a/app/assets/images/.keep b/app/assets/images/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js
new file mode 100644
index 000000000..b12018d09
--- /dev/null
+++ b/app/assets/javascripts/application.js
@@ -0,0 +1,16 @@
+// This is a manifest file that'll be compiled into application.js, which will include all the files
+// listed below.
+//
+// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
+// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
+//
+// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
+// compiled file. JavaScript code in this file should be added after the last require_* statement.
+//
+// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
+// about supported directives.
+//
+//= require jquery
+//= require jquery_ujs
+//= require turbolinks
+//= require_tree .
diff --git a/app/assets/javascripts/cable.js b/app/assets/javascripts/cable.js
new file mode 100644
index 000000000..71ee1e66d
--- /dev/null
+++ b/app/assets/javascripts/cable.js
@@ -0,0 +1,13 @@
+// Action Cable provides the framework to deal with WebSockets in Rails.
+// You can generate new channels where WebSocket features live using the rails generate channel command.
+//
+//= require action_cable
+//= require_self
+//= require_tree ./channels
+
+(function() {
+ this.App || (this.App = {});
+
+ App.cable = ActionCable.createConsumer();
+
+}).call(this);
diff --git a/app/assets/javascripts/channels/.keep b/app/assets/javascripts/channels/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css
new file mode 100644
index 000000000..0ebd7fe82
--- /dev/null
+++ b/app/assets/stylesheets/application.css
@@ -0,0 +1,15 @@
+/*
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
+ * listed below.
+ *
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
+ *
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
+ * files in this directory. Styles in this file should be added after the last require_* statement.
+ * It is generally better to create a new file per style scope.
+ *
+ *= require_tree .
+ *= require_self
+ */
diff --git a/app/channels/application_cable/channel.rb b/app/channels/application_cable/channel.rb
new file mode 100644
index 000000000..d67269728
--- /dev/null
+++ b/app/channels/application_cable/channel.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Channel < ActionCable::Channel::Base
+ end
+end
diff --git a/app/channels/application_cable/connection.rb b/app/channels/application_cable/connection.rb
new file mode 100644
index 000000000..0ff5442f4
--- /dev/null
+++ b/app/channels/application_cable/connection.rb
@@ -0,0 +1,4 @@
+module ApplicationCable
+ class Connection < ActionCable::Connection::Base
+ end
+end
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
new file mode 100644
index 000000000..1c07694e9
--- /dev/null
+++ b/app/controllers/application_controller.rb
@@ -0,0 +1,3 @@
+class ApplicationController < ActionController::Base
+ protect_from_forgery with: :exception
+end
diff --git a/app/controllers/concerns/.keep b/app/controllers/concerns/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
new file mode 100644
index 000000000..de6be7945
--- /dev/null
+++ b/app/helpers/application_helper.rb
@@ -0,0 +1,2 @@
+module ApplicationHelper
+end
diff --git a/app/jobs/application_job.rb b/app/jobs/application_job.rb
new file mode 100644
index 000000000..a009ace51
--- /dev/null
+++ b/app/jobs/application_job.rb
@@ -0,0 +1,2 @@
+class ApplicationJob < ActiveJob::Base
+end
diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb
new file mode 100644
index 000000000..286b2239d
--- /dev/null
+++ b/app/mailers/application_mailer.rb
@@ -0,0 +1,4 @@
+class ApplicationMailer < ActionMailer::Base
+ default from: 'from@example.com'
+ layout 'mailer'
+end
diff --git a/app/models/application_record.rb b/app/models/application_record.rb
new file mode 100644
index 000000000..10a4cba84
--- /dev/null
+++ b/app/models/application_record.rb
@@ -0,0 +1,3 @@
+class ApplicationRecord < ActiveRecord::Base
+ self.abstract_class = true
+end
diff --git a/app/models/concerns/.keep b/app/models/concerns/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
new file mode 100644
index 000000000..be7a9f069
--- /dev/null
+++ b/app/views/layouts/application.html.erb
@@ -0,0 +1,14 @@
+
+
+
+ TaskList
+ <%= csrf_meta_tags %>
+
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
+ <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
+
+
+
+ <%= yield %>
+
+
diff --git a/app/views/layouts/mailer.html.erb b/app/views/layouts/mailer.html.erb
new file mode 100644
index 000000000..cbd34d2e9
--- /dev/null
+++ b/app/views/layouts/mailer.html.erb
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+ <%= yield %>
+
+
diff --git a/app/views/layouts/mailer.text.erb b/app/views/layouts/mailer.text.erb
new file mode 100644
index 000000000..37f0bddbd
--- /dev/null
+++ b/app/views/layouts/mailer.text.erb
@@ -0,0 +1 @@
+<%= yield %>
diff --git a/bin/bundle b/bin/bundle
new file mode 100755
index 000000000..66e9889e8
--- /dev/null
+++ b/bin/bundle
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
+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..e620b4dad
--- /dev/null
+++ b/bin/setup
@@ -0,0 +1,34 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+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')
+
+ # 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..a8e4462f2
--- /dev/null
+++ b/bin/update
@@ -0,0 +1,29 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+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')
+
+ 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/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..25ee0e0e3
--- /dev/null
+++ b/config/application.rb
@@ -0,0 +1,15 @@
+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
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
+ end
+end
diff --git a/config/boot.rb b/config/boot.rb
new file mode 100644
index 000000000..30f5120df
--- /dev/null
+++ b/config/boot.rb
@@ -0,0 +1,3 @@
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
+
+require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/config/cable.yml b/config/cable.yml
new file mode 100644
index 000000000..0bbde6f74
--- /dev/null
+++ b/config/cable.yml
@@ -0,0 +1,9 @@
+development:
+ adapter: async
+
+test:
+ adapter: async
+
+production:
+ adapter: redis
+ url: redis://localhost:6379/1
diff --git a/config/database.yml b/config/database.yml
new file mode 100644
index 000000000..1c1a37ca8
--- /dev/null
+++ b/config/database.yml
@@ -0,0 +1,25 @@
+# SQLite version 3.x
+# gem install sqlite3
+#
+# Ensure the SQLite 3 gem is defined in your Gemfile
+# gem 'sqlite3'
+#
+default: &default
+ adapter: sqlite3
+ pool: 5
+ timeout: 5000
+
+development:
+ <<: *default
+ database: db/development.sqlite3
+
+# 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: db/test.sqlite3
+
+production:
+ <<: *default
+ database: db/production.sqlite3
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..6f7197045
--- /dev/null
+++ b/config/environments/development.rb
@@ -0,0 +1,54 @@
+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.
+ 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=172800'
+ }
+ else
+ config.action_controller.perform_caching = false
+
+ config.cache_store = :null_store
+ end
+
+ # 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
+
+ # 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..29a40f265
--- /dev/null
+++ b/config/environments/production.rb
@@ -0,0 +1,86 @@
+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
+
+ # 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
+
+ # 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..30587ef6d
--- /dev/null
+++ b/config/environments/test.rb
@@ -0,0 +1,42 @@
+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=3600'
+ }
+
+ # 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
+ 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/application_controller_renderer.rb b/config/initializers/application_controller_renderer.rb
new file mode 100644
index 000000000..51639b67a
--- /dev/null
+++ b/config/initializers/application_controller_renderer.rb
@@ -0,0 +1,6 @@
+# Be sure to restart your server when you modify this file.
+
+# ApplicationController.renderer.defaults.merge!(
+# http_host: 'example.org',
+# https: false
+# )
diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb
new file mode 100644
index 000000000..01ef3e663
--- /dev/null
+++ b/config/initializers/assets.rb
@@ -0,0 +1,11 @@
+# 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
+
+# Precompile additional assets.
+# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
+# Rails.application.config.assets.precompile += %w( search.js )
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/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/new_framework_defaults.rb b/config/initializers/new_framework_defaults.rb
new file mode 100644
index 000000000..671abb69a
--- /dev/null
+++ b/config/initializers/new_framework_defaults.rb
@@ -0,0 +1,24 @@
+# Be sure to restart your server when you modify this file.
+#
+# This file contains migration options to ease your Rails 5.0 upgrade.
+#
+# Read the Guide for Upgrading Ruby on Rails for more info on each option.
+
+# Enable per-form CSRF tokens. Previous versions had false.
+Rails.application.config.action_controller.per_form_csrf_tokens = true
+
+# Enable origin-checking CSRF mitigation. Previous versions had false.
+Rails.application.config.action_controller.forgery_protection_origin_check = true
+
+# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
+# Previous versions had false.
+ActiveSupport.to_time_preserves_timezone = true
+
+# Require `belongs_to` associations by default. Previous versions had false.
+Rails.application.config.active_record.belongs_to_required_by_default = true
+
+# Do not halt callback chains when a callback returns false. Previous versions had true.
+ActiveSupport.halt_callback_chains_on_return_false = false
+
+# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
+Rails.application.config.ssl_options = { hsts: { subdomains: true } }
diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb
new file mode 100644
index 000000000..80e157130
--- /dev/null
+++ b/config/initializers/session_store.rb
@@ -0,0 +1,3 @@
+# Be sure to restart your server when you modify this file.
+
+Rails.application.config.session_store :cookie_store, key: '_TaskList_session'
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..065395716
--- /dev/null
+++ b/config/locales/en.yml
@@ -0,0 +1,23 @@
+# 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.
+#
+# 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..c7f311f81
--- /dev/null
+++ b/config/puma.rb
@@ -0,0 +1,47 @@
+# 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 }.to_i
+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. If you use this option
+# you need to make sure to reconnect any threads in the `on_worker_boot`
+# block.
+#
+# preload_app!
+
+# The code in the `on_worker_boot` will be called if you are using
+# clustered mode by specifying a number of `workers`. After each worker
+# process is booted this block will be run, if you are using `preload_app!`
+# option you will want to use this block to reconnect to any threads
+# or connections that may have been created at application boot, Ruby
+# cannot share connections between processes.
+#
+# on_worker_boot do
+# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
+# end
+
+# Allow puma to be restarted by `rails restart` command.
+plugin :tmp_restart
diff --git a/config/routes.rb b/config/routes.rb
new file mode 100644
index 000000000..787824f88
--- /dev/null
+++ b/config/routes.rb
@@ -0,0 +1,3 @@
+Rails.application.routes.draw do
+ # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
+end
diff --git a/config/secrets.yml b/config/secrets.yml
new file mode 100644
index 000000000..06b094ebb
--- /dev/null
+++ b/config/secrets.yml
@@ -0,0 +1,22 @@
+# Be sure to restart your server when you modify this file.
+
+# Your secret key is used for verifying the integrity of signed cookies.
+# If you change this key, all old signed cookies will become invalid!
+
+# Make sure the secret is at least 30 characters and all random,
+# no regular words or you'll be exposed to dictionary attacks.
+# You can use `rails secret` to generate a secure secret key.
+
+# Make sure the secrets in this file are kept private
+# if you're sharing your code publicly.
+
+development:
+ secret_key_base: ff72959933265569a6701138b7bbfc351d6dbd7918f459a6e86b0ae1a804b8314ab3f5a90f9cebd3d26218ab7ab7c08cd90d91b6490b426fd8e020b07f2579ce
+
+test:
+ secret_key_base: 4088a0d8f84d35d43307381057fc97b941e3f90b06b74fc1dc66e66a0dbd852d9d839ce8660fcb2343f1808e3d7940e17054a88edabb91ff329c372ac45f1a2c
+
+# Do not keep production secrets in the repository,
+# instead read values from the environment.
+production:
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/config/spring.rb b/config/spring.rb
new file mode 100644
index 000000000..c9119b40c
--- /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/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/public/404.html b/public/404.html
new file mode 100644
index 000000000..b612547fc
--- /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..a21f82b3b
--- /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..061abc587
--- /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..3c9c7c01f
--- /dev/null
+++ b/public/robots.txt
@@ -0,0 +1,5 @@
+# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
+#
+# To ban all spiders from the entire site uncomment the next two lines:
+# User-agent: *
+# Disallow: /
diff --git a/test/controllers/.keep b/test/controllers/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/test/fixtures/.keep b/test/fixtures/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/test/fixtures/files/.keep b/test/fixtures/files/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/test/helpers/.keep b/test/helpers/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/test/integration/.keep b/test/integration/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/test/mailers/.keep b/test/mailers/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/test/models/.keep b/test/models/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/test/test_helper.rb b/test/test_helper.rb
new file mode 100644
index 000000000..92e39b2d7
--- /dev/null
+++ b/test/test_helper.rb
@@ -0,0 +1,10 @@
+ENV['RAILS_ENV'] ||= 'test'
+require File.expand_path('../../config/environment', __FILE__)
+require 'rails/test_help'
+
+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/assets/javascripts/.keep b/vendor/assets/javascripts/.keep
new file mode 100644
index 000000000..e69de29bb
diff --git a/vendor/assets/stylesheets/.keep b/vendor/assets/stylesheets/.keep
new file mode 100644
index 000000000..e69de29bb
From 8b9352216f20dfed401f6c7d3b26227a1c71e4c6 Mon Sep 17 00:00:00 2001
From: jjousun
Date: Mon, 20 Mar 2017 14:47:06 -0700
Subject: [PATCH 2/9] Setting up router, controller, now working view
---
app/assets/javascripts/tasks.coffee | 3 +
app/assets/stylesheets/tasks.scss | 3 +
app/controllers/tasks_controller.rb | 5 +
app/helpers/tasks_helper.rb | 2 +
app/views/tasks/index.html.erb | 2 +
config/routes.rb | 1 +
db/development.sqlite3 | 0
log/development.log | 349 ++++++++++++++++++++++
test/controllers/tasks_controller_test.rb | 9 +
9 files changed, 374 insertions(+)
create mode 100644 app/assets/javascripts/tasks.coffee
create mode 100644 app/assets/stylesheets/tasks.scss
create mode 100644 app/controllers/tasks_controller.rb
create mode 100644 app/helpers/tasks_helper.rb
create mode 100644 app/views/tasks/index.html.erb
create mode 100644 db/development.sqlite3
create mode 100644 log/development.log
create mode 100644 test/controllers/tasks_controller_test.rb
diff --git a/app/assets/javascripts/tasks.coffee b/app/assets/javascripts/tasks.coffee
new file mode 100644
index 000000000..24f83d18b
--- /dev/null
+++ b/app/assets/javascripts/tasks.coffee
@@ -0,0 +1,3 @@
+# Place all the behaviors and hooks related to the matching controller here.
+# All this logic will automatically be available in application.js.
+# You can use CoffeeScript in this file: http://coffeescript.org/
diff --git a/app/assets/stylesheets/tasks.scss b/app/assets/stylesheets/tasks.scss
new file mode 100644
index 000000000..c5e7712d4
--- /dev/null
+++ b/app/assets/stylesheets/tasks.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Tasks controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb
new file mode 100644
index 000000000..a89d571b1
--- /dev/null
+++ b/app/controllers/tasks_controller.rb
@@ -0,0 +1,5 @@
+class TasksController < ApplicationController
+ def index
+ @tasks = [sleep, code, eat, laugh]
+ end
+end
diff --git a/app/helpers/tasks_helper.rb b/app/helpers/tasks_helper.rb
new file mode 100644
index 000000000..ce894d00c
--- /dev/null
+++ b/app/helpers/tasks_helper.rb
@@ -0,0 +1,2 @@
+module TasksHelper
+end
diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb
new file mode 100644
index 000000000..b16c10310
--- /dev/null
+++ b/app/views/tasks/index.html.erb
@@ -0,0 +1,2 @@
+Tasks#index
+Find me in app/views/tasks/index.html.erb
diff --git a/config/routes.rb b/config/routes.rb
index 787824f88..12829f763 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,3 +1,4 @@
Rails.application.routes.draw do
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
+ get "/tasks", to: "tasks#index"
end
diff --git a/db/development.sqlite3 b/db/development.sqlite3
new file mode 100644
index 000000000..e69de29bb
diff --git a/log/development.log b/log/development.log
new file mode 100644
index 000000000..4e8d08c6f
--- /dev/null
+++ b/log/development.log
@@ -0,0 +1,349 @@
+Started GET "/" for ::1 at 2017-03-20 14:37:04 -0700
+Processing by Rails::WelcomeController#index as HTML
+ Parameters: {"internal"=>true}
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/railties-5.0.2/lib/rails/templates/rails/welcome/index.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/railties-5.0.2/lib/rails/templates/rails/welcome/index.html.erb (4.1ms)
+Completed 200 OK in 24ms (Views: 11.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/Tasks" for ::1 at 2017-03-20 14:37:09 -0700
+
+ActionController::RoutingError (No route matches [GET] "/Tasks"):
+
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (12.0ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (83.2ms)
+Started GET "/Tasks" for ::1 at 2017-03-20 14:40:33 -0700
+
+ActionController::RoutingError (No route matches [GET] "/Tasks"):
+
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
+ Rendered collection of /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (6.5ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.0ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (88.4ms)
+Started GET "/Tasks" for ::1 at 2017-03-20 14:42:35 -0700
+
+ActionController::RoutingError (No route matches [GET] "/Tasks"):
+
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
+ Rendered collection of /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (1.1ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.5ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (75.0ms)
+Started GET "/Tasks" for ::1 at 2017-03-20 14:43:24 -0700
+
+ActionController::RoutingError (No route matches [GET] "/Tasks"):
+
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
+ Rendered collection of /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (0.9ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.0ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (72.8ms)
+Started GET "/Tasks" for ::1 at 2017-03-20 14:45:19 -0700
+
+ActionController::RoutingError (No route matches [GET] "/Tasks"):
+
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
+ Rendered collection of /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (1.1ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.1ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (75.8ms)
+Started GET "/Tasks" for ::1 at 2017-03-20 14:45:20 -0700
+
+ActionController::RoutingError (No route matches [GET] "/Tasks"):
+
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
+ Rendered collection of /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (1.4ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.1ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (80.4ms)
+Started GET "/Tasks" for ::1 at 2017-03-20 14:45:22 -0700
+
+ActionController::RoutingError (No route matches [GET] "/Tasks"):
+
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms)
+ Rendered collection of /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (0.8ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (0.9ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (74.5ms)
+Started GET "/Tasks" for ::1 at 2017-03-20 14:45:23 -0700
+
+ActionController::RoutingError (No route matches [GET] "/Tasks"):
+
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
+ Rendered collection of /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (0.8ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (0.9ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (74.5ms)
+Started GET "/Tasks" for ::1 at 2017-03-20 14:46:23 -0700
+
+ActionController::RoutingError (No route matches [GET] "/Tasks"):
+
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
+ Rendered collection of /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (0.8ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.2ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (75.9ms)
diff --git a/test/controllers/tasks_controller_test.rb b/test/controllers/tasks_controller_test.rb
new file mode 100644
index 000000000..67683c951
--- /dev/null
+++ b/test/controllers/tasks_controller_test.rb
@@ -0,0 +1,9 @@
+require 'test_helper'
+
+class TasksControllerTest < ActionDispatch::IntegrationTest
+ test "should get index" do
+ get tasks_index_url
+ assert_response :success
+ end
+
+end
From 367dc3a068122dafed4323562190d393c032f789 Mon Sep 17 00:00:00 2001
From: jjousun
Date: Mon, 20 Mar 2017 15:08:00 -0700
Subject: [PATCH 3/9] Created ERB viewer
---
app/controllers/tasks_controller.rb | 7 +-
app/views/tasks/index.html.erb | 10 +++
log/development.log | 134 ++++++++++++++++++++++++++++
3 files changed, 150 insertions(+), 1 deletion(-)
diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb
index a89d571b1..ee1d34801 100644
--- a/app/controllers/tasks_controller.rb
+++ b/app/controllers/tasks_controller.rb
@@ -1,5 +1,10 @@
class TasksController < ApplicationController
def index
- @tasks = [sleep, code, eat, laugh]
+ @tasks = [
+ { task: "sleep", priority: "high" },
+ { task: "code", priority: "high" },
+ { task: "eat", priority: "medium" },
+ { task: "buy groceries", priority: "medium" }
+ ]
end
end
diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb
index b16c10310..375c95b91 100644
--- a/app/views/tasks/index.html.erb
+++ b/app/views/tasks/index.html.erb
@@ -1,2 +1,12 @@
Tasks#index
Find me in app/views/tasks/index.html.erb
+
+
+
+ <% @tasks.each do |task| %>
+ -
+ To do: <%= task[:task] %> Priority: <%= task[:priority] %>
+
+ <% end %>
+
+
diff --git a/log/development.log b/log/development.log
index 4e8d08c6f..a276c317e 100644
--- a/log/development.log
+++ b/log/development.log
@@ -347,3 +347,137 @@ puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (75.9ms)
+Started GET "/Tasks" for ::1 at 2017-03-20 14:48:30 -0700
+
+ActionController::RoutingError (No route matches [GET] "/Tasks"):
+
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
+ Rendered collection of /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (0.9ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.2ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (76.2ms)
+Started GET "/" for ::1 at 2017-03-20 14:51:13 -0700
+Processing by Rails::WelcomeController#index as HTML
+ Parameters: {"internal"=>true}
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/railties-5.0.2/lib/rails/templates/rails/welcome/index.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/railties-5.0.2/lib/rails/templates/rails/welcome/index.html.erb (3.1ms)
+Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-20 14:51:19 -0700
+Processing by TasksController#index as HTML
+Started GET "/tasks" for ::1 at 2017-03-20 14:51:50 -0700
+Processing by TasksController#index as HTML
+Started GET "/tasks" for ::1 at 2017-03-20 14:52:48 -0700
+Processing by TasksController#index as HTML
+Started GET "/tasks" for ::1 at 2017-03-20 14:54:54 -0700
+Completed in 200412ms (ActiveRecord: 0.0ms)
+
+
+Completed in 141946ms (ActiveRecord: 0.0ms)
+
+
+Completed in 231870ms (ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-20 14:55:34 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 525ms (Views: 515.3ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-20 14:56:19 -0700
+Processing by TasksController#index as HTML
+Started GET "/tasks" for ::1 at 2017-03-20 14:57:30 -0700
+Completed in 92323ms (ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-20 14:57:59 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 190ms (Views: 179.6ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-20 14:58:02 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 21ms (Views: 18.9ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-20 14:58:03 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 21ms (Views: 19.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-20 14:58:03 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 19ms (Views: 17.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-20 15:01: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.4ms)
+Completed 200 OK in 24ms (Views: 20.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-20 15:06:50 -0700
+Processing by TasksController#index as HTML
+Completed 500 Internal Server Error in 124ms (ActiveRecord: 0.0ms)
+
+
+
+NameError (undefined local variable or method `high' for #):
+
+app/controllers/tasks_controller.rb:4:in `index'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (5.3ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (132.8ms)
+Started GET "/tasks" for ::1 at 2017-03-20 15:07:23 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ Rendered tasks/index.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 22ms (Views: 19.9ms | ActiveRecord: 0.0ms)
+
+
From 6ecb6324c7ff264f2f529290d759579eadc637e4 Mon Sep 17 00:00:00 2001
From: jjousun
Date: Tue, 21 Mar 2017 17:00:30 -0700
Subject: [PATCH 4/9] Created model, database, and updated ERB to display
---
app/controllers/tasks_controller.rb | 33 +-
app/models/task.rb | 2 +
app/views/tasks/index.html.erb | 7 +-
app/views/tasks/show.html.erb | 7 +
config/routes.rb | 4 +
db/development.sqlite3 | Bin 0 -> 28672 bytes
db/migrate/20170321204526_create_tasks.rb | 12 +
db/schema.rb | 24 +
log/development.log | 549 ++++++++++++++++++++++
test/fixtures/tasks.yml | 13 +
test/models/task_test.rb | 7 +
11 files changed, 649 insertions(+), 9 deletions(-)
create mode 100644 app/models/task.rb
create mode 100644 app/views/tasks/show.html.erb
create mode 100644 db/migrate/20170321204526_create_tasks.rb
create mode 100644 db/schema.rb
create mode 100644 test/fixtures/tasks.yml
create mode 100644 test/models/task_test.rb
diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb
index ee1d34801..c37b71dff 100644
--- a/app/controllers/tasks_controller.rb
+++ b/app/controllers/tasks_controller.rb
@@ -1,10 +1,31 @@
class TasksController < ApplicationController
def index
- @tasks = [
- { task: "sleep", priority: "high" },
- { task: "code", priority: "high" },
- { task: "eat", priority: "medium" },
- { task: "buy groceries", priority: "medium" }
- ]
+ # @tasks = [
+ # { task: "sleep", priority: "high" },
+ # { task: "code", priority: "high" },
+ # { task: "eat", priority: "medium" },
+ # { task: "buy groceries", priority: "medium" }
+ # ]
+
+ @tasks = Task.all
end
+
+ def show
+ # tasks = [
+ # { id: 1, task: "sleep", priority: "high" },
+ # { id: 2, task: "code", priority: "high" },
+ # { id: 3, task: "eat", priority: "medium" },
+ # { id: 4, task: "buy groceries", priority: "medium" }
+ # ]
+ #
+ # @result_task = nil
+ # tasks.each do |task|
+ # if params[:id].to_i == task[:id]
+ # @result_task = task
+ # end
+ # end
+
+ @result_task = Task.find(params[:id])
+ end
+
end
diff --git a/app/models/task.rb b/app/models/task.rb
new file mode 100644
index 000000000..3c2342421
--- /dev/null
+++ b/app/models/task.rb
@@ -0,0 +1,2 @@
+class Task < ApplicationRecord
+end
diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb
index 375c95b91..4c4d9b539 100644
--- a/app/views/tasks/index.html.erb
+++ b/app/views/tasks/index.html.erb
@@ -1,11 +1,12 @@
-Tasks#index
-Find me in app/views/tasks/index.html.erb
+Jou-Jou's To-do List
+
+
<% @tasks.each do |task| %>
-
- To do: <%= task[:task] %> Priority: <%= task[:priority] %>
+ <%= link_to task.action, task_path(task.id) %>
<% end %>
diff --git a/app/views/tasks/show.html.erb b/app/views/tasks/show.html.erb
new file mode 100644
index 000000000..4e8f53467
--- /dev/null
+++ b/app/views/tasks/show.html.erb
@@ -0,0 +1,7 @@
+Tasks TO-DO
+
+
+ Task #<%= @result_task[:id] %>: <%= @result_task[:action] %>, <%= @result_task[:priority] %> priority | <%= @result_task[:completion] %> completion date | notes: <%= @result_task[:description] %>
+
+
+<%= link_to "Home", tasks_path %>
diff --git a/config/routes.rb b/config/routes.rb
index 12829f763..1623d9804 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,4 +1,8 @@
Rails.application.routes.draw do
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
get "/tasks", to: "tasks#index"
+
+ get "/tasks/:id", to: "tasks#show"
+
+ get "/tasks/:id", to: "tasks#show", as: 'task'
end
diff --git a/db/development.sqlite3 b/db/development.sqlite3
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..48d3ef50cf9ccdf89e2aac51d6ff73d1fcb6c822 100644
GIT binary patch
literal 28672
zcmeI*O-~v@7zglKP|&8j_RwtFr0End65n_grH6LgP-Ck2QaqR*$jDA*BD;&b1GVYN
z`hh(4+w?Ouv5849O*#u&7sQi282xWpn0;n<+2=QK7#;#2Hdlq@^poq^OwufwAeu&A
zQ%VSlsWq0}BKo009U<
z00Izz00bZaf&VD55sMkq)7p+?yAAFiG}J_=>hpsZcWV8c@wZzgvr?iJ^UZ3B_U$|6
zFq_Y)Ba=tX;kaQK+VQK-IVJP={mxyi=lDb?mY`D!VI}BFxl&p#ZPAUbl{Ir~hrTcE
zP;KOee0&oysB^{_Z-%!+FUYqC>sIE6JOW?E5FZ23$O<^eo&}NMm4`*MyQ9{c@G2>%iBf_!x;rU3jmUKJY)j=0pO%I9=
zA8K)9eqK9z-hF-5>fB~kTkLr(7y;k!4@7!NuJi{UZSMKu@gHcCG$S!%d;Yo;ET2KLHX1AOHaf
zKmY;|fB*y_009U<00Or}U|k!YoHR}Dw1ww7Hg}}O+q~g6gJv+ZpG{?FGijPh6?2Ql
zRDLd-Dl9DKuJ7sA|4)g2dP_3IWk3J|5P$##AOHafKmY;|fB*y_aC3q2=;UbV$fdB*`009U<00Izz00bZa0SMeXfxXBGnS5dr(_CZwoLa(hxMy=qwCru4
z(^gacXufMv=~DZ$zqiny&lS_E1izHc75Yl>;hwMB2$_Gp`OGv;DY>Ig$!m40%KDD1
zi@o|g(Xgrdxkt_&;p|bi>$W8Q?5cu46;5a0%Ww3D>;L&|F}*Zb$S$R`i+z_B>gj&}
q|BUEo_iliZFa#g~0SG_<0uX=z1Rwwb2teR&3yf+}L+kuUMdU9h<%E6!
literal 0
HcmV?d00001
diff --git a/db/migrate/20170321204526_create_tasks.rb b/db/migrate/20170321204526_create_tasks.rb
new file mode 100644
index 000000000..9f89925de
--- /dev/null
+++ b/db/migrate/20170321204526_create_tasks.rb
@@ -0,0 +1,12 @@
+class CreateTasks < ActiveRecord::Migration[5.0]
+ def change
+ create_table :tasks do |t|
+ t.string :action
+ t.string :priority
+ t.string :description
+ t.string :completion
+
+ t.timestamps
+ end
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
new file mode 100644
index 000000000..1da055c0d
--- /dev/null
+++ b/db/schema.rb
@@ -0,0 +1,24 @@
+# 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: 20170321204526) do
+
+ create_table "tasks", force: :cascade do |t|
+ t.string "action"
+ t.string "priority"
+ t.string "description"
+ t.string "completion"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
+end
diff --git a/log/development.log b/log/development.log
index a276c317e..8d4edd972 100644
--- a/log/development.log
+++ b/log/development.log
@@ -481,3 +481,552 @@ Processing by TasksController#index as HTML
Completed 200 OK in 22ms (Views: 19.9ms | ActiveRecord: 0.0ms)
+Started GET "/tasks/1" for ::1 at 2017-03-20 16:53:26 -0700
+
+ActionController::RoutingError (No route matches [GET] "/tasks/1"):
+
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
+ Rendered collection of /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (1.5ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (7.4ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (10.5ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (106.3ms)
+Started GET "/tasks/1" for ::1 at 2017-03-20 16:54:17 -0700
+
+AbstractController::ActionNotFound (The action 'show' could not be found for TasksController):
+
+actionpack (5.0.2) lib/abstract_controller/base.rb:121:in `process'
+actionview (5.0.2) lib/action_view/rendering.rb:30:in `process'
+actionpack (5.0.2) lib/action_controller/metal.rb:190:in `dispatch'
+actionpack (5.0.2) lib/action_controller/metal.rb:262:in `dispatch'
+actionpack (5.0.2) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+actionpack (5.0.2) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+actionpack (5.0.2) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+actionpack (5.0.2) lib/action_dispatch/journey/router.rb:26:in `each'
+actionpack (5.0.2) lib/action_dispatch/journey/router.rb:26:in `serve'
+actionpack (5.0.2) lib/action_dispatch/routing/route_set.rb:725:in `call'
+rack (2.0.1) lib/rack/etag.rb:25:in `call'
+rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+rack (2.0.1) lib/rack/head.rb:12:in `call'
+rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+activerecord (5.0.2) lib/active_record/migration.rb:553:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+activesupport (5.0.2) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+activesupport (5.0.2) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+activesupport (5.0.2) lib/active_support/callbacks.rb:90:in `run_callbacks'
+actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb within rescues/layout
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb within rescues/layout (0.9ms)
+Started GET "/tasks/1" for ::1 at 2017-03-20 16:57:38 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 192ms (Views: 190.3ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-20 17:00:17 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 24ms (Views: 21.3ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-20 17:00:33 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 20ms (Views: 18.6ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/2" for ::1 at 2017-03-20 17:00:36 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 22ms (Views: 20.3ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/" for ::1 at 2017-03-20 17:00: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.6ms)
+Completed 200 OK in 39ms (Views: 36.9ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/3" for ::1 at 2017-03-20 17:00:42 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 19ms (Views: 17.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/4" for ::1 at 2017-03-20 17:00:45 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 26ms (Views: 23.2ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/4" for ::1 at 2017-03-20 17:01:16 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 25ms (Views: 23.2ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/4" for ::1 at 2017-03-20 17:01:28 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 21ms (Views: 19.6ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/4" for ::1 at 2017-03-20 17:01:48 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 22ms (Views: 19.9ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/4" for ::1 at 2017-03-20 17:02:19 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 21ms (Views: 19.2ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/4" for ::1 at 2017-03-20 17:02:21 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 28ms (Views: 26.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/4" for ::1 at 2017-03-20 17:02:22 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 18ms (Views: 16.3ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/4" for ::1 at 2017-03-20 17:02:25 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 23ms (Views: 21.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/4" for ::1 at 2017-03-20 17:02:26 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 21ms (Views: 19.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/4" for ::1 at 2017-03-21 09:20:51 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (6.0ms)
+Completed 200 OK in 74ms (Views: 64.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/4" for ::1 at 2017-03-21 09:20:53 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 35ms (Views: 32.2ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/4" for ::1 at 2017-03-21 09:20:55 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 50ms (Views: 47.3ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/4" for ::1 at 2017-03-21 10:54:47 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 190ms (Views: 179.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/4" for ::1 at 2017-03-21 10:54:51 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (19.3ms)
+Completed 200 OK in 40ms (Views: 38.8ms | ActiveRecord: 0.0ms)
+
+
+ [1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
+ [1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreateTasks (20170321204526)
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action" varchar, "priority" varchar, "description" varchar, "completion" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170321204526"]]
+ [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2017-03-21 20:48:05 UTC], ["updated_at", 2017-03-21 20:48:05 UTC]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("action", "priority", "description", "completion", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Attend tech event"], ["priority", "high"], ["description", "Film screening about women in tech"], ["completion", "20170321"], ["created_at", 2017-03-21 20:53:19 UTC], ["updated_at", 2017-03-21 20:53:19 UTC]]
+ [1m[35m (1.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("action", "priority", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["action", "Make dinner"], ["priority", "medium"], ["description", "Use up food to make dinner"], ["created_at", 2017-03-21 20:54:15 UTC], ["updated_at", 2017-03-21 20:54:15 UTC]]
+ [1m[35m (1.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTask Load (1.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/" for ::1 at 2017-03-21 14:06:54 -0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing by Rails::WelcomeController#index as HTML
+ Parameters: {"internal"=>true}
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/railties-5.0.2/lib/rails/templates/rails/welcome/index.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/railties-5.0.2/lib/rails/templates/rails/welcome/index.html.erb (4.1ms)
+Completed 200 OK in 24ms (Views: 11.3ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-21 14:06:59 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (6.9ms)
+Completed 200 OK in 247ms (Views: 240.3ms | ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-21 14:07:57 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 21ms (Views: 18.6ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-21 14:08:09 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 29ms (Views: 19.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-21 14:08: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.4ms)
+Completed 200 OK in 34ms (Views: 31.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-21 14:11:49 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 17ms (Views: 15.8ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-21 14:12:27 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.2ms)
+Completed 200 OK in 32ms (Views: 29.7ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-21 14:12: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.9ms)
+Completed 200 OK in 20ms (Views: 17.7ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-21 14:13:08 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 18ms (Views: 16.4ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-21 14:13:19 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (1.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 40ms (Views: 28.4ms | ActiveRecord: 1.5ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-21 14:14:01 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.7ms)
+Completed 200 OK in 36ms (Views: 31.4ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-21 14:16: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 (2.6ms)
+Completed 200 OK in 21ms (Views: 19.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-21 14:17:10 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 22ms (Views: 20.7ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-21 14:17: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 (2.6ms)
+Completed 200 OK in 33ms (Views: 30.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-21 14:17:46 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 22ms (Views: 20.7ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-21 14:17:49 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (4.3ms)
+Completed 200 OK in 31ms (Views: 25.9ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-21 14:17:56 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (7.0ms)
+Completed 200 OK in 64ms (Views: 60.1ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks/2" for ::1 at 2017-03-21 14:17:58 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 40ms (Views: 32.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-21 14:17: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 (2.1ms)
+Completed 200 OK in 39ms (Views: 36.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-21 14:18:02 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 49ms (Views: 43.8ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-21 14:18: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.3ms)
+Completed 200 OK in 41ms (Views: 36.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/2" for ::1 at 2017-03-21 14:18:07 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 50ms (Views: 43.9ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-21 14:18:09 -0700
+Processing 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 (11.9ms)
+Completed 200 OK in 55ms (Views: 50.9ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-21 14:18: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" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 36ms (Views: 31.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-21 14:18:11 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 45ms (Views: 41.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-21 14:18:12 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 20ms (Views: 18.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-21 14:18:16 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 18ms (Views: 16.4ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-21 14:18: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" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 28ms (Views: 23.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-21 14:18:21 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 62ms (Views: 58.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-21 14:21:51 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 106ms (Views: 92.4ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-21 14:21: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.5ms)
+Completed 200 OK in 60ms (Views: 55.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/2" for ::1 at 2017-03-21 14:21:54 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 50ms (Views: 44.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-21 14:21:56 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 63ms (Views: 56.5ms | ActiveRecord: 0.9ms)
+
+
diff --git a/test/fixtures/tasks.yml b/test/fixtures/tasks.yml
new file mode 100644
index 000000000..183509792
--- /dev/null
+++ b/test/fixtures/tasks.yml
@@ -0,0 +1,13 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ action: MyString
+ priority: MyString
+ description: MyString
+ completion: MyString
+
+two:
+ action: MyString
+ priority: MyString
+ description: MyString
+ completion: MyString
diff --git a/test/models/task_test.rb b/test/models/task_test.rb
new file mode 100644
index 000000000..3ca215970
--- /dev/null
+++ b/test/models/task_test.rb
@@ -0,0 +1,7 @@
+require 'test_helper'
+
+class TaskTest < ActiveSupport::TestCase
+ # test "the truth" do
+ # assert true
+ # end
+end
From 57c5c6a70229277955308b9654ef7ea7516f2254 Mon Sep 17 00:00:00 2001
From: jjousun
Date: Wed, 22 Mar 2017 14:55:17 -0700
Subject: [PATCH 5/9] Learning how to make a form to add new tasks, first we
hard-coded HTML form, then we used Rails helper
---
app/controllers/tasks_controller.rb | 28 +
app/views/tasks/index.html.erb | 2 +-
app/views/tasks/new.html.erb | 38 +
app/views/tasks/show.html.erb | 6 +-
config/routes.rb | 8 +-
db/development.sqlite3 | Bin 28672 -> 28672 bytes
.../20170322201313_rename_action_to_title.rb | 5 +
db/schema.rb | 4 +-
log/development.log | 865 ++++++++++++++++++
9 files changed, 948 insertions(+), 8 deletions(-)
create mode 100644 app/views/tasks/new.html.erb
create mode 100644 db/migrate/20170322201313_rename_action_to_title.rb
diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb
index c37b71dff..a3e8f060a 100644
--- a/app/controllers/tasks_controller.rb
+++ b/app/controllers/tasks_controller.rb
@@ -27,5 +27,33 @@ def show
@result_task = Task.find(params[:id])
end
+
+ def new
+ @task = Task.new
+ end
+
+ def create
+ # task = Task.new
+ # task.title = params[:title]
+ # task.priority = params[:priority]
+ # task.completion = params[:completion]
+ # task.description = params[:description]
+ # if task.save
+ # redirect_to tasks_path
+ # end
+
+ task = Task.create task_params
+
+ unless task.id == nil
+ redirect_to tasks_path
+ end
+
+ end
+
+ private
+
+ def task_params
+ params.require(:task).permit(:title, :priority, :description, :completion)
+ end
end
diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb
index 4c4d9b539..16eb6fb2e 100644
--- a/app/views/tasks/index.html.erb
+++ b/app/views/tasks/index.html.erb
@@ -6,7 +6,7 @@
<% @tasks.each do |task| %>
-
- <%= link_to task.action, task_path(task.id) %>
+ <%= link_to task.title, task_path(task.id) %>
<% end %>
diff --git a/app/views/tasks/new.html.erb b/app/views/tasks/new.html.erb
new file mode 100644
index 000000000..e4706c119
--- /dev/null
+++ b/app/views/tasks/new.html.erb
@@ -0,0 +1,38 @@
+
+
+Add New Task
+
+<%= form_for @task do |f| %>
+ <%= f.label :title %>
+ <%= f.text_field :title %>
+
+ <%= f.label :priority %>
+ <%= f.text_field :priority %>
+
+ <%= f.label :completion %>
+ <%= f.text_field :completion %>
+
+ <%= f.label :description %>
+ <%= f.text_area :description, size: "60x12" %>
+
+ <%= f.submit %>
+<% end %>
diff --git a/app/views/tasks/show.html.erb b/app/views/tasks/show.html.erb
index 4e8f53467..988db384f 100644
--- a/app/views/tasks/show.html.erb
+++ b/app/views/tasks/show.html.erb
@@ -1,7 +1,11 @@
Tasks TO-DO
- Task #<%= @result_task[:id] %>: <%= @result_task[:action] %>, <%= @result_task[:priority] %> priority | <%= @result_task[:completion] %> completion date | notes: <%= @result_task[:description] %>
+ Task #<%= @result_task[:id] %>: <%= @result_task[:title] %> | <%= @result_task[:priority] %> priority | notes: <%= @result_task[:description] %>
+ Completed?
+ <% if @result_task != nil %>
+ <%= @result_task[:completion] %>
+ <% end %>
<%= link_to "Home", tasks_path %>
diff --git a/config/routes.rb b/config/routes.rb
index 1623d9804..233758fce 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,8 +1,8 @@
Rails.application.routes.draw do
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
- get "/tasks", to: "tasks#index"
-
- get "/tasks/:id", to: "tasks#show"
+ get "/tasks/new", to: "tasks#new", as: "new_task"
+ post "/tasks", to: "tasks#create"
- get "/tasks/:id", to: "tasks#show", as: 'task'
+ get "/tasks", to: "tasks#index"
+ get "/tasks/:id", to: "tasks#show", as: "task"
end
diff --git a/db/development.sqlite3 b/db/development.sqlite3
index 48d3ef50cf9ccdf89e2aac51d6ff73d1fcb6c822..8645446beb21863708d7539552a8c26ae6655af9 100644
GIT binary patch
delta 777
zcmb7CziZn-7?qSd5=62bhr~Fg^h}2msAcKSmSvR=N@-$B3#DY}R+Q*s9hRk3KO!|3Jl8LXEMC!JB!H+iMHu)$s@ano6A
z4ODrNYMsjKXq^=!<
zH~_mL@dsc(2rpT=O;bfp2m#d04l>(N(UGC{^4Hyhyjv8Q2P@kR%i6Jr7}#K(+TQR*
zkoN6E45DC!ffpQN?+C<%)Ll>YSN9M(rNb$L%$tKO9InceMUVuNf^71
zeFXBTJ`K|+{$8%@1
zpg;=G5D0FF!4(<@Hg{I0ZrrM-z*jXRDh8Q02(wVBme*a
diff --git a/db/migrate/20170322201313_rename_action_to_title.rb b/db/migrate/20170322201313_rename_action_to_title.rb
new file mode 100644
index 000000000..698a24865
--- /dev/null
+++ b/db/migrate/20170322201313_rename_action_to_title.rb
@@ -0,0 +1,5 @@
+class RenameActionToTitle < ActiveRecord::Migration[5.0]
+ def change
+ rename_column :tasks, :action, :title
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 1da055c0d..4b4c485ef 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -10,10 +10,10 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20170321204526) do
+ActiveRecord::Schema.define(version: 20170322201313) do
create_table "tasks", force: :cascade do |t|
- t.string "action"
+ t.string "title"
t.string "priority"
t.string "description"
t.string "completion"
diff --git a/log/development.log b/log/development.log
index 8d4edd972..01762c7b2 100644
--- a/log/development.log
+++ b/log/development.log
@@ -1030,3 +1030,868 @@ Processing by TasksController#index as HTML
Completed 200 OK in 63ms (Views: 56.5ms | ActiveRecord: 0.9ms)
+Started GET "/tasks" for ::1 at 2017-03-22 09:54:01 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (3.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (17.3ms)
+Completed 200 OK in 78ms (Views: 64.9ms | ActiveRecord: 3.8ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 09:54:11 -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
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 37ms (Views: 33.8ms | ActiveRecord: 1.5ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 09:54:13 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 38ms (Views: 36.5ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-22 09:54:16 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 58ms (Views: 52.8ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/2" for ::1 at 2017-03-22 09:54:20 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 34ms (Views: 30.9ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 12:39:34 -0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+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 (14.0ms)
+Completed 200 OK in 244ms (Views: 229.7ms | ActiveRecord: 1.1ms)
+
+
+Started GET "/tasks/new" for ::1 at 2017-03-22 12:39:43 -0700
+
+AbstractController::ActionNotFound (The action 'new' could not be found for TasksController):
+
+actionpack (5.0.2) lib/abstract_controller/base.rb:121:in `process'
+actionview (5.0.2) lib/action_view/rendering.rb:30:in `process'
+actionpack (5.0.2) lib/action_controller/metal.rb:190:in `dispatch'
+actionpack (5.0.2) lib/action_controller/metal.rb:262:in `dispatch'
+actionpack (5.0.2) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+actionpack (5.0.2) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+actionpack (5.0.2) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+actionpack (5.0.2) lib/action_dispatch/journey/router.rb:26:in `each'
+actionpack (5.0.2) lib/action_dispatch/journey/router.rb:26:in `serve'
+actionpack (5.0.2) lib/action_dispatch/routing/route_set.rb:725:in `call'
+rack (2.0.1) lib/rack/etag.rb:25:in `call'
+rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+rack (2.0.1) lib/rack/head.rb:12:in `call'
+rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+activerecord (5.0.2) lib/active_record/migration.rb:553:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+activesupport (5.0.2) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+activesupport (5.0.2) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+activesupport (5.0.2) lib/active_support/callbacks.rb:90:in `run_callbacks'
+actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb within rescues/layout
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb within rescues/layout (0.4ms)
+Started GET "/tasks/new" for ::1 at 2017-03-22 12:40:04 -0700
+Processing by TasksController#new as HTML
+Completed 406 Not Acceptable in 48ms (ActiveRecord: 0.0ms)
+
+
+
+ActionController::UnknownFormat (TasksController#new is missing a template for this request format and variant.
+
+request.formats: ["text/html"]
+request.variant: []
+
+NOTE! For XHR/Ajax or API requests, this action would normally respond with 204 No Content: an empty white screen. Since you're loading it in a web browser, we assume that you expected to actually render a template, not nothing, so we're showing an error to be extra-clear. If you expect 204 No Content, carry on. That's what you'll get from an XHR or API request. Give it a shot.):
+
+actionpack (5.0.2) lib/action_controller/metal/implicit_render.rb:56:in `default_render'
+actionpack (5.0.2) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action'
+actionpack (5.0.2) lib/action_controller/metal/basic_implicit_render.rb:4:in `tap'
+actionpack (5.0.2) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+actionpack (5.0.2) lib/abstract_controller/base.rb:188:in `process_action'
+actionpack (5.0.2) lib/action_controller/metal/rendering.rb:30:in `process_action'
+actionpack (5.0.2) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+activesupport (5.0.2) lib/active_support/callbacks.rb:126:in `call'
+activesupport (5.0.2) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+activesupport (5.0.2) lib/active_support/callbacks.rb:455:in `call'
+activesupport (5.0.2) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+activesupport (5.0.2) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+activesupport (5.0.2) lib/active_support/callbacks.rb:90:in `run_callbacks'
+actionpack (5.0.2) lib/abstract_controller/callbacks.rb:19:in `process_action'
+actionpack (5.0.2) lib/action_controller/metal/rescue.rb:20:in `process_action'
+actionpack (5.0.2) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+activesupport (5.0.2) lib/active_support/notifications.rb:164:in `block in instrument'
+activesupport (5.0.2) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+activesupport (5.0.2) lib/active_support/notifications.rb:164:in `instrument'
+actionpack (5.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+actionpack (5.0.2) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+activerecord (5.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+actionpack (5.0.2) lib/abstract_controller/base.rb:126:in `process'
+actionview (5.0.2) lib/action_view/rendering.rb:30:in `process'
+actionpack (5.0.2) lib/action_controller/metal.rb:190:in `dispatch'
+actionpack (5.0.2) lib/action_controller/metal.rb:262:in `dispatch'
+actionpack (5.0.2) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+actionpack (5.0.2) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+actionpack (5.0.2) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+actionpack (5.0.2) lib/action_dispatch/journey/router.rb:26:in `each'
+actionpack (5.0.2) lib/action_dispatch/journey/router.rb:26:in `serve'
+actionpack (5.0.2) lib/action_dispatch/routing/route_set.rb:725:in `call'
+rack (2.0.1) lib/rack/etag.rb:25:in `call'
+rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+rack (2.0.1) lib/rack/head.rb:12:in `call'
+rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+activerecord (5.0.2) lib/active_record/migration.rb:553:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+activesupport (5.0.2) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+activesupport (5.0.2) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+activesupport (5.0.2) lib/active_support/callbacks.rb:90:in `run_callbacks'
+actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (3.6ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (69.0ms)
+Started GET "/tasks/new" for ::1 at 2017-03-22 12:41:07 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 19ms (Views: 17.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/new" for ::1 at 2017-03-22 12:45:39 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 19ms (Views: 17.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/new" for ::1 at 2017-03-22 12:49:50 -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 200 OK in 19ms (Views: 16.8ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2017-03-22 12:50:21 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"authenticity_token"=>"6gWHNce79FI4rj6g2F3SkpxIzrvniZ6p+kGr1Pp3vB5YoMk5ykQ2ZbKXShRxlSU0tS8Pxwux1oWJuEhqshkJzw==", "priority"=>"High", "completion"=>"20170322", "description"=>"Get at least 7 hours' sleep"}
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (1.5ms)[0m [1m[32mINSERT INTO "tasks" ("action", "priority", "description", "completion", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "create"], ["priority", "High"], ["description", "Get at least 7 hours' sleep"], ["completion", "20170322"], ["created_at", 2017-03-22 19:50:21 UTC], ["updated_at", 2017-03-22 19:50:21 UTC]]
+ [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 24ms (ActiveRecord: 3.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 12:50:21 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 24ms (Views: 22.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/3" for ::1 at 2017-03-22 12:50:25 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 33ms (Views: 26.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 12:53: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 (6.9ms)
+Completed 200 OK in 28ms (Views: 23.3ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/3" for ::1 at 2017-03-22 12:53:58 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 32ms (Views: 26.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 12:54:10 -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 59ms (Views: 55.3ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/2" for ::1 at 2017-03-22 12:54:12 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 37ms (Views: 32.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 12:54: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 (2.3ms)
+Completed 200 OK in 44ms (Views: 41.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-22 12:59:33 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 31ms (Views: 28.0ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 12:59:37 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 55ms (Views: 46.7ms | ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks/3" for ::1 at 2017-03-22 12:59:39 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 35ms (Views: 32.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 12:59: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.6ms)
+Completed 200 OK in 43ms (Views: 39.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2017-03-22 12:59:57 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 20ms (Views: 17.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/" for ::1 at 2017-03-22 13:00: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.9ms)
+Completed 200 OK in 24ms (Views: 22.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/3" for ::1 at 2017-03-22 13:00:07 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 34ms (Views: 31.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 13:02:41 -0700
+Processing 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.5ms)
+Completed 200 OK in 30ms (Views: 27.1ms | ActiveRecord: 0.2ms)
+
+
+ [1m[36mTask Load (1.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks/new" for ::1 at 2017-03-22 13:06:09 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 19ms (Views: 17.8ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2017-03-22 13:06:38 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"authenticity_token"=>"fvCfN8ONvikXg1kVbaOubbQeuefAZVb7BTMvaZBriKfMVdE7znJ8Hp26LaHEa1nLnXl4myxdHtd2yszX2AU9dg==", "title"=>"Birthday Planning", "priority"=>"High", "completion"=>"2017-03-23", "description"=>"Figure what to do for Friday"}
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("action", "priority", "description", "completion", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Birthday Planning"], ["priority", "High"], ["description", "Figure what to do for Friday"], ["completion", "2017-03-23"], ["created_at", 2017-03-22 20:06:38 UTC], ["updated_at", 2017-03-22 20:06:38 UTC]]
+ [1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 24ms (ActiveRecord: 2.5ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 13:06: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 (7.1ms)
+Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.2ms)
+
+
+
+ActionView::Template::Error (undefined method `title' for #):
+ 6:
+ 7: <% @tasks.each do |task| %>
+ 8: -
+ 9: <%= link_to task.title, task_path(task.id) %>
+ 10:
+ 11: <% end %>
+ 12:
+
+app/views/tasks/index.html.erb:9:in `block in _app_views_tasks_index_html_erb__1977848437295750136_70341984000740'
+app/views/tasks/index.html.erb:7:in `_app_views_tasks_index_html_erb__1977848437295750136_70341984000740'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (4.6ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (65.3ms)
+Started POST "/tasks" for ::1 at 2017-03-22 13:07:26 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"authenticity_token"=>"fvCfN8ONvikXg1kVbaOubbQeuefAZVb7BTMvaZBriKfMVdE7znJ8Hp26LaHEa1nLnXl4myxdHtd2yszX2AU9dg==", "title"=>"Birthday Planning", "priority"=>"High", "completion"=>"2017-03-23", "description"=>"Figure what to do for Friday"}
+Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.6ms)
+
+
+
+NoMethodError (undefined method `title=' for #):
+
+app/controllers/tasks_controller.rb:37:in `create'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (3.1ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (62.9ms)
+Started PUT "/__web_console/repl_sessions/3bec9ce527a8aee9de5006c0a619307d" for ::1 at 2017-03-22 13:08:49 -0700
+Started PUT "/__web_console/repl_sessions/3bec9ce527a8aee9de5006c0a619307d" for ::1 at 2017-03-22 13:08:50 -0700
+Started PUT "/__web_console/repl_sessions/3bec9ce527a8aee9de5006c0a619307d" for ::1 at 2017-03-22 13:08:51 -0700
+Started POST "/tasks" for ::1 at 2017-03-22 13:09:24 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"authenticity_token"=>"fvCfN8ONvikXg1kVbaOubbQeuefAZVb7BTMvaZBriKfMVdE7znJ8Hp26LaHEa1nLnXl4myxdHtd2yszX2AU9dg==", "title"=>"Birthday Planning", "priority"=>"High", "completion"=>"2017-03-23", "description"=>"Figure what to do for Friday"}
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("action", "priority", "description", "completion", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Birthday Planning"], ["priority", "High"], ["description", "Figure what to do for Friday"], ["completion", "2017-03-23"], ["created_at", 2017-03-22 20:09:24 UTC], ["updated_at", 2017-03-22 20:09:24 UTC]]
+ [1m[35m (1.8ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 16ms (ActiveRecord: 3.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 13:09: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 (6.2ms)
+Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.2ms)
+
+
+
+ActionView::Template::Error (undefined method `title' for #):
+ 6:
+ 7: <% @tasks.each do |task| %>
+ 8: -
+ 9: <%= link_to task.title, task_path(task.id) %>
+ 10:
+ 11: <% end %>
+ 12:
+
+app/views/tasks/index.html.erb:9:in `block in _app_views_tasks_index_html_erb__1977848437295750136_70341950772180'
+app/views/tasks/index.html.erb:7:in `_app_views_tasks_index_html_erb__1977848437295750136_70341950772180'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (4.2ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (62.1ms)
+Started GET "/tasks" for ::1 at 2017-03-22 13:09:47 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 26ms (Views: 23.8ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks/5" for ::1 at 2017-03-22 13:11:33 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"5"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 32ms (Views: 24.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 13:11:40 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 58ms (Views: 54.8ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/4" for ::1 at 2017-03-22 13:11:42 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 29ms (Views: 26.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 13:11:44 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 40ms (Views: 36.8ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/3" for ::1 at 2017-03-22 13:11:46 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 26ms (Views: 22.1ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 13:11:48 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.1ms)
+Completed 200 OK in 44ms (Views: 40.5ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-22 13:14:15 -0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+
+ActiveRecord::PendingMigrationError (
+
+Migrations are pending. To resolve this issue, run:
+
+ bin/rails db:migrate RAILS_ENV=development
+
+):
+
+activerecord (5.0.2) lib/active_record/migration.rb:573:in `check_pending!'
+activerecord (5.0.2) lib/active_record/migration.rb:549:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+activesupport (5.0.2) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+activesupport (5.0.2) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+activesupport (5.0.2) lib/active_support/callbacks.rb:90:in `run_callbacks'
+actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (1.8ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (56.8ms)
+Started GET "/tasks" for ::1 at 2017-03-22 13:14:17 -0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+
+ActiveRecord::PendingMigrationError (
+
+Migrations are pending. To resolve this issue, run:
+
+ bin/rails db:migrate RAILS_ENV=development
+
+):
+
+activerecord (5.0.2) lib/active_record/migration.rb:573:in `check_pending!'
+activerecord (5.0.2) lib/active_record/migration.rb:549:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+activesupport (5.0.2) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+activesupport (5.0.2) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+activesupport (5.0.2) lib/active_support/callbacks.rb:90:in `run_callbacks'
+actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (1.9ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (58.0ms)
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to RenameActionToTitle (20170322201313)
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.3ms)[0m [1m[35mCREATE TEMPORARY TABLE "atasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "priority" varchar, "description" varchar, "completion" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35m (0.2ms)[0m [1m[32mINSERT INTO "atasks" ("id","title","priority","description","completion","created_at","updated_at")
+ SELECT "id","action","priority","description","completion","created_at","updated_at" FROM "tasks"[0m
+ [1m[35m (1.0ms)[0m [1m[35mDROP TABLE "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "priority" varchar, "description" varchar, "completion" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35m (0.1ms)[0m [1m[32mINSERT INTO "tasks" ("id","title","priority","description","completion","created_at","updated_at")
+ SELECT "id","title","priority","description","completion","created_at","updated_at" FROM "atasks"[0m
+ [1m[35m (0.1ms)[0m [1m[35mDROP TABLE "atasks"[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170322201313"]]
+ [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
+Started GET "/tasks" for ::1 at 2017-03-22 13:19:41 -0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing 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.6ms)
+Completed 200 OK in 27ms (Views: 21.9ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks/4" for ::1 at 2017-03-22 13:19:44 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 32ms (Views: 26.7ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 13:19: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 (3.1ms)
+Completed 200 OK in 51ms (Views: 48.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2017-03-22 13:19:59 -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 200 OK in 17ms (Views: 15.2ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2017-03-22 13:20:32 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"authenticity_token"=>"p176m+ufTbHwFFZeNlRC3XHTabMycx6c/3gAZ6QU6BMV+7SX5mCPhnotIuqfnLV7WLSoz95LVrCMgePZ7Hpdwg==", "title"=>"Take a walk", "priority"=>"Low", "completion"=>"2017-03-25", "description"=>"Have some lovely time outside"}
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "priority", "description", "completion", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Take a walk"], ["priority", "Low"], ["description", "Have some lovely time outside"], ["completion", "2017-03-25"], ["created_at", 2017-03-22 20:20:32 UTC], ["updated_at", 2017-03-22 20:20:32 UTC]]
+ [1m[35m (1.6ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 6ms (ActiveRecord: 2.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 13:20:32 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 22ms (Views: 19.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/6" for ::1 at 2017-03-22 13:20:35 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 29ms (Views: 24.9ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks/6" for ::1 at 2017-03-22 13:21:42 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 21ms (Views: 18.5ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 13:21: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 (2.1ms)
+Completed 200 OK in 30ms (Views: 27.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-22 13:21:50 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 28ms (Views: 24.9ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 13:21: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
+ Rendered tasks/index.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 43ms (Views: 40.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/2" for ::1 at 2017-03-22 13:21:55 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (6.6ms)
+Completed 200 OK in 32ms (Views: 28.8ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 13:21:59 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 36ms (Views: 33.1ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/3" for ::1 at 2017-03-22 13:22:01 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 28ms (Views: 24.3ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 13:22: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 (2.3ms)
+Completed 200 OK in 44ms (Views: 41.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/4" for ::1 at 2017-03-22 13:22:04 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 44ms (Views: 39.9ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 13:22:06 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 47ms (Views: 44.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2017-03-22 13:28:56 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 44ms (Views: 38.3ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-22 13:29: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" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 33ms (Views: 29.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/6" for ::1 at 2017-03-22 13:29:14 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 27ms (Views: 24.0ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks/6" for ::1 at 2017-03-22 13:29:25 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 40ms (Views: 35.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2017-03-22 13:29:44 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 20ms (Views: 18.6ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tasks/new" for ::1 at 2017-03-22 14:52:02 -0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (28.2ms)
+Started GET "/tasks/new" for ::1 at 2017-03-22 14:52:03 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 320ms (Views: 294.5ms | ActiveRecord: 4.1ms)
+
+
+Completed 200 OK in 89ms (Views: 87.0ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2017-03-22 14:53:42 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"YJFCemUVmHtu57LBp1AW6MzpZY4NODyu+NrzXy04KyjSNAx2aOpaTOTexnUOmOFO5Y6k8uEAdIKLIxDhZVae+Q==", "task"=>{"title"=>"Plan lunch", "priority"=>"medium", "completion"=>"", "description"=>"Think of what to bring for lunch"}, "commit"=>"Create Task"}
+ [1m[35m (0.7ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "tasks" ("title", "priority", "description", "completion", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Plan lunch"], ["priority", "medium"], ["description", "Think of what to bring for lunch"], ["completion", ""], ["created_at", 2017-03-22 21:53:42 UTC], ["updated_at", 2017-03-22 21:53:42 UTC]]
+ [1m[35m (1.9ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 13ms (ActiveRecord: 3.5ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 14:53: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.4ms)
+Completed 200 OK in 19ms (Views: 16.8ms | ActiveRecord: 0.2ms)
+
+
From 0c5a13013356888d454fbb3fe450417ee9a4b8ec Mon Sep 17 00:00:00 2001
From: jjousun
Date: Fri, 24 Mar 2017 15:50:49 -0700
Subject: [PATCH 6/9] Practicing the UD of CRUD, updated with delete links
---
app/assets/stylesheets/application.css | 6 +
app/controllers/tasks_controller.rb | 36 +-
app/views/tasks/_form.html.erb | 12 +
app/views/tasks/edit.html.erb | 16 +
app/views/tasks/index.html.erb | 9 +-
app/views/tasks/new.html.erb | 11 +-
app/views/tasks/show.html.erb | 12 +-
config/routes.rb | 10 +
db/development.sqlite3 | Bin 28672 -> 28672 bytes
...12700_delete_priority_column_from_model.rb | 5 +
...e_completion_column_from_string_to_date.rb | 5 +
db/schema.rb | 5 +-
log/development.log | 2271 +++++++++++++++++
13 files changed, 2381 insertions(+), 17 deletions(-)
create mode 100644 app/views/tasks/_form.html.erb
create mode 100644 app/views/tasks/edit.html.erb
create mode 100644 db/migrate/20170324212700_delete_priority_column_from_model.rb
create mode 100644 db/migrate/20170324213336_change_completion_column_from_string_to_date.rb
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css
index 0ebd7fe82..3ccddb709 100644
--- a/app/assets/stylesheets/application.css
+++ b/app/assets/stylesheets/application.css
@@ -13,3 +13,9 @@
*= require_tree .
*= require_self
*/
+
+
+body {
+ font-family: Helvetica, cursive;
+ color: blue;
+}
diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb
index a3e8f060a..65d58058e 100644
--- a/app/controllers/tasks_controller.rb
+++ b/app/controllers/tasks_controller.rb
@@ -28,6 +28,10 @@ def show
@result_task = Task.find(params[:id])
end
+ def edit
+ @task = Task.find(params[:id])
+ end
+
def new
@task = Task.new
end
@@ -50,10 +54,38 @@ def create
end
+ def update
+ task = Task.find(params[:id])
+
+ task.title = params[:task][:title]
+ task.completion = params[:task][:completion]
+ task.description = params[:task][:description]
+
+ if task.save
+ redirect_to task_path(task.id)
+ end
+ end
+
+ def destroy
+ Task.destroy(params[:id])
+
+ redirect_to tasks_path
+ end
+
+ def completed
+ task = Task.find(params[:id])
+
+ task.completion = Time.now
+
+ if task.save
+ redirect_to task_path(task.id)
+ end
+ end
+
private
def task_params
- params.require(:task).permit(:title, :priority, :description, :completion)
+ params.require(:task).permit(:title, :description, :completion)
end
-
+
end
diff --git a/app/views/tasks/_form.html.erb b/app/views/tasks/_form.html.erb
new file mode 100644
index 000000000..681fced3a
--- /dev/null
+++ b/app/views/tasks/_form.html.erb
@@ -0,0 +1,12 @@
+<%= form_for @task do |f| %>
+ <%= f.label :title %>
+ <%= f.text_field :title %>
+
+ <%= f.label :completion %>
+ <%= f.date_field :completion %>
+
+ <%= f.label :description %>
+ <%= f.text_area :description, size: "60x12" %>
+
+ <%= f.submit %>
+<% end %>
diff --git a/app/views/tasks/edit.html.erb b/app/views/tasks/edit.html.erb
new file mode 100644
index 000000000..0552f5f39
--- /dev/null
+++ b/app/views/tasks/edit.html.erb
@@ -0,0 +1,16 @@
+Edit Task
+
+
+
+<%= render partial: "form" %>
diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb
index 16eb6fb2e..9934648dc 100644
--- a/app/views/tasks/index.html.erb
+++ b/app/views/tasks/index.html.erb
@@ -1,13 +1,18 @@
-Jou-Jou's To-do List
+My To-Do List
-
+
<% @tasks.each do |task| %>
-
<%= link_to task.title, task_path(task.id) %>
+ <% if task.completion == nil %>
+ <%= link_to "Mark as Complete", complete_task_path(task.id), data: { confirm: "Are you sure you want to complete this task?" }, method: :patch %>
+ <% end %>
<% end %>
+
+ <%= link_to "Add A New Task", new_task_path %>
diff --git a/app/views/tasks/new.html.erb b/app/views/tasks/new.html.erb
index e4706c119..0d2270b05 100644
--- a/app/views/tasks/new.html.erb
+++ b/app/views/tasks/new.html.erb
@@ -21,18 +21,17 @@
Add New Task
-<%= form_for @task do |f| %>
+
+
+<%= render partial: "form" %>
diff --git a/app/views/tasks/show.html.erb b/app/views/tasks/show.html.erb
index 988db384f..20d52bbcf 100644
--- a/app/views/tasks/show.html.erb
+++ b/app/views/tasks/show.html.erb
@@ -1,11 +1,15 @@
Tasks TO-DO
-
+
- Task #<%= @result_task[:id] %>: <%= @result_task[:title] %> | <%= @result_task[:priority] %> priority | notes: <%= @result_task[:description] %>
+ Task #<%= @result_task[:id] %>: <%= @result_task[:title] %> | notes: <%= @result_task[:description] %>
Completed?
- <% if @result_task != nil %>
+ <% if @result_task[:completion] == nil %>
+ NO
+ <% else %>
<%= @result_task[:completion] %>
- <% end %>
+ <% end %>
+<%= link_to "Edit", edit_task_path(@result_task.id) %>
+<%= link_to "Delete", delete_task_path(@result_task.id), data: { confirm: "Are you sure you want to delete this task?" }, method: :delete %>
<%= link_to "Home", tasks_path %>
diff --git a/config/routes.rb b/config/routes.rb
index 233758fce..429fb093b 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,8 +1,18 @@
Rails.application.routes.draw do
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
+ root "tasks#index"
+
get "/tasks/new", to: "tasks#new", as: "new_task"
post "/tasks", to: "tasks#create"
get "/tasks", to: "tasks#index"
get "/tasks/:id", to: "tasks#show", as: "task"
+
+ patch "/tasks/:id/complete", to: "tasks#completed", as: "complete_task"
+
+ get "/tasks/:id/edit", to: "tasks#edit", as: "edit_task"
+ patch "/tasks/:id/", to: "tasks#update"
+
+ delete "/tasks/:id", to: "tasks#destroy", as: "delete_task"
+
end
diff --git a/db/development.sqlite3 b/db/development.sqlite3
index 8645446beb21863708d7539552a8c26ae6655af9..4aee24015f0c44cba62b02cb4c840faf2c522eed 100644
GIT binary patch
delta 1296
zcmbtU&uSAv9G;k9)Fzo$)FMSXL9GVtc6N4lH@n3{Dil!*+6EN#;53;g%dWd2J1L5X
z7<>UG&magrl~VB$#8+qz1rOdT2!a>EnWSyf>aDZ8!!Y0P@Av)KH@k^9yNP#G6EgsS
zwEPa%+4r}M%QIm1Pa~V11E({+1e}N4xqR+trk7pZni#KUy1mRw9{vWCawXp07Hl=(
zg2jH^d7AD#NvHeQuG}b7cjm^X_I*<4lZC`EjB-kD?aUR>
zrDSdcz!;+3My5P`Hap+P+ON-^0aF)S*;45~YqH4acfDHu4hsUb994X@5WPeqLTg^F
z)#NB@3FNJzCXab@oe3`rkr$(o^D3{Z#Ix9#C3Iyh4JN1arP6~|SgDr;M}ayF4TdMw
zCc0}lF19q2=r%P*pkoLC$;a21K&iCogt6r_fn@EE3yxN80J&wEp
zDatERD3}*Y1rU>SqQ)oYLOZNzSX-ZMN?qz`j$xTfi1xwYsIrOa;-cnIN-YxS(qP(`
zk}olzqqQiiK8!@rl4HpPqNwp=zCU}z?9ygXqVOudEM}NrX-rL**c!1cr+7q#b{~>t
zVT=uIJ<7`Qos(Jb1e}Ha4e@o}d?n{9tmXfSi4D!5*ffv#C>uFII_Cxi%b@=uxIO6N
ngbepPJi_ZJt#TU7qGlS{)Xl8?(Iwz7Am9Gl8h`!+CUSoPC&gM|
delta 968
zcmb`G&ui2`6vvZlyNl#UtCX@8^(`J$u-RlL`y&y-D7K4Os92AJaWig)W|K9^b}1gV
z(tkkN|3VNCi$||s^}c&3co!5DFM=;?yITvrIZWU&pT~Ri{l3ZWzPP(DzB<1k34)Nr
z?{Lk&zD^60u=2YttG|RfX(XyQ)b~nJ`7Vv*(qLiUllmj+;hC3FF1NI_B<|hpZ^%5~
zj(HUGbf^DTF7@9i^+8ejBIak*k)VE6M}vi1pVj{8(p5YeW+y{D`J@hprE73DCt=c_
zx~#lYD)I;Uo`mW1AEo6WmlukKb=h$?0yl)96E^%7^LVG#|M~c0ui+EjsIKUAg%BWy
zU8c54vLaP;e
zROFbT{zKH9!I>5u!Ex5JnR+}7S^W2M#Y_{MrFeUd{iOuaGZOf(>T_H+J>c7
Zsb$dG$wbCqR8)TmxN!}XC*M>t_Xi^!073u&
diff --git a/db/migrate/20170324212700_delete_priority_column_from_model.rb b/db/migrate/20170324212700_delete_priority_column_from_model.rb
new file mode 100644
index 000000000..877053c4b
--- /dev/null
+++ b/db/migrate/20170324212700_delete_priority_column_from_model.rb
@@ -0,0 +1,5 @@
+class DeletePriorityColumnFromModel < ActiveRecord::Migration[5.0]
+ def change
+ remove_column :tasks, :priority
+ end
+end
diff --git a/db/migrate/20170324213336_change_completion_column_from_string_to_date.rb b/db/migrate/20170324213336_change_completion_column_from_string_to_date.rb
new file mode 100644
index 000000000..4c8d0cb7e
--- /dev/null
+++ b/db/migrate/20170324213336_change_completion_column_from_string_to_date.rb
@@ -0,0 +1,5 @@
+class ChangeCompletionColumnFromStringToDate < ActiveRecord::Migration[5.0]
+ def change
+ change_column :tasks, :completion, :date
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 4b4c485ef..3bf45b6e1 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -10,13 +10,12 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20170322201313) do
+ActiveRecord::Schema.define(version: 20170324213336) do
create_table "tasks", force: :cascade do |t|
t.string "title"
- t.string "priority"
t.string "description"
- t.string "completion"
+ t.date "completion"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
diff --git a/log/development.log b/log/development.log
index 01762c7b2..cb1eae6cc 100644
--- a/log/development.log
+++ b/log/development.log
@@ -1895,3 +1895,2274 @@ Processing by TasksController#index as HTML
Completed 200 OK in 19ms (Views: 16.8ms | ActiveRecord: 0.2ms)
+Started GET "/tasks/7" for ::1 at 2017-03-22 15:22:11 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"7"}
+ [1m[36mTask Load (1.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (3.7ms)
+Completed 200 OK in 64ms (Views: 38.8ms | ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 15:22:20 -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 (7.3ms)
+Completed 200 OK in 109ms (Views: 104.6ms | ActiveRecord: 1.0ms)
+
+
+Started GET "/tasks/6" for ::1 at 2017-03-22 15:22:51 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 29ms (Views: 24.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 15:24: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 (4.0ms)
+Completed 200 OK in 45ms (Views: 42.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/5" for ::1 at 2017-03-22 15:24:56 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"5"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 35ms (Views: 30.9ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/6" for ::1 at 2017-03-22 15:25:55 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 45ms (Views: 39.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 15:33:05 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.5ms)
+Completed 200 OK in 50ms (Views: 47.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-22 15:33:07 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 31ms (Views: 27.4ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 15:33:13 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 46ms (Views: 43.2ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/6" for ::1 at 2017-03-22 15:33:14 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 45ms (Views: 40.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 15:44:00 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 49ms (Views: 45.0ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-22 15:44:04 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 40ms (Views: 36.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 15:44: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
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 45ms (Views: 41.9ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/3" for ::1 at 2017-03-22 15:44:11 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 33ms (Views: 29.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 15:44:12 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.7ms)
+Completed 200 OK in 52ms (Views: 49.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/4" for ::1 at 2017-03-22 15:44:19 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (4.4ms)
+Completed 200 OK in 35ms (Views: 32.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 15:44: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.7ms)
+Completed 200 OK in 44ms (Views: 40.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/6" for ::1 at 2017-03-22 15:44:42 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 47ms (Views: 43.4ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks/new" for ::1 at 2017-03-22 15:47:03 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (8.4ms)
+Completed 200 OK in 30ms (Views: 27.0ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2017-03-22 15:47:26 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"WlA4xuLGelZAz1F/Zc126PrG5eGGp0wlltBpKn2+T5jo9XbK7zm4Ycr2JcvMBYFO06EknWqfBAnlKYqUNdD6SQ==", "task"=>{"title"=>"Talk to Jackie", "priority"=>"High", "completion"=>"2017-03-23", "description"=>"Blah blah blah"}, "commit"=>"Create Task"}
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "tasks" ("title", "priority", "description", "completion", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Talk to Jackie"], ["priority", "High"], ["description", "Blah blah blah"], ["completion", "2017-03-23"], ["created_at", 2017-03-22 22:47:26 UTC], ["updated_at", 2017-03-22 22:47:26 UTC]]
+ [1m[35m (13.6ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 19ms (ActiveRecord: 14.4ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-22 15:47:26 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 25ms (Views: 22.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/8" for ::1 at 2017-03-22 15:47:29 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"8"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 31ms (Views: 27.9ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-23 15:16:57 -0700
+
+SyntaxError (/Users/jou-jousun/ada/rails/TaskList/config/routes.rb:9: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '('
+ get "/tasks/:id/edit", to "tasks#edit", as: "edit_task"
+ ^
+/Users/jou-jousun/ada/rails/TaskList/config/routes.rb:9: syntax error, unexpected ',', expecting keyword_end
+ks/:id/edit", to "tasks#edit", as: "edit_task"
+ ^
+/Users/jou-jousun/ada/rails/TaskList/config/routes.rb:10: syntax error, unexpected keyword_end, expecting end-of-input):
+
+config/routes.rb:9: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '('
+config/routes.rb:9: syntax error, unexpected ',', expecting keyword_end
+config/routes.rb:10: syntax error, unexpected keyword_end, expecting end-of-input
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (6.7ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (79.1ms)
+Started GET "/tasks/edit" for ::1 at 2017-03-23 15:17:03 -0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+
+ActionController::RoutingError (No route matches [GET] "/tasks/edit"):
+
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (7.8ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (24.1ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (88.9ms)
+Started GET "/tasks/1/edit" for ::1 at 2017-03-23 15:17:09 -0700
+
+ActionController::RoutingError (No route matches [GET] "/tasks/1/edit"):
+
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (3.5ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (64.5ms)
+Started GET "/tasks/1/edit" for ::1 at 2017-03-23 15:17:38 -0700
+
+AbstractController::ActionNotFound (The action 'edit' could not be found for TasksController):
+
+actionpack (5.0.2) lib/abstract_controller/base.rb:121:in `process'
+actionview (5.0.2) lib/action_view/rendering.rb:30:in `process'
+actionpack (5.0.2) lib/action_controller/metal.rb:190:in `dispatch'
+actionpack (5.0.2) lib/action_controller/metal.rb:262:in `dispatch'
+actionpack (5.0.2) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+actionpack (5.0.2) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+actionpack (5.0.2) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+actionpack (5.0.2) lib/action_dispatch/journey/router.rb:26:in `each'
+actionpack (5.0.2) lib/action_dispatch/journey/router.rb:26:in `serve'
+actionpack (5.0.2) lib/action_dispatch/routing/route_set.rb:725:in `call'
+rack (2.0.1) lib/rack/etag.rb:25:in `call'
+rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+rack (2.0.1) lib/rack/head.rb:12:in `call'
+rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+activerecord (5.0.2) lib/active_record/migration.rb:553:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+activesupport (5.0.2) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+activesupport (5.0.2) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+activesupport (5.0.2) lib/active_support/callbacks.rb:90:in `run_callbacks'
+actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb within rescues/layout
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb within rescues/layout (0.5ms)
+Started GET "/tasks/1/edit" for ::1 at 2017-03-23 15:18:29 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Completed 406 Not Acceptable in 62ms (ActiveRecord: 0.7ms)
+
+
+
+ActionController::UnknownFormat (TasksController#edit is missing a template for this request format and variant.
+
+request.formats: ["text/html"]
+request.variant: []
+
+NOTE! For XHR/Ajax or API requests, this action would normally respond with 204 No Content: an empty white screen. Since you're loading it in a web browser, we assume that you expected to actually render a template, not nothing, so we're showing an error to be extra-clear. If you expect 204 No Content, carry on. That's what you'll get from an XHR or API request. Give it a shot.):
+
+actionpack (5.0.2) lib/action_controller/metal/implicit_render.rb:56:in `default_render'
+actionpack (5.0.2) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action'
+actionpack (5.0.2) lib/action_controller/metal/basic_implicit_render.rb:4:in `tap'
+actionpack (5.0.2) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+actionpack (5.0.2) lib/abstract_controller/base.rb:188:in `process_action'
+actionpack (5.0.2) lib/action_controller/metal/rendering.rb:30:in `process_action'
+actionpack (5.0.2) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+activesupport (5.0.2) lib/active_support/callbacks.rb:126:in `call'
+activesupport (5.0.2) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+activesupport (5.0.2) lib/active_support/callbacks.rb:455:in `call'
+activesupport (5.0.2) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+activesupport (5.0.2) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+activesupport (5.0.2) lib/active_support/callbacks.rb:90:in `run_callbacks'
+actionpack (5.0.2) lib/abstract_controller/callbacks.rb:19:in `process_action'
+actionpack (5.0.2) lib/action_controller/metal/rescue.rb:20:in `process_action'
+actionpack (5.0.2) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+activesupport (5.0.2) lib/active_support/notifications.rb:164:in `block in instrument'
+activesupport (5.0.2) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+activesupport (5.0.2) lib/active_support/notifications.rb:164:in `instrument'
+actionpack (5.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+actionpack (5.0.2) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+activerecord (5.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+actionpack (5.0.2) lib/abstract_controller/base.rb:126:in `process'
+actionview (5.0.2) lib/action_view/rendering.rb:30:in `process'
+actionpack (5.0.2) lib/action_controller/metal.rb:190:in `dispatch'
+actionpack (5.0.2) lib/action_controller/metal.rb:262:in `dispatch'
+actionpack (5.0.2) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+actionpack (5.0.2) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+actionpack (5.0.2) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+actionpack (5.0.2) lib/action_dispatch/journey/router.rb:26:in `each'
+actionpack (5.0.2) lib/action_dispatch/journey/router.rb:26:in `serve'
+actionpack (5.0.2) lib/action_dispatch/routing/route_set.rb:725:in `call'
+rack (2.0.1) lib/rack/etag.rb:25:in `call'
+rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+rack (2.0.1) lib/rack/head.rb:12:in `call'
+rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+activerecord (5.0.2) lib/active_record/migration.rb:553:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+activesupport (5.0.2) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+activesupport (5.0.2) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+activesupport (5.0.2) lib/active_support/callbacks.rb:90:in `run_callbacks'
+actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (3.0ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (62.1ms)
+Started GET "/tasks/1/edit" for ::1 at 2017-03-23 15:19:16 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 222ms (Views: 219.8ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2017-03-23 15:24:47 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (23.4ms)
+Completed 200 OK in 47ms (Views: 44.5ms | ActiveRecord: 0.1ms)
+
+
+Started PUT "/tasks/1" for ::1 at 2017-03-23 15:24:57 -0700
+
+ActionController::RoutingError (No route matches [PUT] "/tasks/1"):
+
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms)
+ Rendered collection of /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [5 times] (8.0ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.0ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (85.6ms)
+Started PUT "/tasks/1" for ::1 at 2017-03-23 15:27:13 -0700
+
+ActionController::RoutingError (No route matches [PUT] "/tasks/1"):
+
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
+ Rendered collection of /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [5 times] (1.7ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.0ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (75.9ms)
+Started PUT "/tasks/1" for ::1 at 2017-03-23 15:27:56 -0700
+
+ActionController::RoutingError (No route matches [PUT] "/tasks/1"):
+
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms)
+ Rendered collection of /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [6 times] (1.9ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.3ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (76.8ms)
+Started PUT "/tasks/1" for ::1 at 2017-03-23 15:28:21 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"voh55sYZBeOfpnpfvHPHD7GfrRp8pjzs3or0+1eytwkMLTfqy+bH1BWfDusVuzCpmPhsZpCedMCtcxdFH9wC2A==", "task"=>{"title"=>"Attend tech event", "priority"=>"high", "completion"=>"", "description"=>"Film screening about women in tech!"}, "commit"=>"Edit task", "id"=>"1"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "tasks" SET "completion" = ?, "description" = ?, "updated_at" = ? WHERE "tasks"."id" = ?[0m [["completion", ""], ["description", "Film screening about women in tech!"], ["updated_at", 2017-03-23 22:28:21 UTC], ["id", 1]]
+ [1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks/1
+Completed 302 Found in 16ms (ActiveRecord: 1.9ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-23 15:28:21 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 23ms (Views: 20.4ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-23 15:29:06 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 31ms (Views: 28.6ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-23 15:29:09 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.8ms)
+Completed 200 OK in 31ms (Views: 25.5ms | ActiveRecord: 1.8ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-23 15:30:54 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 39ms (Views: 36.0ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-23 15:30:56 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 43ms (Views: 40.1ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-23 15:31:25 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 25ms (Views: 23.8ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-23 15:39: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" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 45ms (Views: 42.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2017-03-23 15:39:23 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (6.0ms)
+Completed 200 OK in 50ms (Views: 45.0ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/tasks/1" for ::1 at 2017-03-23 15:39:26 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"RKGF+cC69B6lkdxQ5SZF2XMklVhzJro9gZgGUFs0Qnr9T8R5wie44u+RyR18Dbk+aT946wPfrkZ0cLXn3Psd/Q==", "task"=>{"title"=>"Attend tech event", "priority"=>"high", "completion"=>"", "description"=>"Film screening about women in tech!"}, "commit"=>"Edit task", "id"=>"1"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks/1
+Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-23 15:39:26 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 23ms (Views: 20.1ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-23 15:39:28 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 29ms (Views: 25.3ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/8" for ::1 at 2017-03-23 15:39:37 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"8"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 30ms (Views: 26.7ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/8/edit" for ::1 at 2017-03-23 15:39:39 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"8"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (5.7ms)
+Completed 200 OK in 32ms (Views: 27.4ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/tasks/8" for ::1 at 2017-03-23 15:39:42 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"p3ZwxOQbJpENc67edhSJCilFAczCNrFy4CdIhByeLJ9UTBdcNKjD2SD44am/nBQplV0Nt0PIAtN3MDWOIs3h9w==", "task"=>{"title"=>"Talk to Jackie", "priority"=>"High", "completion"=>"", "description"=>"Blah blah blah"}, "commit"=>"Edit task", "id"=>"8"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = ?, "updated_at" = ? WHERE "tasks"."id" = ?[0m [["completion", ""], ["updated_at", 2017-03-23 22:39:42 UTC], ["id", 8]]
+ [1m[35m (1.6ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks/8
+Completed 302 Found in 6ms (ActiveRecord: 2.1ms)
+
+
+Started GET "/tasks/8" for ::1 at 2017-03-23 15:39:42 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"8"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 25ms (Views: 22.4ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-23 15:39: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
+ Rendered tasks/index.html.erb within layouts/application (4.5ms)
+Completed 200 OK in 32ms (Views: 27.4ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-23 15:43:00 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 36ms (Views: 33.5ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks/1/edit" for ::1 at 2017-03-23 15:43:03 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/edit.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 32ms (Views: 27.0ms | ActiveRecord: 0.1ms)
+
+
+Started PUT "/tasks/1" for ::1 at 2017-03-23 15:43:07 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"gQBnhL8LuaFC8Dhy+qmT0n5wLb8wpJUsMgaIqJCZKqo47iYEvZb1XQjwLT9jgm81ZGvADEBdgVfH7jsfF1Z1LQ==", "task"=>{"title"=>"Attend tech event", "priority"=>"high", "completion"=>"", "description"=>"Film screening about women in tech!"}, "commit"=>"Edit task", "id"=>"1"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks/1
+Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-23 15:43:07 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 20ms (Views: 18.1ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-23 15:49:29 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (9.3ms)
+Completed 200 OK in 46ms (Views: 38.3ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-23 15:49: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" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (3.7ms)
+Completed 200 OK in 67ms (Views: 62.8ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-23 15:49:45 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.7ms)
+Completed 200 OK in 47ms (Views: 44.0ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/3" for ::1 at 2017-03-23 15:49:47 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 58ms (Views: 55.6ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-23 15:49:50 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 40ms (Views: 35.6ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks/7" for ::1 at 2017-03-23 15:49:52 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"7"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 34ms (Views: 31.2ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-23 15:49: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
+ Rendered tasks/index.html.erb within layouts/application (5.0ms)
+Completed 200 OK in 41ms (Views: 35.9ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-23 15:52:08 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 52ms (Views: 47.7ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-23 15:52:10 -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 (243.3ms)
+Completed 500 Internal Server Error in 254ms (ActiveRecord: 0.4ms)
+
+
+
+ActionView::Template::Error (undefined local variable or method `new_book_path' for #<#:0x007ffd457ee2b8>
+Did you mean? new_task_path):
+ 11: <% end %>
+ 12:
+ 13:
+ 14: <%= link_to "Add A New Book", new_book_path %>
+ 15:
+
+app/views/tasks/index.html.erb:14:in `_app_views_tasks_index_html_erb___163103305854066759_70362918289680'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (6.3ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (65.2ms)
+Started GET "/tasks" for ::1 at 2017-03-23 15:52:39 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 47ms (Views: 45.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-23 15:52: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" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 36ms (Views: 33.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-23 15:52: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 (3.0ms)
+Completed 200 OK in 53ms (Views: 48.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-23 15:52: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.3ms)
+Completed 200 OK in 41ms (Views: 39.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 12:59:03 -0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing 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 (14.4ms)
+Completed 200 OK in 249ms (Views: 232.8ms | ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-24 12:59: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" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (117.0ms)
+Completed 500 Internal Server Error in 132ms (ActiveRecord: 0.4ms)
+
+
+
+ActionView::Template::Error (undefined method `delete_task_path' for #<#:0x007f8842bd0a98>
+Did you mean? edit_task_path):
+ 9:
+ 10:
+ 11: <%= link_to "Edit", edit_task_path(@result_task.id) %>
+ 12: <%= link_to "Delete", delete_task_path(@result_task.id), data: { confirm: "Are you sure you want to delete this task?" }, method: :delete %>
+ 13: <%= link_to "Home", tasks_path %>
+
+app/views/tasks/show.html.erb:12:in `_app_views_tasks_show_html_erb__3741125407418669455_70111605983820'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (4.4ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (63.6ms)
+Started GET "/tasks" for ::1 at 2017-03-24 13:10:00 -0700
+Started GET "/tasks/" for ::1 at 2017-03-24 13:10:11 -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 (12.1ms)
+Completed 200 OK in 50ms (Views: 40.1ms | ActiveRecord: 1.0ms)
+
+
+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.4ms)
+Completed 200 OK in 37ms (Views: 30.5ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks/1" for ::1 at 2017-03-24 13:10:13 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (118.0ms)
+Completed 500 Internal Server Error in 132ms (ActiveRecord: 0.3ms)
+
+
+
+ActionView::Template::Error (undefined method `delete_task_path' for #<#:0x007f884539d878>
+Did you mean? edit_task_path):
+ 9:
+ 10:
+ 11: <%= link_to "Edit", edit_task_path(@result_task.id) %>
+ 12: <%= link_to "Delete", delete_task_path(@result_task.id), data: { confirm: "Are you sure you want to delete this task?" }, method: :delete %>
+ 13: <%= link_to "Home", tasks_path %>
+
+app/views/tasks/show.html.erb:12:in `_app_views_tasks_show_html_erb__3741125407418669455_70111626850620'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (4.8ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (59.2ms)
+Started GET "/tasks/1" for ::1 at 2017-03-24 13: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" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (99.3ms)
+Completed 500 Internal Server Error in 115ms (ActiveRecord: 0.9ms)
+
+
+
+ActionView::Template::Error (undefined method `delete_task_path' for #<#:0x007f88421f98d0>
+Did you mean? delete_book_path
+ edit_task_path):
+ 9:
+ 10:
+ 11: <%= link_to "Edit", edit_task_path(@result_task.id) %>
+ 12: <%= link_to "Delete", delete_task_path(@result_task.id), data: { confirm: "Are you sure you want to delete this task?" }, method: :delete %>
+ 13: <%= link_to "Home", tasks_path %>
+
+app/views/tasks/show.html.erb:12:in `_app_views_tasks_show_html_erb__3741125407418669455_70111600839660'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (5.1ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.8ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (79.7ms)
+Started GET "/tasks/1" for ::1 at 2017-03-24 13:13:19 -0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (6.6ms)
+Completed 200 OK in 233ms (Views: 211.3ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 13:13:24 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (5.1ms)
+Completed 200 OK in 31ms (Views: 28.4ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks/3" for ::1 at 2017-03-24 13:13:28 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 28ms (Views: 23.4ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/3" for ::1 at 2017-03-24 13:13:32 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"MqxRPdI0IMfDzpj85qgQ4Oaz7rnsiA2GfGo6PsGylQiACR8x38vi8En37EhPYOdGz9QvxQCwRaoPk9mAidwg2Q==", "id"=>"3"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 5ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 13:13:32 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 22ms (Views: 17.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/4" for ::1 at 2017-03-24 13:16:10 -0700
+Started GET "/tasks/4" for ::1 at 2017-03-24 13:16:20 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 43ms (Views: 20.8ms | ActiveRecord: 0.7ms)
+
+
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 31ms (Views: 18.0ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/tasks/4/edit" for ::1 at 2017-03-24 13:16:27 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (4.0ms)
+ Rendered tasks/edit.html.erb within layouts/application (27.7ms)
+Completed 500 Internal Server Error in 41ms (ActiveRecord: 0.2ms)
+
+
+
+ActionView::Template::Error (First argument in form cannot contain nil or be empty):
+ 1: <%= form_for @book do |f| %>
+ 2: <%= f.label :title %>
+ 3: <%= f.text_field :title %>
+ 4:
+
+app/views/tasks/_form.html.erb:1:in `_app_views_tasks__form_html_erb___2831017256027774511_70166003485000'
+app/views/tasks/edit.html.erb:19:in `_app_views_tasks_edit_html_erb__3725612220826870845_70166022936880'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (5.2ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (66.0ms)
+Started GET "/tasks/4/edit" for ::1 at 2017-03-24 13:17:07 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (4.5ms)
+ Rendered tasks/edit.html.erb within layouts/application (8.9ms)
+Completed 200 OK in 28ms (Views: 26.0ms | ActiveRecord: 0.1ms)
+
+
+Started PATCH "/tasks/4" for ::1 at 2017-03-24 13:17:10 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"GrD+XpcYeAsHTgQohYAdVvm3LFw4aBkIfEzo3ULmbkWoFbBSmue6PI13cJwsSOrw0NDtINRQUSQPtQtjCojblA==", "task"=>{"title"=>"Birthday Planning", "priority"=>"High", "completion"=>"", "description"=>"Figure what to do for Friday"}, "commit"=>"Update Task", "id"=>"4"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "tasks" SET "completion" = ?, "updated_at" = ? WHERE "tasks"."id" = ?[0m [["completion", ""], ["updated_at", 2017-03-24 20:17:10 UTC], ["id", 4]]
+ [1m[35m (1.8ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks/4
+Completed 302 Found in 7ms (ActiveRecord: 2.4ms)
+
+
+Started GET "/tasks/4" for ::1 at 2017-03-24 13:17:10 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 49ms (Views: 44.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/4/edit" for ::1 at 2017-03-24 13:17:12 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 4], ["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 (8.2ms)
+Completed 200 OK in 34ms (Views: 30.1ms | ActiveRecord: 0.1ms)
+
+
+Started PATCH "/tasks/4" for ::1 at 2017-03-24 13:17:15 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"k/txVu0QTBztcq4P8g9Po4Hi+wu/Qx8b566ZQGy+NcLe+7lSaQ/XbeSU6ikV2i3w3OVR8M/R8RQVYq81CQgHHA==", "task"=>{"title"=>"Birthday Planning", "priority"=>"High", "completion"=>"", "description"=>"Figure what to do for Friday"}, "commit"=>"Update Task", "id"=>"4"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks/4
+Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/4" for ::1 at 2017-03-24 13:17:15 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 29ms (Views: 26.3ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 13:17: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.7ms)
+Completed 200 OK in 39ms (Views: 35.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2017-03-24 13:17:20 -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 (10.2ms)
+Completed 200 OK in 36ms (Views: 33.6ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2017-03-24 13:18:09 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"B2aMt1shJC4H+WwUnEV96i/jXwwu4C/jORbfcHdrpXyG7cEcYqfXT7sUT+k3MIa5jaMx0qoFrcWO/iMmlrXMsw==", "task"=>{"title"=>"Karaoke", "priority"=>"High", "completion"=>"", "description"=>"Call Rock Box to figure out if reservation is needed"}, "commit"=>"Create Task"}
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "tasks" ("title", "priority", "description", "completion", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Karaoke"], ["priority", "High"], ["description", "Call Rock Box to figure out if reservation is needed"], ["completion", ""], ["created_at", 2017-03-24 20:18:09 UTC], ["updated_at", 2017-03-24 20:18:09 UTC]]
+ [1m[35m (3.6ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 12ms (ActiveRecord: 4.4ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 13:18:09 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 31ms (Views: 29.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/4" for ::1 at 2017-03-24 13:18:12 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 34ms (Views: 30.2ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/4" for ::1 at 2017-03-24 13:18:16 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"nhfs92ZEBVRlh6xLpxR9e6t2M4SPuDxvUlZTTpoGbRIssqL7a7vHY+++2P8O3IrdghHy+GOAdEMhr7Dw0mjYww==", "id"=>"4"}
+ [1m[36mTask Load (0.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (1.1ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = ?[0m [["id", 4]]
+ [1m[35m (1.6ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 15ms (ActiveRecord: 3.8ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 13:18: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.8ms)
+Completed 200 OK in 28ms (Views: 25.3ms | ActiveRecord: 0.2ms)
+
+
+ [1m[36mTask Load (1.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to DeletePriorityColumnFromModel (20170324212700)
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.3ms)[0m [1m[35mCREATE TEMPORARY TABLE "atasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "priority" varchar, "description" varchar, "completion" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35m (0.2ms)[0m [1m[32mINSERT INTO "atasks" ("id","title","priority","description","completion","created_at","updated_at")
+ SELECT "id","title","priority","description","completion","created_at","updated_at" FROM "tasks"[0m
+ [1m[35m (0.7ms)[0m [1m[35mDROP TABLE "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" varchar, "completion" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35m (0.1ms)[0m [1m[32mINSERT INTO "tasks" ("id","title","description","completion","created_at","updated_at")
+ SELECT "id","title","description","completion","created_at","updated_at" FROM "atasks"[0m
+ [1m[35m (0.1ms)[0m [1m[35mDROP TABLE "atasks"[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170324212700"]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
+ [1m[36mTask Load (1.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to ChangeCompletionColumnFromStringToDate (20170324213336)
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.4ms)[0m [1m[35mCREATE TEMPORARY TABLE "atasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" varchar, "completion" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35m (0.1ms)[0m [1m[32mINSERT INTO "atasks" ("id","title","description","completion","created_at","updated_at")
+ SELECT "id","title","description","completion","created_at","updated_at" FROM "tasks"[0m
+ [1m[35m (0.4ms)[0m [1m[35mDROP TABLE "tasks"[0m
+ [1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" varchar, "completion" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35m (0.1ms)[0m [1m[32mINSERT INTO "tasks" ("id","title","description","completion","created_at","updated_at")
+ SELECT "id","title","description","completion","created_at","updated_at" FROM "atasks"[0m
+ [1m[35m (0.1ms)[0m [1m[35mDROP TABLE "atasks"[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170324213336"]]
+ [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36mTask Load (1.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks/new" for ::1 at 2017-03-24 14:35:19 -0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (11.3ms)
+Completed 500 Internal Server Error in 32ms (ActiveRecord: 0.5ms)
+
+
+
+ActionView::Template::Error (undefined method `priority' for #):
+ 26: <%= f.text_field :title %>
+ 27:
+ 28: <%= f.label :priority %>
+ 29: <%= f.text_field :priority %>
+ 30:
+ 31: <%= f.label :completion %>
+ 32: <%= f.date_field :completion %>
+
+app/views/tasks/new.html.erb:29:in `block in _app_views_tasks_new_html_erb___857333074925786525_70166025865580'
+app/views/tasks/new.html.erb:24:in `_app_views_tasks_new_html_erb___857333074925786525_70166025865580'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (5.4ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (66.4ms)
+Started GET "/" for ::1 at 2017-03-24 14:37:07 -0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing 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 (7.3ms)
+Completed 200 OK in 43ms (Views: 34.2ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/new" for ::1 at 2017-03-24 14:37:10 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/new.html.erb within layouts/application (12.3ms)
+Completed 500 Internal Server Error in 22ms (ActiveRecord: 0.0ms)
+
+
+
+ActionView::Template::Error (undefined method `priority' for #):
+ 26: <%= f.text_field :title %>
+ 27:
+ 28: <%= f.label :priority %>
+ 29: <%= f.text_field :priority %>
+ 30:
+ 31: <%= f.label :completion %>
+ 32: <%= f.date_field :completion %>
+
+app/views/tasks/new.html.erb:29:in `block in _app_views_tasks_new_html_erb___857333074925786525_70166023558180'
+app/views/tasks/new.html.erb:24:in `_app_views_tasks_new_html_erb___857333074925786525_70166023558180'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (4.7ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (59.9ms)
+Started GET "/" for ::1 at 2017-03-24 14:38:10 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 20ms (Views: 18.5ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2017-03-24 14:38:13 -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 (8.7ms)
+Completed 200 OK in 35ms (Views: 32.2ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2017-03-24 14:38:31 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"i9CH/6JyhxZ0cJEdplm3dUxIJ8UcOIrYolAmnhtXa5YKW8pUm/R0d8idsuANLEwm7ghJG5jdCP4VuNrI+okCWQ==", "task"=>{"title"=>"Finish Tasks", "completion"=>"", "description"=>"Trying to understand this!!!!!!!"}, "commit"=>"Create Task"}
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Finish Tasks"], ["description", "Trying to understand this!!!!!!!"], ["created_at", 2017-03-24 21:38:31 UTC], ["updated_at", 2017-03-24 21:38:31 UTC]]
+ [1m[35m (1.7ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 11ms (ActiveRecord: 2.3ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 14:38: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 25ms (Views: 21.7ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/10" for ::1 at 2017-03-24 14:38:33 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 41ms (Views: 35.5ms | ActiveRecord: 0.4ms)
+
+
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks" for ::1 at 2017-03-24 14:38:51 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 48ms (Views: 44.2ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2017-03-24 14:38:53 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (3.7ms)
+ Rendered tasks/new.html.erb within layouts/application (10.4ms)
+Completed 200 OK in 42ms (Views: 37.0ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2017-03-24 14:39:06 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"v8C4VyFnyMW6rHByvefthO3NjfTF3wFaGXNVQ/M4GvA+S/X8GOE7pAZBU48WkhbXT43jKkE6g3yum6kVEuZzPw==", "task"=>{"title"=>"Lunch", "completion"=>"2017-03-24", "description"=>"Ate lunch"}, "commit"=>"Create Task"}
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Lunch"], ["description", "Ate lunch"], ["completion", Fri, 24 Mar 2017], ["created_at", 2017-03-24 21:39:06 UTC], ["updated_at", 2017-03-24 21:39:06 UTC]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 5ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 14:39:06 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 26ms (Views: 23.1ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/11" for ::1 at 2017-03-24 14:39:09 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"11"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 11], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 31ms (Views: 26.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 14:39:15 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 39ms (Views: 35.4ms | ActiveRecord: 0.7ms)
+
+
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 11], ["LIMIT", 1]]
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 11], ["LIMIT", 1]]
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 11], ["LIMIT", 1]]
+Started GET "/tasks/1" for ::1 at 2017-03-24 14:42: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" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 34ms (Views: 30.6ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/1" for ::1 at 2017-03-24 14:42:56 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"g9tQZQOYV67tTsB9ZI+KP1r5x1PEUCuSxLCRWXn3xmwxfh5pDmeVmWd3tMnNR32Zc54GLyhoY763SXLnMZlzvQ==", "id"=>"1"}
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (2.4ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = ?[0m [["id", 1]]
+ [1m[35m (2.8ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 17ms (ActiveRecord: 6.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 14:42:56 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.1ms)
+Completed 200 OK in 24ms (Views: 20.8ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/2" for ::1 at 2017-03-24 14:43:00 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (4.0ms)
+Completed 200 OK in 30ms (Views: 25.0ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/2" for ::1 at 2017-03-24 14:43:04 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"Jw84rxDSQ4g1SJ/tw3YLQXW21muwD1IKHenFIKV65ZyVqnajHS2Bv79x61lqvvznXNEXF1w3GiZuECae7RRQTQ==", "id"=>"2"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = ?[0m [["id", 2]]
+ [1m[35m (1.7ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 8ms (ActiveRecord: 2.5ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 14:43: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.7ms)
+Completed 200 OK in 22ms (Views: 18.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/5" for ::1 at 2017-03-24 14:43:07 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"5"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 28ms (Views: 24.2ms | ActiveRecord: 0.1ms)
+
+
+Started DELETE "/tasks/5" for ::1 at 2017-03-24 14:43:09 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"lFk0t0GTWACn1ih6H5AUQqStR5yfjvxwfVrlSlXvUnom/Hq7TGyaNy3vXM62WOPkjcqG4HO2tFwOowb0HYHnqw==", "id"=>"5"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = ?[0m [["id", 5]]
+ [1m[35m (1.9ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 6ms (ActiveRecord: 2.5ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 14:43: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
+ Rendered tasks/index.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 24ms (Views: 20.4ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/6" for ::1 at 2017-03-24 14:43:13 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 39ms (Views: 34.6ms | ActiveRecord: 0.1ms)
+
+
+Started DELETE "/tasks/6" for ::1 at 2017-03-24 14:43:16 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"3vwSfoImP5EYXVWhDhYBxpmzEQsPy8mRotRay5xhbI1sWVxyj9n9ppJkIRWn3vZgsNTQd+Pzgb3RLbl11A/ZXA==", "id"=>"6"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = ?[0m [["id", 6]]
+ [1m[35m (1.5ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 5ms (ActiveRecord: 2.0ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 14:43:16 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.9ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.8ms)
+Completed 200 OK in 27ms (Views: 23.9ms | ActiveRecord: 0.9ms)
+
+
+Started GET "/tasks/7" for ::1 at 2017-03-24 14:43:19 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"7"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 30ms (Views: 27.7ms | ActiveRecord: 0.1ms)
+
+
+Started DELETE "/tasks/7" for ::1 at 2017-03-24 14:43:22 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"/+XkpyC8ovRrnQMDiejYJ/0y/ay+/bLK0LQ2obVknkFNQKqrLUNgw+Gkd7cgIC+B1FU80FLF+uajTdUf/QorkA==", "id"=>"7"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = ?[0m [["id", 7]]
+ [1m[35m (1.8ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 7ms (ActiveRecord: 2.5ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 14:43: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 (2.3ms)
+Completed 200 OK in 26ms (Views: 22.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/8" for ::1 at 2017-03-24 14:43:24 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"8"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 32ms (Views: 27.9ms | ActiveRecord: 0.1ms)
+
+
+Started DELETE "/tasks/8" for ::1 at 2017-03-24 14:43:26 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"PtVVzDBr2RkTtOuV60JLUjY5qExQ/ZacMQPKwlG/Iz2McBvAPZQbLpmNnyFCirz0H15pMLzF3rBC+il8GdGW7A==", "id"=>"8"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = ?[0m [["id", 8]]
+ [1m[35m (2.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 9ms (ActiveRecord: 2.7ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 14:43:27 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 22ms (Views: 20.0ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks/9" for ::1 at 2017-03-24 14:43:29 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 35ms (Views: 30.8ms | ActiveRecord: 0.1ms)
+
+
+Started DELETE "/tasks/9" for ::1 at 2017-03-24 14:43:32 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"nr7OYtRm0u2p5KmoXE+gdnLHX+EVEWipb/Lk45ZIogQsG4Bu2ZkQ2iPd3Rz1h1fQW6CenfkpIIUcCwdd3iYX1Q==", "id"=>"9"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = ?[0m [["id", 9]]
+ [1m[35m (2.0ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 7ms (ActiveRecord: 2.8ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 14:43:32 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 22ms (Views: 19.5ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks/10" for ::1 at 2017-03-24 14:43:35 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 31ms (Views: 28.4ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/10" for ::1 at 2017-03-24 14:43:38 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"A6ABfOvvnQAFJ4GP2qeZytsdxtsqjLSK2ynGInVRBkaxBU9w5hBfN48e9Ttzb25s8noHp8a0/Kao0CWcPT+zlw==", "id"=>"10"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (1.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = ?[0m [["id", 10]]
+ [1m[35m (1.8ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 8ms (ActiveRecord: 3.4ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 14:43:38 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 27ms (Views: 22.7ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks/11" for ::1 at 2017-03-24 14:43:40 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"11"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 11], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 37ms (Views: 33.7ms | ActiveRecord: 0.1ms)
+
+
+Started DELETE "/tasks/11" for ::1 at 2017-03-24 14:43:43 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"QWFr0zR8aZcZlmVfeUW1QHV4jMNdjlptQXwbmD52umPzxCXfOYOroJOvEevQjULmXB9Nv7G2EkEyhfgmdhgPsg==", "id"=>"11"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 11], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (2.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = ?[0m [["id", 11]]
+ [1m[35m (1.8ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 11ms (ActiveRecord: 4.7ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 14:43: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.3ms)
+Completed 200 OK in 21ms (Views: 19.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2017-03-24 14:43:46 -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 (9.5ms)
+Completed 200 OK in 35ms (Views: 32.7ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2017-03-24 14:44:49 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"zRzjUfbv745ZFBXo8RXRBm3wvdsPLA4ReSMskNmKNQtMl676z2kc7+X5NhVaYCpVz7DTBYvJjDfOy9DGOFRcxA==", "task"=>{"title"=>"Re-pot plants", "completion"=>"", "description"=>"Plants need bigger pots; potting soil and containers are all set."}, "commit"=>"Create Task"}
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Re-pot plants"], ["description", "Plants need bigger pots; potting soil and containers are all set."], ["created_at", 2017-03-24 21:44:49 UTC], ["updated_at", 2017-03-24 21:44:49 UTC]]
+ [1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 14:44: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.4ms)
+Completed 200 OK in 25ms (Views: 22.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2017-03-24 14:44:52 -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 (7.9ms)
+Completed 200 OK in 35ms (Views: 30.8ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2017-03-24 14:45:03 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"u66l3WuGMRx6hOCakBjX73L/uwbaIuDrNTGi002o3h06Jeh2UgDCfcZpw2c7bSy80L/V2F7HYs2C2V6FrHa30g==", "task"=>{"title"=>"Clean", "completion"=>"", "description"=>"Clean everything!"}, "commit"=>"Create Task"}
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Clean"], ["description", "Clean everything!"], ["created_at", 2017-03-24 21:45:03 UTC], ["updated_at", 2017-03-24 21:45:03 UTC]]
+ [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 14:45: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
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 30ms (Views: 27.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/12" for ::1 at 2017-03-24 14:45:06 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 32ms (Views: 27.7ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 14:45:12 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 48ms (Views: 44.7ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2017-03-24 14:45:13 -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 (6.2ms)
+Completed 200 OK in 39ms (Views: 34.7ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2017-03-24 14:45:27 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"JhTSYpFY5MXevRjMv/0WMds5mNY+YGLwEfvZ2aEuDWinn5/JqN4XpGJQOzEUiO1ieXn2CLqF4NamEyWPQPBkpw==", "task"=>{"title"=>"Make food", "completion"=>"", "description"=>"Potluck at 4 pm"}, "commit"=>"Create Task"}
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Make food"], ["description", "Potluck at 4 pm"], ["created_at", 2017-03-24 21:45:27 UTC], ["updated_at", 2017-03-24 21:45:27 UTC]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 14:45: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
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 27ms (Views: 24.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/14" for ::1 at 2017-03-24 14:45:30 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"14"}
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 14], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 29ms (Views: 25.0ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks/14/edit" for ::1 at 2017-03-24 14:45:31 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"14"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 14], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.3ms)
+ Rendered tasks/edit.html.erb within layouts/application (10.7ms)
+Completed 200 OK in 32ms (Views: 28.6ms | ActiveRecord: 0.1ms)
+
+
+Started PATCH "/tasks/14" for ::1 at 2017-03-24 14:45:41 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"5XQj2yAaTYNAY1Jjh0zspr1fOpLXSTBb9FLOnIqPeNYwePSft7oNOkeSwhV9kxwmCDXO7fU5mw6YALumD2X0Yw==", "task"=>{"title"=>"Make food", "completion"=>"", "description"=>"Potluck at 4 pm; need container for potstickers"}, "commit"=>"Update Task", "id"=>"14"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 14], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "tasks" SET "description" = ?, "updated_at" = ? WHERE "tasks"."id" = ?[0m [["description", "Potluck at 4 pm; need container for potstickers"], ["updated_at", 2017-03-24 21:45:42 UTC], ["id", 14]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks/14
+Completed 302 Found in 5ms (ActiveRecord: 1.1ms)
+
+
+Started GET "/tasks/14" for ::1 at 2017-03-24 14:45:42 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"14"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 14], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 31ms (Views: 27.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 14:45:44 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.1ms)
+Completed 200 OK in 29ms (Views: 25.3ms | ActiveRecord: 0.2ms)
+
+
+ [1m[36mTask Load (1.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks/12" for ::1 at 2017-03-24 14:46:38 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 29ms (Views: 24.4ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 14:47: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 43ms (Views: 40.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/12" for ::1 at 2017-03-24 14:47:26 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 46ms (Views: 43.3ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 14:47:39 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 46ms (Views: 43.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/12" for ::1 at 2017-03-24 14:47:41 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 42ms (Views: 37.7ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 14:48:12 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 48ms (Views: 45.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/12" for ::1 at 2017-03-24 14:48:14 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 36ms (Views: 31.8ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/12/edit" for ::1 at 2017-03-24 14:48:20 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.3ms)
+ Rendered tasks/edit.html.erb within layouts/application (9.8ms)
+Completed 200 OK in 36ms (Views: 30.9ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 14:48:25 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 20ms (Views: 17.0ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/" for ::1 at 2017-03-24 14:48:26 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 26ms (Views: 22.9ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/13" for ::1 at 2017-03-24 14:48:35 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"13"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 13], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (4.0ms)
+Completed 200 OK in 31ms (Views: 25.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 14:48: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 (3.1ms)
+Completed 200 OK in 36ms (Views: 30.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 15:06:50 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.1ms)
+Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.1ms)
+
+
+
+ActionView::Template::Error (undefined method `id' for nil:NilClass):
+ 7: <% @tasks.each do |task| %>
+ 8:
+ 9: <%= link_to task.title, task_path(task.id) %>
+ 10: <%= link_to "Mark as Complete", edit_task_path(@result_task.id), data: { confirm: "Are you sure you want to complete this task?" }, method: :patch %>
+ 11:
+ 12: <% end %>
+ 13:
+
+app/views/tasks/index.html.erb:10:in `block in _app_views_tasks_index_html_erb___888821719843842534_70166023325120'
+app/views/tasks/index.html.erb:7:in `_app_views_tasks_index_html_erb___888821719843842534_70166023325120'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (4.8ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (65.9ms)
+Started GET "/tasks" for ::1 at 2017-03-24 15:07: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.2ms)
+Completed 200 OK in 22ms (Views: 20.2ms | ActiveRecord: 0.2ms)
+
+
+Started PATCH "/tasks/12/edit" for ::1 at 2017-03-24 15:08:07 -0700
+
+ActionController::RoutingError (No route matches [PATCH] "/tasks/12/edit"):
+
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
+ Rendered collection of /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [8 times] (8.5ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.7ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (88.4ms)
+Started GET "/tasks/12/" for ::1 at 2017-03-24 15:16:50 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 36ms (Views: 22.7ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 15:16: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 (4.5ms)
+Completed 200 OK in 32ms (Views: 29.7ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/12/edit" for ::1 at 2017-03-24 15:16:59 -0700
+
+ActionController::RoutingError (No route matches [PATCH] "/tasks/12/edit"):
+
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
+ Rendered collection of /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [9 times] (2.8ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.1ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (83.1ms)
+Started GET "/tasks/" for ::1 at 2017-03-24 15:17:32 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 23ms (Views: 20.8ms | ActiveRecord: 0.1ms)
+
+
+Started PATCH "/tasks/12/complete" for ::1 at 2017-03-24 15:17:39 -0700
+Processing by TasksController#completed as HTML
+ Parameters: {"authenticity_token"=>"doI6X5djAp9RhhBZXJDFbZchUdfpJUOELJMRc9vS2xvEJ3RTmpzAqNu/ZO31WDLLvkaQqwUdC6hfavLNk7xuyg==", "id"=>"12"}
+Completed 500 Internal Server Error in 144ms (ActiveRecord: 0.0ms)
+
+
+
+NameError (undefined local variable or method `time' for #
+Did you mean? timeout):
+
+app/controllers/tasks_controller.rb:76:in `completed'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (7.3ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (138.1ms)
+ [1m[36mTask Load (1.6ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/" for ::1 at 2017-03-24 15:25: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 (5.9ms)
+Completed 200 OK in 27ms (Views: 21.9ms | ActiveRecord: 0.6ms)
+
+
+Started PATCH "/tasks/12/complete" for ::1 at 2017-03-24 15:25:08 -0700
+Processing by TasksController#completed as HTML
+ Parameters: {"authenticity_token"=>"E4GKKNwZ0zI++pXZyiHyU48TRA2CUeYpCKpUk6fDzl2hJMQk0eYRBbTD4W1j6QX1pnSFcW5prgV7U7ct7617jA==", "id"=>"12"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (1.6ms)[0m [1m[33mUPDATE "tasks" SET "completion" = ?, "updated_at" = ? WHERE "tasks"."id" = ?[0m [["completion", Fri, 24 Mar 2017], ["updated_at", 2017-03-24 22:25:08 UTC], ["id", 12]]
+ [1m[35m (2.8ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks/12
+Completed 302 Found in 16ms (ActiveRecord: 4.8ms)
+
+
+Started GET "/tasks/12" for ::1 at 2017-03-24 15:25:08 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 26ms (Views: 22.2ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 15:25: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 (3.1ms)
+Completed 200 OK in 34ms (Views: 31.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/13" for ::1 at 2017-03-24 15:25:25 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"13"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 13], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 33ms (Views: 29.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 15:25:28 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.6ms)
+Completed 200 OK in 53ms (Views: 50.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/12" for ::1 at 2017-03-24 15:32:26 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 42ms (Views: 38.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 15:32: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 (3.9ms)
+Completed 200 OK in 49ms (Views: 44.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 15:34:46 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 29ms (Views: 27.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 15:34: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 (2.2ms)
+Completed 200 OK in 27ms (Views: 24.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/12" for ::1 at 2017-03-24 15:35:02 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 31ms (Views: 26.3ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 15:35: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 (3.9ms)
+Completed 200 OK in 52ms (Views: 49.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/books/1" for ::1 at 2017-03-24 15:36:05 -0700
+
+ActionController::RoutingError (No route matches [GET] "/books/1"):
+
+actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
+web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
+web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
+web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
+activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
+railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
+sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
+actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
+rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+railties (5.0.2) lib/rails/engine.rb:522:in `call'
+puma (3.8.2) lib/puma/configuration.rb:224:in `call'
+puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
+puma (3.8.2) lib/puma/server.rb:435:in `process_client'
+puma (3.8.2) lib/puma/server.rb:299:in `block in run'
+puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
+ Rendered collection of /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [9 times] (2.3ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.8ms)
+ Rendering /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
+ Rendered /Users/jou-jousun/.rvm/gems/ruby-2.4.0@TaskListRails/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (83.8ms)
+Started GET "/tasks/12" for ::1 at 2017-03-24 15:39:42 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 45ms (Views: 39.0ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks/12/edit" for ::1 at 2017-03-24 15:39:44 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (2.4ms)
+ Rendered tasks/edit.html.erb within layouts/application (11.1ms)
+Completed 200 OK in 35ms (Views: 30.0ms | ActiveRecord: 0.1ms)
+
+
+Started PATCH "/tasks/12" for ::1 at 2017-03-24 15:39:58 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"tqvwCrolcFwltOF8v8ejLFETD73Ib72gupVnE6F/yfrn4pmPzWQRSME+FrUvGvQ7yO9GKpHfurWt92+9SrcdTA==", "task"=>{"title"=>"Re-pot plants", "completion"=>"", "description"=>"Plants need bigger pots; potting soil and containers are all set."}, "commit"=>"Update Task", "id"=>"12"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "tasks" SET "completion" = ?, "updated_at" = ? WHERE "tasks"."id" = ?[0m [["completion", nil], ["updated_at", 2017-03-24 22:39:58 UTC], ["id", 12]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks/12
+Completed 302 Found in 5ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/tasks/12" for ::1 at 2017-03-24 15:39:58 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 28ms (Views: 23.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 15:40: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 (6.0ms)
+Completed 200 OK in 33ms (Views: 28.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 15:41:24 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 45ms (Views: 42.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 15:41:56 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 23ms (Views: 21.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-24 15:42: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.8ms)
+Completed 200 OK in 24ms (Views: 22.2ms | ActiveRecord: 0.2ms)
+
+
From 199910283b25182390f4e2ee3c747f7d9d193be4 Mon Sep 17 00:00:00 2001
From: jjousun
Date: Sun, 26 Mar 2017 21:43:59 -0700
Subject: [PATCH 7/9] Finished adding a completion button which will update the
tasks with a date if clicked, did some minor styling
---
app/assets/stylesheets/application.css | 25 +-
app/views/tasks/index.html.erb | 2 +-
db/development.sqlite3 | Bin 28672 -> 28672 bytes
log/development.log | 323 +++++++++++++++++++++++++
4 files changed, 346 insertions(+), 4 deletions(-)
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css
index 3ccddb709..f575640cb 100644
--- a/app/assets/stylesheets/application.css
+++ b/app/assets/stylesheets/application.css
@@ -13,9 +13,28 @@
*= require_tree .
*= require_self
*/
-
+@import url('https://fonts.googleapis.com/css?family=Megrim');
body {
- font-family: Helvetica, cursive;
- color: blue;
+ font-family: 'Megrim', cursive;
+ color: royalblue;
+}
+
+a {
+ text-decoration: none;
+ color: royalblue
+}
+
+a:hover {
+ color: gold;
+}
+
+.complete_button {
+ color: lightseagreen;
+ border: solid black 0.5px;
+ border-radius: 4px;
+}
+
+.complete_button:hover {
+ color: yellowgreen;
}
diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb
index 9934648dc..88e98dd96 100644
--- a/app/views/tasks/index.html.erb
+++ b/app/views/tasks/index.html.erb
@@ -8,7 +8,7 @@
<%= link_to task.title, task_path(task.id) %>
<% if task.completion == nil %>
- <%= link_to "Mark as Complete", complete_task_path(task.id), data: { confirm: "Are you sure you want to complete this task?" }, method: :patch %>
+ <%= link_to "Mark as Complete", complete_task_path(task.id), data: { confirm: "Are you sure you want to complete this task?" }, method: :patch, class: "complete_button" %>
<% end %>
<% end %>
diff --git a/db/development.sqlite3 b/db/development.sqlite3
index 4aee24015f0c44cba62b02cb4c840faf2c522eed..dca12d8201a447fa21ab1eda2af4d1bbdeccd6a5 100644
GIT binary patch
delta 69
zcmZp8z}WDBae_3X)F$e9p}Ob
V5jM88GPTe%H8wCcG+mS+006aq5=a05
diff --git a/log/development.log b/log/development.log
index cb1eae6cc..71b1d119f 100644
--- a/log/development.log
+++ b/log/development.log
@@ -4166,3 +4166,326 @@ Processing by TasksController#index as HTML
Completed 200 OK in 24ms (Views: 22.2ms | ActiveRecord: 0.2ms)
+Started GET "/tasks" for ::1 at 2017-03-26 12:00:19 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (10.3ms)
+Completed 200 OK in 64ms (Views: 56.4ms | ActiveRecord: 1.7ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-26 12:01:00 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 35ms (Views: 33.3ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-26 12:01: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 (3.5ms)
+Completed 200 OK in 27ms (Views: 25.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-26 12:01: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.6ms)
+Completed 200 OK in 27ms (Views: 25.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-26 12:03: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.1ms)
+Completed 200 OK in 36ms (Views: 33.8ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-26 12:03:56 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (1.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (7.7ms)
+Completed 200 OK in 48ms (Views: 45.6ms | ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks/12" for ::1 at 2017-03-26 12:45:41 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.5ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 38ms (Views: 32.3ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-26 12:45:47 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (4.7ms)
+Completed 200 OK in 39ms (Views: 33.2ms | ActiveRecord: 0.3ms)
+
+
+Started PATCH "/tasks/12/complete" for ::1 at 2017-03-26 12:45:54 -0700
+Processing by TasksController#completed as HTML
+ Parameters: {"authenticity_token"=>"3zDsTvq7LqiKBJ9elHz+1lqXn+V1TN6hGP8Ozeo3xr9jgnAcgJr2Rn+ps6T6zOuLaeMU+ksyXqVeI3tMxlXBww==", "id"=>"12"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.9ms)[0m [1m[33mUPDATE "tasks" SET "completion" = ?, "updated_at" = ? WHERE "tasks"."id" = ?[0m [["completion", Sun, 26 Mar 2017], ["updated_at", 2017-03-26 19:45:54 UTC], ["id", 12]]
+ [1m[35m (1.4ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks/12
+Completed 302 Found in 19ms (ActiveRecord: 2.7ms)
+
+
+Started GET "/tasks/12" for ::1 at 2017-03-26 12:45:54 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 26ms (Views: 23.8ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-26 12:45:58 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 48ms (Views: 44.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/12" for ::1 at 2017-03-26 12:46:00 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 30ms (Views: 25.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/12/edit" for ::1 at 2017-03-26 12:46:01 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["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 (10.3ms)
+Completed 200 OK in 31ms (Views: 27.0ms | ActiveRecord: 0.1ms)
+
+
+Started PATCH "/tasks/12" for ::1 at 2017-03-26 12:46:06 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"kCXY6kKon62os/bU0Zo9ZbzbjscXHLGiVC6OyswwRxM5a8QvmXDIwBguxuP5dDbaQUMHywGs6v6U0Z8SF2uxjA==", "task"=>{"title"=>"Re-pot plants", "completion"=>"", "description"=>"Plants need bigger pots; potting soil and containers are all set."}, "commit"=>"Update Task", "id"=>"12"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "tasks" SET "completion" = ?, "updated_at" = ? WHERE "tasks"."id" = ?[0m [["completion", nil], ["updated_at", 2017-03-26 19:46:06 UTC], ["id", 12]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks/12
+Completed 302 Found in 5ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/tasks/12" for ::1 at 2017-03-26 12:46:06 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 29ms (Views: 23.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-26 12:46:08 -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
+ Rendered tasks/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 27ms (Views: 22.0ms | ActiveRecord: 1.5ms)
+
+
+ [1m[36mTask Load (1.7ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started PATCH "/tasks/12/complete" for ::1 at 2017-03-26 21:10:51 -0700
+Processing by TasksController#completed as HTML
+ Parameters: {"authenticity_token"=>"GCAusXVq6Oyc1WUDcEnEd2W9Ruco5PGhOlQVZJTeW8qkkrLjD0swAml4Sfke+dEqVsnN+BaacaV8iGDluLxctg==", "id"=>"12"}
+ [1m[36mTask Load (0.8ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ [1m[35m (47.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "tasks" SET "completion" = ?, "updated_at" = ? WHERE "tasks"."id" = ?[0m [["completion", Sun, 26 Mar 2017], ["updated_at", 2017-03-27 04:10:51 UTC], ["id", 12]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks/12
+Completed 302 Found in 70ms (ActiveRecord: 49.2ms)
+
+
+Started GET "/tasks/12" for ::1 at 2017-03-26 21:10:51 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (4.6ms)
+Completed 200 OK in 49ms (Views: 45.2ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-26 21:10:58 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 32ms (Views: 28.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/13" for ::1 at 2017-03-26 21:11:03 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"13"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 13], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 28ms (Views: 25.7ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-26 21:11:07 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.3ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (5.9ms)
+Completed 200 OK in 36ms (Views: 31.7ms | ActiveRecord: 0.3ms)
+
+
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/tasks/12" for ::1 at 2017-03-26 21:11:34 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 35ms (Views: 30.2ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks/12/edit" for ::1 at 2017-03-26 21:11:37 -0700
+Processing by TasksController#edit as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ Rendering tasks/edit.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (3.2ms)
+ Rendered tasks/edit.html.erb within layouts/application (11.0ms)
+Completed 200 OK in 42ms (Views: 37.1ms | ActiveRecord: 0.1ms)
+
+
+Started PATCH "/tasks/12" for ::1 at 2017-03-26 21:11:40 -0700
+Processing by TasksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"VYsGNL5mQFSdjtUVZmGk5zh3B3b3UuQucX+ON6OtLsH8xRrxZb4XOS0T5SJOj69Yxe+OeuHiv3KxgJ/vePbYXg==", "task"=>{"title"=>"Re-pot plants", "completion"=>"", "description"=>"Plants need bigger pots; potting soil and containers are all set."}, "commit"=>"Update Task", "id"=>"12"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "tasks" SET "completion" = ?, "updated_at" = ? WHERE "tasks"."id" = ?[0m [["completion", nil], ["updated_at", 2017-03-27 04:11:40 UTC], ["id", 12]]
+ [1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks/12
+Completed 302 Found in 12ms (ActiveRecord: 5.5ms)
+
+
+Started GET "/tasks/12" for ::1 at 2017-03-26 21:11:40 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 21ms (Views: 19.1ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-26 21:11:43 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 26ms (Views: 24.0ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-26 21:38:06 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 32ms (Views: 30.3ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-26 21:38:47 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 28ms (Views: 25.9ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-26 21:39:12 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 33ms (Views: 31.8ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-26 21:39:51 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 28ms (Views: 26.1ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-26 21:40:04 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 27ms (Views: 25.2ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-26 21:40: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 (3.1ms)
+Completed 200 OK in 29ms (Views: 27.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-26 21:40: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.1ms)
+Completed 200 OK in 28ms (Views: 26.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-26 21:40: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 (8.3ms)
+Completed 200 OK in 30ms (Views: 28.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-26 21:40:58 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 29ms (Views: 27.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/12" for ::1 at 2017-03-26 21:42:06 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 28ms (Views: 23.9ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-03-26 21:42:18 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 36ms (Views: 33.6ms | ActiveRecord: 0.2ms)
+
+
From 52a35f9d97098d2d7f4028a17801eef139ecc941 Mon Sep 17 00:00:00 2001
From: jjousun
Date: Wed, 5 Apr 2017 14:17:01 -0700
Subject: [PATCH 8/9] Changed Readme to try out git branch merging
---
README.md | 2 +
db/development.sqlite3 | Bin 28672 -> 28672 bytes
log/development.log | 232 +++++++++++++++++++++++++++++++++++++++++
3 files changed, 234 insertions(+)
diff --git a/README.md b/README.md
index 399dc287c..a1104e57d 100644
--- a/README.md
+++ b/README.md
@@ -71,3 +71,5 @@ In this wave, we will add the ability to delete tasks. We will also add the abil
- Add a button to the list of tasks on the home page that, when clicked, will mark a task complete
- Update the database with the task's completed date
-->
+
+
diff --git a/db/development.sqlite3 b/db/development.sqlite3
index dca12d8201a447fa21ab1eda2af4d1bbdeccd6a5..66e91e79d67ceb5e9b4dc50f458b4238f5ff2c4c 100644
GIT binary patch
delta 241
zcmZp8z}WDBae_3X;Y1l{Rzn6oR)>u#3;e}c_(B-?i}@A!R`Z4M{^ALNz>SU1xi>S$
z{A8?;5MpOgmQ{3gOes!FEKW%)PE1RI&?#v~28QOk1}3@&W^k6Vf{~$>iK&%|p`M|k
zp@}ITnNUG?25n^qN5|}}j2s}&&VgbG7bIk4U<9?nNWsv;%EZFTz*5iH*uc`<9Bw0q
M%;wc`A%cuT0KP4#Q$syt
QBNHQY%gw9fLIfH40Mb+>JOBUy
diff --git a/log/development.log b/log/development.log
index 71b1d119f..573d70ae9 100644
--- a/log/development.log
+++ b/log/development.log
@@ -4489,3 +4489,235 @@ Processing by TasksController#index as HTML
Completed 200 OK in 36ms (Views: 33.6ms | ActiveRecord: 0.2ms)
+Started GET "/" for ::1 at 2017-04-02 11:45:42 -0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+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 (17.4ms)
+Completed 200 OK in 280ms (Views: 264.8ms | ActiveRecord: 1.4ms)
+
+
+Started GET "/tasks/new" for ::1 at 2017-04-02 11:45: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 (22.8ms)
+Completed 200 OK in 48ms (Views: 42.8ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2017-04-02 11:45:58 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"8Qh70BvEFuncGujhK8bMRSbPueAtI4xSu6WWOJe19AMmxwGNbQVYbSeqnPUHun/j+usmRH5wNKL9Cva7WX8qvA==", "task"=>{"title"=>"jhkhjkljh", "completion"=>"", "description"=>"kjhlkjhlkjh"}, "commit"=>"Create Task"}
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "jhkhjkljh"], ["description", "kjhlkjhlkjh"], ["created_at", 2017-04-02 18:45:58 UTC], ["updated_at", 2017-04-02 18:45:58 UTC]]
+ [1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 7ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/tasks" for ::1 at 2017-04-02 11:45:58 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 22ms (Views: 19.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/15" for ::1 at 2017-04-02 11:46:03 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"15"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 15], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 25ms (Views: 19.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks" for ::1 at 2017-04-02 11:47:39 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 41ms (Views: 36.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/15" for ::1 at 2017-04-02 11:47:45 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"15"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 15], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 23ms (Views: 20.8ms | ActiveRecord: 0.1ms)
+
+
+Started DELETE "/tasks/15" for ::1 at 2017-04-02 11:47:48 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"dl9VOnB0EVN5QlcQ1QsnqoOBMl2wC5a8oR5anxzilm7K7cloClXJvYzve+q7uzL3sPW5Qo51Frjnwi8eMICREg==", "id"=>"15"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 15], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = ?[0m [["id", 15]]
+ [1m[35m (2.3ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 8ms (ActiveRecord: 3.0ms)
+
+
+Started GET "/tasks" for ::1 at 2017-04-02 11:47:48 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 23ms (Views: 19.4ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/tasks/new" for ::1 at 2017-04-02 11:47:51 -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 (9.2ms)
+Completed 200 OK in 29ms (Views: 27.5ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2017-04-02 11:47:56 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"U0p3O3nha6YdGjCd/dnuzlAdw9hapS1bMaZR60ojUt6EhQ1mDyAlIuaqRInRpV1ojDlcfAn2lat3CTFohOmMYQ==", "task"=>{"title"=>"kjhlkjhkljhkljh", "completion"=>"", "description"=>"kjhlkjhlkjhkljh"}, "commit"=>"Create Task"}
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "kjhlkjhkljhkljh"], ["description", "kjhlkjhlkjhkljh"], ["created_at", 2017-04-02 18:47:56 UTC], ["updated_at", 2017-04-02 18:47:56 UTC]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 5ms (ActiveRecord: 1.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-04-02 11:47:56 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 34ms (Views: 30.7ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/16" for ::1 at 2017-04-02 11:47:59 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"16"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 16], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 21ms (Views: 17.4ms | ActiveRecord: 0.1ms)
+
+
+Started DELETE "/tasks/16" for ::1 at 2017-04-02 11:48:02 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"a2eHBMlUTZ/Q9DK0Vah5xALTmugojHiB9BdfAi53rQ7X1RtWs3WVcSVZHk47GGyZMacR9xby+IWyyyqDAhWqcg==", "id"=>"16"}
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 16], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = ?[0m [["id", 16]]
+ [1m[35m (1.4ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 5ms (ActiveRecord: 1.9ms)
+
+
+Started GET "/tasks" for ::1 at 2017-04-02 11:48: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 (2.1ms)
+Completed 200 OK in 23ms (Views: 21.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/tasks/new" for ::1 at 2017-04-02 11:48:03 -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 (8.7ms)
+Completed 200 OK in 33ms (Views: 31.2ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2017-04-02 11:48:09 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Xhc2M9TIl14ypRGN+0nGhCqc6Cbjm5/H4JLHI0meYCiJ2ExuognZ2skVZZnXNXUi9rh3grDIJzemPaegh1S+lw==", "task"=>{"title"=>"kjhlkjhkljhkljh", "completion"=>"", "description"=>"kjhlkjhlkjh"}, "commit"=>"Create Task"}
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "kjhlkjhkljhkljh"], ["description", "kjhlkjhlkjh"], ["created_at", 2017-04-02 18:48:09 UTC], ["updated_at", 2017-04-02 18:48:09 UTC]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
+
+
+Started GET "/tasks" for ::1 at 2017-04-02 11:48:09 -0700
+Processing by TasksController#index as HTML
+ Rendering tasks/index.html.erb within layouts/application
+ [1m[36mTask Load (0.1ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+ Rendered tasks/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 29ms (Views: 26.8ms | ActiveRecord: 0.1ms)
+
+
+ [1m[36mTask Load (1.4ms)[0m [1m[34mSELECT "tasks".* FROM "tasks"[0m
+Started GET "/" for ::1 at 2017-04-03 14:45:12 -0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+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 (14.9ms)
+Completed 200 OK in 263ms (Views: 246.2ms | ActiveRecord: 1.1ms)
+
+
+Started GET "/tasks/new" for ::1 at 2017-04-03 14:45: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 (25.6ms)
+Completed 200 OK in 49ms (Views: 45.3ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/tasks" for ::1 at 2017-04-03 14:45:41 -0700
+Processing by TasksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"RaXscJVYkGomAjBkTb4G/vu89ffZvo9rrhz19esuXTSSapYt45ne7t2yRHBhwrVYJ5hqU4rtN5vos5V2JeSDiw==", "task"=>{"title"=>"dsfasdfsafd", "completion"=>"2017-04-06", "description"=>"asdfsadf"}, "commit"=>"Create Task"}
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO "tasks" ("title", "description", "completion", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "dsfasdfsafd"], ["description", "asdfsadf"], ["completion", Thu, 06 Apr 2017], ["created_at", 2017-04-03 21:45:41 UTC], ["updated_at", 2017-04-03 21:45:41 UTC]]
+ [1m[35m (1.5ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 13ms (ActiveRecord: 2.9ms)
+
+
+Started GET "/tasks" for ::1 at 2017-04-03 14:45: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 (3.6ms)
+Completed 200 OK in 24ms (Views: 21.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/18" for ::1 at 2017-04-03 14:45:46 -0700
+Processing by TasksController#show as HTML
+ Parameters: {"id"=>"18"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 18], ["LIMIT", 1]]
+ Rendering tasks/show.html.erb within layouts/application
+ Rendered tasks/show.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 24ms (Views: 18.1ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/tasks/18" for ::1 at 2017-04-03 14:45:52 -0700
+Processing by TasksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"4Xv8D2d96yUWyufCZGMfLDIAAWDkPFMJWthLdKdtEbRdyWBdHVwzy+NnyzgK0wpxAXSKf9pC0w0cBD71iw8WyA==", "id"=>"18"}
+ [1m[36mTask Load (0.2ms)[0m [1m[34mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?[0m [["id", 18], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "tasks" WHERE "tasks"."id" = ?[0m [["id", 18]]
+ [1m[35m (1.8ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/tasks
+Completed 302 Found in 8ms (ActiveRecord: 2.6ms)
+
+
+Started GET "/tasks" for ::1 at 2017-04-03 14:45: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.8ms)
+Completed 200 OK in 25ms (Views: 23.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/tasks/new" for ::1 at 2017-04-03 14:45:54 -0700
+Processing by TasksController#new as HTML
+ Rendering tasks/new.html.erb within layouts/application
+ Rendered tasks/_form.html.erb (1.9ms)
+ Rendered tasks/new.html.erb within layouts/application (9.4ms)
+Completed 200 OK in 29ms (Views: 25.4ms | ActiveRecord: 0.0ms)
+
+
From 16cb888183911f9c6210050057117d02c11f338b Mon Sep 17 00:00:00 2001
From: jjousun
Date: Wed, 5 Apr 2017 14:32:05 -0700
Subject: [PATCH 9/9] Testing git branch merging with pull method
---
README.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/README.md b/README.md
index a1104e57d..9615df12d 100644
--- a/README.md
+++ b/README.md
@@ -73,3 +73,4 @@ In this wave, we will add the ability to delete tasks. We will also add the abil
-->
+