From 67de3e2c31333e034658b555d42d0359103644c4 Mon Sep 17 00:00:00 2001 From: Angela Wilson Date: Mon, 18 Sep 2017 15:29:09 -0700 Subject: [PATCH 01/16] Create new rails server. Create new tasks controller. Router file, create some routes. --- .ruby-version | 1 - Gemfile | 54 +++++ Gemfile.lock | 196 ++++++++++++++++++ Rakefile | 6 + app/assets/config/manifest.js | 3 + app/assets/images/.keep | 0 app/assets/javascripts/application.js | 15 ++ 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/controllers/tasks_controller.rb | 3 + 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 | 38 ++++ bin/spring | 17 ++ bin/update | 29 +++ bin/yarn | 11 + config.ru | 5 + config/application.rb | 18 ++ config/boot.rb | 3 + config/cable.yml | 10 + config/database.yml | 25 +++ config/environment.rb | 5 + config/environments/development.rb | 54 +++++ config/environments/production.rb | 91 ++++++++ config/environments/test.rb | 42 ++++ .../application_controller_renderer.rb | 8 + config/initializers/assets.rb | 14 ++ 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/wrap_parameters.rb | 14 ++ config/locales/en.yml | 33 +++ config/puma.rb | 56 +++++ config/routes.rb | 19 ++ config/secrets.yml | 32 +++ config/spring.rb | 6 + db/seeds.rb | 7 + lib/assets/.keep | 0 lib/tasks/.keep | 0 log/.keep | 0 package.json | 5 + public/404.html | 67 ++++++ public/422.html | 67 ++++++ public/500.html | 66 ++++++ public/apple-touch-icon-precomposed.png | 0 public/apple-touch-icon.png | 0 public/favicon.ico | 0 public/robots.txt | 1 + test/application_system_test_case.rb | 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/system/.keep | 0 test/test_helper.rb | 9 + vendor/.keep | 0 75 files changed, 1169 insertions(+), 1 deletion(-) delete mode 100644 .ruby-version 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/controllers/tasks_controller.rb create mode 100644 app/helpers/application_helper.rb create mode 100644 app/jobs/application_job.rb create mode 100644 app/mailers/application_mailer.rb create mode 100644 app/models/application_record.rb create mode 100644 app/models/concerns/.keep create mode 100644 app/views/layouts/application.html.erb create mode 100644 app/views/layouts/mailer.html.erb create mode 100644 app/views/layouts/mailer.text.erb create mode 100755 bin/bundle create mode 100755 bin/rails create mode 100755 bin/rake create mode 100755 bin/setup create mode 100755 bin/spring create mode 100755 bin/update create mode 100755 bin/yarn create mode 100644 config.ru create mode 100644 config/application.rb create mode 100644 config/boot.rb create mode 100644 config/cable.yml create mode 100644 config/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/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 package.json create mode 100644 public/404.html create mode 100644 public/422.html create mode 100644 public/500.html create mode 100644 public/apple-touch-icon-precomposed.png create mode 100644 public/apple-touch-icon.png create mode 100644 public/favicon.ico create mode 100644 public/robots.txt create mode 100644 test/application_system_test_case.rb 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/system/.keep create mode 100644 test/test_helper.rb create mode 100644 vendor/.keep diff --git a/.ruby-version b/.ruby-version deleted file mode 100644 index 005119baa..000000000 --- a/.ruby-version +++ /dev/null @@ -1 +0,0 @@ -2.4.1 diff --git a/Gemfile b/Gemfile new file mode 100644 index 000000000..13ab51252 --- /dev/null +++ b/Gemfile @@ -0,0 +1,54 @@ +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.1.4' +# Use sqlite3 as the database for Active Record +gem 'sqlite3' +# Use Puma as the app server +gem 'puma', '~> 3.7' +# Use SCSS for stylesheets +gem 'sass-rails', '~> 5.0' +# Use Uglifier as compressor for JavaScript assets +gem 'uglifier', '>= 1.3.0' +# See https://github.com/rails/execjs#readme for more supported runtimes +# gem 'therubyracer', platforms: :ruby + +# Use CoffeeScript for .coffee assets and views +gem 'coffee-rails', '~> 4.2' +# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks +gem 'turbolinks', '~> 5' +# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder +gem 'jbuilder', '~> 2.5' +# Use Redis adapter to run Action Cable in production +# gem 'redis', '~> 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', platforms: [:mri, :mingw, :x64_mingw] + # Adds support for Capybara system testing and selenium driver + gem 'capybara', '~> 2.13' + gem 'selenium-webdriver' +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', '< 3.2' + # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring + gem 'spring' + gem 'spring-watcher-listen', '~> 2.0.0' +end + +# 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..5c0844796 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,196 @@ +GEM + remote: https://rubygems.org/ + specs: + actioncable (5.1.4) + actionpack (= 5.1.4) + nio4r (~> 2.0) + websocket-driver (~> 0.6.1) + actionmailer (5.1.4) + actionpack (= 5.1.4) + actionview (= 5.1.4) + activejob (= 5.1.4) + mail (~> 2.5, >= 2.5.4) + rails-dom-testing (~> 2.0) + actionpack (5.1.4) + actionview (= 5.1.4) + activesupport (= 5.1.4) + rack (~> 2.0) + rack-test (>= 0.6.3) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.0, >= 1.0.2) + actionview (5.1.4) + activesupport (= 5.1.4) + builder (~> 3.1) + erubi (~> 1.4) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.0, >= 1.0.3) + activejob (5.1.4) + activesupport (= 5.1.4) + globalid (>= 0.3.6) + activemodel (5.1.4) + activesupport (= 5.1.4) + activerecord (5.1.4) + activemodel (= 5.1.4) + activesupport (= 5.1.4) + arel (~> 8.0) + activesupport (5.1.4) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (~> 0.7) + minitest (~> 5.1) + tzinfo (~> 1.1) + addressable (2.5.2) + public_suffix (>= 2.0.2, < 4.0) + arel (8.0.0) + bindex (0.5.0) + builder (3.2.3) + byebug (9.1.0) + capybara (2.15.1) + addressable + mini_mime (>= 0.1.3) + nokogiri (>= 1.3.3) + rack (>= 1.0.0) + rack-test (>= 0.5.4) + xpath (~> 2.0) + childprocess (0.7.1) + ffi (~> 1.0, >= 1.0.11) + coffee-rails (4.2.2) + coffee-script (>= 2.2.0) + railties (>= 4.0.0) + coffee-script (2.4.1) + coffee-script-source + execjs + coffee-script-source (1.12.2) + concurrent-ruby (1.0.5) + erubi (1.6.1) + execjs (2.7.0) + ffi (1.9.18) + globalid (0.4.0) + activesupport (>= 4.2.0) + i18n (0.8.6) + jbuilder (2.7.0) + activesupport (>= 4.2.0) + multi_json (>= 1.2) + listen (3.1.5) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + ruby_dep (~> 1.2) + loofah (2.0.3) + nokogiri (>= 1.5.9) + mail (2.6.6) + 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_mime (0.1.4) + mini_portile2 (2.2.0) + minitest (5.10.3) + multi_json (1.12.2) + nio4r (2.1.0) + nokogiri (1.8.0) + mini_portile2 (~> 2.2.0) + public_suffix (3.0.0) + puma (3.10.0) + rack (2.0.3) + rack-test (0.7.0) + rack (>= 1.0, < 3) + rails (5.1.4) + actioncable (= 5.1.4) + actionmailer (= 5.1.4) + actionpack (= 5.1.4) + actionview (= 5.1.4) + activejob (= 5.1.4) + activemodel (= 5.1.4) + activerecord (= 5.1.4) + activesupport (= 5.1.4) + bundler (>= 1.3.0) + railties (= 5.1.4) + sprockets-rails (>= 2.0.0) + rails-dom-testing (2.0.3) + activesupport (>= 4.2.0) + nokogiri (>= 1.6) + rails-html-sanitizer (1.0.3) + loofah (~> 2.0) + railties (5.1.4) + actionpack (= 5.1.4) + activesupport (= 5.1.4) + method_source + rake (>= 0.8.7) + thor (>= 0.18.1, < 2.0) + rake (12.1.0) + rb-fsevent (0.10.2) + rb-inotify (0.9.10) + ffi (>= 0.5.0, < 2) + ruby_dep (1.5.0) + rubyzip (1.2.1) + sass (3.5.1) + sass-listen (~> 4.0.0) + sass-listen (4.0.0) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + sass-rails (5.0.6) + railties (>= 4.0.0, < 6) + sass (~> 3.1) + sprockets (>= 2.8, < 4.0) + sprockets-rails (>= 2.0, < 4.0) + tilt (>= 1.1, < 3) + selenium-webdriver (3.5.2) + childprocess (~> 0.5) + rubyzip (~> 1.0) + spring (2.0.2) + activesupport (>= 4.2) + spring-watcher-listen (2.0.1) + listen (>= 2.7, < 4.0) + spring (>= 1.2, < 3.0) + sprockets (3.7.1) + concurrent-ruby (~> 1.0) + rack (> 1, < 3) + sprockets-rails (3.2.1) + actionpack (>= 4.0) + activesupport (>= 4.0) + sprockets (>= 3.0.0) + sqlite3 (1.3.13) + thor (0.20.0) + thread_safe (0.3.6) + tilt (2.0.8) + turbolinks (5.0.1) + turbolinks-source (~> 5) + turbolinks-source (5.0.3) + tzinfo (1.2.3) + thread_safe (~> 0.1) + uglifier (3.2.0) + execjs (>= 0.3.0, < 3) + web-console (3.5.1) + actionview (>= 5.0) + activemodel (>= 5.0) + bindex (>= 0.4.0) + railties (>= 5.0) + websocket-driver (0.6.5) + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.2) + xpath (2.1.0) + nokogiri (~> 1.3) + +PLATFORMS + ruby + +DEPENDENCIES + byebug + capybara (~> 2.13) + coffee-rails (~> 4.2) + jbuilder (~> 2.5) + listen (>= 3.0.5, < 3.2) + puma (~> 3.7) + rails (~> 5.1.4) + sass-rails (~> 5.0) + selenium-webdriver + spring + spring-watcher-listen (~> 2.0.0) + sqlite3 + turbolinks (~> 5) + tzinfo-data + uglifier (>= 1.3.0) + web-console (>= 3.3.0) + +BUNDLED WITH + 1.13.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..46b20359f --- /dev/null +++ b/app/assets/javascripts/application.js @@ -0,0 +1,15 @@ +// This is a manifest file that'll be compiled into application.js, which will include all the files +// listed below. +// +// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's +// vendor/assets/javascripts directory can be referenced here using a relative path. +// +// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the +// compiled file. JavaScript code in this file should be added after the last require_* statement. +// +// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details +// about supported directives. +// +//= require rails-ujs +//= require turbolinks +//= require_tree . diff --git a/app/assets/javascripts/cable.js b/app/assets/javascripts/cable.js new file mode 100644 index 000000000..739aa5f02 --- /dev/null +++ b/app/assets/javascripts/cable.js @@ -0,0 +1,13 @@ +// Action Cable provides the framework to deal with WebSockets in Rails. +// You can generate new channels where WebSocket features live using the `rails generate channel` command. +// +//= require action_cable +//= require_self +//= require_tree ./channels + +(function() { + this.App || (this.App = {}); + + App.cable = ActionCable.createConsumer(); + +}).call(this); diff --git a/app/assets/javascripts/channels/.keep b/app/assets/javascripts/channels/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css new file mode 100644 index 000000000..d05ea0f51 --- /dev/null +++ b/app/assets/stylesheets/application.css @@ -0,0 +1,15 @@ +/* + * This is a manifest file that'll be compiled into application.css, which will include all the files + * listed below. + * + * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's + * vendor/assets/stylesheets directory can be referenced here using a relative path. + * + * You're free to add application-wide styles to this file and they'll appear at the bottom of the + * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS + * files in this directory. Styles in this file should be added after the last require_* statement. + * It is generally better to create a new file per style scope. + * + *= require_tree . + *= require_self + */ diff --git a/app/channels/application_cable/channel.rb b/app/channels/application_cable/channel.rb new file mode 100644 index 000000000..d67269728 --- /dev/null +++ b/app/channels/application_cable/channel.rb @@ -0,0 +1,4 @@ +module ApplicationCable + class Channel < ActionCable::Channel::Base + end +end diff --git a/app/channels/application_cable/connection.rb b/app/channels/application_cable/connection.rb new file mode 100644 index 000000000..0ff5442f4 --- /dev/null +++ b/app/channels/application_cable/connection.rb @@ -0,0 +1,4 @@ +module ApplicationCable + class Connection < ActionCable::Connection::Base + end +end diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb new file mode 100644 index 000000000..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/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb new file mode 100644 index 000000000..6980fc3bd --- /dev/null +++ b/app/controllers/tasks_controller.rb @@ -0,0 +1,3 @@ +class Tasks < ApplicationController + +end diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb new file mode 100644 index 000000000..de6be7945 --- /dev/null +++ b/app/helpers/application_helper.rb @@ -0,0 +1,2 @@ +module ApplicationHelper +end diff --git a/app/jobs/application_job.rb b/app/jobs/application_job.rb new file mode 100644 index 000000000..a009ace51 --- /dev/null +++ b/app/jobs/application_job.rb @@ -0,0 +1,2 @@ +class ApplicationJob < ActiveJob::Base +end diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb new file mode 100644 index 000000000..286b2239d --- /dev/null +++ b/app/mailers/application_mailer.rb @@ -0,0 +1,4 @@ +class ApplicationMailer < ActionMailer::Base + default from: 'from@example.com' + layout 'mailer' +end diff --git a/app/models/application_record.rb b/app/models/application_record.rb new file mode 100644 index 000000000..10a4cba84 --- /dev/null +++ b/app/models/application_record.rb @@ -0,0 +1,3 @@ +class ApplicationRecord < ActiveRecord::Base + self.abstract_class = true +end diff --git a/app/models/concerns/.keep b/app/models/concerns/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/app/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..78c4e861d --- /dev/null +++ b/bin/setup @@ -0,0 +1,38 @@ +#!/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') + + # Install JavaScript dependencies if using Yarn + # system('bin/yarn') + + + # puts "\n== Copying sample files ==" + # unless File.exist?('config/database.yml') + # cp 'config/database.yml.sample', 'config/database.yml' + # end + + puts "\n== Preparing database ==" + system! 'bin/rails db:setup' + + puts "\n== Removing old logs and tempfiles ==" + system! 'bin/rails log:clear tmp:clear' + + puts "\n== Restarting application server ==" + system! 'bin/rails restart' +end diff --git a/bin/spring b/bin/spring new file mode 100755 index 000000000..fb2ec2ebb --- /dev/null +++ b/bin/spring @@ -0,0 +1,17 @@ +#!/usr/bin/env ruby + +# This file loads spring without using Bundler, in order to be fast. +# It gets overwritten when you run the `spring binstub` command. + +unless defined?(Spring) + require 'rubygems' + require 'bundler' + + lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read) + spring = lockfile.specs.detect { |spec| spec.name == "spring" } + if spring + Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path + gem 'spring', spring.version + require 'spring/binstub' + end +end diff --git a/bin/update b/bin/update new file mode 100755 index 000000000..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/bin/yarn b/bin/yarn new file mode 100755 index 000000000..c2bacef83 --- /dev/null +++ b/bin/yarn @@ -0,0 +1,11 @@ +#!/usr/bin/env ruby +VENDOR_PATH = File.expand_path('..', __dir__) +Dir.chdir(VENDOR_PATH) do + begin + exec "yarnpkg #{ARGV.join(" ")}" + rescue Errno::ENOENT + $stderr.puts "Yarn executable was not detected in the system." + $stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install" + exit 1 + end +end diff --git a/config.ru b/config.ru new file mode 100644 index 000000000..f7ba0b527 --- /dev/null +++ b/config.ru @@ -0,0 +1,5 @@ +# This file is used by Rack-based servers to start the application. + +require_relative 'config/environment' + +run Rails.application diff --git a/config/application.rb b/config/application.rb new file mode 100644 index 000000000..16136d34f --- /dev/null +++ b/config/application.rb @@ -0,0 +1,18 @@ +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 + # Initialize configuration defaults for originally generated Rails version. + config.load_defaults 5.1 + + # 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..cc73740fa --- /dev/null +++ b/config/cable.yml @@ -0,0 +1,10 @@ +development: + adapter: async + +test: + adapter: async + +production: + adapter: redis + url: redis://localhost:6379/1 + channel_prefix: TaskList_production diff --git a/config/database.yml b/config/database.yml new file mode 100644 index 000000000..0d02f2498 --- /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: <%= ENV.fetch("RAILS_MAX_THREADS") { 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..5187e2218 --- /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=#{2.days.seconds.to_i}" + } + 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..fcd7d8b14 --- /dev/null +++ b/config/environments/production.rb @@ -0,0 +1,91 @@ +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 + + # Attempt to read encrypted secrets from `config/secrets.yml.enc`. + # Requires an encryption key in `ENV["RAILS_MASTER_KEY"]` or + # `config/secrets.yml.key`. + config.read_encrypted_secrets = 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..8e5cbde53 --- /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=#{1.hour.seconds.to_i}" + } + + # Show full error reports and disable caching. + config.consider_all_requests_local = true + config.action_controller.perform_caching = false + + # Raise exceptions instead of rendering exception templates. + config.action_dispatch.show_exceptions = false + + # Disable request forgery protection in test environment. + config.action_controller.allow_forgery_protection = false + 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..89d2efab2 --- /dev/null +++ b/config/initializers/application_controller_renderer.rb @@ -0,0 +1,8 @@ +# Be sure to restart your server when you modify this file. + +# ActiveSupport::Reloader.to_prepare do +# ApplicationController.renderer.defaults.merge!( +# http_host: 'example.org', +# https: false +# ) +# end diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb new file mode 100644 index 000000000..4b828e80c --- /dev/null +++ b/config/initializers/assets.rb @@ -0,0 +1,14 @@ +# Be sure to restart your server when you modify this file. + +# Version of your assets, change this if you want to expire all your assets. +Rails.application.config.assets.version = '1.0' + +# Add additional assets to the asset load path. +# Rails.application.config.assets.paths << Emoji.images_path +# Add Yarn node_modules folder to the asset load path. +Rails.application.config.assets.paths << Rails.root.join('node_modules') + +# Precompile additional assets. +# application.js, application.css, and all non-JS/CSS in the app/assets +# folder are already added. +# Rails.application.config.assets.precompile += %w( admin.js admin.css ) diff --git a/config/initializers/backtrace_silencers.rb b/config/initializers/backtrace_silencers.rb new file mode 100644 index 000000000..59385cdf3 --- /dev/null +++ b/config/initializers/backtrace_silencers.rb @@ -0,0 +1,7 @@ +# Be sure to restart your server when you modify this file. + +# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces. +# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ } + +# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code. +# Rails.backtrace_cleaner.remove_silencers! diff --git a/config/initializers/cookies_serializer.rb b/config/initializers/cookies_serializer.rb new file mode 100644 index 000000000..5a6a32d37 --- /dev/null +++ b/config/initializers/cookies_serializer.rb @@ -0,0 +1,5 @@ +# Be sure to restart your server when you modify this file. + +# Specify a serializer for the signed and encrypted cookie jars. +# Valid options are :json, :marshal, and :hybrid. +Rails.application.config.action_dispatch.cookies_serializer = :json diff --git a/config/initializers/filter_parameter_logging.rb b/config/initializers/filter_parameter_logging.rb new file mode 100644 index 000000000..4a994e1e7 --- /dev/null +++ b/config/initializers/filter_parameter_logging.rb @@ -0,0 +1,4 @@ +# Be sure to restart your server when you modify this file. + +# Configure sensitive parameters which will be filtered from the log file. +Rails.application.config.filter_parameters += [:password] diff --git a/config/initializers/inflections.rb b/config/initializers/inflections.rb new file mode 100644 index 000000000..ac033bf9d --- /dev/null +++ b/config/initializers/inflections.rb @@ -0,0 +1,16 @@ +# Be sure to restart your server when you modify this file. + +# Add new inflection rules using the following format. Inflections +# are locale specific, and you may define rules for as many different +# locales as you wish. All of these examples are active by default: +# ActiveSupport::Inflector.inflections(:en) do |inflect| +# inflect.plural /^(ox)$/i, '\1en' +# inflect.singular /^(ox)en/i, '\1' +# inflect.irregular 'person', 'people' +# inflect.uncountable %w( fish sheep ) +# end + +# These inflection rules are supported but not enabled by default: +# ActiveSupport::Inflector.inflections(:en) do |inflect| +# inflect.acronym 'RESTful' +# end diff --git a/config/initializers/mime_types.rb b/config/initializers/mime_types.rb new file mode 100644 index 000000000..dc1899682 --- /dev/null +++ b/config/initializers/mime_types.rb @@ -0,0 +1,4 @@ +# Be sure to restart your server when you modify this file. + +# Add new mime types for use in respond_to blocks: +# Mime::Type.register "text/richtext", :rtf diff --git a/config/initializers/wrap_parameters.rb b/config/initializers/wrap_parameters.rb new file mode 100644 index 000000000..bbfc3961b --- /dev/null +++ b/config/initializers/wrap_parameters.rb @@ -0,0 +1,14 @@ +# Be sure to restart your server when you modify this file. + +# This file contains settings for ActionController::ParamsWrapper which +# is enabled by default. + +# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array. +ActiveSupport.on_load(:action_controller) do + wrap_parameters format: [:json] +end + +# To enable root element in JSON for ActiveRecord objects. +# ActiveSupport.on_load(:active_record) do +# self.include_root_in_json = true +# end diff --git a/config/locales/en.yml b/config/locales/en.yml new file mode 100644 index 000000000..decc5a857 --- /dev/null +++ b/config/locales/en.yml @@ -0,0 +1,33 @@ +# Files in the config/locales directory are used for internationalization +# and are automatically loaded by Rails. If you want to use locales other +# than English, add the necessary files in this directory. +# +# To use the locales, use `I18n.t`: +# +# I18n.t 'hello' +# +# In views, this is aliased to just `t`: +# +# <%= t('hello') %> +# +# To use a different locale, set it with `I18n.locale`: +# +# I18n.locale = :es +# +# This would use the information in config/locales/es.yml. +# +# The following keys must be escaped otherwise they will not be retrieved by +# the default I18n backend: +# +# true, false, on, off, yes, no +# +# Instead, surround them with single quotes. +# +# en: +# 'true': 'foo' +# +# To learn more, please read the Rails Internationalization guide +# available at http://guides.rubyonrails.org/i18n.html. + +en: + hello: "Hello world" diff --git a/config/puma.rb b/config/puma.rb new file mode 100644 index 000000000..1e19380dc --- /dev/null +++ b/config/puma.rb @@ -0,0 +1,56 @@ +# Puma can serve each request in a thread from an internal thread pool. +# The `threads` method setting takes two numbers: a minimum and maximum. +# Any libraries that use thread pools should be configured to match +# the maximum value specified for Puma. Default is set to 5 threads for minimum +# and maximum; this matches the default thread size of Active Record. +# +threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 } +threads threads_count, threads_count + +# Specifies the `port` that Puma will listen on to receive requests; default is 3000. +# +port ENV.fetch("PORT") { 3000 } + +# Specifies the `environment` that Puma will run in. +# +environment ENV.fetch("RAILS_ENV") { "development" } + +# Specifies the number of `workers` to boot in clustered mode. +# Workers are forked webserver processes. If using threads and workers together +# the concurrency of the application would be max `threads` * `workers`. +# Workers do not work on JRuby or Windows (both of which do not support +# processes). +# +# workers ENV.fetch("WEB_CONCURRENCY") { 2 } + +# Use the `preload_app!` method when specifying a `workers` number. +# This directive tells Puma to first boot the application and load code +# before forking the application. This takes advantage of Copy On Write +# process behavior so workers use less memory. If you use this option +# you need to make sure to reconnect any threads in the `on_worker_boot` +# block. +# +# preload_app! + +# If you are preloading your application and using Active Record, it's +# recommended that you close any connections to the database before workers +# are forked to prevent connection leakage. +# +# before_fork do +# ActiveRecord::Base.connection_pool.disconnect! if defined?(ActiveRecord) +# end + +# 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 the `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, as 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..6aaab1799 --- /dev/null +++ b/config/routes.rb @@ -0,0 +1,19 @@ +Rails.application.routes.draw do + # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html + + +get "/tasks/new", to: "tasks#new" +post "/tasks", to: "tasks#create" + +get "/tasks/:id/edit", to: "tasks#edit" + +get "tasks/:id", to: "tasks#show" + +patch "/tasks/:id", to: "tasks#update" + +get "/tasks", to: "taks#index" + +delete "/tasks/:id", to: "tasks#destroy" + + +end diff --git a/config/secrets.yml b/config/secrets.yml new file mode 100644 index 000000000..c19656e54 --- /dev/null +++ b/config/secrets.yml @@ -0,0 +1,32 @@ +# 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. + +# Shared secrets are available across all environments. + +# shared: +# api_key: a1B2c3D4e5F6 + +# Environmental secrets are only available for that specific environment. + +development: + secret_key_base: e6aea335db49f1030687bd36caeb64daf306b4f67ddfb06d95b0f347e896c4c02504be04a6faab283405d3458520b1e7fa9acec0cd093121bbb3c4599f7b565f + +test: + secret_key_base: fc5b8086b451571c868138ffe86fffe2f0cd6274003e34e70ae0794509f5de9d1b8f7296988acae654345b10f54ac31da58959a1d95a5627c2438b25b5d198e9 + +# Do not keep production secrets in the unencrypted secrets file. +# Instead, either read values from the environment. +# Or, use `bin/rails secrets:setup` to configure encrypted secrets +# and move the `production:` environment over there. + +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/package.json b/package.json new file mode 100644 index 000000000..f9cbc5515 --- /dev/null +++ b/package.json @@ -0,0 +1,5 @@ +{ + "name": "TaskList", + "private": true, + "dependencies": {} +} diff --git a/public/404.html b/public/404.html new file mode 100644 index 000000000..2be3af26f --- /dev/null +++ b/public/404.html @@ -0,0 +1,67 @@ + + + + The page you were looking for doesn't exist (404) + + + + + + +
+
+

The page you were looking for doesn't exist.

+

You may have mistyped the address or the page may have moved.

+
+

If you are the application owner check the logs for more information.

+
+ + diff --git a/public/422.html b/public/422.html new file mode 100644 index 000000000..c08eac0d1 --- /dev/null +++ b/public/422.html @@ -0,0 +1,67 @@ + + + + The change you wanted was rejected (422) + + + + + + +
+
+

The change you wanted was rejected.

+

Maybe you tried to change something you didn't have access to.

+
+

If you are the application owner check the logs for more information.

+
+ + diff --git a/public/500.html b/public/500.html new file mode 100644 index 000000000..78a030af2 --- /dev/null +++ b/public/500.html @@ -0,0 +1,66 @@ + + + + We're sorry, but something went wrong (500) + + + + + + +
+
+

We're sorry, but something went wrong.

+
+

If you are the application owner check the logs for more information.

+
+ + diff --git a/public/apple-touch-icon-precomposed.png b/public/apple-touch-icon-precomposed.png new file mode 100644 index 000000000..e69de29bb diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png new file mode 100644 index 000000000..e69de29bb diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 000000000..e69de29bb diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 000000000..37b576a4a --- /dev/null +++ b/public/robots.txt @@ -0,0 +1 @@ +# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file diff --git a/test/application_system_test_case.rb b/test/application_system_test_case.rb new file mode 100644 index 000000000..d19212abd --- /dev/null +++ b/test/application_system_test_case.rb @@ -0,0 +1,5 @@ +require "test_helper" + +class ApplicationSystemTestCase < ActionDispatch::SystemTestCase + driven_by :selenium, using: :chrome, screen_size: [1400, 1400] +end diff --git a/test/controllers/.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/system/.keep b/test/system/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/test/test_helper.rb b/test/test_helper.rb new file mode 100644 index 000000000..e3c4ff0b8 --- /dev/null +++ b/test/test_helper.rb @@ -0,0 +1,9 @@ +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/.keep b/vendor/.keep new file mode 100644 index 000000000..e69de29bb From 372e73b4cd87450a743999a4a1836fdf88086c01 Mon Sep 17 00:00:00 2001 From: Angela Wilson Date: Tue, 19 Sep 2017 16:46:44 -0700 Subject: [PATCH 02/16] Resolve folder structure so rails and TaskList work properly. --- app/controllers/tasks_controller.rb | 35 ++- config/routes.rb | 2 +- db/development.sqlite3 | 0 db/test.sqlite3 | 0 log/development.log | 340 ++++++++++++++++++++++++++++ 5 files changed, 375 insertions(+), 2 deletions(-) create mode 100644 db/development.sqlite3 create mode 100644 db/test.sqlite3 create mode 100644 log/development.log diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb index 6980fc3bd..1b53ee831 100644 --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -1,3 +1,36 @@ -class Tasks < ApplicationController +class TasksController < ApplicationController + def new + render plain: "added 'new' task" + end + + def index + # render plain: "added 'index' task" + render plain: @tasks = ["complete the death star", "clean the bathroom", "do laundry", "have fun"] + + end + + def edit + render plain: "add 'edit' task" + end + + def show + render plain: "add 'show' task" + end + + def update + render plain: "add 'update' task" + end + + def completed + render plain: "add 'completed' task" + end + + def create + render plain: "add 'create' task" + end + + def destroy + render plain: "add 'destroy' task" + end end diff --git a/config/routes.rb b/config/routes.rb index 6aaab1799..9d4c133bc 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -11,7 +11,7 @@ patch "/tasks/:id", to: "tasks#update" -get "/tasks", to: "taks#index" +get "/tasks", to: "tasks#index" delete "/tasks/:id", to: "tasks#destroy" diff --git a/db/development.sqlite3 b/db/development.sqlite3 new file mode 100644 index 000000000..e69de29bb diff --git a/db/test.sqlite3 b/db/test.sqlite3 new file mode 100644 index 000000000..e69de29bb diff --git a/log/development.log b/log/development.log new file mode 100644 index 000000000..84e72187f --- /dev/null +++ b/log/development.log @@ -0,0 +1,340 @@ +Started GET "/tasks/" for 127.0.0.1 at 2017-09-19 16:23:34 -0700 + +ActionController::RoutingError (uninitialized constant TaksController): + +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `const_get' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `block in constantize' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `each' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `inject' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `constantize' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:85:in `controller_class_for' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:78:in `controller_class' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:43:in `controller' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:29:in `serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:25:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +activerecord (5.1.4) lib/active_record/migration.rb:556:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-19 16:23:35 -0700 + +ActionController::RoutingError (uninitialized constant TaksController): + +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `const_get' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `block in constantize' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `each' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `inject' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `constantize' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:85:in `controller_class_for' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:78:in `controller_class' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:43:in `controller' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:29:in `serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:25:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +activerecord (5.1.4) lib/active_record/migration.rb:556:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-19 16:26:00 -0700 + +LoadError (Unable to autoload constant TasksController, expected /Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb to define it): + +activesupport (5.1.4) lib/active_support/dependencies.rb:511:in `load_missing_constant' +activesupport (5.1.4) lib/active_support/dependencies.rb:202:in `const_missing' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `const_get' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `block in constantize' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `each' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `inject' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `constantize' +activesupport (5.1.4) lib/active_support/dependencies.rb:582:in `get' +activesupport (5.1.4) lib/active_support/dependencies.rb:613:in `constantize' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:85:in `controller_class_for' +actionpack (5.1.4) lib/action_dispatch/http/parameters.rb:99:in `binary_params_for?' +actionpack (5.1.4) lib/action_dispatch/http/parameters.rb:90:in `set_binary_encoding' +actionpack (5.1.4) lib/action_dispatch/http/parameters.rb:67:in `path_parameters=' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:48:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:25:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +activerecord (5.1.4) lib/active_record/migration.rb:556:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-19 16:26:01 -0700 + +LoadError (Unable to autoload constant TasksController, expected /Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb to define it): + +activesupport (5.1.4) lib/active_support/dependencies.rb:511:in `load_missing_constant' +activesupport (5.1.4) lib/active_support/dependencies.rb:202:in `const_missing' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `const_get' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `block in constantize' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `each' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `inject' +activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `constantize' +activesupport (5.1.4) lib/active_support/dependencies.rb:582:in `get' +activesupport (5.1.4) lib/active_support/dependencies.rb:613:in `constantize' +actionpack (5.1.4) lib/action_dispatch/http/request.rb:85:in `controller_class_for' +actionpack (5.1.4) lib/action_dispatch/http/parameters.rb:99:in `binary_params_for?' +actionpack (5.1.4) lib/action_dispatch/http/parameters.rb:90:in `set_binary_encoding' +actionpack (5.1.4) lib/action_dispatch/http/parameters.rb:67:in `path_parameters=' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:48:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:25:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +activerecord (5.1.4) lib/active_record/migration.rb:556:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-19 16:26:40 -0700 +Processing by TasksController#index as HTML + Rendering text template + Rendered text template (0.0ms) +Completed 200 OK in 173ms (Views: 5.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-19 16:26:41 -0700 +Processing by TasksController#index as */* + Rendering text template + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.4ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-19 16:44:51 -0700 +Processing by TasksController#index as HTML +Completed 406 Not Acceptable in 57ms + + + +ActionController::UnknownFormat (TasksController#index is missing a template for this request format and variant. + +request.formats: ["text/html"] +request.variant: [] + +NOTE! For XHR/Ajax or API requests, this action would normally respond with 204 No Content: an empty white screen. Since you're loading it in a web browser, we assume that you expected to actually render a template, not nothing, so we're showing an error to be extra-clear. If you expect 204 No Content, carry on. That's what you'll get from an XHR or API request. Give it a shot.): + +actionpack (5.1.4) lib/action_controller/metal/implicit_render.rb:53:in `default_render' +actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action' +actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `tap' +actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' +actionpack (5.1.4) lib/abstract_controller/base.rb:186:in `process_action' +actionpack (5.1.4) lib/action_controller/metal/rendering.rb:30:in `process_action' +actionpack (5.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' +activesupport (5.1.4) lib/active_support/callbacks.rb:131:in `run_callbacks' +actionpack (5.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action' +actionpack (5.1.4) lib/action_controller/metal/rescue.rb:20:in `process_action' +actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' +activesupport (5.1.4) lib/active_support/notifications.rb:166:in `block in instrument' +activesupport (5.1.4) lib/active_support/notifications/instrumenter.rb:21:in `instrument' +activesupport (5.1.4) lib/active_support/notifications.rb:166:in `instrument' +actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' +actionpack (5.1.4) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' +activerecord (5.1.4) lib/active_record/railties/controller_runtime.rb:22:in `process_action' +actionpack (5.1.4) lib/abstract_controller/base.rb:124:in `process' +actionview (5.1.4) lib/action_view/rendering.rb:30:in `process' +actionpack (5.1.4) lib/action_controller/metal.rb:189:in `dispatch' +actionpack (5.1.4) lib/action_controller/metal.rb:253:in `dispatch' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:31:in `serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:25:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +activerecord (5.1.4) lib/active_record/migration.rb:556:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-19 16:44:51 -0700 +Processing by TasksController#index as */* +No template found for TasksController#index, rendering head :no_content +Completed 204 No Content in 103ms + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-19 16:45:09 -0700 +Processing by TasksController#index as HTML + Rendering text template + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.6ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-19 16:45:09 -0700 +Processing by TasksController#index as */* + Rendering text template + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.5ms) + + From 1b06475263c87c218367d072b8c8dd2747e9d499 Mon Sep 17 00:00:00 2001 From: Angela Wilson Date: Wed, 20 Sep 2017 14:33:38 -0700 Subject: [PATCH 03/16] complete wave 1: made index controller action and hard coded the tasks. made rudimentary views interface. --- app/controllers/tasks_controller.rb | 53 +++--- app/views/tasks/index.html.erb | 8 + config/routes.rb | 18 +- log/development.log | 264 ++++++++++++++++++++++++++++ 4 files changed, 307 insertions(+), 36 deletions(-) create mode 100644 app/views/tasks/index.html.erb diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb index 1b53ee831..e3d685c4d 100644 --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -1,36 +1,39 @@ class TasksController < ApplicationController - def new - render plain: "added 'new' task" - end + @tasks = ["complete the death star", "clean the bathroom", "do laundry", "have fun"] - def index - # render plain: "added 'index' task" - render plain: @tasks = ["complete the death star", "clean the bathroom", "do laundry", "have fun"] + def new + render plain: "added 'new' task" + end - end + def index + @tasks + # render plain: "added 'index' task" + # render plain: @tasks = ["complete the death star", "clean the bathroom", "do laundry", "have fun"] - def edit - render plain: "add 'edit' task" - end + end - def show - render plain: "add 'show' task" - end + def edit + render plain: "add 'edit' task" + end - def update - render plain: "add 'update' task" - end + def show + render plain: "add 'show' task" + end - def completed - render plain: "add 'completed' task" - end + def update + render plain: "add 'update' task" + end - def create - render plain: "add 'create' task" - end + def completed + render plain: "add 'completed' task" + end - def destroy - render plain: "add 'destroy' task" - end + def create + render plain: "add 'create' task" + end + + def destroy + render plain: "add 'destroy' task" + end end diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb new file mode 100644 index 000000000..58abbed2f --- /dev/null +++ b/app/views/tasks/index.html.erb @@ -0,0 +1,8 @@ +

Task List

+ + diff --git a/config/routes.rb b/config/routes.rb index 9d4c133bc..45f087ece 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,19 +1,15 @@ Rails.application.routes.draw do # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html + get "/tasks", to: "tasks#index", as: "tasks" + get "/tasks/new", to: "tasks#new", as: "add" + post "/tasks", to: "tasks#create" -get "/tasks/new", to: "tasks#new" -post "/tasks", to: "tasks#create" -get "/tasks/:id/edit", to: "tasks#edit" - -get "tasks/:id", to: "tasks#show" - -patch "/tasks/:id", to: "tasks#update" - -get "/tasks", to: "tasks#index" - -delete "/tasks/:id", to: "tasks#destroy" + get "tasks/:id", to: "tasks#show" + get "/tasks/:id/edit", to: "tasks#edit" + patch "/tasks/:id", to: "tasks#update" + delete "/tasks/:id", to: "tasks#destroy" end diff --git a/log/development.log b/log/development.log index 84e72187f..2f8111745 100644 --- a/log/development.log +++ b/log/development.log @@ -338,3 +338,267 @@ Processing by TasksController#index as */* Completed 200 OK in 1ms (Views: 0.5ms) +Started GET "/tasks/" for 127.0.0.1 at 2017-09-19 16:57:05 -0700 + +ArgumentError (Invalid route name, already in use: 'tasks' +You may have defined two routes with the same name using the `:as` option, or you may be overriding a route already defined by a resource with the same naming. For the latter, you can restrict the routes created with `resources` as explained here: +http://guides.rubyonrails.org/routing.html#restricting-the-routes-created): + +config/routes.rb:14:in `block in ' +config/routes.rb:1:in `' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-19 16:57:06 -0700 + +ActionController::RoutingError (No route matches [GET] "/tasks"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-19 17:02:16 -0700 +Processing by TasksController#index as HTML + Rendering text template + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.7ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-19 17:02:16 -0700 +Processing by TasksController#index as */* + Rendering text template + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.5ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-19 17:03:06 -0700 + +ArgumentError (Invalid route name, already in use: 'tasks' +You may have defined two routes with the same name using the `:as` option, or you may be overriding a route already defined by a resource with the same naming. For the latter, you can restrict the routes created with `resources` as explained here: +http://guides.rubyonrails.org/routing.html#restricting-the-routes-created): + +config/routes.rb:8:in `block in ' +config/routes.rb:1:in `' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-19 17:03:07 -0700 + +ActionController::RoutingError (No route matches [GET] "/tasks"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 10:36:55 -0700 +Processing by TasksController#index as HTML + Rendering text template + Rendered text template (0.1ms) +Completed 200 OK in 285ms (Views: 18.1ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 10:36:55 -0700 +Processing by TasksController#index as */* + Rendering text template + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.6ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 10:38:07 -0700 +Processing by TasksController#index as HTML + Rendering text template + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.5ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 10:38:08 -0700 +Processing by TasksController#index as */* + Rendering text template + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 11:56:52 -0700 +Processing by TasksController#index as HTML + Rendering text template + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.5ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 11:56:52 -0700 +Processing by TasksController#index as */* + Rendering text template + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.4ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 11:58:51 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (129.9ms) +Completed 500 Internal Server Error in 527ms + + + +ActionView::Template::Error (undefined method `to' for #<#:0x007ff811667b58> +Did you mean? to_s + t): + 1:

Task List

+ 2: + 3: + +app/views/tasks/index.html.erb:4:in `_app_views_tasks_index_html_erb___2647623048372580819_70351710368500' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 11:58:54 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (112.1ms) +Completed 500 Internal Server Error in 152ms + + + +ActionView::Template::Error (undefined method `to' for #<#:0x007ff8130bb680> +Did you mean? to_s + t): + 1:

Task List

+ 2: + 3: + +app/views/tasks/index.html.erb:4:in `_app_views_tasks_index_html_erb___2647623048372580819_70351724086580' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 11:59: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.7ms) +Completed 200 OK in 911ms (Views: 908.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 11:59:24 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.8ms) +Completed 200 OK in 74ms (Views: 37.1ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 12:02:58 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.5ms) +Completed 200 OK in 17ms (Views: 14.9ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 12:02:59 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.6ms) +Completed 200 OK in 48ms (Views: 30.7ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 12:04:41 -0700 + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/config/routes.rb:5: syntax error, unexpected tIDENTIFIER, expecting keyword_end + get "/tasks/new", to: "tasks#new" as: "add" + ^): + +config/routes.rb:5: syntax error, unexpected tIDENTIFIER, expecting keyword_end +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 12:04:42 -0700 + +ActionController::RoutingError (No route matches [GET] "/tasks"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 12:05:01 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.0ms) +Completed 200 OK in 26ms (Views: 23.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 12:05:01 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.8ms) +Completed 200 OK in 62ms (Views: 45.4ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 13:56:44 -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 71ms (Views: 67.7ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 13:56:45 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.0ms) +Completed 200 OK in 52ms (Views: 34.9ms) + + From 349722aed5f3f837f4eedf8c87f0748981f8eb28 Mon Sep 17 00:00:00 2001 From: Angela Wilson Date: Wed, 20 Sep 2017 15:51:28 -0700 Subject: [PATCH 04/16] list tasks in the index.html.erb --- app/controllers/tasks_controller.rb | 4 ++-- app/views/tasks/index.html.erb | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb index e3d685c4d..2bdf95043 100644 --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -1,13 +1,13 @@ class TasksController < ApplicationController - @tasks = ["complete the death star", "clean the bathroom", "do laundry", "have fun"] + def new render plain: "added 'new' task" end def index - @tasks + @tasks = ["complete the death star", "clean the bathroom", "do laundry", "have fun"] # render plain: "added 'index' task" # render plain: @tasks = ["complete the death star", "clean the bathroom", "do laundry", "have fun"] diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb index 58abbed2f..17994f090 100644 --- a/app/views/tasks/index.html.erb +++ b/app/views/tasks/index.html.erb @@ -6,3 +6,10 @@ <%= link_to "All Tasks", tasks_path %> + +

Your Tasks

+
    + <% @tasks.each_with_index do |task, index| %> +
  1. <%= task %>
  2. + <% end %> +
From a90eb463df73696cb07bb6526e7bd043897e0e81 Mon Sep 17 00:00:00 2001 From: Angela Wilson Date: Wed, 20 Sep 2017 15:54:54 -0700 Subject: [PATCH 05/16] moved logs into gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 28f484983..35ac9a864 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,5 @@ build/ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this: .rvmrc + +/log/* From 1634af5e0490edd6eb737d2ae82f6a693d857663 Mon Sep 17 00:00:00 2001 From: Angela Wilson Date: Wed, 20 Sep 2017 19:20:24 -0700 Subject: [PATCH 06/16] Create task model, migrate, and made schema. --- .gitignore | 3 +- app/models/task.rb | 2 + app/views/tasks/index.html.erb | 2 +- db/development.sqlite3 | Bin 0 -> 28672 bytes db/schema.rb | 24 + db/test.sqlite3 | Bin 0 -> 28672 bytes log/development.log | 848 +++++++++++++++++++++++++++++++++ test/fixtures/tasks.yml | 11 + test/models/task_test.rb | 7 + 9 files changed, 894 insertions(+), 3 deletions(-) create mode 100644 app/models/task.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/.gitignore b/.gitignore index 35ac9a864..89491a408 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ /.config /coverage/ /InstalledFiles +/log/ /pkg/ /spec/reports/ /test/tmp/ @@ -33,5 +34,3 @@ build/ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this: .rvmrc - -/log/* 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 17994f090..92c94dec7 100644 --- a/app/views/tasks/index.html.erb +++ b/app/views/tasks/index.html.erb @@ -9,7 +9,7 @@

Your Tasks

    - <% @tasks.each_with_index do |task, index| %> + <% @tasks.each do |task| %>
  1. <%= task %>
  2. <% end %>
diff --git a/db/development.sqlite3 b/db/development.sqlite3 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..bb3d76aa7cc6aed44162b115b8aab014afa521ac 100644 GIT binary patch literal 28672 zcmeI%Jx|*}7zgk(AxWu7LMM+snT3cqCn2gps)}1#2sH$nh5>c3j`&(E{1WU-L`T~1 zQD^rZC&?_{kU~EHEB7aVv3QgFF>M0k5P$##AOHaf zKmY;|fB*#kOW>-W&g#{w_U(;er#@$~zlVyLWt)f%YY22ZqzAFie@iUS$%U;yL#D! zNm^$-U{2tDiJ9=CFc}NXkCKe_D~~RZ6FGU1?I5jTlcF`B(T_K$r7(73r!*E)>(Xbc z9**WR`s%87($Ar@H|;&UF`Ol}j+=-3bvfz4uFJx>D-QX5g(v)xf^d1#ioLdCAIQmZ zZihRn5+15V6;BkjeJ;zxpr=tJ3p!N6M^#i#K`yBSHV8lf0uX=z1Rwwb2tWV=5P$## zW>o;||5<&q$O{4xfB*y_009U<00Izz00bcLAfVR&TH!a5A8ZhS00bZa0SG_<0uX=z z1Rwwb2+V}Qk~UW?o26IgcG)afOtWG>mw93RKNAlZNk9Ms5P$##AOHafKmY;|fB*#U z1YV?y3#04*{`>!HQn&^Z1Rwwb2tWV=5P$##AOHafKmYMdbvbRbEjI`*{W<*D&_K)IlZU<{{NN~Zl6eoxD5zE00Izz00bZa X0SG_<0uX=z1RgJtPc1JD{eAEkd<#G6 literal 0 HcmV?d00001 diff --git a/db/schema.rb b/db/schema.rb new file mode 100644 index 000000000..488e68e87 --- /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: 20170920230030) do + + create_table "tasks", force: :cascade do |t| + t.string "title" + t.string "description" + t.datetime "due_date" + t.boolean "completed" + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + end + +end diff --git a/db/test.sqlite3 b/db/test.sqlite3 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..6f69e533f274fc1c901113f153a0e9cfe709b6b7 100644 GIT binary patch literal 28672 zcmeI%Jx|*}7zgk(AxWu7LMM+snS}@_PSU7=R28?f5NZfC4Fl?69r3kT_$Anvh>o=1 zrz{=&Rrm^(n7Z~Zfsi!GQWg~bt=Ks~cjx%|`B^Uh_@U+rPCrL+zyz(3C8B9$hf+dF zTJBl7-)$+`n7=!b-`Y@nS~E>vq<3=ppCq$*O$zz^uiT&f`Qml%$FvEELjVF0fB*y_ z009U<00I#BFM-Q?I;&T!+P61?o%o!^ju#3Zhs<{ZE||*%n-t5uYuHxPrcLW@&8Ehr zAqHJB&iGe@c3IpyWihQEG->^)R-=cFy?v{3OyAqbYt-m6zrzQkWS|vuCb;V`VNm(| zTzCN=OqTtfwu(;aFYabC`lqT!ywK$r$+<6=ZVu~+sCVv6x>2VzDVn`VW%Z2>?ecjK zCTX4WfH{HpC1%2l!elHkKT0yzuROXuPUPf4wu7{WO^VihMnBq^mcrPDozhrHtxKP% zdN`cR=&P&RaX*K?M#9fKJZ$k>oV(N1$o>D*xe~H~ugRgs%Sg-Wx~_eH-Mgk>$yw4n z%#F-9dNGx==Nfdc-n4h^#&DL@I%*#5)#appyDkgkwm9VT6`t@%3c}?{EB4xoeIO^t zxgGAPO1Q5QRXkD9_PHz%gPuf@Ea*@LA5>8}1-YaS*dPD_2tWV=5P$##AOHafKmY;| zm{kF+|7Z2dA}h>*W$P&FyMw`(@=trMhKqZcgv%zyH4>g_}o`A#MW#5P$##AOHaf YKmY;|fB*y_0D*@KSc+4*&oF literal 0 HcmV?d00001 diff --git a/log/development.log b/log/development.log index 2f8111745..4ff9bfd99 100644 --- a/log/development.log +++ b/log/development.log @@ -602,3 +602,851 @@ Processing by TasksController#index as */* Completed 200 OK in 52ms (Views: 34.9ms) +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 14:52:10 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (4.4ms) +Completed 500 Internal Server Error in 11ms + + + +ActionView::Template::Error (undefined method `each' for nil:NilClass): + 9: + 10:

Your Tasks

+ 11: + 12: <% @tasks.each do |task| %> + 13: <%= task %> + 14: <% end %> + +app/views/tasks/index.html.erb:12:in `_app_views_tasks_index_html_erb___2647623048372580819_70351726242520' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 14:52:11 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (21.5ms) +Completed 500 Internal Server Error in 60ms + + + +ActionView::Template::Error (undefined method `each' for nil:NilClass): + 9: + 10:

Your Tasks

+ 11: + 12: <% @tasks.each do |task| %> + 13: <%= task %> + 14: <% end %> + +app/views/tasks/index.html.erb:12:in `_app_views_tasks_index_html_erb___2647623048372580819_70351717886020' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 14:55:33 -0700 +Processing by TasksController#index as HTML +Completed 500 Internal Server Error in 114ms + + + +NameError (undefined local variable or method `tasks' for # +Did you mean? tasks_url): + +app/controllers/tasks_controller.rb:10:in `index' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 14:55:34 -0700 +Processing by TasksController#index as */* +Completed 500 Internal Server Error in 186ms + + + +NameError (undefined local variable or method `tasks' for # +Did you mean? tasks_url): + +app/controllers/tasks_controller.rb:10:in `index' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 15:27:22 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (7.1ms) +Completed 500 Internal Server Error in 17ms + + + +ActionView::Template::Error (undefined method `each' for nil:NilClass): + 9: + 10:

Your Tasks

+ 11: + 12: <% @tasks.each do |task| %> + 13: <%= task %> + 14: <% end %> + +app/views/tasks/index.html.erb:12:in `_app_views_tasks_index_html_erb___2647623048372580819_70351759023760' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 15:27:23 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (16.3ms) +Completed 500 Internal Server Error in 55ms + + + +ActionView::Template::Error (undefined method `each' for nil:NilClass): + 9: + 10:

Your Tasks

+ 11: + 12: <% @tasks.each do |task| %> + 13: <%= task %> + 14: <% end %> + +app/views/tasks/index.html.erb:12:in `_app_views_tasks_index_html_erb___2647623048372580819_70351759738340' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 15:33:12 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.6ms) +Completed 200 OK in 320ms (Views: 318.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 15:33:12 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.7ms) +Completed 200 OK in 51ms (Views: 32.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 15:34:24 -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 17ms (Views: 15.4ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 15:34:24 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.9ms) +Completed 200 OK in 45ms (Views: 28.8ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 15:34:33 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.7ms) +Completed 200 OK in 23ms (Views: 21.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 15:34:33 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.6ms) +Completed 200 OK in 47ms (Views: 29.8ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 15:34:33 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 57ms (Views: 36.5ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 15:35:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 22ms (Views: 20.0ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 15:35:01 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.0ms) +Completed 200 OK in 46ms (Views: 29.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 15:38:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (4.4ms) +Completed 500 Internal Server Error in 16ms + + + +ActionView::Template::Error (undefined method `task' for 0:Fixnum): + 10:

Your Tasks

+ 11: + 12: <% @tasks.each_with_index do |task, index| %> + 13: <%= index. task %> + 14: <% end %> + +app/views/tasks/index.html.erb:13:in `block in _app_views_tasks_index_html_erb___2647623048372580819_70351718281460' +app/views/tasks/index.html.erb:12:in `each' +app/views/tasks/index.html.erb:12:in `each_with_index' +app/views/tasks/index.html.erb:12:in `_app_views_tasks_index_html_erb___2647623048372580819_70351718281460' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 15:38:47 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (20.6ms) +Completed 500 Internal Server Error in 66ms + + + +ActionView::Template::Error (undefined method `task' for 0:Fixnum): + 10:

Your Tasks

+ 11: + 12: <% @tasks.each_with_index do |task, index| %> + 13: <%= index. task %> + 14: <% end %> + +app/views/tasks/index.html.erb:13:in `block in _app_views_tasks_index_html_erb___2647623048372580819_70351757385040' +app/views/tasks/index.html.erb:12:in `each' +app/views/tasks/index.html.erb:12:in `each_with_index' +app/views/tasks/index.html.erb:12:in `_app_views_tasks_index_html_erb___2647623048372580819_70351757385040' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 15:39:40 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.7ms) +Completed 200 OK in 22ms (Views: 19.6ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 15:39:40 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.7ms) +Completed 200 OK in 60ms (Views: 38.8ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 15:41: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.7ms) +Completed 200 OK in 17ms (Views: 14.9ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 15:41:17 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.7ms) +Completed 200 OK in 58ms (Views: 34.9ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 15:42:18 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.7ms) +Completed 200 OK in 18ms (Views: 15.8ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 15:42:18 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.7ms) +Completed 200 OK in 59ms (Views: 32.1ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 15:44:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.8ms) +Completed 200 OK in 21ms (Views: 18.7ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 15:44:37 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.8ms) +Completed 200 OK in 58ms (Views: 34.6ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 16:13:04 -0700 + +ActiveRecord::PendingMigrationError ( + +Migrations are pending. To resolve this issue, run: + + bin/rails db:migrate RAILS_ENV=development + +): + +activerecord (5.1.4) lib/active_record/migration.rb:576:in `check_pending!' +activerecord (5.1.4) lib/active_record/migration.rb:553:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 16:13:05 -0700 + +ActiveRecord::PendingMigrationError ( + +Migrations are pending. To resolve this issue, run: + + bin/rails db:migrate RAILS_ENV=development + +): + +activerecord (5.1.4) lib/active_record/migration.rb:576:in `check_pending!' +activerecord (5.1.4) lib/active_record/migration.rb:553:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 16:14:05 -0700 + +ActiveRecord::PendingMigrationError ( + +Migrations are pending. To resolve this issue, run: + + bin/rails db:migrate RAILS_ENV=development + +): + +activerecord (5.1.4) lib/active_record/migration.rb:576:in `check_pending!' +activerecord (5.1.4) lib/active_record/migration.rb:553:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 16:14:06 -0700 + +ActiveRecord::PendingMigrationError ( + +Migrations are pending. To resolve this issue, run: + + bin/rails db:migrate RAILS_ENV=development + +): + +activerecord (5.1.4) lib/active_record/migration.rb:576:in `check_pending!' +activerecord (5.1.4) lib/active_record/migration.rb:553:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +  (0.1ms) SELECT sqlite_version(*) +  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) +  (2.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Migrating to CreateTasks (20170920230030) +  (0.1ms) begin transaction +  (0.6ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" varchar, "due_date" datetime, "completed" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170920230030"]] +  (1.2ms) commit transaction + ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2017-09-20 23:14:27.531308"], ["updated_at", "2017-09-20 23:14:27.531308"]] +  (0.9ms) commit transaction +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 16:19:54 -0700 +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.7ms) +Completed 200 OK in 23ms (Views: 21.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 16:19:55 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 67ms (Views: 44.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 17:20:22 -0700 +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + +ActiveRecord::PendingMigrationError ( + +Migrations are pending. To resolve this issue, run: + + bin/rails db:migrate RAILS_ENV=development + +): + +activerecord (5.1.4) lib/active_record/migration.rb:576:in `check_pending!' +activerecord (5.1.4) lib/active_record/migration.rb:553:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 17:20:22 -0700 +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + +ActiveRecord::PendingMigrationError ( + +Migrations are pending. To resolve this issue, run: + + bin/rails db:migrate RAILS_ENV=development + +): + +activerecord (5.1.4) lib/active_record/migration.rb:576:in `check_pending!' +activerecord (5.1.4) lib/active_record/migration.rb:553:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Migrating to CreateTasks (20170921001954) +  (0.1ms) begin transaction +  (0.1ms) SELECT sqlite_version(*) +  (0.4ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) rollback transaction +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 17:29:43 -0700 +  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + +ActiveRecord::PendingMigrationError ( + +Migrations are pending. To resolve this issue, run: + + bin/rails db:migrate RAILS_ENV=development + +): + +activerecord (5.1.4) lib/active_record/migration.rb:576:in `check_pending!' +activerecord (5.1.4) lib/active_record/migration.rb:553:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 17:29:44 -0700 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + +ActiveRecord::PendingMigrationError ( + +Migrations are pending. To resolve this issue, run: + + bin/rails db:migrate RAILS_ENV=development + +): + +activerecord (5.1.4) lib/active_record/migration.rb:576:in `check_pending!' +activerecord (5.1.4) lib/active_record/migration.rb:553:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 17:29:46 -0700 +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + +ActiveRecord::PendingMigrationError ( + +Migrations are pending. To resolve this issue, run: + + bin/rails db:migrate RAILS_ENV=development + +): + +activerecord (5.1.4) lib/active_record/migration.rb:576:in `check_pending!' +activerecord (5.1.4) lib/active_record/migration.rb:553:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 17:29:46 -0700 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + +ActiveRecord::PendingMigrationError ( + +Migrations are pending. To resolve this issue, run: + + bin/rails db:migrate RAILS_ENV=development + +): + +activerecord (5.1.4) lib/active_record/migration.rb:576:in `check_pending!' +activerecord (5.1.4) lib/active_record/migration.rb:553:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] +  (0.3ms) DROP TABLE IF EXISTS "tasks" +  (0.1ms) SELECT sqlite_version(*) +  (1.9ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" varchar, "due_date" datetime, "completed" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES (20170920230030) +  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) begin transaction + SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2017-09-21 00:33:18.357220"], ["updated_at", "2017-09-21 00:33:18.357220"]] +  (0.9ms) commit transaction + ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) begin transaction +  (0.8ms) commit transaction +  (0.2ms) DROP TABLE IF EXISTS "tasks" +  (0.1ms) SELECT sqlite_version(*) +  (2.0ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" varchar, "due_date" datetime, "completed" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) +  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES (20170920230030) +  (1.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2017-09-21 00:33:18.403012"], ["updated_at", "2017-09-21 00:33:18.403012"]] +  (1.1ms) commit transaction + ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) begin transaction +  (0.1ms) commit transaction +  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Migrating to CreateTasks (20170921001954) +  (0.1ms) begin transaction +  (0.2ms) SELECT sqlite_version(*) +  (0.5ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) rollback transaction +  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] +  (0.2ms) DROP TABLE IF EXISTS "tasks" +  (0.1ms) SELECT sqlite_version(*) +  (3.3ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" varchar, "due_date" datetime, "completed" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES (20170920230030) +  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2017-09-21 00:34:26.259483"], ["updated_at", "2017-09-21 00:34:26.259483"]] +  (1.1ms) commit transaction + ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) DROP TABLE IF EXISTS "tasks" +  (0.1ms) SELECT sqlite_version(*) +  (1.1ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" varchar, "due_date" datetime, "completed" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES (20170920230030) +  (2.5ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2017-09-21 00:34:26.279037"], ["updated_at", "2017-09-21 00:34:26.279037"]] +  (2.7ms) commit transaction + ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 17:39:25 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.7ms) +Completed 200 OK in 17ms (Views: 15.0ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 17:39:25 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.7ms) +Completed 200 OK in 64ms (Views: 35.9ms) + + +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] +  (0.1ms) DROP TABLE IF EXISTS "tasks" +  (0.1ms) SELECT sqlite_version(*) +  (2.8ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" varchar, "due_date" datetime, "completed" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES (20170920230030) +  (1.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2017-09-21 00:51:43.332240"], ["updated_at", "2017-09-21 00:51:43.332240"]] +  (1.7ms) commit transaction + ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) DROP TABLE IF EXISTS "tasks" +  (0.1ms) SELECT sqlite_version(*) +  (1.2ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" varchar, "due_date" datetime, "completed" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES (20170920230030) +  (2.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.2ms) begin transaction + SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2017-09-21 00:51:43.359088"], ["updated_at", "2017-09-21 00:51:43.359088"]] +  (6.4ms) commit transaction + ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + Task Load (1.3ms) SELECT "tasks".* FROM "tasks" LIMIT ? [["LIMIT", 11]] +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC diff --git a/test/fixtures/tasks.yml b/test/fixtures/tasks.yml new file mode 100644 index 000000000..80aed36e3 --- /dev/null +++ b/test/fixtures/tasks.yml @@ -0,0 +1,11 @@ +# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +# This model initially had no columns defined. If you add columns to the +# model remove the '{}' from the fixture names and add the columns immediately +# below each fixture, per the syntax in the comments below +# +one: {} +# column: value +# +two: {} +# column: value diff --git a/test/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 25b10c2981c62ee75666e12748eb958a24d5d90a Mon Sep 17 00:00:00 2001 From: Angela Wilson Date: Thu, 21 Sep 2017 16:20:42 -0700 Subject: [PATCH 07/16] almost finished with wave 1. need to complete an each loop to list all tasks. --- app/controllers/tasks_controller.rb | 3 +- app/views/tasks/index.html.erb | 7 +- db/development.sqlite3 | Bin 28672 -> 28672 bytes .../20170921171458_remove_tasks_table.rb | 5 + db/migrate/20170921171713_create_tasks.rb | 13 + db/schema.rb | 6 +- log/development.log | 383 ++++++++++++++++++ 7 files changed, 408 insertions(+), 9 deletions(-) create mode 100644 db/migrate/20170921171458_remove_tasks_table.rb create mode 100644 db/migrate/20170921171713_create_tasks.rb diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb index 2bdf95043..101a945fe 100644 --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -7,7 +7,8 @@ def new end def index - @tasks = ["complete the death star", "clean the bathroom", "do laundry", "have fun"] + @tasks = Task.all + # @tasks = ["complete the death star", "clean the bathroom", "do laundry", "have fun"] # render plain: "added 'index' task" # render plain: @tasks = ["complete the death star", "clean the bathroom", "do laundry", "have fun"] diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb index 92c94dec7..78b191550 100644 --- a/app/views/tasks/index.html.erb +++ b/app/views/tasks/index.html.erb @@ -8,8 +8,5 @@

Your Tasks

-
    - <% @tasks.each do |task| %> -
  1. <%= task %>
  2. - <% end %> -
+ +<%= @tasks %> diff --git a/db/development.sqlite3 b/db/development.sqlite3 index bb3d76aa7cc6aed44162b115b8aab014afa521ac..ee6956145f81a4a3990e1470bf62d79f0bc35c94 100644 GIT binary patch delta 554 zcmZ{gKTE?v7{>1swN;zEwS!euIHicirX-ifHeJ-Aqqw?8lWJ+3)1>v!;vf71O7LsA zR2)Qb6~BOk798A!ZpGCLTBw3|9K5^_zvsF4J$=KcZ}?(rY!o3B;jecFFEje&D9R45 zNb(IDinWn^FMY~;v9@##iPl)$iM86XXDomm+{zm==LXKIkw`L`#OFpZ0hPoStMAsF zhGWl>O~z`DNeWrj z%u{Oielh)%)h9`Oofx_Zx_m<)Fgc9HByL!K)fYlZgeL?Yc!eh}-$N=c3hB^IHL0fM q`PJjXuTIV=1fAva5fL6k@C6<@cn9+dF^zwN;-3~Lg;r-hLB0TX^@VT% delta 184 zcmZp8z}WDBae}lUD+2=qI}pPF^F$qENmd3uRtH|bEevctcNzHk`1bIA=PTs7%e!u~ zpg=0m=DR%C8JQRuCU4`5;A+fgWEU3~XKc2eEW@8Uc^1E_WJzXjs*ZwEa(-?>PHIVN zijqQ7etu4BV&3Ha{H{z40-FUDp72kcAjZZEvJ}qc0&yAn-!bsN1FM+)&R&cSiNE=s HzmNg|B)&14 diff --git a/db/migrate/20170921171458_remove_tasks_table.rb b/db/migrate/20170921171458_remove_tasks_table.rb new file mode 100644 index 000000000..30d1d816d --- /dev/null +++ b/db/migrate/20170921171458_remove_tasks_table.rb @@ -0,0 +1,5 @@ +class RemoveTasksTable < ActiveRecord::Migration[5.1] + def change + drop_table :tasks + end +end diff --git a/db/migrate/20170921171713_create_tasks.rb b/db/migrate/20170921171713_create_tasks.rb new file mode 100644 index 000000000..4c5f014b9 --- /dev/null +++ b/db/migrate/20170921171713_create_tasks.rb @@ -0,0 +1,13 @@ +class CreateTasks < ActiveRecord::Migration[5.1] + def change + create_table :tasks do |t| + + t.string :title + t.boolean :completed + t.string :description + t.date :due_date + + t.timestamps + end + end +end diff --git a/db/schema.rb b/db/schema.rb index 488e68e87..592b79de9 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,13 +10,13 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20170920230030) do +ActiveRecord::Schema.define(version: 20170921171713) do create_table "tasks", force: :cascade do |t| t.string "title" - t.string "description" - t.datetime "due_date" t.boolean "completed" + t.string "description" + t.date "due_date" t.datetime "created_at", null: false t.datetime "updated_at", null: false end diff --git a/log/development.log b/log/development.log index 4ff9bfd99..92e873fa2 100644 --- a/log/development.log +++ b/log/development.log @@ -1450,3 +1450,386 @@ Completed 200 OK in 64ms (Views: 35.9ms) Task Load (1.3ms) SELECT "tasks".* FROM "tasks" LIMIT ? [["LIMIT", 11]]  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) begin transaction + SQL (0.6ms) INSERT INTO "tasks" ("title", "description", "completed", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "complete the death star"], ["description", "get the minions, the little yellow minions not the storm troopers, to work hard for completion of the death start"], ["completed", "f"], ["created_at", "2017-09-21 02:40:20.308464"], ["updated_at", "2017-09-21 02:40:20.308464"]] +  (1071.1ms) commit transaction + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" LIMIT ? [["LIMIT", 11]] +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 19:48: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.6ms) +Completed 200 OK in 17ms (Views: 14.4ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 19:48:17 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.8ms) +Completed 200 OK in 58ms (Views: 33.4ms) + + +  (0.2ms) begin transaction + SQL (0.8ms) INSERT INTO "tasks" ("title", "description", "completed", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "have fun"], ["description", ""], ["completed", "f"], ["created_at", "2017-09-21 02:52:22.685841"], ["updated_at", "2017-09-21 02:52:22.685841"]] +  (1465.1ms) commit transaction +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 19:53:34 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (4.7ms) +Completed 500 Internal Server Error in 21ms + + + +ActionView::Template::Error (undefined method `each' for nil:NilClass): + 9: + 10:

Your Tasks

+ 11:
    + 12: <% @tasks.each do |task| %> + 13:
  1. <%= task %>
  2. + 14: <% end %> + 15:
+ +app/views/tasks/index.html.erb:12:in `_app_views_tasks_index_html_erb___2647623048372580819_70351760654840' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 19:53:36 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (18.2ms) +Completed 500 Internal Server Error in 63ms + + + +ActionView::Template::Error (undefined method `each' for nil:NilClass): + 9: + 10:

Your Tasks

+ 11:
    + 12: <% @tasks.each do |task| %> + 13:
  1. <%= task %>
  2. + 14: <% end %> + 15:
+ +app/views/tasks/index.html.erb:12:in `_app_views_tasks_index_html_erb___2647623048372580819_70351787400200' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 19:54:21 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (5.5ms) +Completed 500 Internal Server Error in 17ms + + + +ActionView::Template::Error (undefined method `each' for nil:NilClass): + 9: + 10:

Your Tasks

+ 11: + +app/views/tasks/index.html.erb:12:in `_app_views_tasks_index_html_erb___2647623048372580819_70351774895280' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 19:54:22 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (17.9ms) +Completed 500 Internal Server Error in 60ms + + + +ActionView::Template::Error (undefined method `each' for nil:NilClass): + 9: + 10:

Your Tasks

+ 11: + +app/views/tasks/index.html.erb:12:in `_app_views_tasks_index_html_erb___2647623048372580819_70351761304280' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 19:55:06 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 500 Internal Server Error in 14ms + + + +ActionView::Template::Error (undefined method `each' for nil:NilClass): + 9: + 10:

Your Tasks

+ 11: + +app/views/tasks/index.html.erb:12:in `_app_views_tasks_index_html_erb___2647623048372580819_70351759443660' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 19:55:07 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (19.1ms) +Completed 500 Internal Server Error in 63ms + + + +ActionView::Template::Error (undefined method `each' for nil:NilClass): + 9: + 10:

Your Tasks

+ 11: + +app/views/tasks/index.html.erb:12:in `_app_views_tasks_index_html_erb___2647623048372580819_70351768009900' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 19:55:16 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 500 Internal Server Error in 14ms + + + +ActionView::Template::Error (undefined method `each' for nil:NilClass): + 10:

Your Tasks

+ 11: + 12: + +app/views/tasks/index.html.erb:13:in `_app_views_tasks_index_html_erb___2647623048372580819_70351760243940' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 19:55:16 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (23.2ms) +Completed 500 Internal Server Error in 62ms + + + +ActionView::Template::Error (undefined method `each' for nil:NilClass): + 10:

Your Tasks

+ 11: + 12: + +app/views/tasks/index.html.erb:13:in `_app_views_tasks_index_html_erb___2647623048372580819_70351718673600' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 19:55:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 25ms (Views: 22.8ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 19:55:33 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.7ms) +Completed 200 OK in 60ms (Views: 37.6ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 19:59:16 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (236.6ms) +Completed 500 Internal Server Error in 244ms + + + +ActionView::Template::Error (undefined local variable or method `index' for #<#:0x007ff81a5f51d0>): + 9: + 10:

Your Tasks

+ 11: + 12: <%= index %> + +app/views/tasks/index.html.erb:12:in `_app_views_tasks_index_html_erb___2647623048372580819_70351785536960' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 19:59:17 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (267.6ms) +Completed 500 Internal Server Error in 330ms + + + +ActionView::Template::Error (undefined local variable or method `index' for #<#:0x007ff819702560>): + 9: + 10:

Your Tasks

+ 11: + 12: <%= index %> + +app/views/tasks/index.html.erb:12:in `_app_views_tasks_index_html_erb___2647623048372580819_70351777699780' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 19:59:38 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.6ms) +Completed 200 OK in 21ms (Views: 18.1ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 19:59:38 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 76ms (Views: 48.7ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 20:00:12 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.7ms) +Completed 200 OK in 22ms (Views: 18.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 20:00:12 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.8ms) +Completed 200 OK in 79ms (Views: 51.9ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 20:00:49 -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 34ms (Views: 30.0ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-20 20:00:50 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 153ms (Views: 101.4ms) + + +  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Migrating to RemoveTasksTable (20170921171458) +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Migrating to RemoveTasksTable (20170921171458) +  (0.1ms) begin transaction +  (2.7ms) DROP TABLE "tasks" + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170921171458"]] +  (123.8ms) commit transaction + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Migrating to CreateTasks (20170921171713) +  (0.1ms) begin transaction +  (0.1ms) SELECT sqlite_version(*) +  (1.3ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "completed" boolean, "description" varchar, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170921171713"]] +  (1.5ms) commit transaction + ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 15:31:30 -0700 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 288ms (Views: 272.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 15:31:30 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.9ms) +Completed 200 OK in 59ms (Views: 39.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 15:32:29 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.0ms) +Completed 200 OK in 21ms (Views: 18.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 15:32:29 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.7ms) +Completed 200 OK in 60ms (Views: 33.4ms | ActiveRecord: 0.0ms) + + + Task Load (1.6ms) SELECT "tasks".* FROM "tasks" LIMIT ? [["LIMIT", 11]] + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 15:50:16 -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 939ms (Views: 935.9ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 15:50:17 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.8ms) +Completed 200 OK in 88ms (Views: 67.9ms | ActiveRecord: 0.0ms) + + +  (0.1ms) begin transaction + SQL (0.8ms) INSERT INTO "tasks" ("title", "completed", "description", "due_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["title", "complete death star"], ["completed", "f"], ["description", "minions do work"], ["due_date", "2017-02-02"], ["created_at", "2017-09-21 22:52:28.097229"], ["updated_at", "2017-09-21 22:52:28.097229"]] +  (2.5ms) commit transaction +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 15:53:08 -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 20ms (Views: 18.2ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 15:53:09 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.7ms) +Completed 200 OK in 60ms (Views: 33.8ms | ActiveRecord: 0.0ms) + + +  (0.2ms) begin transaction + SQL (0.8ms) INSERT INTO "tasks" ("title", "completed", "description", "due_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["title", "have fun"], ["completed", "f"], ["description", "by sex, drugs, and rock-and-roll"], ["due_date", "2017-02-02"], ["created_at", "2017-09-21 22:55:09.324351"], ["updated_at", "2017-09-21 22:55:09.324351"]] +  (219.8ms) commit transaction +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 15:59:48 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.8ms) +Completed 200 OK in 23ms (Views: 19.9ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 15:59:49 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.8ms) +Completed 200 OK in 84ms (Views: 61.2ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 16:01:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 25ms (Views: 22.9ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 16:01:36 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 83ms (Views: 60.9ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 16:13:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 31ms (Views: 24.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 16:13:50 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.7ms) +Completed 200 OK in 68ms (Views: 44.1ms) + + From 2adb1a18ee87d873a75cad2b1e92d96153ead568 Mon Sep 17 00:00:00 2001 From: Angela Wilson Date: Thu, 21 Sep 2017 16:35:41 -0700 Subject: [PATCH 08/16] Complete wave 1: Each loop complete and so the tasks are printed in the browser. --- app/views/tasks/index.html.erb | 8 ++- log/development.log | 120 +++++++++++++++++++++++++++++++++ 2 files changed, 127 insertions(+), 1 deletion(-) diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb index 78b191550..669ef2e9b 100644 --- a/app/views/tasks/index.html.erb +++ b/app/views/tasks/index.html.erb @@ -9,4 +9,10 @@

Your Tasks

-<%= @tasks %> +
    + <% @tasks.each do |task|%> +
  1. + <%= task.title %> +
  2. + <% end %> +
diff --git a/log/development.log b/log/development.log index 92e873fa2..8002ef9b1 100644 --- a/log/development.log +++ b/log/development.log @@ -1833,3 +1833,123 @@ Processing by TasksController#index as */* Completed 200 OK in 68ms (Views: 44.1ms) +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 16:30:48 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (282.4ms) +Completed 500 Internal Server Error in 291ms (ActiveRecord: 0.9ms) + + + +ActionView::Template::Error (undefined local variable or method `tasks' for #<#:0x007ff6100085a8> +Did you mean? task + @tasks): + 12: + 13: <% @tasks.each do |task|%> + 14: + 15: <%= tasks %> + 16: <% end %> + +app/views/tasks/index.html.erb:15:in `block in _app_views_tasks_index_html_erb___455362977979513750_70347403577280' +app/views/tasks/index.html.erb:13:in `_app_views_tasks_index_html_erb___455362977979513750_70347403577280' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 16:30:50 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (234.1ms) +Completed 500 Internal Server Error in 276ms (ActiveRecord: 0.2ms) + + + +ActionView::Template::Error (undefined local variable or method `tasks' for #<#:0x007ff60c823ae8> +Did you mean? task + @tasks): + 12: + 13: <% @tasks.each do |task|%> + 14: + 15: <%= tasks %> + 16: <% end %> + +app/views/tasks/index.html.erb:15:in `block in _app_views_tasks_index_html_erb___455362977979513750_70347374603140' +app/views/tasks/index.html.erb:13:in `_app_views_tasks_index_html_erb___455362977979513750_70347374603140' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 16:31:19 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 29ms (Views: 25.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 16:31:19 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 66ms (Views: 42.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 16:32:15 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 20ms (Views: 16.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 16:32:16 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 64ms (Views: 35.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 16:32:48 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 21ms (Views: 18.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 16:32:48 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 59ms (Views: 36.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 16:33:21 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 20ms (Views: 17.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 16:33:22 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 61ms (Views: 35.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 16:33:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 23ms (Views: 19.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 16:33:50 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 59ms (Views: 34.5ms | ActiveRecord: 0.2ms) + + From 445c68ee93b73aef8371f7e5e753532a62f305d1 Mon Sep 17 00:00:00 2001 From: Angela Wilson Date: Sat, 23 Sep 2017 21:56:53 -0700 Subject: [PATCH 09/16] Accidentely skipped Wave 2. So started working onthe 'edit' functionality e.g. controller method and link on 'index' page is written. Redirecting my work back to Wave 2 and the 'show' functionality. --- app/assets/stylesheets/application.css | 17 + app/controllers/tasks_controller.rb | 47 +- app/views/layouts/application.html.erb | 11 + app/views/tasks/_form.html.erb | 3 + app/views/tasks/edit.html.erb | 18 + app/views/tasks/index.html.erb | 9 +- app/views/tasks/new.html.erb | 27 + config/routes.rb | 10 +- db/development.sqlite3 | Bin 28672 -> 28672 bytes log/development.log | 2626 ++++++++++++++++++++++++ 10 files changed, 2744 insertions(+), 24 deletions(-) create mode 100644 app/views/tasks/_form.html.erb create mode 100644 app/views/tasks/edit.html.erb create mode 100644 app/views/tasks/new.html.erb diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index d05ea0f51..526fb452c 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -13,3 +13,20 @@ *= require_tree . *= require_self */ + +@import url('https://fonts.googleapis.com/css?family=Cormorant+Garamond:400,400i'); + +html { + font-size: 62.5%; +} + + h1 { + font-size: 3.5rem; + font-family: garamond; + text-align: center; + } + + nav { + font-size: 1.5rem; + + } diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb index 101a945fe..3dff83934 100644 --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -1,40 +1,57 @@ class TasksController < ApplicationController - - def new - render plain: "added 'new' task" - end - def index - @tasks = Task.all + @tasks = Task.all # @tasks = ["complete the death star", "clean the bathroom", "do laundry", "have fun"] # render plain: "added 'index' task" # render plain: @tasks = ["complete the death star", "clean the bathroom", "do laundry", "have fun"] end - def edit - render plain: "add 'edit' task" + def new + @task = Task.new + end + + # why do we use a local variable for tasks versus @tasks + def create + task = Task.new( + title: params[:task][:title], + description: params[:task][:description], + due_date: params[:task][:due_date], + completed: params[:task][:completed] + ) + task.save + + redirect_to tasks_path end def show render plain: "add 'show' task" end - def update - render plain: "add 'update' task" - end + def edit + # why params[:id] - def completed - render plain: "add 'completed' task" end - def create - render plain: "add 'create' task" + def update + @task = Task.find(params[:id]) + + # updating attributes + @task.title = params[:task][:title] + @task.description = params[:task][:description] + @task.due_date = params[:task][:due_date] + @task.completed = params[:task][:completed] + + redirect_to task_path end def destroy render plain: "add 'destroy' task" end + + def completed + render plain: "add 'completed' task" + end end diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index be7a9f069..8f5a98acb 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -9,6 +9,17 @@ + +

Task List

+ + + <%= yield %> diff --git a/app/views/tasks/_form.html.erb b/app/views/tasks/_form.html.erb new file mode 100644 index 000000000..709b1dc70 --- /dev/null +++ b/app/views/tasks/_form.html.erb @@ -0,0 +1,3 @@ + + +<% button_text ||= "The button" %> diff --git a/app/views/tasks/edit.html.erb b/app/views/tasks/edit.html.erb new file mode 100644 index 000000000..f3f7915cf --- /dev/null +++ b/app/views/tasks/edit.html.erb @@ -0,0 +1,18 @@ +<%# render partial: "form", {button_text: "make me a task"} %> + + +
+ + + + + + + + + + + +
diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb index 669ef2e9b..9ab36feeb 100644 --- a/app/views/tasks/index.html.erb +++ b/app/views/tasks/index.html.erb @@ -1,11 +1,5 @@ -

Task List

- +<%# params %>

Your Tasks

@@ -13,6 +7,7 @@ <% @tasks.each do |task|%>
  • <%= task.title %> + <%= link_to "Edit", edit_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..6217db9ca --- /dev/null +++ b/app/views/tasks/new.html.erb @@ -0,0 +1,27 @@ +
    + + + + + + + + + + + + + + + + + +
    diff --git a/config/routes.rb b/config/routes.rb index 45f087ece..79c162146 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,15 +1,21 @@ Rails.application.routes.draw do # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html + + # HTTP verb = GET, url path = /tasks, controller = TasksController (ex: tasks), action = method within controller (ex: index), name/alias = "tasks" get "/tasks", to: "tasks#index", as: "tasks" get "/tasks/new", to: "tasks#new", as: "add" post "/tasks", to: "tasks#create" - get "tasks/:id", to: "tasks#show" - get "/tasks/:id/edit", to: "tasks#edit" + get "/tasks/:id", to: "tasks#show", as: "task" + get "/tasks/:id/edit", to: "tasks#edit", as: "edit" patch "/tasks/:id", to: "tasks#update" delete "/tasks/:id", to: "tasks#destroy" +# as: "task" can be used to access patch and delete (by asking for them) and we can apply this in views + +# as: "task" for get we can use in views and controllers. For views we can link_to or button_to. For controllers we re-direct. + end diff --git a/db/development.sqlite3 b/db/development.sqlite3 index ee6956145f81a4a3990e1470bf62d79f0bc35c94..dfb02a17d953a0e6e239130ce5049b7999b4b1fc 100644 GIT binary patch literal 28672 zcmeI4O>g5w7{~3VP5P3=-7c)f0WqW;wrcB+J$_dt*3f8G(QTK~9x9L`H<@lj6T5Ys z((SGA8TbO6II$pc;J^n!T=)R6SHx*0BwntJ<0f@pE5W5&p2>^t=ReOg^ZY!qG>$bN zyuVosDLV9nh8rTn&2v1@JwS-#xagB%pH7)#JCmIQw&fH1qjnJ|O+Covzva@|=Uo2# z+~4`r?DO1L!onyAumb@g00e*l5C8%|00;m9AOHmZ6@kmGsf?&;{HJe+?m?ZpLAmCI zH1OPdxj{p>>W1zxTl(FdlCxVvyUshCB~%zzrGV}ij_K0^I&*`{ksF|`?On9Bx4DTP z?`%ABcJ|SGrTrCDICJYQ+O5S5m4Lb-t(M)efLQx9tTkxYndz;Q$T~t_dYDd&A8I^T z^Q!c`d0J;vx3b#`{q}KrSVzn9Fl**Kl@Zt0_{%riV49U9+HlK_+LOQyYrfYUFiiF$ z8PFphXEbOs=We#$w31AgoXNDfw>Bz;fxu;Xz%(V~x#?&;Jf294%gg+JoI^~bNl#nU ztI#Vrox@a5|NF%Ip4*@+tm+aAI(d1V$%vxJf2OtLhHmq?+5Vd7iBV|VqP%O>0@~Qx zEj=vlBr`?M-tP9s7IS)3+G2y_YJjkF9M-~m@1XD-Cw0nBdjTEzJ{zbWt5v1VN>DqA z&PNw%WNy)NG(_Uz!wmmzMCDk@;>=H+@VW3-{@47M`H%A}xfi*wb3snc{+0bMdyzHf z{+Rn_&YN4F{cZM(*^g%LvFcEO01yBIKmZ5;0U!VbZU=#qIL*Dr-Q^r74BRtXzqq(i zuxzYiYgHjg)@|9a6)b7k(k(JtS-&^UiS01WI;AIrQB+&jB_eCOs`o`nDC@6|kAe-G z5D9ChftB7UNoD<&8>1+OWa=7`@j#TW;@pj*1UDoE zR&33(Sz9cCVVQ{#eTsAEh7g*>dSIFIV2F<5%#RBp+p;BLqH4tG3z1M9;f4^hq+6Jc zkHHWf#mSEkfh|cP#3cPJWV@>rbL~kS!`W>{L5j>U+8U88O*P5&2pv$0*>T>QCL8)S z#DsUO6z7I{-wd#m1_ntE!n8gt2!* zDNc{@#%bi6;qRY&KS01?^r2LjrLY0 zOV!!WueaxscSk8sj`KFL#jbM0ykn)98s}|jhOP|BTa{wPpP1%e7aqOoI7jT7iVj=e z;lWeXq~|NB8nm7?SCH#fQQ%jOSJ}>L;MePMSCrMng-u2ZyG&@&4}d5t(XNvnP-^@% zM}%e8VCCx00IIUvMn{O5U^TMAT zdqV*NKmZ5;0U!VbfB+Bx0zd!=00AHX1YRZrGki+q+s`kE(fmIp{KyF}gkRVO3J?GS zKmZ5;0U!VbfB+Bx0zd!=00AIys|n1fCYGXS0kEa8r;yl-%un=KRLz{{yB4evj0v7) zIi-XjqWS;NYy$-d00AHX1b_e#00KY&2mk>f00e*l5V*wz7E()m@9aO-XJXU;i94yK znX6h?^Z)qy|7V==>=q{nT>}C@00;m9AOHk_01yBIKmZ5;0U+@IBCyR*EiO6^_0DR6 z?=`3wRw-NN#XpI5LCS_?=^KC_n%R00AHX e1b_e#00KY&2mk>f00e-*%R(TZTAWGTKKKWF%$^wl delta 95 zcmZp8z}WDBae_1>_e2?IM(&LXOZYjM_*EGAr}C?87F2k`XY9(v!63`a!0+gokyw_h vkXD+PW@KP!u4`baYh":id"} + Rendering text template + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/:id/" for 127.0.0.1 at 2017-09-21 17:40:48 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>":id"} + Rendering text template + Rendered text template (0.1ms) +Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/:" for 127.0.0.1 at 2017-09-21 17:42:40 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>":"} + Rendering text template + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/:" for 127.0.0.1 at 2017-09-21 17:42:40 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>":"} + Rendering text template + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 17:42:44 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 25ms (Views: 22.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 17:42:44 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 59ms (Views: 33.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 17:59:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 31ms (Views: 27.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 17:59:49 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 62ms (Views: 39.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 18:01:20 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 29ms (Views: 26.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 18:01:20 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 64ms (Views: 33.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 18:02:22 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 50ms (Views: 32.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 18:04:55 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 28ms (Views: 25.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 18:04:55 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 64ms (Views: 37.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 18:57:18 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (15.0ms) +Completed 200 OK in 72ms (Views: 48.9ms | ActiveRecord: 1.6ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 18:57:18 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 55ms (Views: 34.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 18:57:18 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 60ms (Views: 42.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 18:57:22 -0700 +Processing by TasksController#new as HTML +Redirected to http://google.com +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 18:57:22 -0700 +Processing by TasksController#new as */* +Redirected to http://google.com +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 18:57:22 -0700 +Processing by TasksController#new as */* +Redirected to http://google.com +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 18:57:22 -0700 +Processing by TasksController#new as HTML +Redirected to http://google.com +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/tasks/:" for 127.0.0.1 at 2017-09-21 19:00:26 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>":"} + Rendering text template + Rendered text template (0.0ms) +Completed 200 OK in 2ms (Views: 0.7ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 19:00:31 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (10.2ms) +Completed 200 OK in 72ms (Views: 48.0ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 19:00:33 -0700 +Processing by TasksController#new as HTML +Redirected to http://localhost:3000tasks_path +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 19:00:34 -0700 +Processing by TasksController#new as */* +Redirected to http://localhost:3000tasks_path +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 19:00:34 -0700 +Processing by TasksController#new as */* +Redirected to http://localhost:3000tasks_path +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 19:00:44 -0700 +Processing by TasksController#new as HTML +Redirected to http://localhost:3000tasks_path +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 19:00:50 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.6ms) +Completed 200 OK in 29ms (Views: 26.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 19:00:51 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 58ms (Views: 36.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 19:00:53 -0700 +Processing by TasksController#new as HTML +Redirected to http://localhost:3000tasks_path +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 19:00:53 -0700 +Processing by TasksController#new as */* +Redirected to http://localhost:3000tasks_path +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 19:00:53 -0700 +Processing by TasksController#new as */* +Redirected to http://localhost:3000tasks_path +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 19:01:01 -0700 +Processing by TasksController#new as HTML +Redirected to http://localhost:3000tasks_path +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 19:01:01 -0700 +Processing by TasksController#new as */* +Redirected to http://localhost:3000tasks_path +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 19:01:01 -0700 +Processing by TasksController#new as */* +Redirected to http://localhost:3000tasks_path +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 19:01:16 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 30ms (Views: 27.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 19:01:16 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 61ms (Views: 36.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 19:01:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 35ms (Views: 32.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-21 19:01:28 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 58ms (Views: 35.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 19:01:31 -0700 +Processing by TasksController#new as HTML +Redirected to http://localhost:3000tasks_path +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 19:01:31 -0700 +Processing by TasksController#new as */* +Redirected to http://localhost:3000tasks_path +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 19:01:31 -0700 +Processing by TasksController#new as */* +Redirected to http://localhost:3000tasks_path +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 19:03:51 -0700 +Processing by TasksController#new as HTML +Redirected to http://localhost:3000/tasks +Completed 302 Found in 1ms + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 19:03:51 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (16.6ms) +Completed 200 OK in 36ms (Views: 32.0ms | ActiveRecord: 2.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 19:03:52 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 55ms (Views: 31.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 19:03:56 -0700 +Processing by TasksController#new as HTML +Redirected to http://localhost:3000/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 19:03:56 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 19:03:56 -0700 +Completed 200 OK in 37ms (Views: 34.3ms | ActiveRecord: 0.3ms) + + +Processing by TasksController#new as */* +Redirected to http://localhost:3000/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 19:03:56 -0700 +Processing by TasksController#new as */* +Redirected to http://localhost:3000/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 19:03:56 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 121ms (Views: 75.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 19:03:56 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 58ms (Views: 35.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 19:03:56 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 66ms (Views: 34.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 19:03:56 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 62ms (Views: 39.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 19:03:56 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 66ms (Views: 41.4ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 19:03:56 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 58ms (Views: 31.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 19:04:03 -0700 +Processing by TasksController#new as HTML +Redirected to http://localhost:3000/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 19:04:03 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 32ms (Views: 29.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 19:04:03 -0700 +Processing by TasksController#new as */* +Redirected to http://localhost:3000/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 19:04:03 -0700 +Processing by TasksController#new as */* +Redirected to http://localhost:3000/tasks +Completed 302 Found in 1ms (ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 19:04:03 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 89ms (Views: 56.5ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 19:04:03 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 63ms (Views: 39.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 19:04:03 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 80ms (Views: 55.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 19:04:03 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 58ms (Views: 32.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 19:04:03 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 71ms (Views: 43.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 19:04:03 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 61ms (Views: 39.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 22:11:14 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.7ms) +Completed 200 OK in 55ms (Views: 52.6ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 22:11:14 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.5ms) +Completed 200 OK in 60ms (Views: 32.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 22:11:47 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.5ms) +Completed 200 OK in 24ms (Views: 20.6ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 22:11:47 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.6ms) +Completed 200 OK in 62ms (Views: 36.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 22:11: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.6ms) +Completed 200 OK in 23ms (Views: 19.7ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 22:11:59 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.9ms) +Completed 200 OK in 58ms (Views: 32.3ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 22:36:49 -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 59ms (Views: 56.8ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 22:36:49 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.5ms) +Completed 200 OK in 61ms (Views: 35.3ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 22:38:51 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.7ms) +Completed 200 OK in 25ms (Views: 21.9ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 22:38:51 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.6ms) +Completed 200 OK in 55ms (Views: 29.9ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 22:41:05 -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 23ms (Views: 21.4ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 22:41:05 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.6ms) +Completed 200 OK in 52ms (Views: 32.8ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 22:41: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.6ms) +Completed 200 OK in 26ms (Views: 22.8ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 22:41:59 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.7ms) +Completed 200 OK in 61ms (Views: 35.7ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 10:33:41 -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 500 Internal Server Error in 17ms + + + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 28: + 29:

    Add Task

    + 30: + 31: <%= form_for @task do |f| %> + 32: <%= f.label :title %> + 33: <%= f.text_field :title %> + 34: + +app/views/tasks/new.html.erb:31:in `_app_views_tasks_new_html_erb___3956917613383879727_70347417424820' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 10:33:42 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (17.4ms) +Completed 500 Internal Server Error in 57ms + + + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 28: + 29:

    Add Task

    + 30: + 31: <%= form_for @task do |f| %> + 32: <%= f.label :title %> + 33: <%= f.text_field :title %> + 34: + +app/views/tasks/new.html.erb:31:in `_app_views_tasks_new_html_erb___3956917613383879727_70347424715040' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 10:34:40 -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 64ms (Views: 60.9ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 10:34:41 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.5ms) +Completed 200 OK in 60ms (Views: 33.8ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-22 10:34:52 -0700 +Processing by TasksController#create as HTML + Parameters: {"authenticity_token"=>"wlxfE3+quLoN197EzMw2z7meiS4iFC9QJK4c/r7GxD/5zbfg/yr5cr6ZQ4j0FEOB0CXTr3B0DMtxYH0VxVmq8g==", "title"=>"dan", "description"=>"dan", "due_date"=>""} + Rendering text template + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 10:34:53 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (24.2ms) +Completed 200 OK in 129ms (Views: 56.9ms | ActiveRecord: 2.5ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 10:35:18 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.5ms) +Completed 200 OK in 63ms (Views: 40.7ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-22 10:35:28 -0700 +Processing by TasksController#create as HTML + Parameters: {"authenticity_token"=>"6dtpkbo5mxvECqI3vxMyPmi5Vko1U8XUSrD/giyDuJ3SSoFiOrna03dEP3uHy0dwAQIMy2cz5k8ffp5pVxzWUA==", "title"=>"dan", "description"=>"dan", "due_date"=>""} + Rendering text template + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 10:35:29 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 52ms (Views: 33.1ms | ActiveRecord: 0.2ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-22 10:47:02 -0700 +Processing by TasksController#create as HTML + Parameters: {"authenticity_token"=>"6dtpkbo5mxvECqI3vxMyPmi5Vko1U8XUSrD/giyDuJ3SSoFiOrna03dEP3uHy0dwAQIMy2cz5k8ffp5pVxzWUA==", "title"=>"dan", "description"=>"dan", "due_date"=>""} + Rendering text template + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 10:47:03 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 61ms (Views: 38.9ms | ActiveRecord: 0.4ms) + + + Task Load (15.4ms) SELECT "tasks".* FROM "tasks" LIMIT ? [["LIMIT", 11]] +Started GET "/new" for 127.0.0.1 at 2017-09-22 13:29:57 -0700 + +ActionController::RoutingError (No route matches [GET] "/new"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/new" for 127.0.0.1 at 2017-09-22 13:29:59 -0700 + +ActionController::RoutingError (No route matches [GET] "/new"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/add" for 127.0.0.1 at 2017-09-22 13:31:00 -0700 + +ActionController::RoutingError (No route matches [GET] "/add"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/add" for 127.0.0.1 at 2017-09-22 13:31:00 -0700 + +ActionController::RoutingError (No route matches [GET] "/add"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/add" for 127.0.0.1 at 2017-09-22 13:32:24 -0700 + +ActionController::RoutingError (No route matches [GET] "/add"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/add" for 127.0.0.1 at 2017-09-22 13:32:25 -0700 + +ActionController::RoutingError (No route matches [GET] "/add"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/add_add" for 127.0.0.1 at 2017-09-22 13:33:04 -0700 + +ActionController::RoutingError (No route matches [GET] "/add_add"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/add_add" for 127.0.0.1 at 2017-09-22 13:33:05 -0700 + +ActionController::RoutingError (No route matches [GET] "/add_add"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/add_add" for 127.0.0.1 at 2017-09-22 13:35:05 -0700 + +ActionController::RoutingError (No route matches [GET] "/add_add"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/add_add" for 127.0.0.1 at 2017-09-22 13:35:06 -0700 + +ActionController::RoutingError (No route matches [GET] "/add_add"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/add_path" for 127.0.0.1 at 2017-09-22 13:35:37 -0700 + +ActionController::RoutingError (No route matches [GET] "/add_path"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/add_path" for 127.0.0.1 at 2017-09-22 13:35:38 -0700 + +ActionController::RoutingError (No route matches [GET] "/add_path"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 13:36:30 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (1.0ms) +Completed 200 OK in 67ms (Views: 64.8ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 13:36:30 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.5ms) +Completed 200 OK in 58ms (Views: 33.9ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 13:37:50 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (1.0ms) +Completed 200 OK in 1161ms (Views: 23.5ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 13:37:51 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.6ms) +Completed 200 OK in 65ms (Views: 35.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 13:38:34 -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 40ms (Views: 19.9ms | ActiveRecord: 0.8ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 13:38:34 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.6ms) +Completed 200 OK in 67ms (Views: 40.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 13:38:41 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (16.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (19.9ms) +Completed 200 OK in 53ms (Views: 33.2ms | ActiveRecord: 16.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 13:38:42 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 62ms (Views: 35.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 13:47:14 -0700 +Processing by TasksController#new as HTML +  (0.1ms) begin transaction + SQL (0.6ms) INSERT INTO "tasks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-09-22 20:47:14.757629"], ["updated_at", "2017-09-22 20:47:14.757629"]] +  (7.1ms) commit transaction + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (1.1ms) +Completed 200 OK in 62ms (Views: 28.3ms | ActiveRecord: 9.4ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 13:47:14 -0700 +Processing by TasksController#new as */* +  (0.4ms) begin transaction + SQL (1.4ms) INSERT INTO "tasks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-09-22 20:47:14.809017"], ["updated_at", "2017-09-22 20:47:14.809017"]] +  (23.9ms) commit transaction + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.9ms) +Completed 200 OK in 132ms (Views: 63.7ms | ActiveRecord: 25.7ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 13:47:14 -0700 +Processing by TasksController#new as */* +  (0.1ms) begin transaction + SQL (0.6ms) INSERT INTO "tasks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-09-22 20:47:14.946941"], ["updated_at", "2017-09-22 20:47:14.946941"]] +  (8.6ms) commit transaction + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.8ms) +Completed 200 OK in 72ms (Views: 37.9ms | ActiveRecord: 9.3ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 13:47:15 -0700 +Processing by TasksController#new as */* +  (0.1ms) begin transaction + SQL (0.9ms) INSERT INTO "tasks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-09-22 20:47:15.028513"], ["updated_at", "2017-09-22 20:47:15.028513"]] +  (165.6ms) commit transaction + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.9ms) +Completed 200 OK in 240ms (Views: 46.9ms | ActiveRecord: 166.6ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 13:47:15 -0700 +Processing by TasksController#new as */* +  (0.1ms) begin transaction + SQL (1.7ms) INSERT INTO "tasks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-09-22 20:47:15.270639"], ["updated_at", "2017-09-22 20:47:15.270639"]] +  (1.7ms) commit transaction + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.7ms) +Completed 200 OK in 81ms (Views: 50.4ms | ActiveRecord: 3.4ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-22 13:47:37 -0700 +Processing by TasksController#create as HTML + Parameters: {"authenticity_token"=>"gBIVcadGkPw0MfIfVGYaPZX9wpa2NSE+K0AiPT5qoli7g/2CJ8bRNId/b1Nsvm9z/EaYF+RVAqV+jkPWRfXMlQ==", "task"=>{"title"=>"sleep", "description"=>"zzzz", "due_date"=>"2017-09-22"}} + Rendering text template + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 13:47:37 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 63ms (Views: 43.9ms | ActiveRecord: 0.3ms) + + + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" LIMIT ? [["LIMIT", 11]] +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 13:50:23 -0700 +Processing by TasksController#new as */* +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "tasks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-09-22 20:50:23.608834"], ["updated_at", "2017-09-22 20:50:23.608834"]] +  (899.0ms) commit transaction + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.7ms) +Completed 200 OK in 966ms (Views: 43.2ms | ActiveRecord: 899.5ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-22 13:50:26 -0700 +Processing by TasksController#create as HTML + Parameters: {"authenticity_token"=>"fgOVs5zUL0Ar1CZgGbpyC223eCGZcy5OUmVQppkNPa5Fkn1AHFRuiJiauywhYgdFBAwioMsTDdUHqzFN4pJTYw==", "task"=>{"title"=>"sleep", "description"=>"zzzz", "due_date"=>"2017-09-22"}} + Rendering text template + Rendered text template (0.0ms) +Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 13:50:26 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 61ms (Views: 41.1ms | ActiveRecord: 0.4ms) + + + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" LIMIT ? [["LIMIT", 11]] +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 13:52:04 -0700 +Processing by TasksController#new as */* +  (0.1ms) begin transaction + SQL (0.5ms) INSERT INTO "tasks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-09-22 20:52:04.644815"], ["updated_at", "2017-09-22 20:52:04.644815"]] +  (2.5ms) commit transaction + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.5ms) +Completed 200 OK in 56ms (Views: 28.6ms | ActiveRecord: 3.2ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-22 13:54:59 -0700 +Processing by TasksController#create as HTML + Parameters: {"authenticity_token"=>"4iLIq5+/nYsVidhShTK1FLDOQS7FbzdM1qtEPvcYkRfZsyBYHz/cQ6bHRR696sBa2XUbr5cPFNeDZSXVjIf/2g==", "title"=>"sleep", "description"=>"zzz", "due_date"=>"2017-09-22"} + Rendering text template + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 13:54:59 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 59ms (Views: 38.8ms | ActiveRecord: 0.3ms) + + + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" LIMIT ? [["LIMIT", 11]] +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 13:59:28 -0700 +Processing by TasksController#new as HTML +  (0.1ms) begin transaction + SQL (0.5ms) INSERT INTO "tasks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-09-22 20:59:28.307008"], ["updated_at", "2017-09-22 20:59:28.307008"]] +  (1.3ms) commit transaction + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.8ms) +Completed 200 OK in 30ms (Views: 20.8ms | ActiveRecord: 1.9ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 13:59:28 -0700 +Processing by TasksController#new as */* +  (0.1ms) begin transaction + SQL (0.5ms) INSERT INTO "tasks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-09-22 20:59:28.706099"], ["updated_at", "2017-09-22 20:59:28.706099"]] +  (2.6ms) commit transaction + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.7ms) +Completed 200 OK in 66ms (Views: 34.1ms | ActiveRecord: 3.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 13:59:42 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 28ms (Views: 23.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 13:59:42 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 56ms (Views: 34.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 14:00:15 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 61ms (Views: 38.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 14:05:19 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 25ms (Views: 22.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 14:05:19 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 61ms (Views: 36.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 14:16:40 -0700 +Processing by TasksController#new as HTML +Completed 500 Internal Server Error in 7ms + + + +NoMethodError (undefined method `[]' for nil:NilClass): + +app/controllers/tasks_controller.rb:6:in `new' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 14:16:42 -0700 +Processing by TasksController#new as */* +Completed 500 Internal Server Error in 3ms + + + +NoMethodError (undefined method `[]' for nil:NilClass): + +app/controllers/tasks_controller.rb:6:in `new' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 14:27:53 -0700 +Processing by TasksController#new as HTML +  (0.1ms) begin transaction + SQL (0.7ms) INSERT INTO "tasks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-09-22 21:27:53.551761"], ["updated_at", "2017-09-22 21:27:53.551761"]] +  (2.8ms) commit transaction + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.6ms) +Completed 200 OK in 37ms (Views: 16.4ms | ActiveRecord: 4.8ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 14:27:53 -0700 +Processing by TasksController#new as */* +  (0.1ms) begin transaction + SQL (0.6ms) INSERT INTO "tasks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-09-22 21:27:53.954833"], ["updated_at", "2017-09-22 21:27:53.954833"]] +  (2.5ms) commit transaction + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.8ms) +Completed 200 OK in 69ms (Views: 38.0ms | ActiveRecord: 3.1ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-22 14:28:05 -0700 +Processing by TasksController#create as HTML + Parameters: {"authenticity_token"=>"hPHIr77/8cnG7ZNgzgCkCeixplorA0U7HmiUErUFK3y/YCBcPn+wAXWjDiz22NFHgQr823ljZqBLpvX5zppFsQ==", "task"=>{"title"=>"sdfgg", "description"=>"dfgh", "due_date"=>"2017-09-15"}} + Rendering text template + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 14:28:06 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 57ms (Views: 36.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 19:51:01 -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 27ms (Views: 14.9ms | ActiveRecord: 0.8ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 19:51:01 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.5ms) +Completed 200 OK in 64ms (Views: 38.3ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-22 19:51:09 -0700 +Processing by TasksController#create as HTML + Parameters: {"authenticity_token"=>"CmvhayB9gretAPrJj3+RKqJlfg820rTSWHXDjJJX1WAx+gmYoP3Dfx5OZ4W3p+Rky94kjmSyl0kNu6Jn6ci7rQ==", "task"=>{"title"=>"sleep", "description"=>"", "due_date"=>""}} +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "tasks" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "sleep"], ["created_at", "2017-09-23 02:51:09.233838"], ["updated_at", "2017-09-23 02:51:09.233838"]] +  (693.3ms) commit transaction +No template found for TasksController#create, rendering head :no_content +Completed 204 No Content in 770ms (ActiveRecord: 693.8ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-22 19:51:11 -0700 +Processing by TasksController#create as HTML + Parameters: {"authenticity_token"=>"CmvhayB9gretAPrJj3+RKqJlfg820rTSWHXDjJJX1WAx+gmYoP3Dfx5OZ4W3p+Rky94kjmSyl0kNu6Jn6ci7rQ==", "task"=>{"title"=>"sleep", "description"=>"", "due_date"=>""}} +  (0.1ms) begin transaction + SQL (0.5ms) INSERT INTO "tasks" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "sleep"], ["created_at", "2017-09-23 02:51:11.690932"], ["updated_at", "2017-09-23 02:51:11.690932"]] +  (1.5ms) commit transaction +No template found for TasksController#create, rendering head :no_content +Completed 204 No Content in 80ms (ActiveRecord: 2.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-22 19:51:19 -0700 +Processing by TasksController#create as HTML + Parameters: {"authenticity_token"=>"CmvhayB9gretAPrJj3+RKqJlfg820rTSWHXDjJJX1WAx+gmYoP3Dfx5OZ4W3p+Rky94kjmSyl0kNu6Jn6ci7rQ==", "task"=>{"title"=>"sleep", "description"=>"", "due_date"=>""}} +  (0.2ms) begin transaction + SQL (0.4ms) INSERT INTO "tasks" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "sleep"], ["created_at", "2017-09-23 02:51:19.034537"], ["updated_at", "2017-09-23 02:51:19.034537"]] +  (789.1ms) commit transaction +No template found for TasksController#create, rendering head :no_content +Completed 204 No Content in 878ms (ActiveRecord: 789.7ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-22 19:59:25 -0700 +Processing by TasksController#create as HTML + Parameters: {"authenticity_token"=>"CmvhayB9gretAPrJj3+RKqJlfg820rTSWHXDjJJX1WAx+gmYoP3Dfx5OZ4W3p+Rky94kjmSyl0kNu6Jn6ci7rQ==", "task"=>{"title"=>"sleep", "description"=>"", "due_date"=>""}} +  (0.1ms) begin transaction + SQL (0.5ms) INSERT INTO "tasks" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "sleep"], ["created_at", "2017-09-23 02:59:25.152981"], ["updated_at", "2017-09-23 02:59:25.152981"]] +  (802.7ms) commit transaction +No template found for TasksController#create, rendering head :no_content +Completed 204 No Content in 897ms (ActiveRecord: 804.1ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-22 19:59:27 -0700 +Processing by TasksController#create as HTML + Parameters: {"authenticity_token"=>"CmvhayB9gretAPrJj3+RKqJlfg820rTSWHXDjJJX1WAx+gmYoP3Dfx5OZ4W3p+Rky94kjmSyl0kNu6Jn6ci7rQ==", "task"=>{"title"=>"sleep", "description"=>"", "due_date"=>""}} +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "tasks" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "sleep"], ["created_at", "2017-09-23 02:59:27.411798"], ["updated_at", "2017-09-23 02:59:27.411798"]] +  (78.9ms) commit transaction +No template found for TasksController#create, rendering head :no_content +Completed 204 No Content in 187ms (ActiveRecord: 79.5ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-22 20:04:06 -0700 +Processing by TasksController#create as HTML + Parameters: {"authenticity_token"=>"CmvhayB9gretAPrJj3+RKqJlfg820rTSWHXDjJJX1WAx+gmYoP3Dfx5OZ4W3p+Rky94kjmSyl0kNu6Jn6ci7rQ==", "task"=>{"title"=>"sleep", "description"=>"", "due_date"=>""}} +Completed 500 Internal Server Error in 194ms + + + +NameError (undefined local variable or method `task_params' for # +Did you mean? task_path): + +app/controllers/tasks_controller.rb:35:in `create' +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 20:04:07 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (15.5ms) +Completed 200 OK in 75ms (Views: 46.1ms | ActiveRecord: 1.5ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-23 09:06:58 -0700 +Processing by TasksController#create as HTML + Parameters: {"authenticity_token"=>"CmvhayB9gretAPrJj3+RKqJlfg820rTSWHXDjJJX1WAx+gmYoP3Dfx5OZ4W3p+Rky94kjmSyl0kNu6Jn6ci7rQ==", "task"=>{"title"=>"sleep", "description"=>"", "due_date"=>""}} +  (0.1ms) begin transaction + SQL (0.9ms) INSERT INTO "tasks" ("title", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "sleep"], ["description", ""], ["created_at", "2017-09-23 16:06:58.094115"], ["updated_at", "2017-09-23 16:06:58.094115"]] +  (1401.2ms) commit transaction +No template found for TasksController#create, rendering head :no_content +Completed 204 No Content in 1516ms (ActiveRecord: 1403.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 09:07: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.7ms) +Completed 200 OK in 316ms (Views: 312.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 09:07:09 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.7ms) +Completed 200 OK in 68ms (Views: 44.1ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-23 09:07:27 -0700 +Processing by TasksController#create as HTML + Parameters: {"authenticity_token"=>"5eRJRdD1I3wRFrYqoy8pCeaR14XoQEdU5tADppG6/g7edaG2UHVitKJYK2ab91xHjyqNBLogZM+zHmJN6iWQww==", "task"=>{"title"=>"sleep", "description"=>"zzz", "due_date"=>""}} +  (0.1ms) begin transaction + SQL (0.5ms) INSERT INTO "tasks" ("title", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "sleep"], ["description", "zzz"], ["created_at", "2017-09-23 16:07:27.865310"], ["updated_at", "2017-09-23 16:07:27.865310"]] +  (395.6ms) commit transaction +No template found for TasksController#create, rendering head :no_content +Completed 204 No Content in 499ms (ActiveRecord: 396.1ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-23 09:07:33 -0700 +Processing by TasksController#create as HTML + Parameters: {"authenticity_token"=>"5eRJRdD1I3wRFrYqoy8pCeaR14XoQEdU5tADppG6/g7edaG2UHVitKJYK2ab91xHjyqNBLogZM+zHmJN6iWQww==", "task"=>{"title"=>"sleep", "description"=>"zzz", "due_date"=>""}} +  (0.1ms) begin transaction + SQL (0.5ms) INSERT INTO "tasks" ("title", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "sleep"], ["description", "zzz"], ["created_at", "2017-09-23 16:07:33.058702"], ["updated_at", "2017-09-23 16:07:33.058702"]] +  (31.3ms) commit transaction +No template found for TasksController#create, rendering head :no_content +Completed 204 No Content in 129ms (ActiveRecord: 31.9ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-23 09:14:16 -0700 +Processing by TasksController#create as HTML + Parameters: {"authenticity_token"=>"5eRJRdD1I3wRFrYqoy8pCeaR14XoQEdU5tADppG6/g7edaG2UHVitKJYK2ab91xHjyqNBLogZM+zHmJN6iWQww==", "task"=>{"title"=>"sleep", "description"=>"zzz", "due_date"=>""}} +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "tasks" ("title", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "sleep"], ["description", "zzz"], ["created_at", "2017-09-23 16:14:16.315646"], ["updated_at", "2017-09-23 16:14:16.315646"]] +  (2.8ms) commit transaction +No template found for TasksController#create, rendering head :no_content +Completed 204 No Content in 113ms (ActiveRecord: 4.8ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-23 09:17:20 -0700 +Processing by TasksController#create as HTML + Parameters: {"authenticity_token"=>"5eRJRdD1I3wRFrYqoy8pCeaR14XoQEdU5tADppG6/g7edaG2UHVitKJYK2ab91xHjyqNBLogZM+zHmJN6iWQww==", "task"=>{"title"=>"travel", "description"=>"zzz", "due_date"=>""}} +  (0.1ms) begin transaction + SQL (1.3ms) INSERT INTO "tasks" ("title", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "travel"], ["description", "zzz"], ["created_at", "2017-09-23 16:17:20.509693"], ["updated_at", "2017-09-23 16:17:20.509693"]] +  (1.4ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 23ms (ActiveRecord: 4.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 09:17:20 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 33ms (Views: 29.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 09:17:20 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 71ms (Views: 38.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 10:29:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (14.5ms) +Completed 500 Internal Server Error in 24ms (ActiveRecord: 1.2ms) + + + +ActionView::Template::Error (No route matches {:action=>"edit", :controller=>"tasks"}, missing required keys: [:id]): + 16: <% @tasks.each do |task|%> + 17:
  • + 18: <%= task.title %> + 19: <%= link_to "Edit", edit_path %> + 20:
  • + 21: <% end %> + 22: + +app/views/tasks/index.html.erb:19:in `block in _app_views_tasks_index_html_erb___455362977979513750_70347390768220' +app/views/tasks/index.html.erb:16:in `_app_views_tasks_index_html_erb___455362977979513750_70347390768220' +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 10:29:29 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (19.4ms) +Completed 500 Internal Server Error in 57ms (ActiveRecord: 0.2ms) + + + +ActionView::Template::Error (No route matches {:action=>"edit", :controller=>"tasks"}, missing required keys: [:id]): + 16: <% @tasks.each do |task|%> + 17:
  • + 18: <%= task.title %> + 19: <%= link_to "Edit", edit_path %> + 20:
  • + 21: <% end %> + 22: + +app/views/tasks/index.html.erb:19:in `block in _app_views_tasks_index_html_erb___455362977979513750_70347347248480' +app/views/tasks/index.html.erb:16:in `_app_views_tasks_index_html_erb___455362977979513750_70347347248480' +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 10:33:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (7.3ms) +Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.5ms) + + + +ActionView::Template::Error (No route matches {:action=>"edit", :controller=>"tasks", :id=>nil}, missing required keys: [:id]): + 16: <% @tasks.each do |task|%> + 17:
  • + 18: <%= task.title %> + 19: <%= link_to "Edit", edit_path(params[:id]) %> + 20:
  • + 21: <% end %> + 22: + +app/views/tasks/index.html.erb:19:in `block in _app_views_tasks_index_html_erb___455362977979513750_70347420959640' +app/views/tasks/index.html.erb:16:in `_app_views_tasks_index_html_erb___455362977979513750_70347420959640' +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 10:33:25 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (25.2ms) +Completed 500 Internal Server Error in 65ms (ActiveRecord: 0.4ms) + + + +ActionView::Template::Error (No route matches {:action=>"edit", :controller=>"tasks", :id=>nil}, missing required keys: [:id]): + 16: <% @tasks.each do |task|%> + 17:
  • + 18: <%= task.title %> + 19: <%= link_to "Edit", edit_path(params[:id]) %> + 20:
  • + 21: <% end %> + 22: + +app/views/tasks/index.html.erb:19:in `block in _app_views_tasks_index_html_erb___455362977979513750_70347417244800' +app/views/tasks/index.html.erb:16:in `_app_views_tasks_index_html_erb___455362977979513750_70347417244800' +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-23 10:39:15 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.8ms) +Completed 200 OK in 38ms (Views: 19.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-23 10:39:16 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.6ms) +Completed 200 OK in 58ms (Views: 31.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-23 10:40:07 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.6ms) +Completed 200 OK in 30ms (Views: 25.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-23 10:40:07 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.6ms) +Completed 200 OK in 55ms (Views: 31.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-23 10:40:48 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.6ms) +Completed 200 OK in 29ms (Views: 24.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-23 10:40:48 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.7ms) +Completed 200 OK in 61ms (Views: 36.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-23 10:47:07 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.6ms) +Completed 200 OK in 37ms (Views: 33.9ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-23 10:47:07 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.6ms) +Completed 200 OK in 55ms (Views: 34.1ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-23 10:47:17 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.6ms) +Completed 200 OK in 32ms (Views: 29.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-23 10:47:17 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.6ms) +Completed 200 OK in 57ms (Views: 30.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 10:47:34 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (10.0ms) +Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.4ms) + + + +ActionView::Template::Error (No route matches {:action=>"edit", :controller=>"tasks", :id=>nil}, missing required keys: [:id]): + 16: <% @tasks.each do |task|%> + 17:
  • + 18: <%= task.title %> + 19: <%= link_to "Edit", edit_path(params[:id]) %> + 20:
  • + 21: <% end %> + 22: + +app/views/tasks/index.html.erb:19:in `block in _app_views_tasks_index_html_erb___455362977979513750_70347388884520' +app/views/tasks/index.html.erb:16:in `_app_views_tasks_index_html_erb___455362977979513750_70347388884520' +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 10:47:35 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (18.7ms) +Completed 500 Internal Server Error in 59ms (ActiveRecord: 0.2ms) + + + +ActionView::Template::Error (No route matches {:action=>"edit", :controller=>"tasks", :id=>nil}, missing required keys: [:id]): + 16: <% @tasks.each do |task|%> + 17:
  • + 18: <%= task.title %> + 19: <%= link_to "Edit", edit_path(params[:id]) %> + 20:
  • + 21: <% end %> + 22: + +app/views/tasks/index.html.erb:19:in `block in _app_views_tasks_index_html_erb___455362977979513750_70347350958620' +app/views/tasks/index.html.erb:16:in `_app_views_tasks_index_html_erb___455362977979513750_70347350958620' +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 10:48:17 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.0ms) +Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/index.html.erb:19: syntax error, unexpected ')', expecting keyword_end +...to "Edit", "/tasks/:id/edit") );@output_buffer.safe_append=' +... ^): + +app/views/tasks/index.html.erb:19: syntax error, unexpected ')', expecting keyword_end +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 10:48:19 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 500 Internal Server Error in 46ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/index.html.erb:19: syntax error, unexpected ')', expecting keyword_end +...to "Edit", "/tasks/:id/edit") );@output_buffer.safe_append=' +... ^): + +app/views/tasks/index.html.erb:19: syntax error, unexpected ')', expecting keyword_end +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 10:48:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 27ms (Views: 24.5ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 10:48:37 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 65ms (Views: 43.7ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 10:48:49 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>":id"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=:id): + +app/controllers/tasks_controller.rb:20:in `edit' +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 10:48:51 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>":id"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=:id): + +app/controllers/tasks_controller.rb:20:in `edit' +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 10:48:52 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>":id"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=:id): + +app/controllers/tasks_controller.rb:20:in `edit' +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 10:48:52 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>":id"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=:id): + +app/controllers/tasks_controller.rb:20:in `edit' +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 10:48:52 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>":id"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 2ms (ActiveRecord: 0.1ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=:id): + +app/controllers/tasks_controller.rb:20:in `edit' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-23 10:50:57 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 28ms (Views: 25.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-23 10:50:57 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 66ms (Views: 40.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-23 10:51:27 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 25ms (Views: 22.1ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-23 10:51:27 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 78ms (Views: 48.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-23 10:51:37 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 31ms (Views: 27.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-23 10:51:38 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 71ms (Views: 45.5ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-23 10:52:47 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 29ms (Views: 26.6ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-23 10:52:47 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 89ms (Views: 54.8ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-23 10:53:15 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 91ms (Views: 86.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-23 10:53:15 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 70ms (Views: 43.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-23 10:53:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 45ms (Views: 42.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-23 10:53:50 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 60ms (Views: 35.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 10:55:59 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>":id"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=:id): + +app/controllers/tasks_controller.rb:20:in `edit' +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 10:55:59 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>":id"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 2ms (ActiveRecord: 0.2ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=:id): + +app/controllers/tasks_controller.rb:20:in `edit' +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 10:56:00 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>":id"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=:id): + +app/controllers/tasks_controller.rb:20:in `edit' +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 10:56:00 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>":id"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=:id): + +app/controllers/tasks_controller.rb:20:in `edit' +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 10:56:01 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>":id"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=:id): + +app/controllers/tasks_controller.rb:20:in `edit' +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 10:57:56 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>":id"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 8ms (ActiveRecord: 1.4ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=:id): + +app/controllers/tasks_controller.rb:20:in `edit' +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 10:57:57 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>":id"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 2ms (ActiveRecord: 0.2ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=:id): + +app/controllers/tasks_controller.rb:20:in `edit' +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 11:01:23 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>":id"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 7ms (ActiveRecord: 1.1ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=:id): + +app/controllers/tasks_controller.rb:20:in `edit' +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 11:01:24 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>":id"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 3ms (ActiveRecord: 0.2ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=:id): + +app/controllers/tasks_controller.rb:20:in `edit' +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 11:35:59 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>":id"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 8ms (ActiveRecord: 1.4ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=:id): + +app/controllers/tasks_controller.rb:20:in `edit' +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 11:36:01 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>":id"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 2ms (ActiveRecord: 0.2ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=:id): + +app/controllers/tasks_controller.rb:20:in `edit' +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 11:37:33 -0700 + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:20: syntax error, unexpected ']' + @task = Task.find(params[id:]) + ^ +/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:60: syntax error, unexpected end-of-input, expecting keyword_end): + +app/controllers/tasks_controller.rb:20: syntax error, unexpected ']' +app/controllers/tasks_controller.rb:60: syntax error, unexpected end-of-input, expecting keyword_end +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 11:37:34 -0700 + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:20: syntax error, unexpected ']' + @task = Task.find(params[id:]) + ^ +/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:60: syntax error, unexpected end-of-input, expecting keyword_end): + +app/controllers/tasks_controller.rb:20: syntax error, unexpected ']' +app/controllers/tasks_controller.rb:60: syntax error, unexpected end-of-input, expecting keyword_end +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 11:39:11 -0700 + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:20: syntax error, unexpected ')' + @task = Task.find(params(id:)) + ^ +/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:60: syntax error, unexpected end-of-input, expecting keyword_end): + +app/controllers/tasks_controller.rb:20: syntax error, unexpected ')' +app/controllers/tasks_controller.rb:60: syntax error, unexpected end-of-input, expecting keyword_end +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 11:39:12 -0700 + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:20: syntax error, unexpected ')' + @task = Task.find(params(id:)) + ^ +/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:60: syntax error, unexpected end-of-input, expecting keyword_end): + +app/controllers/tasks_controller.rb:20: syntax error, unexpected ')' +app/controllers/tasks_controller.rb:60: syntax error, unexpected end-of-input, expecting keyword_end +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 11:39:57 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>":id"} +Completed 500 Internal Server Error in 3ms + + + +ArgumentError (wrong number of arguments (given 1, expected 0)): + +app/controllers/tasks_controller.rb:20:in `edit' +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 11:39:59 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>":id"} +Completed 500 Internal Server Error in 1ms + + + +ArgumentError (wrong number of arguments (given 1, expected 0)): + +app/controllers/tasks_controller.rb:20:in `edit' +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 11:46:04 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>":id"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 31ms (ActiveRecord: 1.6ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=:id): + +app/controllers/tasks_controller.rb:20:in `edit' +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 11:46:06 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>":id"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 2ms (ActiveRecord: 0.3ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=:id): + +app/controllers/tasks_controller.rb:20:in `edit' +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 11:50:22 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>":id"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 21ms (ActiveRecord: 1.7ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=:id): + +app/controllers/tasks_controller.rb:20:in `edit' +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 11:50:23 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>":id"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 2ms (ActiveRecord: 0.2ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=:id): + +app/controllers/tasks_controller.rb:20:in `edit' +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 11:50:42 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>":id"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 11ms (ActiveRecord: 1.5ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=:id): + +app/controllers/tasks_controller.rb:20:in `edit' +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 11:50:43 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>":id"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 0], ["LIMIT", 1]] +Completed 404 Not Found in 2ms (ActiveRecord: 0.2ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=:id): + +app/controllers/tasks_controller.rb:20:in `edit' +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 11:51:59 -0700 + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:20: syntax error, unexpected tIDENTIFIER, expecting ')' + @tasks = Task.find(params[:id]to_i) + ^ +/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:60: syntax error, unexpected end-of-input, expecting keyword_end): + +app/controllers/tasks_controller.rb:20: syntax error, unexpected tIDENTIFIER, expecting ')' +app/controllers/tasks_controller.rb:60: syntax error, unexpected end-of-input, expecting keyword_end +Started GET "/tasks/:id/edit" for 127.0.0.1 at 2017-09-23 11:52:00 -0700 + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:20: syntax error, unexpected tIDENTIFIER, expecting ')' + @tasks = Task.find(params[:id]to_i) + ^ +/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:60: syntax error, unexpected end-of-input, expecting keyword_end): + +app/controllers/tasks_controller.rb:20: syntax error, unexpected tIDENTIFIER, expecting ')' +app/controllers/tasks_controller.rb:60: syntax error, unexpected end-of-input, expecting keyword_end + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 15:01:20 -0700 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:20: syntax error, unexpected tIDENTIFIER, expecting ')' + @tasks = Task.find(params[:id]to_i) + ^ +/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:60: syntax error, unexpected end-of-input, expecting keyword_end): + +app/controllers/tasks_controller.rb:20: syntax error, unexpected tIDENTIFIER, expecting ')' +app/controllers/tasks_controller.rb:60: syntax error, unexpected end-of-input, expecting keyword_end +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 15:01:22 -0700 + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:20: syntax error, unexpected tIDENTIFIER, expecting ')' + @tasks = Task.find(params[:id]to_i) + ^ +/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:60: syntax error, unexpected end-of-input, expecting keyword_end): + +app/controllers/tasks_controller.rb:20: syntax error, unexpected tIDENTIFIER, expecting ')' +app/controllers/tasks_controller.rb:60: syntax error, unexpected end-of-input, expecting keyword_end +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 15:02:17 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (31.2ms) +Completed 200 OK in 332ms (Views: 314.8ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 15:02:29 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 55ms (Views: 35.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 20:38:09 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (9.7ms) +Completed 200 OK in 63ms (Views: 57.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 20:38:10 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.8ms) +Completed 200 OK in 93ms (Views: 61.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 20:38:15 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.1ms) +Completed 200 OK in 40ms (Views: 34.7ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 20:38:15 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.6ms) +Completed 200 OK in 88ms (Views: 58.2ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 20:38:15 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (8.9ms) +Completed 200 OK in 146ms (Views: 105.0ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 20:38:16 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.4ms) +Completed 200 OK in 437ms (Views: 378.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 20:38:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (7.7ms) +Completed 200 OK in 84ms (Views: 78.5ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 20:38:33 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.0ms) +Completed 200 OK in 103ms (Views: 74.9ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 20:38:41 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (6.1ms) +Completed 200 OK in 55ms (Views: 50.7ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 20:38:41 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.1ms) +Completed 200 OK in 122ms (Views: 64.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 20:38:41 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (6.2ms) +Completed 200 OK in 229ms (Views: 180.1ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 20:38:42 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (11.7ms) +Completed 200 OK in 210ms (Views: 155.4ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 20:38:42 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (6.8ms) +Completed 200 OK in 172ms (Views: 126.1ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 20:38:46 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (1.2ms) +Completed 200 OK in 42ms (Views: 39.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 20:38:46 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.9ms) +Completed 200 OK in 75ms (Views: 40.3ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 20:38:46 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.6ms) +Completed 200 OK in 57ms (Views: 40.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 20:38:46 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.8ms) +Completed 200 OK in 55ms (Views: 38.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 20:38:46 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.5ms) +Completed 200 OK in 60ms (Views: 38.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 20:39:57 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.5ms) +Completed 200 OK in 48ms (Views: 30.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 20:40:02 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.6ms) +Completed 200 OK in 59ms (Views: 41.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 20:40:02 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.7ms) +Completed 200 OK in 86ms (Views: 56.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 20:40:10 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.6ms) +Completed 200 OK in 53ms (Views: 30.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 20:40:10 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.6ms) +Completed 200 OK in 59ms (Views: 42.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 20:40:10 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (0.6ms) +Completed 200 OK in 69ms (Views: 51.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 20:40:13 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.4ms) +Completed 200 OK in 37ms (Views: 33.9ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 20:40:13 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.5ms) +Completed 200 OK in 69ms (Views: 38.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 20:40:13 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (9.9ms) +Completed 200 OK in 58ms (Views: 41.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 20:40:13 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 54ms (Views: 35.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 20:40:13 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 57ms (Views: 40.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 20:40:19 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 63ms (Views: 33.5ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 20:40:19 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 58ms (Views: 38.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 20:40:19 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 50ms (Views: 33.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 21:27:09 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 21ms (Views: 18.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 21:27:09 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 59ms (Views: 37.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 21:43:12 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (15.9ms) +Completed 200 OK in 36ms (Views: 31.9ms | ActiveRecord: 2.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 21:43:12 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 64ms (Views: 37.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-23 21:43:15 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.7ms) +Completed 200 OK in 39ms (Views: 35.2ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-23 21:43:15 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.8ms) +Completed 200 OK in 98ms (Views: 54.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-23 21:43:15 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.5ms) +Completed 200 OK in 64ms (Views: 42.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-23 21:43:15 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.6ms) +Completed 200 OK in 63ms (Views: 43.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-23 21:43:15 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.5ms) +Completed 200 OK in 62ms (Views: 40.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 21:44:05 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 72ms (Views: 42.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 21:44:05 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 53ms (Views: 36.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 21:44:06 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 63ms (Views: 46.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 21:44:06 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 62ms (Views: 43.0ms | ActiveRecord: 0.3ms) + + From 0ee297e1b856f3a0e36497ecf608f424561cd025 Mon Sep 17 00:00:00 2001 From: Angela Wilson Date: Sun, 24 Sep 2017 12:04:42 -0700 Subject: [PATCH 10/16] Wave 2: Complete the show functionality. --- app/controllers/tasks_controller.rb | 2 +- app/views/tasks/index.html.erb | 3 +- app/views/tasks/show.html.erb | 22 + log/development.log | 700 ++++++++++++++++++++++++++++ 4 files changed, 725 insertions(+), 2 deletions(-) create mode 100644 app/views/tasks/show.html.erb diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb index 3dff83934..1d120e310 100644 --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -27,7 +27,7 @@ def create end def show - render plain: "add 'show' task" + @task = Task.find(params[:id]) end def edit diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb index 9ab36feeb..9365f56a2 100644 --- a/app/views/tasks/index.html.erb +++ b/app/views/tasks/index.html.erb @@ -7,7 +7,8 @@ <% @tasks.each do |task|%>
  • <%= task.title %> - <%= link_to "Edit", edit_path(task[:id]) %> + <%= link_to "Edit", edit_path(task[:id]) %> <%# Re : task[:id] worked and task.id and task(id) did not work.%> + <%= link_to "Show", 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..1faa94b08 --- /dev/null +++ b/app/views/tasks/show.html.erb @@ -0,0 +1,22 @@ +

    <%= @task.title %>

    + + +

    + + Description: + + <%= @task.description %>
    + + + Due Date: + + <%= @task.due_date %>
    + + + Completed + + <%= @task.completed %> + +


    + +

    diff --git a/log/development.log b/log/development.log index 6b808e83d..64310f70a 100644 --- a/log/development.log +++ b/log/development.log @@ -4579,3 +4579,703 @@ Processing by TasksController#index as */* Completed 200 OK in 62ms (Views: 43.0ms | ActiveRecord: 0.3ms) +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 23:46:06 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.2ms) +Completed 500 Internal Server Error in 16ms + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/index.html.erb:11: syntax error, unexpected tIDENTIFIER, expecting ')' +...pend=( link_to "Show" task_path(task.id) );@output_buffer.sa... +... ^): + +app/views/tasks/index.html.erb:11: syntax error, unexpected tIDENTIFIER, expecting ')' +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 23:46:07 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 500 Internal Server Error in 47ms + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/index.html.erb:11: syntax error, unexpected tIDENTIFIER, expecting ')' +...pend=( link_to "Show" task_path(task.id) );@output_buffer.sa... +... ^): + +app/views/tasks/index.html.erb:11: syntax error, unexpected tIDENTIFIER, expecting ')' +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 23:46:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (14.2ms) +Completed 200 OK in 34ms (Views: 31.9ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 23:46:32 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (8.2ms) +Completed 200 OK in 78ms (Views: 49.4ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-23 23:46:34 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +Completed 406 Not Acceptable in 131ms (ActiveRecord: 0.3ms) + + + +ActionController::UnknownFormat (TasksController#show 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.1.4) lib/action_controller/metal/implicit_render.rb:53:in `default_render' +actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action' +actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `tap' +actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' +actionpack (5.1.4) lib/abstract_controller/base.rb:186:in `process_action' +actionpack (5.1.4) lib/action_controller/metal/rendering.rb:30:in `process_action' +actionpack (5.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' +activesupport (5.1.4) lib/active_support/callbacks.rb:131:in `run_callbacks' +actionpack (5.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action' +actionpack (5.1.4) lib/action_controller/metal/rescue.rb:20:in `process_action' +actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' +activesupport (5.1.4) lib/active_support/notifications.rb:166:in `block in instrument' +activesupport (5.1.4) lib/active_support/notifications/instrumenter.rb:21:in `instrument' +activesupport (5.1.4) lib/active_support/notifications.rb:166:in `instrument' +actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' +actionpack (5.1.4) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' +activerecord (5.1.4) lib/active_record/railties/controller_runtime.rb:22:in `process_action' +actionpack (5.1.4) lib/abstract_controller/base.rb:124:in `process' +actionview (5.1.4) lib/action_view/rendering.rb:30:in `process' +actionpack (5.1.4) lib/action_controller/metal.rb:189:in `dispatch' +actionpack (5.1.4) lib/action_controller/metal.rb:253:in `dispatch' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:31:in `serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:25:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +activerecord (5.1.4) lib/active_record/migration.rb:556:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-23 23:46:35 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +No template found for TasksController#show, rendering head :no_content +Completed 204 No Content in 164ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-23 23:46:35 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +No template found for TasksController#show, rendering head :no_content +Completed 204 No Content in 124ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-23 23:46:35 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +No template found for TasksController#show, rendering head :no_content +Completed 204 No Content in 119ms (ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-23 23:46:35 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +No template found for TasksController#show, rendering head :no_content +Completed 204 No Content in 106ms (ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 07:48:32 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 83ms (Views: 74.6ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 07:48:34 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.8ms) +Completed 200 OK in 555ms (Views: 385.3ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 09:22:02 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.4ms) +Completed 200 OK in 77ms (Views: 72.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 09:22:03 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 69ms (Views: 46.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 09:22:55 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 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: 16.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 09:22:56 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 81ms (Views: 54.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 09:30:57 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 36ms (Views: 32.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 09:30:58 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 99ms (Views: 70.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 09:31:46 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (8.2ms) +Completed 200 OK in 52ms (Views: 49.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 09:31:46 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (7.0ms) +Completed 200 OK in 81ms (Views: 46.8ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 09:31:46 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (7.3ms) +Completed 200 OK in 66ms (Views: 46.6ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 09:31:46 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.5ms) +Completed 200 OK in 64ms (Views: 43.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 09:31:46 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.5ms) +Completed 200 OK in 71ms (Views: 50.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 09:32:45 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 36ms (Views: 31.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 09:32:45 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 81ms (Views: 39.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 09:32:45 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 63ms (Views: 35.7ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 09:32:45 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 68ms (Views: 45.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 09:32:45 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 58ms (Views: 37.3ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 09:32:45 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 66ms (Views: 39.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 09:32:45 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 69ms (Views: 48.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 09:38:31 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (56.3ms) +Completed 200 OK in 173ms (Views: 164.9ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 09:38:31 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (20.0ms) +Completed 200 OK in 346ms (Views: 214.1ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 09:38:31 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (36.3ms) +Completed 200 OK in 504ms (Views: 303.7ms | ActiveRecord: 0.8ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 09:38:32 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (21.2ms) +Completed 200 OK in 465ms (Views: 285.1ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 09:38:32 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (15.3ms) +Completed 200 OK in 368ms (Views: 260.2ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 09:38:33 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (40.4ms) +Completed 200 OK in 581ms (Views: 402.2ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 09:38:33 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (38.2ms) +Completed 200 OK in 552ms (Views: 333.6ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks/14" for 127.0.0.1 at 2017-09-24 09:38:34 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"14"} + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 14], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (6.9ms) +Completed 200 OK in 305ms (Views: 285.2ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks/14" for 127.0.0.1 at 2017-09-24 09:38:34 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"14"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 14], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.6ms) +Completed 200 OK in 411ms (Views: 274.2ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/14" for 127.0.0.1 at 2017-09-24 09:38:35 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"14"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 14], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.4ms) +Completed 200 OK in 496ms (Views: 343.2ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/14" for 127.0.0.1 at 2017-09-24 09:38:35 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"14"} + Task Load (5.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 14], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.7ms) +Completed 200 OK in 387ms (Views: 239.4ms | ActiveRecord: 5.2ms) + + +Started GET "/tasks/14" for 127.0.0.1 at 2017-09-24 09:38:35 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"14"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 14], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.6ms) +Completed 200 OK in 364ms (Views: 212.0ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 09:38:38 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (17.7ms) +Completed 200 OK in 499ms (Views: 380.7ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 09:38:39 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (70.5ms) +Completed 200 OK in 611ms (Views: 361.7ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 09:38:39 -0700 +Processing by TasksController#index as */* +Started GET "/tasks/23" for 127.0.0.1 at 2017-09-24 09:38:40 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"23"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 23], ["LIMIT", 1]] + Rendering tasks/index.html.erb within layouts/application + Task Load (1.2ms) SELECT "tasks".* FROM "tasks" + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.8ms) +Completed 200 OK in 259ms (Views: 245.2ms | ActiveRecord: 0.6ms) + + + Rendered tasks/index.html.erb within layouts/application (162.3ms) +Completed 200 OK in 707ms (Views: 579.8ms | ActiveRecord: 2.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 09:38:40 -0700 +Processing by TasksController#index as */* +Started GET "/tasks/23" for 127.0.0.1 at 2017-09-24 09:38:40 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"23"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 23], ["LIMIT", 1]] + Rendering tasks/index.html.erb within layouts/application + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (19.0ms) +Completed 200 OK in 693ms (Views: 529.0ms | ActiveRecord: 1.0ms) + + + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.8ms) +Completed 200 OK in 390ms (Views: 198.4ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/23" for 127.0.0.1 at 2017-09-24 09:38:41 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"23"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 23], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.9ms) +Completed 200 OK in 472ms (Views: 281.8ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks/23" for 127.0.0.1 at 2017-09-24 09:38:41 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"23"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 23], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (5.2ms) +Completed 200 OK in 486ms (Views: 299.8ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/23" for 127.0.0.1 at 2017-09-24 09:38:42 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"23"} + Task Load (1.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 23], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.4ms) +Completed 200 OK in 481ms (Views: 197.0ms | ActiveRecord: 1.5ms) + + +Started GET "/tasks/23" for 127.0.0.1 at 2017-09-24 09:39:37 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"23"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 23], ["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: 21.7ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/23" for 127.0.0.1 at 2017-09-24 09:39:38 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"23"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 23], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 57ms (Views: 35.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/23" for 127.0.0.1 at 2017-09-24 09:40:16 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"23"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 23], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 23ms (Views: 20.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/23" for 127.0.0.1 at 2017-09-24 09:40:17 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"23"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 23], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 62ms (Views: 41.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/23" for 127.0.0.1 at 2017-09-24 09:41:40 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"23"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 23], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 28ms (Views: 23.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/23" for 127.0.0.1 at 2017-09-24 09:41:40 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"23"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 23], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 64ms (Views: 45.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/23" for 127.0.0.1 at 2017-09-24 09:41:49 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"23"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 23], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 40ms (Views: 36.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/23" for 127.0.0.1 at 2017-09-24 09:41:50 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"23"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 23], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 74ms (Views: 50.9ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 09:42:10 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (7.6ms) +Completed 200 OK in 47ms (Views: 44.1ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 09:42:10 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.5ms) +Completed 200 OK in 82ms (Views: 51.5ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 09:42:10 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.3ms) +Completed 200 OK in 68ms (Views: 46.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 09:42:10 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (6.2ms) +Completed 200 OK in 67ms (Views: 47.1ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 09:42:10 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.8ms) +Completed 200 OK in 70ms (Views: 46.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 09:42:13 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (32.2ms) +Completed 200 OK in 56ms (Views: 52.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 09:42:13 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 72ms (Views: 47.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 09:42:13 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 56ms (Views: 35.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 09:42:13 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 60ms (Views: 39.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 09:42:13 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 63ms (Views: 39.6ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 09:43:20 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 32ms (Views: 26.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 09:43:20 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 74ms (Views: 50.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 09:58:11 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 24ms (Views: 20.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 09:58:12 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 106ms (Views: 58.7ms | ActiveRecord: 0.2ms) + + From 3f6351b678c0e461910af726b1830d525bbbcb3d Mon Sep 17 00:00:00 2001 From: Angela Wilson Date: Sun, 24 Sep 2017 18:53:44 -0700 Subject: [PATCH 11/16] Wave 2 complete: new task functionality is complete. After task is added to DB, user is redirected to 'Home' page. --- app/views/tasks/new.html.erb | 32 + db/development.sqlite3 | Bin 28672 -> 28672 bytes log/development.log | 1272 ++++++++++++++++++++++++++++++++++ 3 files changed, 1304 insertions(+) diff --git a/app/views/tasks/new.html.erb b/app/views/tasks/new.html.erb index 6217db9ca..fd6d4eecb 100644 --- a/app/views/tasks/new.html.erb +++ b/app/views/tasks/new.html.erb @@ -1,3 +1,33 @@ +<%# use form_for for database interaction eg create, update, and destroy %> + +
      + <%= form_for @task do |f| %> + <%= f.label :title %> + <%= f.text_field :title %>
      + + <%= f.label :description %> + <%= f.text_area :description %>
      + + <%= f.label :due_date %> + <%= f.date_field :due_date %>
      + + <%= f.label :completed %> + <%= f.check_box :completed %>
      + + + <%= f.submit %> + <% end %> +
    + + + + + + + +<% if false %> + +
    @@ -25,3 +55,5 @@
    + +<% end %> diff --git a/db/development.sqlite3 b/db/development.sqlite3 index dfb02a17d953a0e6e239130ce5049b7999b4b1fc..63414e03d2c5d1d130bef2c062594e4a79ee0196 100644 GIT binary patch delta 575 zcmZp8z}WDBae_3X^+XwGM(d3UOZd%L_{tghr}C@to!~3ytl(534sL9G#Zez5$-$t= zAgJi*n46fLs!&`~nwFN5W@KP!u4`baYh(^*nJ5?;S{WEw8CmL?n3$Lwn&6fRl>nJ3 zj$&qFN_G~)STmSr9V4K*23E$VRt6?|rY44#W^gG?naSrR-C20wG0&QuASJWeOllt^ zkjJ=Zvc9y`WE~mq$+9w1Ac0D-Kt50)0Vu%0z_4p_os1QTQ3GU1P5vOmHu(-j#%{8K zoXBK8*%Y8Y1_-AM$YEe$Gy}>=P3DnP0O|VyK&CgxTq26`q2rY1&~Fn=3i$V5qTFlh3F0?ii`5haPm*$O$C#U&-l o`6;P7Kz-Jb7%@dN!pzFpM9Hq)$ delta 320 zcmZp8z}WDBae_3X!bBNoMum+DOZbh%InOijPvuwPd&akdFN;ry_Z{yB-XdNTo^L!m zc&d2Jxxa94&%SIZ~5(_ xOvZ)M)5@k4gmV*OHBX( diff --git a/log/development.log b/log/development.log index 64310f70a..28f205d4d 100644 --- a/log/development.log +++ b/log/development.log @@ -5279,3 +5279,1275 @@ Processing by TasksController#show as */* Completed 200 OK in 106ms (Views: 58.7ms | ActiveRecord: 0.2ms) +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 12:12:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (18.9ms) +Completed 200 OK in 107ms (Views: 91.5ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 12:12:36 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (13.5ms) +Completed 200 OK in 343ms (Views: 213.8ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 12:12:37 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (15.5ms) +Completed 200 OK in 296ms (Views: 196.4ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 12:12:37 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (2.6ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (24.9ms) +Completed 200 OK in 550ms (Views: 420.8ms | ActiveRecord: 2.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 12:12:38 -0700 +Processing by TasksController#index as */* +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 12:12:38 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (1.7ms) +Completed 200 OK in 197ms (Views: 186.7ms | ActiveRecord: 0.0ms) + + + Rendering tasks/index.html.erb within layouts/application + Task Load (1.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (25.0ms) +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 12:12:38 -0700 +Processing by TasksController#new as */* +Completed 200 OK in 846ms (Views: 525.2ms | ActiveRecord: 1.2ms) + + + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (1.8ms) +Completed 200 OK in 477ms (Views: 293.2ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 12:12:39 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.3ms) +Completed 200 OK in 519ms (Views: 379.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 12:12:39 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (1.9ms) +Completed 200 OK in 698ms (Views: 487.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 12:12:40 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (1.9ms) +Completed 200 OK in 513ms (Views: 329.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:20:30 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (200.5ms) +Completed 200 OK in 227ms (Views: 224.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:20:30 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.2ms) +Completed 200 OK in 83ms (Views: 53.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:20:30 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.2ms) +Completed 200 OK in 77ms (Views: 48.7ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:20:30 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.8ms) +Completed 200 OK in 87ms (Views: 60.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:20:30 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.7ms) +Completed 200 OK in 87ms (Views: 62.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:24:50 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (211.7ms) +Completed 500 Internal Server Error in 220ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (undefined method `text_box' for # +Did you mean? text_area): + 5: <%= f.text_field :title %>
    + 6: + 7: <%= f.label :description %> + 8: <%= f.text_box :description %> + 9: + 10: + 11: <%= f.submit %> + +app/views/tasks/new.html.erb:8:in `block in _app_views_tasks_new_html_erb__8338460176570177_70292214223580' +app/views/tasks/new.html.erb:3:in `_app_views_tasks_new_html_erb__8338460176570177_70292214223580' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:24:51 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (139.3ms) +Completed 500 Internal Server Error in 191ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (undefined method `text_box' for # +Did you mean? text_area): + 5: <%= f.text_field :title %>
    + 6: + 7: <%= f.label :description %> + 8: <%= f.text_box :description %> + 9: + 10: + 11: <%= f.submit %> + +app/views/tasks/new.html.erb:8:in `block in _app_views_tasks_new_html_erb__8338460176570177_70292262362540' +app/views/tasks/new.html.erb:3:in `_app_views_tasks_new_html_erb__8338460176570177_70292262362540' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:25:05 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (35.6ms) +Completed 200 OK in 58ms (Views: 56.3ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:25:05 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.7ms) +Completed 200 OK in 76ms (Views: 46.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:26:15 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (131.5ms) +Completed 500 Internal Server Error in 141ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (undefined method `date' for #): + 8: <%= f.text_area :description %>
    + 9: + 10: <%= f.label :due_date %> + 11: <%= f.date :due_date %> + 12: + 13: + 14: <%= f.submit %> + +app/views/tasks/new.html.erb:11:in `block in _app_views_tasks_new_html_erb__8338460176570177_70292206693720' +app/views/tasks/new.html.erb:3:in `_app_views_tasks_new_html_erb__8338460176570177_70292206693720' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:26:16 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (159.0ms) +Completed 500 Internal Server Error in 208ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (undefined method `date' for #): + 8: <%= f.text_area :description %>
    + 9: + 10: <%= f.label :due_date %> + 11: <%= f.date :due_date %> + 12: + 13: + 14: <%= f.submit %> + +app/views/tasks/new.html.erb:11:in `block in _app_views_tasks_new_html_erb__8338460176570177_70292216194760' +app/views/tasks/new.html.erb:3:in `_app_views_tasks_new_html_erb__8338460176570177_70292216194760' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:31:53 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (43.5ms) +Completed 200 OK in 123ms (Views: 117.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:31:55 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (19.0ms) +Completed 200 OK in 465ms (Views: 311.8ms | ActiveRecord: 0.0ms) + + + Task Load (1.5ms) SELECT "tasks".* FROM "tasks" LIMIT ? [["LIMIT", 11]] +Started POST "/tasks" for 127.0.0.1 at 2017-09-24 13:35:04 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"Hdgk/CGKts2EOj5Mvc9VrLk36y01R6F+dtxzmPPRKoAmScwPoQr3BTd0owCFFyDi0IyxrGcnguUjEhJziE5ETQ==", "task"=>{"title"=>"make stuff", "description"=>"adkjf", "due_date"=>"2017-09-26"}, "commit"=>"Create Task"} +  (0.1ms) begin transaction + SQL (1.4ms) INSERT INTO "tasks" ("title", "description", "due_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "make stuff"], ["description", "adkjf"], ["due_date", "2017-09-26"], ["created_at", "2017-09-24 20:35:04.541966"], ["updated_at", "2017-09-24 20:35:04.541966"]] +  (1.6ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 3.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 13:35:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.0ms) +Completed 200 OK in 31ms (Views: 28.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 13:35:04 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (6.5ms) +Completed 200 OK in 78ms (Views: 49.1ms | ActiveRecord: 0.8ms) + + +Started GET "/tasks/24/edit" for 127.0.0.1 at 2017-09-24 13:35:07 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"24"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (1.8ms) +Completed 200 OK in 37ms (Views: 34.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/24/edit" for 127.0.0.1 at 2017-09-24 13:35:07 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"24"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.8ms) +Completed 200 OK in 74ms (Views: 46.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/24/edit" for 127.0.0.1 at 2017-09-24 13:35:07 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"24"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (1.0ms) +Completed 200 OK in 85ms (Views: 57.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/24/edit" for 127.0.0.1 at 2017-09-24 13:35:07 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"24"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.6ms) +Completed 200 OK in 62ms (Views: 41.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/24/edit" for 127.0.0.1 at 2017-09-24 13:35:07 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"24"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (1.0ms) +Completed 200 OK in 68ms (Views: 47.7ms | ActiveRecord: 0.0ms) + + + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" LIMIT ? [["LIMIT", 11]] + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" LIMIT ? [["LIMIT", 11]] +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:42:30 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (4.6ms) +Completed 200 OK in 41ms (Views: 38.3ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:42:30 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.5ms) +Completed 200 OK in 81ms (Views: 50.2ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:42:30 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.9ms) +Completed 200 OK in 80ms (Views: 54.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:42:30 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.6ms) +Completed 200 OK in 65ms (Views: 42.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:42:30 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (6.1ms) +Completed 200 OK in 76ms (Views: 44.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:58:18 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (6.4ms) +Completed 200 OK in 40ms (Views: 36.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:58:19 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (7.5ms) +Completed 200 OK in 194ms (Views: 137.3ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:58:37 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.6ms) +Completed 200 OK in 48ms (Views: 45.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:58:38 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (5.6ms) +Completed 200 OK in 160ms (Views: 110.7ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:58:44 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (12.3ms) +Completed 200 OK in 92ms (Views: 86.9ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:58:44 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (8.4ms) +Completed 200 OK in 256ms (Views: 97.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:58:44 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (9.1ms) +Completed 200 OK in 202ms (Views: 114.2ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:58:44 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (8.9ms) +Completed 200 OK in 252ms (Views: 147.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:58:45 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (19.4ms) +Completed 200 OK in 237ms (Views: 150.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:58:50 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (7.5ms) +Completed 200 OK in 62ms (Views: 57.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:58:50 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (13.6ms) +Completed 200 OK in 281ms (Views: 183.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:58:50 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (10.0ms) +Completed 200 OK in 206ms (Views: 129.7ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:58:50 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (10.6ms) +Completed 200 OK in 350ms (Views: 185.3ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:58:51 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (14.4ms) +Completed 200 OK in 563ms (Views: 354.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:58:51 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (23.6ms) +Completed 200 OK in 468ms (Views: 295.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:58:52 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (9.2ms) +Completed 200 OK in 392ms (Views: 226.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:59:46 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (1.1ms) +Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/new.html.erb:34: syntax error, unexpected keyword_ensure, expecting end-of-input): + +app/views/tasks/new.html.erb:34: syntax error, unexpected keyword_ensure, expecting end-of-input +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 13:59:48 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.1ms) +Completed 500 Internal Server Error in 148ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/new.html.erb:34: syntax error, unexpected keyword_ensure, expecting end-of-input): + +app/views/tasks/new.html.erb:34: syntax error, unexpected keyword_ensure, expecting end-of-input +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 14:01:57 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (1.1ms) +Completed 200 OK in 36ms (Views: 32.2ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 14:01:58 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (1.2ms) +Completed 200 OK in 136ms (Views: 95.6ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-24 14:02:29 -0700 +Processing by TasksController#create as HTML + Parameters: {"authenticity_token"=>"rNlCnZaUT0cw3log5bYZkTR0IF6Nkgwznmg8xY6nx2iXSKpuFhQOj4OQx2zdbmzfXc9639/yL6jLpl0u9TippQ==", "task"=>{"title"=>"make stuff", "description"=>"df", "due_date"=>"2017-09-27", "completed"=>""}} +  (0.1ms) begin transaction + SQL (0.8ms) INSERT INTO "tasks" ("title", "description", "due_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "make stuff"], ["description", "df"], ["due_date", "2017-09-27"], ["created_at", "2017-09-24 21:02:29.444714"], ["updated_at", "2017-09-24 21:02:29.444714"]] +  (1.4ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 2.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 14:02:29 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (6.1ms) +Completed 200 OK in 37ms (Views: 31.9ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 14:02:30 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (9.4ms) +Completed 200 OK in 185ms (Views: 134.9ms | ActiveRecord: 0.5ms) + + + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" LIMIT ? [["LIMIT", 11]] + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 18], ["LIMIT", 1]] + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 11], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.6ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 11]] +  (61.6ms) commit transaction + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]] +  (0.2ms) begin transaction + SQL (2.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 12]] +  (175.5ms) commit transaction +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 14:06:18 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.7ms) +Completed 200 OK in 36ms (Views: 32.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 14:06:19 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (7.0ms) +Completed 200 OK in 88ms (Views: 56.2ms | ActiveRecord: 0.5ms) + + + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 13], ["LIMIT", 1]] +  (0.2ms) begin transaction + SQL (1.7ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 13]] +  (316.3ms) commit transaction + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 14], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.5ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 14]] +  (919.2ms) commit transaction +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 14:07:28 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.6ms) +Completed 200 OK in 30ms (Views: 26.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 14:07:28 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 61ms (Views: 40.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:20:35 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (4.3ms) +Completed 200 OK in 41ms (Views: 38.9ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:20:35 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (5.0ms) +Completed 200 OK in 97ms (Views: 62.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:20:35 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (4.1ms) +Completed 200 OK in 75ms (Views: 53.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:20:35 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (4.3ms) +Completed 200 OK in 82ms (Views: 54.7ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:20:35 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.9ms) +Completed 200 OK in 76ms (Views: 56.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:21:48 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (1245.2ms) +Completed 200 OK in 1276ms (Views: 1272.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:21:50 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (4.8ms) +Completed 200 OK in 72ms (Views: 48.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:25:17 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (155.7ms) +Completed 500 Internal Server Error in 163ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (undefined method `checkbox' for # +Did you mean? check_box): + 12: <%= f.date_field :due_date %>
    + 13: + 14: <% f.label :completed %> + 15: <% f.checkbox :completed %>
    + 16: + 17: + 18: <%= f.submit %> + +app/views/tasks/new.html.erb:15:in `block in _app_views_tasks_new_html_erb__8338460176570177_70292216007340' +app/views/tasks/new.html.erb:4:in `_app_views_tasks_new_html_erb__8338460176570177_70292216007340' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:25:18 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (108.1ms) +Completed 500 Internal Server Error in 153ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (undefined method `checkbox' for # +Did you mean? check_box): + 12: <%= f.date_field :due_date %>
    + 13: + 14: <% f.label :completed %> + 15: <% f.checkbox :completed %>
    + 16: + 17: + 18: <%= f.submit %> + +app/views/tasks/new.html.erb:15:in `block in _app_views_tasks_new_html_erb__8338460176570177_70292224344700' +app/views/tasks/new.html.erb:4:in `_app_views_tasks_new_html_erb__8338460176570177_70292224344700' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:25:39 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.3ms) +Completed 200 OK in 21ms (Views: 18.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:25:39 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.8ms) +Completed 200 OK in 70ms (Views: 42.7ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:25:49 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.8ms) +Completed 200 OK in 29ms (Views: 24.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:25:49 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (4.0ms) +Completed 200 OK in 61ms (Views: 42.7ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:25:57 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.6ms) +Completed 200 OK in 26ms (Views: 23.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:25:58 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (4.1ms) +Completed 200 OK in 86ms (Views: 57.2ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:25:58 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (4.1ms) +Completed 200 OK in 72ms (Views: 44.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:30:06 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (6.1ms) +Completed 200 OK in 47ms (Views: 38.2ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:30:06 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 79ms (Views: 47.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:30:06 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 68ms (Views: 49.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:30:06 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.9ms) +Completed 200 OK in 75ms (Views: 55.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:30:06 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 62ms (Views: 42.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:32:02 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 27ms (Views: 24.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:32:02 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.6ms) +Completed 200 OK in 67ms (Views: 39.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:32:03 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 65ms (Views: 43.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:32:03 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.8ms) +Completed 200 OK in 65ms (Views: 43.3ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:32:05 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (121.0ms) +Completed 500 Internal Server Error in 130ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (undefined method `tag_field' for # +Did you mean? text_field): + 12: <%= f.date_field :due_date %>
    + 13: + 14: <% f.label :completed %> + 15: <% f.tag_field.check_box :completed %>
    + 16: + 17: + 18: <%= f.submit %> + +app/views/tasks/new.html.erb:15:in `block in _app_views_tasks_new_html_erb__8338460176570177_70292225304060' +app/views/tasks/new.html.erb:4:in `_app_views_tasks_new_html_erb__8338460176570177_70292225304060' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:32:06 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (157.8ms) +Completed 500 Internal Server Error in 303ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (undefined method `tag_field' for # +Did you mean? text_field): + 12: <%= f.date_field :due_date %>
    + 13: + 14: <% f.label :completed %> + 15: <% f.tag_field.check_box :completed %>
    + 16: + 17: + 18: <%= f.submit %> + +app/views/tasks/new.html.erb:15:in `block in _app_views_tasks_new_html_erb__8338460176570177_70292217560600' +app/views/tasks/new.html.erb:4:in `_app_views_tasks_new_html_erb__8338460176570177_70292217560600' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:32:07 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (145.1ms) +Completed 500 Internal Server Error in 189ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (undefined method `tag_field' for # +Did you mean? text_field): + 12: <%= f.date_field :due_date %>
    + 13: + 14: <% f.label :completed %> + 15: <% f.tag_field.check_box :completed %>
    + 16: + 17: + 18: <%= f.submit %> + +app/views/tasks/new.html.erb:15:in `block in _app_views_tasks_new_html_erb__8338460176570177_70292232636240' +app/views/tasks/new.html.erb:4:in `_app_views_tasks_new_html_erb__8338460176570177_70292232636240' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:32:08 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (189.4ms) +Completed 500 Internal Server Error in 227ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (undefined method `tag_field' for # +Did you mean? text_field): + 12: <%= f.date_field :due_date %>
    + 13: + 14: <% f.label :completed %> + 15: <% f.tag_field.check_box :completed %>
    + 16: + 17: + 18: <%= f.submit %> + +app/views/tasks/new.html.erb:15:in `block in _app_views_tasks_new_html_erb__8338460176570177_70292286559240' +app/views/tasks/new.html.erb:4:in `_app_views_tasks_new_html_erb__8338460176570177_70292286559240' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:32:08 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (144.2ms) +Completed 500 Internal Server Error in 209ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (undefined method `tag_field' for # +Did you mean? text_field): + 12: <%= f.date_field :due_date %>
    + 13: + 14: <% f.label :completed %> + 15: <% f.tag_field.check_box :completed %>
    + 16: + 17: + 18: <%= f.submit %> + +app/views/tasks/new.html.erb:15:in `block in _app_views_tasks_new_html_erb__8338460176570177_70292277886840' +app/views/tasks/new.html.erb:4:in `_app_views_tasks_new_html_erb__8338460176570177_70292277886840' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:34:42 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (111.0ms) +Completed 500 Internal Server Error in 118ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (undefined method `check_box_tag' for # +Did you mean? check_box): + 12: <%= f.date_field :due_date %>
    + 13: + 14: <% f.label :completed %> + 15: <% f.check_box_tag :completed %>
    + 16: + 17: + 18: <%= f.submit %> + +app/views/tasks/new.html.erb:15:in `block in _app_views_tasks_new_html_erb__8338460176570177_70292247997220' +app/views/tasks/new.html.erb:4:in `_app_views_tasks_new_html_erb__8338460176570177_70292247997220' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:34:43 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (173.9ms) +Completed 500 Internal Server Error in 228ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (undefined method `check_box_tag' for # +Did you mean? check_box): + 12: <%= f.date_field :due_date %>
    + 13: + 14: <% f.label :completed %> + 15: <% f.check_box_tag :completed %>
    + 16: + 17: + 18: <%= f.submit %> + +app/views/tasks/new.html.erb:15:in `block in _app_views_tasks_new_html_erb__8338460176570177_70292265025000' +app/views/tasks/new.html.erb:4:in `_app_views_tasks_new_html_erb__8338460176570177_70292265025000' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:37:50 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.7ms) +Completed 200 OK in 26ms (Views: 22.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:37:50 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (6.7ms) +Completed 200 OK in 100ms (Views: 69.3ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:39:03 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (6.7ms) +Completed 200 OK in 43ms (Views: 40.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:39:03 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (4.6ms) +Completed 200 OK in 87ms (Views: 51.7ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:39:03 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (5.4ms) +Completed 200 OK in 80ms (Views: 55.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:39:03 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.1ms) +Completed 200 OK in 74ms (Views: 52.9ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:39:03 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (5.8ms) +Completed 200 OK in 79ms (Views: 54.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:39:05 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (7.0ms) +Completed 200 OK in 49ms (Views: 45.9ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:39:05 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.5ms) +Completed 200 OK in 84ms (Views: 57.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:39:05 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.7ms) +Completed 200 OK in 77ms (Views: 57.9ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:39:05 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (6.3ms) +Completed 200 OK in 80ms (Views: 56.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:39:05 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 83ms (Views: 60.3ms | ActiveRecord: 0.2ms) + + + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] +  (0.2ms) begin transaction + SQL (0.8ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 3]] +  (2.9ms) commit transaction + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.6ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 4]] +  (2.4ms) commit transaction + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.5ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 5]] +  (2.2ms) commit transaction + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (1.7ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 6]] +  (2.5ms) commit transaction + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.7ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 7]] +  (818.8ms) commit transaction + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 8], ["LIMIT", 1]] + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.6ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 9]] +  (2.4ms) commit transaction +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:41:33 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (6.6ms) +Completed 200 OK in 37ms (Views: 32.3ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:41:33 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (6.0ms) +Completed 200 OK in 65ms (Views: 43.6ms | ActiveRecord: 0.2ms) + + + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 10], ["LIMIT", 1]] +  (0.2ms) begin transaction + SQL (0.6ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 10]] +  (10.8ms) commit transaction + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 11], ["LIMIT", 1]] +  (0.2ms) begin transaction +  (0.1ms) commit transaction + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]] +  (0.2ms) begin transaction +  (0.5ms) commit transaction + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 13], ["LIMIT", 1]] +  (0.2ms) begin transaction +  (0.1ms) commit transaction + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 14], ["LIMIT", 1]] +  (0.2ms) begin transaction +  (0.1ms) commit transaction + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 15], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.6ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 15]] +  (2.3ms) commit transaction +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:42:30 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (9.2ms) +Completed 200 OK in 42ms (Views: 36.8ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:42:31 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.2ms) +Completed 200 OK in 67ms (Views: 44.3ms | ActiveRecord: 0.4ms) + + + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" LIMIT ? [["LIMIT", 11]] + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 22], ["LIMIT", 1]] +  (0.2ms) begin transaction + SQL (1.7ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 22]] +  (2.4ms) commit transaction + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] +  (0.2ms) begin transaction + SQL (0.6ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 21]] +  (2.4ms) commit transaction + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 20], ["LIMIT", 1]] +  (0.2ms) begin transaction + SQL (0.6ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 20]] +  (2.3ms) commit transaction + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 19], ["LIMIT", 1]] +  (0.2ms) begin transaction + SQL (0.7ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 19]] +  (2.4ms) commit transaction + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 18], ["LIMIT", 1]] +  (0.2ms) begin transaction + SQL (0.7ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 18]] +  (2.9ms) commit transaction + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 17], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.6ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 17]] +  (2.4ms) commit transaction + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 16], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.5ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 16]] +  (2.4ms) commit transaction + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 15], ["LIMIT", 1]] +  (0.2ms) begin transaction +  (0.1ms) commit transaction + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 14], ["LIMIT", 1]] +  (0.2ms) begin transaction +  (0.1ms) commit transaction + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 13], ["LIMIT", 1]] +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:44:19 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 36ms (Views: 33.0ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:44:19 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 64ms (Views: 39.9ms | ActiveRecord: 0.3ms) + + + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" LIMIT ? [["LIMIT", 11]] + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 25], ["LIMIT", 1]] +  (0.2ms) begin transaction + SQL (0.7ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 25]] +  (1285.9ms) commit transaction + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 24], ["LIMIT", 1]] +  (0.2ms) begin transaction + SQL (1.7ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 24]] +  (1.7ms) commit transaction + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" LIMIT ? [["LIMIT", 11]] + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 23], ["LIMIT", 1]] +  (0.2ms) begin transaction + SQL (0.7ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 23]] +  (2.5ms) commit transaction + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" LIMIT ? [["LIMIT", 11]] + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 8], ["LIMIT", 1]] +  (0.2ms) begin transaction + SQL (1.7ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 8]] +  (3.1ms) commit transaction + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" LIMIT ? [["LIMIT", 11]] +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:46:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 31ms (Views: 28.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:46:00 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 63ms (Views: 41.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:46:07 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.7ms) +Completed 200 OK in 51ms (Views: 48.2ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:46:07 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.6ms) +Completed 200 OK in 92ms (Views: 46.7ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:46:07 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (4.5ms) +Completed 200 OK in 80ms (Views: 62.2ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:46:07 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.4ms) +Completed 200 OK in 72ms (Views: 49.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:46:07 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.3ms) +Completed 200 OK in 83ms (Views: 60.1ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-24 18:46:34 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"BH0RlTfDNhm6nmFLWLVO50ALpKxA9hsRN+tufCEED4o/21pG77DPMASrCGSUnNAfoktu0fmwY7pjpNTgzH2EvA==", "task"=>{"title"=>"Make task list", "description"=>"code,", "due_date"=>"2017-09-25", "completed"=>"1"}, "commit"=>"Create Task"} +  (0.1ms) begin transaction + SQL (0.6ms) INSERT INTO "tasks" ("title", "completed", "description", "due_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["title", "Make task list"], ["completed", "t"], ["description", "code,"], ["due_date", "2017-09-25"], ["created_at", "2017-09-25 01:46:34.183521"], ["updated_at", "2017-09-25 01:46:34.183521"]] +  (8.0ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 8.7ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:46:34 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 28ms (Views: 23.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:46:34 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 64ms (Views: 42.5ms | ActiveRecord: 0.3ms) + + + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" LIMIT ? [["LIMIT", 11]] +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:47:13 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.2ms) +Completed 200 OK in 40ms (Views: 36.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:47:13 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (4.7ms) +Completed 200 OK in 72ms (Views: 42.9ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:47:13 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (4.6ms) +Completed 200 OK in 66ms (Views: 42.7ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:47:13 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (5.2ms) +Completed 200 OK in 67ms (Views: 47.2ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 18:47:13 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.9ms) +Completed 200 OK in 68ms (Views: 41.3ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-24 18:47:40 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"mb3ssWtXtvK+H2iLTJner8uQbgTkUwmz+1yktZ9jaz+iG6disyRP2wAqAaSAsEBXKdCkeV0VcRivEx4pchrgCQ==", "task"=>{"title"=>"stew", "description"=>"asdf", "due_date"=>"2017-09-27", "completed"=>"0"}, "commit"=>"Create Task"} +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "tasks" ("title", "completed", "description", "due_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["title", "stew"], ["completed", "f"], ["description", "asdf"], ["due_date", "2017-09-27"], ["created_at", "2017-09-25 01:47:40.405429"], ["updated_at", "2017-09-25 01:47:40.405429"]] +  (579.3ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 583ms (ActiveRecord: 579.8ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:47:40 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 26ms (Views: 21.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:47:41 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 81ms (Views: 54.6ms | ActiveRecord: 0.2ms) + + + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" LIMIT ? [["LIMIT", 11]] From d8926b56b0bf7fce1fb6bc50d7267b0cd188b64e Mon Sep 17 00:00:00 2001 From: Angela Wilson Date: Sun, 24 Sep 2017 20:49:39 -0700 Subject: [PATCH 12/16] Wave 3 complete: Edit task is complete. Still want to work on the 'show' views so that the 'completed' status is a check box vs. a boolean word 'true' or 'false.' --- app/controllers/tasks_controller.rb | 4 +- app/views/tasks/_form.html.erb | 22 +- app/views/tasks/edit.html.erb | 17 +- app/views/tasks/index.html.erb | 1 + app/views/tasks/new.html.erb | 19 +- app/views/tasks/show.html.erb | 3 +- log/development.log | 1712 +++++++++++++++++++++++++++ 7 files changed, 1759 insertions(+), 19 deletions(-) diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb index 1d120e310..8485ef1e9 100644 --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -32,7 +32,7 @@ def show def edit # why params[:id] - + @task = Task.find(params[:id]) end def update @@ -44,7 +44,7 @@ def update @task.due_date = params[:task][:due_date] @task.completed = params[:task][:completed] - redirect_to task_path + redirect_to tasks_path end def destroy diff --git a/app/views/tasks/_form.html.erb b/app/views/tasks/_form.html.erb index 709b1dc70..e69a2d0d5 100644 --- a/app/views/tasks/_form.html.erb +++ b/app/views/tasks/_form.html.erb @@ -1,3 +1,23 @@ -<% button_text ||= "The button" %> + + +
    + <%= form_for @task do |f| %> + <%= f.label :title %> + <%= f.text_field :title %>
    + + <%= f.label :description %> + <%= f.text_area :description %>
    + + <%= f.label :due_date %> + <%= f.date_field :due_date %>
    + + <%= f.label :completed %> + <%= f.check_box :completed %>
    + + + + <%= f.submit button_text %> + <% end %> +
    diff --git a/app/views/tasks/edit.html.erb b/app/views/tasks/edit.html.erb index f3f7915cf..ee01610f1 100644 --- a/app/views/tasks/edit.html.erb +++ b/app/views/tasks/edit.html.erb @@ -1,18 +1,19 @@ -<%# render partial: "form", {button_text: "make me a task"} %> +<%= render partial: "form", locals: {button_text: "Edit My Task"} %> -
    - - - + + diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb index 9365f56a2..9664c9495 100644 --- a/app/views/tasks/index.html.erb +++ b/app/views/tasks/index.html.erb @@ -7,6 +7,7 @@ <% @tasks.each do |task|%>
  • <%= task.title %> + <%= link_to "Edit", edit_path(task[:id]) %> <%# Re : task[:id] worked and task.id and task(id) did not work.%> <%= link_to "Show", task_path(task.id) %>
  • diff --git a/app/views/tasks/new.html.erb b/app/views/tasks/new.html.erb index fd6d4eecb..751d1d079 100644 --- a/app/views/tasks/new.html.erb +++ b/app/views/tasks/new.html.erb @@ -1,6 +1,12 @@ +<%= render partial: "form", locals: { button_text: "Create My Task"} %> + + + + + <%# use form_for for database interaction eg create, update, and destroy %> -
      + + @@ -25,10 +33,9 @@ -<% if false %> - + diff --git a/app/views/tasks/show.html.erb b/app/views/tasks/show.html.erb index 1faa94b08..06681467c 100644 --- a/app/views/tasks/show.html.erb +++ b/app/views/tasks/show.html.erb @@ -15,8 +15,9 @@ Completed + <%= @task.completed %> -
      + <%= link_to "Edit", edit_path(@task[:id]) %>

      diff --git a/log/development.log b/log/development.log index 28f205d4d..b61895753 100644 --- a/log/development.log +++ b/log/development.log @@ -6551,3 +6551,1715 @@ Completed 200 OK in 81ms (Views: 54.6ms | ActiveRecord: 0.2ms) Task Load (0.3ms) SELECT "tasks".* FROM "tasks" LIMIT ? [["LIMIT", 11]] +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 18:55:02 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 34ms (Views: 31.0ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 18:55:02 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.5ms) +Completed 200 OK in 78ms (Views: 44.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 18:55:02 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 64ms (Views: 40.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 18:55:02 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 68ms (Views: 49.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 18:55:02 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 62ms (Views: 41.1ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:55:18 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 41ms (Views: 37.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:55:18 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 72ms (Views: 45.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:55:18 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 73ms (Views: 50.5ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:55:18 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 69ms (Views: 47.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:55:18 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 76ms (Views: 45.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:55:18 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 70ms (Views: 44.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:55:18 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 74ms (Views: 53.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/26" for 127.0.0.1 at 2017-09-24 18:55:24 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"26"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 49ms (Views: 45.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/26" for 127.0.0.1 at 2017-09-24 18:55:24 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"26"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 80ms (Views: 50.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/26" for 127.0.0.1 at 2017-09-24 18:55:24 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"26"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 70ms (Views: 45.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/26" for 127.0.0.1 at 2017-09-24 18:55:24 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"26"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 69ms (Views: 47.3ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/26" for 127.0.0.1 at 2017-09-24 18:55:24 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"26"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 62ms (Views: 44.0ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:55:32 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 37ms (Views: 32.7ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:55:33 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 75ms (Views: 49.4ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:55:33 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 61ms (Views: 42.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:55:33 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 66ms (Views: 41.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:55:33 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 71ms (Views: 43.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:55:33 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 70ms (Views: 49.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:55:33 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 76ms (Views: 48.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:57:53 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 21ms (Views: 18.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:57:53 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 59ms (Views: 38.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 18:57:56 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 29ms (Views: 26.4ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 18:57:56 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 70ms (Views: 39.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 18:57:56 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 62ms (Views: 43.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 18:57:56 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 59ms (Views: 36.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 18:57:56 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 66ms (Views: 41.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 18:58:18 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 21ms (Views: 17.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 18:58:19 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 57ms (Views: 34.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:58:20 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 39ms (Views: 36.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:58:20 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 78ms (Views: 43.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:58:20 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 64ms (Views: 45.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:58:20 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 76ms (Views: 52.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:58:20 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 66ms (Views: 38.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:58:59 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 26ms (Views: 23.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 18:58:59 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 64ms (Views: 39.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 19:01:42 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 22ms (Views: 20.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 19:01:42 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 64ms (Views: 41.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:01:44 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (1.8ms) +Completed 200 OK in 31ms (Views: 28.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:01:44 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.7ms) +Completed 200 OK in 75ms (Views: 52.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:01:44 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.6ms) +Completed 200 OK in 76ms (Views: 52.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:01:44 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.6ms) +Completed 200 OK in 100ms (Views: 78.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:01:44 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (13.0ms) +Completed 200 OK in 80ms (Views: 61.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 19:01:48 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 74ms (Views: 40.8ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 19:01:48 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 58ms (Views: 40.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 19:01:48 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 63ms (Views: 40.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 19:01:49 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (6.8ms) +Completed 200 OK in 92ms (Views: 69.1ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 19:01:50 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (290.4ms) +Completed 500 Internal Server Error in 302ms (ActiveRecord: 0.2ms) + + + +ActionView::Template::Error (undefined local variable or method `task' for #<#:0x007fdc5d3be840> +Did you mean? @task): + 17: + 18: <%= @task.completed %> + 19: + 20: <%= link_to "Edit", edit_path(task[:id]) %> + 21: + 22:

      + +app/views/tasks/show.html.erb:20:in `_app_views_tasks_show_html_erb__315673110928160994_70292216871180' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 19:01:50 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (236.8ms) +Completed 500 Internal Server Error in 294ms (ActiveRecord: 0.2ms) + + + +ActionView::Template::Error (undefined local variable or method `task' for #<#:0x007fdc5d369598> +Did you mean? @task): + 17: + 18: <%= @task.completed %> + 19: + 20: <%= link_to "Edit", edit_path(task[:id]) %> + 21: + 22:

      + +app/views/tasks/show.html.erb:20:in `_app_views_tasks_show_html_erb__315673110928160994_70292216696840' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 19:01:51 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (262.4ms) +Completed 500 Internal Server Error in 303ms (ActiveRecord: 0.1ms) + + + +ActionView::Template::Error (undefined local variable or method `task' for #<#:0x007fdc60d1c9e8> +Did you mean? @task): + 17: + 18: <%= @task.completed %> + 19: + 20: <%= link_to "Edit", edit_path(task[:id]) %> + 21: + 22:

      + +app/views/tasks/show.html.erb:20:in `_app_views_tasks_show_html_erb__315673110928160994_70292246948560' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 19:01:52 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (236.9ms) +Completed 500 Internal Server Error in 280ms (ActiveRecord: 0.1ms) + + + +ActionView::Template::Error (undefined local variable or method `task' for #<#:0x007fdc62f08b38> +Did you mean? @task): + 17: + 18: <%= @task.completed %> + 19: + 20: <%= link_to "Edit", edit_path(task[:id]) %> + 21: + 22:

      + +app/views/tasks/show.html.erb:20:in `_app_views_tasks_show_html_erb__315673110928160994_70292264735960' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 19:01:53 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (221.7ms) +Completed 500 Internal Server Error in 266ms (ActiveRecord: 0.1ms) + + + +ActionView::Template::Error (undefined local variable or method `task' for #<#:0x007fdc64229460> +Did you mean? @task): + 17: + 18: <%= @task.completed %> + 19: + 20: <%= link_to "Edit", edit_path(task[:id]) %> + 21: + 22:

      + +app/views/tasks/show.html.erb:20:in `_app_views_tasks_show_html_erb__315673110928160994_70292274761540' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 19:02:15 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 19ms (Views: 16.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 19:02:16 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 73ms (Views: 46.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:02:19 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.6ms) +Completed 200 OK in 39ms (Views: 36.9ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:02:19 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.6ms) +Completed 200 OK in 85ms (Views: 45.9ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:02:19 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.6ms) +Completed 200 OK in 69ms (Views: 43.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:02:19 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.9ms) +Completed 200 OK in 87ms (Views: 56.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:02:19 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (1.4ms) +Completed 200 OK in 73ms (Views: 49.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 19:02:20 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 68ms (Views: 34.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 19:02:20 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 70ms (Views: 50.3ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 19:02:20 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 81ms (Views: 56.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 19:02:21 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 93ms (Views: 60.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:13:30 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.7ms) +Completed 200 OK in 28ms (Views: 24.3ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:13:30 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.7ms) +Completed 200 OK in 91ms (Views: 41.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:13:30 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.8ms) +Completed 200 OK in 67ms (Views: 48.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:13:30 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.5ms) +Completed 200 OK in 59ms (Views: 34.9ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:13:30 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.7ms) +Completed 200 OK in 73ms (Views: 48.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:13:30 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.7ms) +Completed 200 OK in 67ms (Views: 47.2ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:13:30 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.5ms) +Completed 200 OK in 54ms (Views: 35.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 19:14:44 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 34ms (Views: 30.2ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 19:14:44 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 73ms (Views: 43.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 19:14:44 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 59ms (Views: 38.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 19:14:44 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 65ms (Views: 40.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 19:14:44 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 67ms (Views: 46.4ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 19:14:49 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.9ms) +Completed 200 OK in 40ms (Views: 38.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 19:14:49 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.9ms) +Completed 200 OK in 86ms (Views: 52.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 19:14:49 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.0ms) +Completed 200 OK in 63ms (Views: 43.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 19:14:49 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.9ms) +Completed 200 OK in 64ms (Views: 46.3ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 19:14:50 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.4ms) +Completed 200 OK in 61ms (Views: 41.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 19:15:53 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (4.6ms) +Completed 200 OK in 30ms (Views: 26.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 19:15:54 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.2ms) +Completed 200 OK in 66ms (Views: 43.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 19:19:51 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.6ms) +Completed 200 OK in 38ms (Views: 35.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 19:19:51 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 78ms (Views: 45.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 19:19:52 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 67ms (Views: 45.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 19:19:52 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 63ms (Views: 43.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 19:19:52 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 62ms (Views: 42.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 19:19:54 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 45ms (Views: 41.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 19:19:54 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 82ms (Views: 47.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 19:19:55 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 71ms (Views: 48.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 19:19:55 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 66ms (Views: 39.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 19:19:55 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 73ms (Views: 48.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:19:56 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (3.1ms) +Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 1: <%# render partial: "form", {button_text: "make me a task"} %> + 2:
        + 3: <%= form_for @task do |f| %> + 4: <%= f.label :title %> + 5: <%= f.text_field :title %>
        + 6: + +app/views/tasks/edit.html.erb:3:in `_app_views_tasks_edit_html_erb__2425403048999612922_70292275239280' +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:19:57 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (22.2ms) +Completed 500 Internal Server Error in 58ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 1: <%# render partial: "form", {button_text: "make me a task"} %> + 2:
          + 3: <%= form_for @task do |f| %> + 4: <%= f.label :title %> + 5: <%= f.text_field :title %>
          + 6: + +app/views/tasks/edit.html.erb:3:in `_app_views_tasks_edit_html_erb__2425403048999612922_70292263552940' +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:19:57 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (22.8ms) +Completed 500 Internal Server Error in 60ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 1: <%# render partial: "form", {button_text: "make me a task"} %> + 2:
            + 3: <%= form_for @task do |f| %> + 4: <%= f.label :title %> + 5: <%= f.text_field :title %>
            + 6: + +app/views/tasks/edit.html.erb:3:in `_app_views_tasks_edit_html_erb__2425403048999612922_70292276861300' +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:19:58 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (18.9ms) +Completed 500 Internal Server Error in 60ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 1: <%# render partial: "form", {button_text: "make me a task"} %> + 2:
              + 3: <%= form_for @task do |f| %> + 4: <%= f.label :title %> + 5: <%= f.text_field :title %>
              + 6: + +app/views/tasks/edit.html.erb:3:in `_app_views_tasks_edit_html_erb__2425403048999612922_70292277235100' +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:19:59 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (19.2ms) +Completed 500 Internal Server Error in 55ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 1: <%# render partial: "form", {button_text: "make me a task"} %> + 2:
                + 3: <%= form_for @task do |f| %> + 4: <%= f.label :title %> + 5: <%= f.text_field :title %>
                + 6: + +app/views/tasks/edit.html.erb:3:in `_app_views_tasks_edit_html_erb__2425403048999612922_70292225125640' +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:21:53 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (1.2ms) +Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/edit.html.erb:1: syntax error, unexpected ';', expecting => +...utton_text: "make me a task"} ;@output_buffer.safe_append=' ... +... ^): + +app/views/tasks/edit.html.erb:1: syntax error, unexpected ';', expecting => +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:21:54 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.8ms) +Completed 500 Internal Server Error in 43ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/edit.html.erb:1: syntax error, unexpected ';', expecting => +...utton_text: "make me a task"} ;@output_buffer.safe_append=' ... +... ^): + +app/views/tasks/edit.html.erb:1: syntax error, unexpected ';', expecting => +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:22:47 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (2.8ms) +Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 1: + 2:
                  + 3: <%= form_for @task do |f| %> + 4: <%= f.label :title %> + 5: <%= f.text_field :title %>
                  + 6: + +app/views/tasks/edit.html.erb:3:in `_app_views_tasks_edit_html_erb__2425403048999612922_70292216669780' +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:22:48 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (21.1ms) +Completed 500 Internal Server Error in 64ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 1: + 2:
                    + 3: <%= form_for @task do |f| %> + 4: <%= f.label :title %> + 5: <%= f.text_field :title %>
                    + 6: + +app/views/tasks/edit.html.erb:3:in `_app_views_tasks_edit_html_erb__2425403048999612922_70292275167120' +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:32:31 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (2.1ms) +Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/edit.html.erb:1: syntax error, unexpected ';', expecting => +...utton_text: "make me a task"} ;@output_buffer.safe_append=' ... +... ^): + +app/views/tasks/edit.html.erb:1: syntax error, unexpected ';', expecting => +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:32:33 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (3.0ms) +Completed 500 Internal Server Error in 102ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/edit.html.erb:1: syntax error, unexpected ';', expecting => +...utton_text: "make me a task"} ;@output_buffer.safe_append=' ... +... ^): + +app/views/tasks/edit.html.erb:1: syntax error, unexpected ';', expecting => +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:46:33 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (6.6ms) + Rendered tasks/edit.html.erb within layouts/application (12.2ms) +Completed 500 Internal Server Error in 30ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 3: + 4: + 5:
                    + 6: <%= form_for @task do |f| %> + 7: <%= f.label :title %> + 8: <%= f.text_field :title %>
                    + 9: + +app/views/tasks/_form.html.erb:6:in `_app_views_tasks__form_html_erb__3208798128533798304_70292247851940' +app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb__2425403048999612922_70292275176320' +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:46:35 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (58.2ms) + Rendered tasks/edit.html.erb within layouts/application (116.6ms) +Completed 500 Internal Server Error in 239ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 3: + 4: + 5:
                    + 6: <%= form_for @task do |f| %> + 7: <%= f.label :title %> + 8: <%= f.text_field :title %>
                    + 9: + +app/views/tasks/_form.html.erb:6:in `_app_views_tasks__form_html_erb__3208798128533798304_70292216093320' +app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb__2425403048999612922_70292274272400' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 19:52:18 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (4.2ms) +Completed 200 OK in 26ms (Views: 21.7ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-24 19:52:18 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (17.5ms) +Completed 200 OK in 93ms (Views: 68.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:53:30 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (26.5ms) + Rendered tasks/edit.html.erb within layouts/application (51.8ms) +Completed 500 Internal Server Error in 111ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 3: + 4: + 5:
                    + 6: <%= form_for @task do |f| %> + 7: <%= f.label :title %> + 8: <%= f.text_field :title %>
                    + 9: + +app/views/tasks/_form.html.erb:6:in `_app_views_tasks__form_html_erb__3208798128533798304_70292215246980' +app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb__2425403048999612922_70292278280920' +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:59:17 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (25.7ms) + Rendered tasks/edit.html.erb within layouts/application (78.2ms) +Completed 200 OK in 566ms (Views: 283.7ms | ActiveRecord: 9.6ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 19:59:20 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (14.0ms) + Rendered tasks/edit.html.erb within layouts/application (128.8ms) +Completed 200 OK in 608ms (Views: 471.0ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 20:02:09 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.6ms) + Rendered tasks/edit.html.erb within layouts/application (5.7ms) +Completed 200 OK in 30ms (Views: 26.9ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 20:02:09 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (5.6ms) + Rendered tasks/edit.html.erb within layouts/application (35.8ms) +Completed 200 OK in 117ms (Views: 89.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:02:14 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.8ms) +Completed 200 OK in 53ms (Views: 50.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:02:14 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 100ms (Views: 61.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:02:14 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 92ms (Views: 57.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:02:14 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 90ms (Views: 58.7ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:02:15 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 89ms (Views: 57.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 20:02:17 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (5.2ms) + Rendered tasks/edit.html.erb within layouts/application (10.3ms) +Completed 200 OK in 81ms (Views: 76.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 20:02:18 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (3.1ms) + Rendered tasks/edit.html.erb within layouts/application (27.9ms) +Completed 200 OK in 139ms (Views: 91.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 20:02:18 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (3.1ms) + Rendered tasks/edit.html.erb within layouts/application (28.4ms) +Completed 200 OK in 123ms (Views: 85.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 20:02:18 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (3.6ms) + Rendered tasks/edit.html.erb within layouts/application (34.5ms) +Completed 200 OK in 162ms (Views: 105.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 20:02:18 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (3.8ms) + Rendered tasks/edit.html.erb within layouts/application (40.0ms) +Completed 200 OK in 155ms (Views: 107.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 20:02:18 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (4.6ms) + Rendered tasks/edit.html.erb within layouts/application (38.9ms) +Completed 200 OK in 158ms (Views: 115.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 20:02:18 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (6.6ms) + Rendered tasks/edit.html.erb within layouts/application (85.8ms) +Completed 200 OK in 252ms (Views: 197.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:02:19 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (7.1ms) +Completed 200 OK in 149ms (Views: 139.5ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:02:19 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.1ms) +Completed 200 OK in 211ms (Views: 132.1ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:02:20 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (1.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (14.9ms) +Completed 200 OK in 160ms (Views: 108.5ms | ActiveRecord: 1.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:02:20 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (6.1ms) +Completed 200 OK in 175ms (Views: 108.2ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:02:20 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (2.1ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (12.6ms) +Completed 200 OK in 267ms (Views: 143.2ms | ActiveRecord: 2.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:02:20 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (22.0ms) +Completed 200 OK in 265ms (Views: 202.7ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:02:20 -0700 +Processing by TasksController#index as */* +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:02:21 -0700 +Processing by TasksController#show as HTML + Rendering tasks/index.html.erb within layouts/application + Parameters: {"id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendered tasks/index.html.erb within layouts/application (9.8ms) + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.2ms) +Completed 200 OK in 109ms (Views: 96.6ms | ActiveRecord: 0.7ms) + + +Completed 200 OK in 438ms (Views: 319.0ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:02:21 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 216ms (Views: 130.7ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:02:21 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 200ms (Views: 125.6ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:02:21 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.1ms) +Completed 200 OK in 208ms (Views: 124.8ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:02:22 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.6ms) +Completed 200 OK in 195ms (Views: 124.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 20:27:21 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (16.5ms) + Rendered tasks/edit.html.erb within layouts/application (43.8ms) +Completed 200 OK in 302ms (Views: 272.8ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 20:27:21 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (15.9ms) + Rendered tasks/edit.html.erb within layouts/application (188.8ms) +Completed 200 OK in 874ms (Views: 670.0ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 20:27:22 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-24 20:27:23 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"8uqVZOBisplzNYUgHjt34KYklzbPkXok3kjmPzllq0lCIyTAxduTIK3FaXOYq7a9UFkHJ/8pLQ4hXoLtr4fQRg==", "task"=>{"title"=>"complete death star", "description"=>"minions do work", "due_date"=>"2017-02-02", "completed"=>"0"}, "commit"=>"Edit My Task", "id"=>"1"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 9ms (ActiveRecord: 0.6ms) + + + Rendered tasks/_form.html.erb (51.7ms) + Rendered tasks/edit.html.erb within layouts/application (254.4ms) +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:27:23 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (3.5ms) +Completed 200 OK in 159ms (Views: 143.1ms | ActiveRecord: 1.0ms) + + +Completed 200 OK in 998ms (Views: 721.8ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:27:25 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (3.6ms) +Completed 200 OK in 403ms (Views: 275.2ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 20:28:46 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (7.0ms) + Rendered tasks/edit.html.erb within layouts/application (11.7ms) +Completed 200 OK in 107ms (Views: 58.6ms | ActiveRecord: 3.0ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 20:28:46 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (7.9ms) + Rendered tasks/edit.html.erb within layouts/application (53.6ms) +Completed 200 OK in 307ms (Views: 171.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 20:28:47 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (5.0ms) + Rendered tasks/edit.html.erb within layouts/application (77.8ms) +Completed 200 OK in 241ms (Views: 177.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 20:28:47 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (8.7ms) + Rendered tasks/edit.html.erb within layouts/application (77.5ms) +Completed 200 OK in 263ms (Views: 203.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 20:28:47 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (10.2ms) + Rendered tasks/edit.html.erb within layouts/application (140.7ms) +Completed 200 OK in 360ms (Views: 284.9ms | ActiveRecord: 0.4ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-24 20:28:49 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"uEyoqR85quCWawvIKDxKe61HURFUL7+xOiVEA/CRNRUIhRkNOoCLWUib55uurIsmWzrBAGSX6JvFMyDRZnNOGg==", "task"=>{"title"=>"complete death star", "description"=>"minions do work", "due_date"=>"2017-02-02", "completed"=>"0"}, "commit"=>"Edit My Task", "id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:28:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (8.9ms) +Completed 200 OK in 66ms (Views: 56.2ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:28:50 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (6.3ms) +Completed 200 OK in 222ms (Views: 144.0ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:29:38 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (13.7ms) +Completed 500 Internal Server Error in 27ms (ActiveRecord: 0.2ms) + + + +ActionView::Template::Error (undefined method `check_box' for false:FalseClass): + 15: + 16: Completed + 17: + 18: <%= @task.completed.check_box %> + 19: + 20: <%= link_to "Edit", edit_path(@task[:id]) %> + 21: + +app/views/tasks/show.html.erb:18:in `_app_views_tasks_show_html_erb__315673110928160994_70292234662320' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:29:39 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (51.1ms) +Completed 500 Internal Server Error in 170ms (ActiveRecord: 0.4ms) + + + +ActionView::Template::Error (undefined method `check_box' for false:FalseClass): + 15: + 16: Completed + 17: + 18: <%= @task.completed.check_box %> + 19: + 20: <%= link_to "Edit", edit_path(@task[:id]) %> + 21: + +app/views/tasks/show.html.erb:18:in `_app_views_tasks_show_html_erb__315673110928160994_70292278699560' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:29:40 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (41.6ms) +Completed 500 Internal Server Error in 128ms (ActiveRecord: 0.2ms) + + + +ActionView::Template::Error (undefined method `check_box' for false:FalseClass): + 15: + 16: Completed + 17: + 18: <%= @task.completed.check_box %> + 19: + 20: <%= link_to "Edit", edit_path(@task[:id]) %> + 21: + +app/views/tasks/show.html.erb:18:in `_app_views_tasks_show_html_erb__315673110928160994_70292225629900' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:29:41 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (60.0ms) +Completed 500 Internal Server Error in 154ms (ActiveRecord: 0.3ms) + + + +ActionView::Template::Error (undefined method `check_box' for false:FalseClass): + 15: + 16: Completed + 17: + 18: <%= @task.completed.check_box %> + 19: + 20: <%= link_to "Edit", edit_path(@task[:id]) %> + 21: + +app/views/tasks/show.html.erb:18:in `_app_views_tasks_show_html_erb__315673110928160994_70292224926480' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:29:42 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (55.1ms) +Completed 500 Internal Server Error in 193ms (ActiveRecord: 0.4ms) + + + +ActionView::Template::Error (undefined method `check_box' for false:FalseClass): + 15: + 16: Completed + 17: + 18: <%= @task.completed.check_box %> + 19: + 20: <%= link_to "Edit", edit_path(@task[:id]) %> + 21: + +app/views/tasks/show.html.erb:18:in `_app_views_tasks_show_html_erb__315673110928160994_70292246063340' +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:32:08 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.8ms) +Completed 200 OK in 206ms (Views: 111.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:32:08 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.8ms) +Completed 200 OK in 201ms (Views: 150.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:32:08 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.2ms) +Completed 200 OK in 339ms (Views: 230.6ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:32:09 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (7.2ms) +Completed 200 OK in 154ms (Views: 118.1ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:32:10 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (10.4ms) +Completed 200 OK in 442ms (Views: 352.5ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:32:12 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (10.4ms) +Completed 200 OK in 180ms (Views: 166.7ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:32:12 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (48.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (3.6ms) +Completed 200 OK in 553ms (Views: 357.9ms | ActiveRecord: 48.5ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:32:12 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (13.5ms) +Completed 200 OK in 641ms (Views: 419.5ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:32:13 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (3.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (5.0ms) +Completed 200 OK in 499ms (Views: 382.1ms | ActiveRecord: 3.4ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:32:14 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (4.4ms) +Completed 200 OK in 502ms (Views: 355.6ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:34:14 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.4ms) +Completed 500 Internal Server Error in 21ms (ActiveRecord: 0.3ms) + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:18: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +...d: if @task.completed == true }) );@output_buffer.safe_appen... +... ^ +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:26: syntax error, unexpected keyword_ensure, expecting ')' +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:28: syntax error, unexpected keyword_end, expecting ')'): + +app/views/tasks/show.html.erb:18: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +app/views/tasks/show.html.erb:26: syntax error, unexpected keyword_ensure, expecting ')' +app/views/tasks/show.html.erb:28: syntax error, unexpected keyword_end, expecting ')' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:34:16 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.9ms) +Completed 500 Internal Server Error in 115ms (ActiveRecord: 0.4ms) + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:18: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +...d: if @task.completed == true }) );@output_buffer.safe_appen... +... ^ +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:26: syntax error, unexpected keyword_ensure, expecting ')' +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:28: syntax error, unexpected keyword_end, expecting ')'): + +app/views/tasks/show.html.erb:18: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +app/views/tasks/show.html.erb:26: syntax error, unexpected keyword_ensure, expecting ')' +app/views/tasks/show.html.erb:28: syntax error, unexpected keyword_end, expecting ')' From 18b88a66cde6684e73e371acb3adde423d3b5f9a Mon Sep 17 00:00:00 2001 From: Angela Wilson Date: Sun, 24 Sep 2017 21:47:44 -0700 Subject: [PATCH 13/16] Wave 4: Delete task functionality complete. Incomplete work is refactoring the 'Mark complete' functionality to meet requirements. --- app/controllers/tasks_controller.rb | 3 +- app/views/tasks/index.html.erb | 1 + app/views/tasks/show.html.erb | 3 +- db/development.sqlite3 | Bin 28672 -> 28672 bytes log/development.log | 1418 +++++++++++++++++++++++++++ 5 files changed, 1423 insertions(+), 2 deletions(-) diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb index 8485ef1e9..2ebdb671a 100644 --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -48,7 +48,8 @@ def update end def destroy - render plain: "add 'destroy' task" + @task = Task.find(params[:id]).destroy + redirect_to tasks_path end def completed diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb index 9664c9495..b80de995d 100644 --- a/app/views/tasks/index.html.erb +++ b/app/views/tasks/index.html.erb @@ -10,6 +10,7 @@ <%= link_to "Edit", edit_path(task[:id]) %> <%# Re : task[:id] worked and task.id and task(id) did not work.%> <%= link_to "Show", task_path(task.id) %> + <%= link_to "Delete", task_path(task), method: :delete, data: { confirm: "Are you sure?" } %> <% end %> diff --git a/app/views/tasks/show.html.erb b/app/views/tasks/show.html.erb index 06681467c..793397244 100644 --- a/app/views/tasks/show.html.erb +++ b/app/views/tasks/show.html.erb @@ -15,9 +15,10 @@ Completed - <%= @task.completed %> <%= link_to "Edit", edit_path(@task[:id]) %>

                    + +<%# check_box("tag", tag.id, {checked: if @task.completed == true }) %> diff --git a/db/development.sqlite3 b/db/development.sqlite3 index 63414e03d2c5d1d130bef2c062594e4a79ee0196..bac7ffe71aaa061b4a7021d22fd8df50b336228f 100644 GIT binary patch delta 28 kcmZp8z}WDBae_3X?L--8M%#@EOZb_Y_*FKu3;c`+0E+1d_y7O^ delta 28 kcmZp8z}WDBae_3X^+XwGM(d3UOZb^t_{ul43;c`+0F0suNB{r; diff --git a/log/development.log b/log/development.log index b61895753..8ba053424 100644 --- a/log/development.log +++ b/log/development.log @@ -8263,3 +8263,1421 @@ SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.h app/views/tasks/show.html.erb:18: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' app/views/tasks/show.html.erb:26: syntax error, unexpected keyword_ensure, expecting ')' app/views/tasks/show.html.erb:28: syntax error, unexpected keyword_end, expecting ')' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:51:41 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 500 Internal Server Error in 23ms (ActiveRecord: 0.1ms) + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:18: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +...d: if @task.completed == true }) );@output_buffer.safe_appen... +... ^ +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:26: syntax error, unexpected keyword_ensure, expecting ')' +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:28: syntax error, unexpected keyword_end, expecting ')'): + +app/views/tasks/show.html.erb:18: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +app/views/tasks/show.html.erb:26: syntax error, unexpected keyword_ensure, expecting ')' +app/views/tasks/show.html.erb:28: syntax error, unexpected keyword_end, expecting ')' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:51:42 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 500 Internal Server Error in 45ms (ActiveRecord: 0.2ms) + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:18: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +...d: if @task.completed == true }) );@output_buffer.safe_appen... +... ^ +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:26: syntax error, unexpected keyword_ensure, expecting ')' +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:28: syntax error, unexpected keyword_end, expecting ')'): + +app/views/tasks/show.html.erb:18: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +app/views/tasks/show.html.erb:26: syntax error, unexpected keyword_ensure, expecting ')' +app/views/tasks/show.html.erb:28: syntax error, unexpected keyword_end, expecting ')' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:52:19 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.0ms) +Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.1ms) + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:18: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +...d: if @task.completed == true }) );@output_buffer.safe_appen... +... ^ +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:26: syntax error, unexpected keyword_ensure, expecting ')' +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:28: syntax error, unexpected keyword_end, expecting ')'): + +app/views/tasks/show.html.erb:18: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +app/views/tasks/show.html.erb:26: syntax error, unexpected keyword_ensure, expecting ')' +app/views/tasks/show.html.erb:28: syntax error, unexpected keyword_end, expecting ')' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:52:19 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 500 Internal Server Error in 44ms (ActiveRecord: 0.2ms) + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:18: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +...d: if @task.completed == true }) );@output_buffer.safe_appen... +... ^ +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:26: syntax error, unexpected keyword_ensure, expecting ')' +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:28: syntax error, unexpected keyword_end, expecting ')'): + +app/views/tasks/show.html.erb:18: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +app/views/tasks/show.html.erb:26: syntax error, unexpected keyword_ensure, expecting ')' +app/views/tasks/show.html.erb:28: syntax error, unexpected keyword_end, expecting ')' +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:52:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 30ms (Views: 26.2ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:52:26 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 115ms (Views: 75.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:52:29 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.2ms) +Completed 500 Internal Server Error in 21ms (ActiveRecord: 0.2ms) + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:18: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +...d: if @task.completed == true }) );@output_buffer.safe_appen... +... ^ +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:26: syntax error, unexpected keyword_ensure, expecting ')' +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:28: syntax error, unexpected keyword_end, expecting ')'): + +app/views/tasks/show.html.erb:18: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +app/views/tasks/show.html.erb:26: syntax error, unexpected keyword_ensure, expecting ')' +app/views/tasks/show.html.erb:28: syntax error, unexpected keyword_end, expecting ')' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:52:30 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (12.4ms) +Completed 500 Internal Server Error in 169ms (ActiveRecord: 0.3ms) + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:18: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +...d: if @task.completed == true }) );@output_buffer.safe_appen... +... ^ +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:26: syntax error, unexpected keyword_ensure, expecting ')' +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:28: syntax error, unexpected keyword_end, expecting ')'): + +app/views/tasks/show.html.erb:18: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +app/views/tasks/show.html.erb:26: syntax error, unexpected keyword_ensure, expecting ')' +app/views/tasks/show.html.erb:28: syntax error, unexpected keyword_end, expecting ')' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:52:32 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.5ms) +Completed 500 Internal Server Error in 89ms (ActiveRecord: 0.3ms) + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:18: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +...d: if @task.completed == true }) );@output_buffer.safe_appen... +... ^ +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:26: syntax error, unexpected keyword_ensure, expecting ')' +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:28: syntax error, unexpected keyword_end, expecting ')'): + +app/views/tasks/show.html.erb:18: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +app/views/tasks/show.html.erb:26: syntax error, unexpected keyword_ensure, expecting ')' +app/views/tasks/show.html.erb:28: syntax error, unexpected keyword_end, expecting ')' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:52:33 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.7ms) +Completed 500 Internal Server Error in 90ms (ActiveRecord: 0.4ms) + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:18: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +...d: if @task.completed == true }) );@output_buffer.safe_appen... +... ^ +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:26: syntax error, unexpected keyword_ensure, expecting ')' +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:28: syntax error, unexpected keyword_end, expecting ')'): + +app/views/tasks/show.html.erb:18: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +app/views/tasks/show.html.erb:26: syntax error, unexpected keyword_ensure, expecting ')' +app/views/tasks/show.html.erb:28: syntax error, unexpected keyword_end, expecting ')' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:52:34 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.6ms) +Completed 500 Internal Server Error in 84ms (ActiveRecord: 0.3ms) + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:18: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +...d: if @task.completed == true }) );@output_buffer.safe_appen... +... ^ +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:26: syntax error, unexpected keyword_ensure, expecting ')' +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:28: syntax error, unexpected keyword_end, expecting ')'): + +app/views/tasks/show.html.erb:18: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +app/views/tasks/show.html.erb:26: syntax error, unexpected keyword_ensure, expecting ')' +app/views/tasks/show.html.erb:28: syntax error, unexpected keyword_end, expecting ')' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:53:03 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.2ms) + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:24: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +...d: if @task.completed == true }) );@output_buffer.safe_appen... +... ^ +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:27: syntax error, unexpected keyword_ensure, expecting ')' +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:29: syntax error, unexpected keyword_end, expecting ')'): + +app/views/tasks/show.html.erb:24: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +app/views/tasks/show.html.erb:27: syntax error, unexpected keyword_ensure, expecting ')' +app/views/tasks/show.html.erb:29: syntax error, unexpected keyword_end, expecting ')' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:53:05 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.7ms) +Completed 500 Internal Server Error in 109ms (ActiveRecord: 0.5ms) + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:24: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +...d: if @task.completed == true }) );@output_buffer.safe_appen... +... ^ +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:27: syntax error, unexpected keyword_ensure, expecting ')' +/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/show.html.erb:29: syntax error, unexpected keyword_end, expecting ')'): + +app/views/tasks/show.html.erb:24: syntax error, unexpected '}', expecting keyword_then or ';' or '\n' +app/views/tasks/show.html.erb:27: syntax error, unexpected keyword_ensure, expecting ')' +app/views/tasks/show.html.erb:29: syntax error, unexpected keyword_end, expecting ')' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:53:22 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 67ms (Views: 57.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:53:23 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (4.1ms) +Completed 200 OK in 359ms (Views: 252.6ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:53:34 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (2.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (78.1ms) +Completed 200 OK in 287ms (Views: 273.0ms | ActiveRecord: 2.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:53:34 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (1.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (13.0ms) +Completed 200 OK in 525ms (Views: 323.9ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:53:35 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (11.1ms) +Completed 200 OK in 593ms (Views: 376.9ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:53:36 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (12.9ms) +Completed 200 OK in 756ms (Views: 523.6ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 20:53:36 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (14.3ms) +Completed 200 OK in 451ms (Views: 253.7ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:53:55 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (6.4ms) +Completed 200 OK in 224ms (Views: 211.2ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:53:55 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (3.3ms) +Completed 200 OK in 528ms (Views: 344.6ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:53:56 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (3.9ms) +Completed 200 OK in 699ms (Views: 456.1ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:53:56 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (3.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (10.2ms) +Completed 200 OK in 616ms (Views: 469.7ms | ActiveRecord: 3.9ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:53:57 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (14.1ms) +Completed 200 OK in 629ms (Views: 424.4ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:53:58 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (3.9ms) +Completed 200 OK in 559ms (Views: 262.6ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 20:53:58 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (5.0ms) +Completed 200 OK in 753ms (Views: 465.3ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:25:24 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 1307ms (Views: 1304.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:25:25 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 66ms (Views: 45.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:25:25 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 61ms (Views: 41.8ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:25:25 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 76ms (Views: 57.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:25:25 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 57ms (Views: 38.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:25:25 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 62ms (Views: 42.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:25:25 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 53ms (Views: 35.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:25:32 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"27"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 42ms (Views: 38.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:25:32 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.6ms) +Completed 200 OK in 63ms (Views: 37.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:25:32 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 48ms (Views: 31.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:25:32 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 56ms (Views: 34.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:25:32 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 56ms (Views: 39.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:25:43 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 36ms (Views: 32.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:25:43 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 67ms (Views: 37.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:25:43 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 56ms (Views: 39.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:25:43 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 56ms (Views: 33.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:25:43 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 56ms (Views: 35.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:25:43 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 50ms (Views: 33.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:25:43 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 54ms (Views: 36.0ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:26:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 26ms (Views: 23.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:26:50 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 51ms (Views: 33.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 21:26:55 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["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.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 21:26:55 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 70ms (Views: 36.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 21:26:55 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 54ms (Views: 37.3ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 21:26:55 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 53ms (Views: 33.5ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 21:26:55 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 55ms (Views: 38.7ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:26:58 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 52ms (Views: 29.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:26:58 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 50ms (Views: 29.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:26:58 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 53ms (Views: 36.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:26:58 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 58ms (Views: 37.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:27:00 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"27"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.3ms) +Completed 200 OK in 34ms (Views: 29.9ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:27:00 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 63ms (Views: 41.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:27:00 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 68ms (Views: 50.8ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:27:00 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 53ms (Views: 33.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:27:00 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 54ms (Views: 37.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:27:55 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (11.8ms) +Completed 200 OK in 38ms (Views: 27.9ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:27:55 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 54ms (Views: 33.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:27:55 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 56ms (Views: 37.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:27:55 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 55ms (Views: 37.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:27:55 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 55ms (Views: 38.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:27:55 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 59ms (Views: 37.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:27:55 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 59ms (Views: 36.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:27:58 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"27"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["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: 31.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:27:58 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 62ms (Views: 35.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:27:58 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 54ms (Views: 37.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:27:58 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 50ms (Views: 32.1ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:27:58 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 53ms (Views: 35.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:27:58 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 55ms (Views: 36.8ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:27:58 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 55ms (Views: 37.9ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:28:06 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 35ms (Views: 32.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:28:07 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 63ms (Views: 39.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:28:07 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 66ms (Views: 47.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:28:07 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 54ms (Views: 35.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:28:07 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 53ms (Views: 36.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:28:07 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 50ms (Views: 32.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:28:07 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 54ms (Views: 37.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:28:32 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"27"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 47ms (Views: 19.3ms | ActiveRecord: 3.7ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:28:32 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 58ms (Views: 36.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:28:32 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 66ms (Views: 45.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:28:32 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 68ms (Views: 47.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:28:32 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 54ms (Views: 36.9ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:28:33 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 50ms (Views: 32.5ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:28:33 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 56ms (Views: 36.0ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:28:48 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 37ms (Views: 31.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:28:48 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 55ms (Views: 34.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:28:48 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 53ms (Views: 34.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:28:48 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 56ms (Views: 39.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:28:49 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 51ms (Views: 33.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:28:49 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 55ms (Views: 38.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:28:49 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 51ms (Views: 32.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:34:55 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"27"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.3ms) +Completed 200 OK in 34ms (Views: 30.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:34:55 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 65ms (Views: 36.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:34:55 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.2ms) +Completed 200 OK in 57ms (Views: 35.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:34:55 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 51ms (Views: 32.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:34:55 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 54ms (Views: 37.6ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:34:55 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 49ms (Views: 31.2ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:34:56 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 56ms (Views: 37.2ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:35:10 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 39ms (Views: 35.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:35:10 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 63ms (Views: 37.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:35:10 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.5ms) +Completed 200 OK in 57ms (Views: 37.8ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:35:10 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 57ms (Views: 39.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:35:10 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 60ms (Views: 43.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:35:10 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 49ms (Views: 32.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:35:10 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 56ms (Views: 35.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:36:42 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"27"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 35ms (Views: 31.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:36:42 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 62ms (Views: 36.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:36:42 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 54ms (Views: 36.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:36:42 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 52ms (Views: 34.6ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:36:42 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 67ms (Views: 48.1ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:36:42 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 54ms (Views: 35.2ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/27" for 127.0.0.1 at 2017-09-24 21:36:42 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"27"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 51ms (Views: 32.2ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/27/edit" for 127.0.0.1 at 2017-09-24 21:36:45 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"27"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (5.3ms) + Rendered tasks/edit.html.erb within layouts/application (8.9ms) +Completed 200 OK in 38ms (Views: 35.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/27/edit" for 127.0.0.1 at 2017-09-24 21:36:45 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"27"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.7ms) + Rendered tasks/edit.html.erb within layouts/application (19.5ms) +Completed 200 OK in 92ms (Views: 61.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/27/edit" for 127.0.0.1 at 2017-09-24 21:36:45 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"27"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.7ms) + Rendered tasks/edit.html.erb within layouts/application (19.3ms) +Completed 200 OK in 78ms (Views: 57.8ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/27/edit" for 127.0.0.1 at 2017-09-24 21:36:45 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"27"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.6ms) + Rendered tasks/edit.html.erb within layouts/application (22.7ms) +Completed 200 OK in 78ms (Views: 57.5ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/27/edit" for 127.0.0.1 at 2017-09-24 21:36:45 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"27"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.7ms) + Rendered tasks/edit.html.erb within layouts/application (22.5ms) +Completed 200 OK in 76ms (Views: 56.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:36:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 35ms (Views: 31.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:36:49 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 67ms (Views: 39.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:36:49 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 55ms (Views: 37.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:36:49 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 55ms (Views: 37.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:36:49 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 61ms (Views: 43.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:36:49 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 49ms (Views: 32.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:36:49 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 54ms (Views: 35.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:38:36 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (11.2ms) +Completed 200 OK in 35ms (Views: 30.3ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:38:36 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 52ms (Views: 34.7ms | ActiveRecord: 0.2ms) + + +Started DELETE "/tasks/27" for 127.0.0.1 at 2017-09-24 21:38:40 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"+mlfTJUHRo5vK+N6ouzAKXCvwCbTt/S02FDkCf+JP63B+Le/FYcHRtxlfjaaNLVnGRSap4HX1y+NnoXihBZRYA==", "id"=>"27"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]] +  (0.0ms) begin transaction + SQL (0.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 27]] +  (970.2ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 974ms (ActiveRecord: 970.7ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:38:41 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 23ms (Views: 21.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:38:41 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 59ms (Views: 36.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:38:41 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 54ms (Views: 37.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:40:38 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 18ms (Views: 15.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:40:38 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 54ms (Views: 34.0ms | ActiveRecord: 0.2ms) + + +Started DELETE "/tasks/26" for 127.0.0.1 at 2017-09-24 21:40:49 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"PnMFQHdEgZkA9D7sl3OuQHrZ9Z2uomHI2MtGo/Y8ydMF4u2z98TAUbO6o6Cvq9sOE2KvHPzCQlONBSdIjaOnHg==", "id"=>"26"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.4ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 26]] +  (721.9ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 731ms (ActiveRecord: 722.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:40:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 18ms (Views: 16.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:40:50 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 53ms (Views: 35.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-24 21:41:10 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"2"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.5ms) +Completed 200 OK in 37ms (Views: 34.1ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-24 21:41:10 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 72ms (Views: 48.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-24 21:41:10 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"2"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 49ms (Views: 31.2ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-24 21:41:10 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 55ms (Views: 37.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-24 21:41:10 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 52ms (Views: 33.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:41:56 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 37ms (Views: 34.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:41:56 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 64ms (Views: 40.6ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:41:56 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 55ms (Views: 32.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:41:56 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 57ms (Views: 39.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:41:56 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 48ms (Views: 31.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:41:56 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 57ms (Views: 35.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:41:56 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 53ms (Views: 37.2ms | ActiveRecord: 0.2ms) + + From d2d01593dd9215f4baf10cd58e036eb9bb868eb7 Mon Sep 17 00:00:00 2001 From: Angela Wilson Date: Mon, 25 Sep 2017 19:13:05 -0700 Subject: [PATCH 14/16] Wave 4: 'Completed' functionality almost finished. 'Date completed' is not saving to DB. Will work on it later. --- app/controllers/tasks_controller.rb | 17 +- app/views/tasks/index.html.erb | 13 +- config/routes.rb | 2 + db/development.sqlite3 | Bin 28672 -> 28672 bytes db/migrate/20170925184400_add.rb | 5 + db/schema.rb | 3 +- log/development.log | 4935 +++++++++++++++++++++++++++ 7 files changed, 4969 insertions(+), 6 deletions(-) create mode 100644 db/migrate/20170925184400_add.rb diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb index 2ebdb671a..1b7920137 100644 --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -19,7 +19,8 @@ def create title: params[:task][:title], description: params[:task][:description], due_date: params[:task][:due_date], - completed: params[:task][:completed] + completed: params[:task][:completed], + date_completed: params[:task][:date_completed] ) task.save @@ -43,6 +44,7 @@ def update @task.description = params[:task][:description] @task.due_date = params[:task][:due_date] @task.completed = params[:task][:completed] + @task.save redirect_to tasks_path end @@ -52,7 +54,16 @@ def destroy redirect_to tasks_path end - def completed - render plain: "add 'completed' task" + def complete? + @task = Task.find(params[:id]) + if @task.completed == false + @task.date_completed = Date.today + @task.update(completed: true) + else + @task.update(completed: false) + end + + redirect_to tasks_path + end end diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb index b80de995d..5aad406ef 100644 --- a/app/views/tasks/index.html.erb +++ b/app/views/tasks/index.html.erb @@ -7,10 +7,19 @@ <% @tasks.each do |task|%>
                  • <%= task.title %> - + + + <% if task.completed == false %> + <%= button_to "Mark Complete", complete_task_path(task), method: :patch %> + <% else %> + + <%= button_to "Unmark complete", complete_task_path(task), method: :patch %> + <% end %> + + <%= link_to "Edit", edit_path(task[:id]) %> <%# Re : task[:id] worked and task.id and task(id) did not work.%> <%= link_to "Show", task_path(task.id) %> <%= link_to "Delete", task_path(task), method: :delete, data: { confirm: "Are you sure?" } %> -
                  • +
                    <% end %> diff --git a/config/routes.rb b/config/routes.rb index 79c162146..cd94bfae3 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -10,10 +10,12 @@ get "/tasks/:id", to: "tasks#show", as: "task" get "/tasks/:id/edit", to: "tasks#edit", as: "edit" + patch "/tasks/:id", to: "tasks#complete?", as: "complete_task" patch "/tasks/:id", to: "tasks#update" delete "/tasks/:id", to: "tasks#destroy" + # as: "task" can be used to access patch and delete (by asking for them) and we can apply this in views # as: "task" for get we can use in views and controllers. For views we can link_to or button_to. For controllers we re-direct. diff --git a/db/development.sqlite3 b/db/development.sqlite3 index bac7ffe71aaa061b4a7021d22fd8df50b336228f..d263ade5b7d35246384d8f4a931d2de4864b5a1d 100644 GIT binary patch delta 722 zcmah`&ubGw6rPP~Lz-+}k|I(2Yf|(ONY>ezoz3oCH0Z&Llj z{s3j^pCEV=G!}Xg1W%=ZK|u=z?Lj7t^yGub%<#VVecyYtb);+^DX$iCb%ant z=5frvF0=D>q|IDaGau1x>HuXvsedw$(ueB1)WQ2__fm7uV~IqeP*7ep!$tUhu8dcm zM&RCUdYy+4+`x5K@#tL|9;S_$@;l7K&z$-T&8XWba|2#xKC9cnLY%!2lI)z!_)ui; zsDs-}Npu$Gi?v#@={auTv>ZzGYK7PpYDYJYbz2Zy7+fO;x49KnOiXmaiQtxIQ`4p= z6%H5CEe4ed^~5B0+(yvCy`bR-op!hFrMf-rc=)mB-!Fz=R!WyQlqC9J)9IedKzg8p zn1WKxw3xwIENlc)ffMjo#F?YMp*R)ub9I;|R}5n(u{R4^u} zAqQn9KdB73{6$!Tn^L9K=)1VSe7sY%DPvt`L^HipNysfhxkh!ybRJ>GQqz^qSQ1V6 zi(`THjc%~^6!+XGW$gH2ZROg+#GWa1s@WFN>C_HB;J=VtR;9@}>>~I9-(VkhhdKNf t^4WN-G}0wD<+^1UgoOK7L^=*TBj8uqgB=Nc1M~SaCFL|QKHRHY_#Z?qwFUqH delta 637 zcmZ{iK}#D!6vyAj*lulhUm{4+U>w1VRF~PAon$j;+x-B+yPg)aiy@kA-EGrDA)b3` z845l26ZFt{5MAY zgD-A_GyB4_PvJpf1opZ0(|%PLSzmF!Um{VVKPq@RBd_N1M@eHjTm$@sYxcnIK6Gj!gl{4ezwX59^Gf5HOBj>Ja>zhN}37jCdX~HQdw7DDtYz3Qu;=IBbF`wK{Gf6{EnA6)OT`@YWQ5v&EVjA PcYy=FJH!59$0vUPhY69L diff --git a/db/migrate/20170925184400_add.rb b/db/migrate/20170925184400_add.rb new file mode 100644 index 000000000..ad606e90b --- /dev/null +++ b/db/migrate/20170925184400_add.rb @@ -0,0 +1,5 @@ +class Add < ActiveRecord::Migration[5.1] + def change + add_column :tasks, :date_completed, :date + end +end diff --git a/db/schema.rb b/db/schema.rb index 592b79de9..dd1f835c1 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20170921171713) do +ActiveRecord::Schema.define(version: 20170925184400) do create_table "tasks", force: :cascade do |t| t.string "title" @@ -19,6 +19,7 @@ t.date "due_date" t.datetime "created_at", null: false t.datetime "updated_at", null: false + t.date "date_completed" end end diff --git a/log/development.log b/log/development.log index 8ba053424..8b76d2547 100644 --- a/log/development.log +++ b/log/development.log @@ -9681,3 +9681,4938 @@ Processing by TasksController#index as */* Completed 200 OK in 53ms (Views: 37.2ms | ActiveRecord: 0.2ms) +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:53:34 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.3ms) +Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.2ms) + + + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 8:
                  • + 9: <%= task.title %> + 10: + 11: <% form_for @task do |f|%> + 12: <%= f.label :completed %> + 13: <%= f.check_box :completed %> + 14: <% end %> + +app/views/tasks/index.html.erb:11:in `block in _app_views_tasks_index_html_erb__4403927766182870249_70292247406480' +app/views/tasks/index.html.erb:7:in `_app_views_tasks_index_html_erb__4403927766182870249_70292247406480' +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:53:35 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (16.3ms) +Completed 500 Internal Server Error in 60ms (ActiveRecord: 0.2ms) + + + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 8:
                  • + 9: <%= task.title %> + 10: + 11: <% form_for @task do |f|%> + 12: <%= f.label :completed %> + 13: <%= f.check_box :completed %> + 14: <% end %> + +app/views/tasks/index.html.erb:11:in `block in _app_views_tasks_index_html_erb__4403927766182870249_70292274529520' +app/views/tasks/index.html.erb:7:in `_app_views_tasks_index_html_erb__4403927766182870249_70292274529520' +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:54:17 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.2ms) + + + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 8:
                  • + 9: <%= task.title %> + 10: + 11: + +app/views/tasks/index.html.erb:11:in `block in _app_views_tasks_index_html_erb__4403927766182870249_70292233427980' +app/views/tasks/index.html.erb:7:in `_app_views_tasks_index_html_erb__4403927766182870249_70292233427980' +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:54:18 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (16.2ms) +Completed 500 Internal Server Error in 55ms (ActiveRecord: 0.2ms) + + + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 8:
                  • + 9: <%= task.title %> + 10: + 11: + +app/views/tasks/index.html.erb:11:in `block in _app_views_tasks_index_html_erb__4403927766182870249_70292248191660' +app/views/tasks/index.html.erb:7:in `_app_views_tasks_index_html_erb__4403927766182870249_70292248191660' +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:54:59 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 22ms (Views: 19.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:55:00 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 53ms (Views: 35.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 21:55:56 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (5.6ms) + Rendered tasks/edit.html.erb within layouts/application (9.1ms) +Completed 200 OK in 40ms (Views: 36.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 21:55:56 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.8ms) + Rendered tasks/edit.html.erb within layouts/application (20.7ms) +Completed 200 OK in 75ms (Views: 53.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 21:55:56 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["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 (24.4ms) +Completed 200 OK in 72ms (Views: 55.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 21:55:56 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.5ms) + Rendered tasks/edit.html.erb within layouts/application (19.1ms) +Completed 200 OK in 68ms (Views: 49.7ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 21:55:56 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.7ms) + Rendered tasks/edit.html.erb within layouts/application (19.3ms) +Completed 200 OK in 74ms (Views: 52.5ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-24 21:56:00 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"EaFCM9FPg+M5eXco8PZ5RTqs4ZjwRh0EmEoy0mftdcKhaPOX9PaiWueJm3t2ZrgYzNFxicD+Si5nXFYA8Q8OzQ==", "task"=>{"title"=>"complete death star", "description"=>"minions do work", "due_date"=>"2017-02-02", "completed"=>"1"}, "commit"=>"Edit My Task", "id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +Redirected to http://localhost:3000/tasks +Completed 302 Found in 3ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:56:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 23ms (Views: 20.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:56:00 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 55ms (Views: 35.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 21:56:07 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 35ms (Views: 31.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 21:56:07 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 78ms (Views: 54.4ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 21:56:07 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 49ms (Views: 30.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 21:56:07 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 56ms (Views: 34.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 21:56:08 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 59ms (Views: 36.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:56:10 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.0ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.2ms) +Completed 200 OK in 32ms (Views: 28.7ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:56:10 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 62ms (Views: 39.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:56:10 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 51ms (Views: 34.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:56:10 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 57ms (Views: 39.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:56:10 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (6.0ms) +Completed 200 OK in 57ms (Views: 40.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:56:10 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 57ms (Views: 35.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:56:11 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.7ms) +Completed 200 OK in 59ms (Views: 42.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-24 21:56:12 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"2"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.7ms) +Completed 200 OK in 40ms (Views: 36.9ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-24 21:56:12 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"2"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 57ms (Views: 35.3ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-24 21:56:12 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 52ms (Views: 35.7ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-24 21:56:12 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"2"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 51ms (Views: 31.4ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-24 21:56:12 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"2"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 57ms (Views: 39.8ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:56:19 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.8ms) +Completed 200 OK in 51ms (Views: 45.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:56:19 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 61ms (Views: 40.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:56:19 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 60ms (Views: 37.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:56:19 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 54ms (Views: 37.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:56:19 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 55ms (Views: 37.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:56:19 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.2ms) +Completed 200 OK in 54ms (Views: 38.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:56:19 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 54ms (Views: 35.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 21:56:21 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (5.8ms) + Rendered tasks/edit.html.erb within layouts/application (8.5ms) +Completed 200 OK in 40ms (Views: 36.8ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 21:56:21 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.8ms) + Rendered tasks/edit.html.erb within layouts/application (22.3ms) +Completed 200 OK in 82ms (Views: 60.1ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 21:56:21 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.7ms) + Rendered tasks/edit.html.erb within layouts/application (22.4ms) +Completed 200 OK in 74ms (Views: 57.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 21:56:21 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.8ms) + Rendered tasks/edit.html.erb within layouts/application (19.1ms) +Completed 200 OK in 72ms (Views: 51.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 21:56:21 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.9ms) + Rendered tasks/edit.html.erb within layouts/application (19.2ms) +Completed 200 OK in 90ms (Views: 58.1ms | ActiveRecord: 0.1ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-24 21:56:31 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"huCVGJdcuXLHnMrxLcKxBe1p29k28157SsuSHsGVB8Q2KSS8suWYyxlsJqKrUnBYGxRLyAZLCVG13fbMV3d8yw==", "task"=>{"title"=>"complete death star", "description"=>"minions do work", "due_date"=>"2017-02-02", "completed"=>"1"}, "commit"=>"Edit My Task", "id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +Redirected to http://localhost:3000/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:56:31 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 20ms (Views: 18.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 21:56:31 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 56ms (Views: 34.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 21:56:34 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 34ms (Views: 30.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 21:56:34 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 62ms (Views: 34.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 21:56:34 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 55ms (Views: 37.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 21:56:34 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 55ms (Views: 36.7ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 21:56:34 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 50ms (Views: 33.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 22:20:44 -0700 + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/config/routes.rb:15: syntax error, unexpected tIDENTIFIER, expecting keyword_end + patch "/tasks/:id", to: "tasks#complete" as: "complete_task" + ^): + +config/routes.rb:15: syntax error, unexpected tIDENTIFIER, expecting keyword_end +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 22:20:44 -0700 + +ActionController::RoutingError (No route matches [GET] "/tasks"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 22:20:45 -0700 + +ActionController::RoutingError (No route matches [GET] "/tasks"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 22:20:45 -0700 + +ActionController::RoutingError (No route matches [GET] "/tasks"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 22:20:46 -0700 + +ActionController::RoutingError (No route matches [GET] "/tasks"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 22:20:46 -0700 + +ActionController::RoutingError (No route matches [GET] "/tasks"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 22:20:46 -0700 + +ActionController::RoutingError (No route matches [GET] "/tasks"): + +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' +web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch' +web-console (3.5.1) lib/web_console/middleware.rb:18:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +puma (3.10.0) lib/puma/configuration.rb:225:in `call' +puma (3.10.0) lib/puma/server.rb:605:in `handle_request' +puma (3.10.0) lib/puma/server.rb:437:in `process_client' +puma (3.10.0) lib/puma/server.rb:301:in `block in run' +puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 22:26:17 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (18.2ms) +Completed 200 OK in 52ms (Views: 35.2ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 22:26:17 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 55ms (Views: 33.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 22:37:54 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (5.1ms) + Rendered tasks/edit.html.erb within layouts/application (8.8ms) +Completed 200 OK in 44ms (Views: 38.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 22:37:54 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (3.1ms) + Rendered tasks/edit.html.erb within layouts/application (20.0ms) +Completed 200 OK in 85ms (Views: 59.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 22:37:54 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.5ms) + Rendered tasks/edit.html.erb within layouts/application (20.7ms) +Completed 200 OK in 71ms (Views: 53.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 22:37:54 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.7ms) + Rendered tasks/edit.html.erb within layouts/application (23.1ms) +Completed 200 OK in 75ms (Views: 56.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 22:37:54 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.6ms) + Rendered tasks/edit.html.erb within layouts/application (20.7ms) +Completed 200 OK in 69ms (Views: 51.6ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-24 22:37:55 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"pPc+/8G2O7wqf21um3oWefLX111hKybuwXl0E5+8YtAUPo9b5A8aBfSPgT0d6tckBKpHTFGTccQ+bxDBCV4Z3w==", "task"=>{"title"=>"complete death star", "description"=>"minions do work", "due_date"=>"2017-02-02", "completed"=>"0"}, "commit"=>"Edit My Task", "id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +Redirected to http://localhost:3000/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 22:37:55 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (6.7ms) +Completed 200 OK in 30ms (Views: 27.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 22:37:56 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 62ms (Views: 43.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 22:37:57 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (5.5ms) + Rendered tasks/edit.html.erb within layouts/application (9.0ms) +Completed 200 OK in 43ms (Views: 37.5ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 22:37:57 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.5ms) + Rendered tasks/edit.html.erb within layouts/application (24.2ms) +Completed 200 OK in 129ms (Views: 69.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 22:37:57 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (4.4ms) + Rendered tasks/edit.html.erb within layouts/application (20.7ms) +Completed 200 OK in 78ms (Views: 56.7ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 22:37:58 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (5.0ms) + Rendered tasks/edit.html.erb within layouts/application (33.9ms) +Completed 200 OK in 100ms (Views: 71.7ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 22:37:58 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (3.9ms) + Rendered tasks/edit.html.erb within layouts/application (25.7ms) +Completed 200 OK in 89ms (Views: 68.9ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-24 22:37:59 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"efo0HxwFpjaKWoDEjcF+YplmJmdKnd4t3svO4nmzOfXJM4W7ObyHj1SqbJcLUb8/bxu2dnoliQch3aow71FC+g==", "task"=>{"title"=>"complete death star", "description"=>"minions do work", "due_date"=>"2017-02-02", "completed"=>"1"}, "commit"=>"Edit My Task", "id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +Redirected to http://localhost:3000/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 22:37:59 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 27ms (Views: 22.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 22:37:59 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.8ms) +Completed 200 OK in 94ms (Views: 63.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 22:37:59 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 76ms (Views: 44.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 22:38:00 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 54ms (Views: 36.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 22:38:01 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 38ms (Views: 34.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 22:38:01 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 61ms (Views: 34.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 22:38:01 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 49ms (Views: 31.7ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 22:38:01 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 61ms (Views: 42.4ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 22:38:01 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 53ms (Views: 33.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 22:38:04 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (3.5ms) + Rendered tasks/edit.html.erb within layouts/application (6.2ms) +Completed 200 OK in 40ms (Views: 37.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 22:38:04 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.9ms) + Rendered tasks/edit.html.erb within layouts/application (23.8ms) +Completed 200 OK in 96ms (Views: 70.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 22:38:04 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.6ms) + Rendered tasks/edit.html.erb within layouts/application (24.6ms) +Completed 200 OK in 76ms (Views: 56.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 22:38:04 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.6ms) + Rendered tasks/edit.html.erb within layouts/application (19.2ms) +Completed 200 OK in 68ms (Views: 50.8ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-24 22:38:04 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (3.8ms) + Rendered tasks/edit.html.erb within layouts/application (22.7ms) +Completed 200 OK in 75ms (Views: 55.1ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-24 22:42:08 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"lGFTzRx+zsk26dGbq/jYSScfupTRA946Kbs4OH/e98EkqOJpOcfvcOgZPcgtaBkU0WIqheG7iRDWrVzq6TyMzg==", "task"=>{"title"=>"complete death star", "description"=>"minions do work", "due_date"=>"2017-02-02", "completed"=>"1"}, "commit"=>"Edit My Task", "id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +Redirected to http://localhost:3000/tasks +Completed 302 Found in 2ms (ActiveRecord: 0.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 22:42:08 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 22ms (Views: 19.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 22:42:09 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 52ms (Views: 34.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 22:42:12 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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: 35.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 22:42:13 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 67ms (Views: 35.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 22:42:13 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 61ms (Views: 40.2ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 22:42:13 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 58ms (Views: 38.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 22:42:13 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 51ms (Views: 31.9ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 22:44:01 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 24ms (Views: 20.6ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 22:44:01 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 54ms (Views: 31.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 22:44:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (6.5ms) +Completed 200 OK in 35ms (Views: 32.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 22:44:04 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 62ms (Views: 38.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 22:44:04 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.5ms) +Completed 200 OK in 74ms (Views: 56.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 22:44:04 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 62ms (Views: 38.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 22:44:04 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 56ms (Views: 39.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 22:44:07 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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.3ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 22:44:07 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 70ms (Views: 35.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 22:44:08 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 54ms (Views: 37.4ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 22:44:08 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 50ms (Views: 33.0ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 22:44:08 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 53ms (Views: 34.2ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 22:44:08 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 55ms (Views: 33.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 22:44:08 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 52ms (Views: 33.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 23:02:55 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 28ms (Views: 14.7ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-24 23:02:55 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 56ms (Views: 33.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 23:02:58 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (7.7ms) +Completed 200 OK in 37ms (Views: 34.7ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 23:02:58 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.4ms) +Completed 200 OK in 69ms (Views: 44.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 23:02:58 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 51ms (Views: 34.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 23:02:58 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.2ms) +Completed 200 OK in 64ms (Views: 43.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 23:02:58 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 53ms (Views: 36.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 23:03:35 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (12.5ms) +Completed 200 OK in 31ms (Views: 26.9ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 23:03:35 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 54ms (Views: 35.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 23:05:12 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 21ms (Views: 18.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 23:05:13 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 53ms (Views: 35.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 23:06:00 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 25ms (Views: 23.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 23:06:00 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 55ms (Views: 36.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 23:06:37 -0700 + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:58: syntax error, unexpected '=' + if @task.completed? = true + ^ +/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:65: syntax error, unexpected keyword_end, expecting end-of-input): + +app/controllers/tasks_controller.rb:58: syntax error, unexpected '=' +app/controllers/tasks_controller.rb:65: syntax error, unexpected keyword_end, expecting end-of-input +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 23:06:38 -0700 + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:58: syntax error, unexpected '=' + if @task.completed? = true + ^ +/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:65: syntax error, unexpected keyword_end, expecting end-of-input): + +app/controllers/tasks_controller.rb:58: syntax error, unexpected '=' +app/controllers/tasks_controller.rb:65: syntax error, unexpected keyword_end, expecting end-of-input +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 23:06:58 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (17.3ms) +Completed 200 OK in 42ms (Views: 36.3ms | ActiveRecord: 1.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 23:06:58 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 61ms (Views: 39.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 23:07:03 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 22ms (Views: 18.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 23:07:03 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 72ms (Views: 45.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 23:08:09 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 21ms (Views: 19.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-24 23:08:09 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 52ms (Views: 34.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-25 08:51:38 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (3.3ms) + Rendered tasks/edit.html.erb within layouts/application (5.9ms) +Completed 200 OK in 54ms (Views: 24.5ms | ActiveRecord: 1.8ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-25 08:51:38 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.6ms) + Rendered tasks/edit.html.erb within layouts/application (21.5ms) +Completed 200 OK in 82ms (Views: 55.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-25 08:51:38 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (3.0ms) + Rendered tasks/edit.html.erb within layouts/application (31.2ms) +Completed 200 OK in 82ms (Views: 61.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-25 08:51:38 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.6ms) + Rendered tasks/edit.html.erb within layouts/application (20.9ms) +Completed 200 OK in 83ms (Views: 61.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-25 08:51:38 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.7ms) + Rendered tasks/edit.html.erb within layouts/application (20.5ms) +Completed 200 OK in 75ms (Views: 53.2ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-25 08:51:45 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"69J7/7BpUPo3kj45gcPg2IbpFeb4T/IxF5EhzdvuNq9bG8pbldBxQ+li0moHUyGFcJSF98j3pRvoh0UfTQxNoA==", "task"=>{"title"=>"complete death star", "description"=>"minions do work!", "due_date"=>"2017-02-02", "completed"=>"0"}, "commit"=>"Edit My Task", "id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +Redirected to http://localhost:3000/tasks +Completed 302 Found in 3ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 08:51:45 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 29ms (Views: 26.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 08:51:45 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.9ms) +Completed 200 OK in 60ms (Views: 42.3ms | ActiveRecord: 0.2ms) + + + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" LIMIT ? [["LIMIT", 11]] + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-25 08:54:20 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 40ms (Views: 19.9ms | ActiveRecord: 1.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-25 08:54:20 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 66ms (Views: 41.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-25 08:54:21 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 49ms (Views: 31.9ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-25 08:54:21 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 77ms (Views: 53.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-25 08:54:21 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 55ms (Views: 37.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-25 08:54:23 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (5.0ms) + Rendered tasks/edit.html.erb within layouts/application (9.8ms) +Completed 200 OK in 41ms (Views: 36.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-25 08:54:23 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (3.5ms) + Rendered tasks/edit.html.erb within layouts/application (20.4ms) +Completed 200 OK in 75ms (Views: 52.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-25 08:54:23 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (4.1ms) + Rendered tasks/edit.html.erb within layouts/application (20.4ms) +Completed 200 OK in 72ms (Views: 53.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-25 08:54:23 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.6ms) + Rendered tasks/edit.html.erb within layouts/application (19.2ms) +Completed 200 OK in 74ms (Views: 54.5ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-25 08:54:23 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.8ms) + Rendered tasks/edit.html.erb within layouts/application (21.3ms) +Completed 200 OK in 76ms (Views: 55.2ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-25 08:54:28 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"LdGS3SJKMODQZ+jNODduoxoIuSYWGyBF/FCUd6l8F6CdGCN5B/MRWQ6XBJ6+p6/+7HUpNyajd28DRvClP55srw==", "task"=>{"title"=>"complete death star", "description"=>"minions do work!", "due_date"=>"2017-02-02", "completed"=>"0"}, "commit"=>"Edit My Task", "id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.6ms) UPDATE "tasks" SET "description" = ?, "updated_at" = ? WHERE "tasks"."id" = ? [["description", "minions do work!"], ["updated_at", "2017-09-25 15:54:28.091501"], ["id", 1]] +  (1.3ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 1027ms (ActiveRecord: 2.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 08:54:29 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 20ms (Views: 17.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 08:54:29 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 53ms (Views: 36.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-25 08:54:32 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (4.4ms) + Rendered tasks/edit.html.erb within layouts/application (8.3ms) +Completed 200 OK in 40ms (Views: 36.6ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-25 08:54:32 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.8ms) + Rendered tasks/edit.html.erb within layouts/application (19.5ms) +Completed 200 OK in 84ms (Views: 56.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-25 08:54:32 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (3.1ms) + Rendered tasks/edit.html.erb within layouts/application (19.9ms) +Completed 200 OK in 77ms (Views: 56.1ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-25 08:54:32 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.7ms) + Rendered tasks/edit.html.erb within layouts/application (24.1ms) +Completed 200 OK in 89ms (Views: 71.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-25 08:54:33 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["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 (19.7ms) +Completed 200 OK in 70ms (Views: 51.2ms | ActiveRecord: 0.2ms) + + + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-25 08:55:15 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"OUWBryRvHnm5QFfKGJ0EEEqk45r9lmKQQ2XeKU4tAD+JjDALAdY/wGewu5meDcVNvNlzi80uNbq8c7r72M97MA==", "task"=>{"title"=>"complete death star", "description"=>"minions do work!", "due_date"=>"2017-02-02", "completed"=>"1"}, "commit"=>"Edit My Task", "id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.2ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "completed" = ?, "updated_at" = ? WHERE "tasks"."id" = ? [["completed", "t"], ["updated_at", "2017-09-25 15:55:15.861132"], ["id", 1]] +  (1.0ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 1.9ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 08:55:15 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 22ms (Views: 19.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 08:55:16 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 60ms (Views: 38.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-25 08:55:23 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["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.3ms) +Completed 200 OK in 39ms (Views: 35.5ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-25 08:55:23 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.8ms) + Rendered tasks/edit.html.erb within layouts/application (21.1ms) +Completed 200 OK in 80ms (Views: 56.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-25 08:55:23 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.7ms) + Rendered tasks/edit.html.erb within layouts/application (23.7ms) +Completed 200 OK in 74ms (Views: 56.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-25 08:55:23 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.7ms) + Rendered tasks/edit.html.erb within layouts/application (18.9ms) +Completed 200 OK in 76ms (Views: 57.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-25 08:55:23 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.8ms) + Rendered tasks/edit.html.erb within layouts/application (19.7ms) +Completed 200 OK in 69ms (Views: 50.3ms | ActiveRecord: 0.1ms) + + + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 08:56:55 -0700 + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:65: syntax error, unexpected keyword_end, expecting end-of-input): + +app/controllers/tasks_controller.rb:65: syntax error, unexpected keyword_end, expecting end-of-input +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 08:56:56 -0700 + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:65: syntax error, unexpected keyword_end, expecting end-of-input): + +app/controllers/tasks_controller.rb:65: syntax error, unexpected keyword_end, expecting end-of-input +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 08:56:56 -0700 + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:65: syntax error, unexpected keyword_end, expecting end-of-input): + +app/controllers/tasks_controller.rb:65: syntax error, unexpected keyword_end, expecting end-of-input +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 08:56:56 -0700 + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:65: syntax error, unexpected keyword_end, expecting end-of-input): + +app/controllers/tasks_controller.rb:65: syntax error, unexpected keyword_end, expecting end-of-input +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 08:56:57 -0700 + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:65: syntax error, unexpected keyword_end, expecting end-of-input): + +app/controllers/tasks_controller.rb:65: syntax error, unexpected keyword_end, expecting end-of-input +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 08:56:57 -0700 + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:65: syntax error, unexpected keyword_end, expecting end-of-input): + +app/controllers/tasks_controller.rb:65: syntax error, unexpected keyword_end, expecting end-of-input +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 08:56:58 -0700 + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/controllers/tasks_controller.rb:65: syntax error, unexpected keyword_end, expecting end-of-input): + +app/controllers/tasks_controller.rb:65: syntax error, unexpected keyword_end, expecting end-of-input +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 08:57:15 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (12.2ms) +Completed 200 OK in 30ms (Views: 26.2ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 08:57:16 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 56ms (Views: 35.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 09:30:41 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.7ms) +Completed 200 OK in 22ms (Views: 20.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 09:30:41 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 52ms (Views: 35.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 09:30:55 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 21ms (Views: 18.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 09:30:55 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.3ms) +Completed 200 OK in 56ms (Views: 37.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 10:20:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 22ms (Views: 19.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 10:20:26 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.7ms) +Completed 200 OK in 57ms (Views: 35.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 10:21:26 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.2ms) +Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/index.html.erb:11: syntax error, unexpected ',', expecting &. or :: or '[' or '.' +..._box, complete_task_path(task), method: :patch, data: {confi... +... ^): + +app/views/tasks/index.html.erb:11: syntax error, unexpected ',', expecting &. or :: or '[' or '.' +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 10:21:27 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.9ms) +Completed 500 Internal Server Error in 38ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/index.html.erb:11: syntax error, unexpected ',', expecting &. or :: or '[' or '.' +..._box, complete_task_path(task), method: :patch, data: {confi... +... ^): + +app/views/tasks/index.html.erb:11: syntax error, unexpected ',', expecting &. or :: or '[' or '.' +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 10:23:04 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.9ms) +Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/index.html.erb:11: syntax error, unexpected ',', expecting &. or :: or '[' or '.' +..._box, complete_task_path(task), method: :patch, data: {confi... +... ^): + +app/views/tasks/index.html.erb:11: syntax error, unexpected ',', expecting &. or :: or '[' or '.' +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 10:23:04 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.1ms) +Completed 500 Internal Server Error in 41ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/angelawilson/test/ADA/week-7/TaskList/app/views/tasks/index.html.erb:11: syntax error, unexpected ',', expecting &. or :: or '[' or '.' +..._box, complete_task_path(task), method: :patch, data: {confi... +... ^): + +app/views/tasks/index.html.erb:11: syntax error, unexpected ',', expecting &. or :: or '[' or '.' +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 10:23:33 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 22ms (Views: 19.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 10:23:33 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 55ms (Views: 37.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 10:24:59 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.0ms) +Completed 200 OK in 24ms (Views: 21.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 10:25:00 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.4ms) +Completed 200 OK in 54ms (Views: 36.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 10:26:09 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (13.6ms) +Completed 200 OK in 37ms (Views: 33.1ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 10:26:09 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.5ms) +Completed 200 OK in 56ms (Views: 36.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 10:26:43 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.6ms) +Completed 200 OK in 21ms (Views: 18.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 10:26:43 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 52ms (Views: 34.6ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-25 10:27:04 -0700 +Processing by TasksController#update as HTML + Parameters: {"authenticity_token"=>"P2YP5F09QmbM/qR9rUhCKyY134epycWSvZUCBPVMBxME9+cX3b0Drn+wOTGVkDdlT46FBvup5gnoW2PvjtNp3g==", "id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.3ms) + + + +NoMethodError (undefined method `[]' for nil:NilClass): + +app/controllers/tasks_controller.rb:42:in `update' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-25 10:27:05 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 72ms (Views: 50.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 10:30:20 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.9ms) +Completed 200 OK in 51ms (Views: 35.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 10:31:22 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.5ms) +Completed 200 OK in 22ms (Views: 18.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 10:31:22 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.7ms) +Completed 200 OK in 52ms (Views: 34.7ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-25 10:31:26 -0700 +Processing by TasksController#update as HTML + Parameters: {"authenticity_token"=>"zrtXsXnhsEgx+OGPvFKP1wfMHsrmS5kM1XdLdjvEV8/1Kr9C+WHxgIK2fMOEivqZbndES7QrupeAuSqdQFs5Ag==", "id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.2ms) + + + +NoMethodError (undefined method `[]' for nil:NilClass): + +app/controllers/tasks_controller.rb:42:in `update' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-25 10:31:27 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 53ms (Views: 33.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 10:31:33 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 55ms (Views: 36.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 10:31:33 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 49ms (Views: 32.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 10:31:39 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 23ms (Views: 20.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 10:31:39 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 58ms (Views: 41.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 10:31:40 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 59ms (Views: 42.2ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-25 10:31:43 -0700 +Processing by TasksController#update as HTML + Parameters: {"authenticity_token"=>"FMxNQLkEAjKooDa5aKZBkwdsxgn256H+/OQrLu/eF+gvXaWzOYRD+hvuq/VQfjTdbteciKSHgmWpKkrFlEF5JQ==", "id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.2ms) + + + +NoMethodError (undefined method `[]' for nil:NilClass): + +app/controllers/tasks_controller.rb:42:in `update' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-25 10:31:43 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 49ms (Views: 32.0ms | ActiveRecord: 0.1ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-25 11:33:24 -0700 +Processing by TasksController#update as HTML + Parameters: {"authenticity_token"=>"FMxNQLkEAjKooDa5aKZBkwdsxgn256H+/OQrLu/eF+gvXaWzOYRD+hvuq/VQfjTdbteciKSHgmWpKkrFlEF5JQ==", "id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms) + + + +NoMethodError (undefined method `[]' for nil:NilClass): + +app/controllers/tasks_controller.rb:42:in `update' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-25 11:33:24 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 47ms (Views: 29.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-25 11:33:27 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (20.6ms) +Completed 500 Internal Server Error in 56ms (ActiveRecord: 0.2ms) + + + +ActionView::Template::Error (undefined method `check_box' for "/tasks":ActiveSupport::SafeBuffer): + 8:
                  • + 9: <%= task.title %> + 10: Mark Completed + 11: <%= link_to.check_box "Mark Complete", complete_task_path(task), method: :patch, data: {confirm: "Completed?"} %> + 12: diff --git a/db/development.sqlite3 b/db/development.sqlite3 index 339541512916ebe2478da0b9ca1dfc476d8245ab..385168efbc3f1994a807af065cf624bbb9739d9e 100644 GIT binary patch delta 379 zcmZp8z}WDBae}lU2Ll5GI}pPF^F$qENe%`*RtH|bg$!&wrx^Ht^R484!WYMLig)&A zL4_cm&3AdOGcqwSOy0&9!Q8~excN3W6C)Qd&;&;QB@FyafQn}Er$sSxGKlhvDmpqU zmgg5`mw*T(14DCN14~_F0~pK5Qo+#F%E$nS^o)#*EX~Z&WDKng4fPBRjLZ#?WFU5Z zW8nV=wCf4~!~hO44n}5i&XUC9>|&546aO6s{&)O$fYKNE4Fs5&G(pB1SQ;4`nggM+ z03%$))X>7j#K3?Htm`%d|84$vKwangRfL!|8BujH2{LPPLWLmOHvjj(#;f*p7{|xiye)L&w53`qQ94PA)KwGL_ISLuFVxT#RHR9pCK6E(D`)LAOLo_( z*Bjc1OAB9t3m<}BKtiYzSH!soB;YGlfP}d6%x+?Pv)NRF9-{Ji-^TOI{O5Uo^Ae3? z`OfXddK}QrFlu@+Wn`L261hexA>;5dgv9wzGpt3@5t=zcjuB_9KD(lo;TV1}f1eI=9 zmR9M~GJMt+7w4g7J#GZEbk~b&TV4biwXnGZEd?O75r&PxYeA+Tv};j)C$5LBY+1h( zRDCao`r=zujsi&dRWI&k#r0;8ZLPB-3J$jmYc=D6I4?a~8k;C`EgslUOmdus&-WF#Dm;K@#aY+7gsa*>)|fm+CdEX#H8Nhjaz$G2#n7YC4(@k?RxQ|vb8wpL z^Z$_Xa?5K5^H8(|qJKWx-k&-Ae=u`Og~IP-;?y%T^`ZR5)DML(Wmd3GJlaxVq%~5qn zw-v)M%9=6Uvi7FXEcR)7{`M!SteLH>I*dE2p>RX9&0{Q;;v_jw&Jx#+BX2io?CtF( zGK^}bqm><9Rk&)KHXCj!JkNbq?8>woL9jEZVmO+qFpZl=>P$~RW4V5Ak{qX^mL0|v zm0M+1@AoBZx&ForRrIoAnVf0rfJ$O<&kB_SfaykbsG#X^OHpk@)A(?Udqzl*BP5{9 zx$Qt(AW*igjKm>}d-??uTmcVkOB<9pu(;F5NobB{D=ITMOGhQ6!i$Wh@LYO2JP;_T zDWjNhA-6>!zbyFzGZ{E0Qu@aorLfrg5Xp)5W5^ej!iJ^~7tT zAH@FFQPP}hHsEv&uBZmLdCJPUIQ zVLn+;ViT=o*8iGVx}>vNw_^J^h(( z1Dl;zyz!8>g9r1}k2?3-^HhxBD6DNSKw=>Z8;zj=;m?GvFx_B0T||1Z!Q!tgwgsaw zomad7!AbI81m1Wc0VIF~kN^@u0!RP}AOR$R1dsp{KmxB4fxMI}O5HnusM!CH%HI+B zx%{jA6D06J0!RP}AOR$R1dsp{Kmter2_OL^fCNqqf$7nalDG#zwRN~@#V}NLI+x_Y zT}bd^(<6O32DhfABuCYmsxtL8h-g&)R_yc=&_n z7)*hOCFn-_T$BNe`2W8o|3To52NFO6NB{{S0VIF~kN^@u0!RP}AOR%sst}mU&E+$f G5B>qdn=|zQ diff --git a/db/migrate/20170921171458_remove_tasks_table.rb b/db/migrate/20170921171458_remove_tasks_table.rb deleted file mode 100644 index 30d1d816d..000000000 --- a/db/migrate/20170921171458_remove_tasks_table.rb +++ /dev/null @@ -1,5 +0,0 @@ -class RemoveTasksTable < ActiveRecord::Migration[5.1] - def change - drop_table :tasks - end -end diff --git a/db/test.sqlite3 b/db/test.sqlite3 index 6f69e533f274fc1c901113f153a0e9cfe709b6b7..573bd5e2babbd1550807c6560c1cbc67569834cc 100644 GIT binary patch delta 277 zcmZp8z}WDBae_1>+e8^>Nj3&ORtH|bg$!&wrx^Ht^R484!WYMLig)(L#vq=}cXS<>%+5Cgx49>qHr6Nmd3uRtH|bEevctcNzHk`1bIA=PTs7%e!u~pg=0m=2JX| zOk9omjO^m#;*8CS<>%+5Cgx3!;&t34 zz@os$$p4Ok{~gejC;T!3j7*wF28QMamPQ6f#s&t)23!mb3`i;j1(`KDQB-XH?|+S7 k%TU3f-VgLXD diff --git a/log/development.log b/log/development.log index 953a3564c..1c351ce62 100644 --- a/log/development.log +++ b/log/development.log @@ -14902,3 +14902,447 @@ Completed 200 OK in 101ms (Views: 74.9ms | ActiveRecord: 0.2ms) Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 32], ["LIMIT", 1]] +  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] +  (0.3ms) DROP TABLE IF EXISTS "tasks" +  (0.1ms) SELECT sqlite_version(*) +  (1.9ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "completed" boolean, "description" varchar, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "date_completed" date) +  (1.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES (20170925184400) +  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES +(20170921171713); + + +  (1.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2017-09-29 02:44:29.372254"], ["updated_at", "2017-09-29 02:44:29.372254"]] +  (1.0ms) commit transaction + ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.4ms) DROP TABLE IF EXISTS "tasks" +  (0.5ms) SELECT sqlite_version(*) +  (2.0ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "completed" boolean, "description" varchar, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "date_completed" date) +  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) +  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES (20170925184400) +  (3.1ms) INSERT INTO "schema_migrations" (version) VALUES +(20170921171713); + + +  (2.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2017-09-29 02:44:29.408768"], ["updated_at", "2017-09-29 02:44:29.408768"]] +  (1.4ms) commit transaction + ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 31], ["LIMIT", 1]] +Started GET "/tasks/32" for 127.0.0.1 at 2017-09-28 19:45:09 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"32"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 32], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.5ms) +Completed 200 OK in 44ms (Views: 40.9ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/32" for 127.0.0.1 at 2017-09-28 19:45:09 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"32"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 32], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.2ms) +Completed 200 OK in 76ms (Views: 40.2ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/32" for 127.0.0.1 at 2017-09-28 19:45:09 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"32"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 32], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 56ms (Views: 37.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/32" for 127.0.0.1 at 2017-09-28 19:45:09 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"32"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 32], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 68ms (Views: 47.5ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/32" for 127.0.0.1 at 2017-09-28 19:45:09 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"32"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 32], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 58ms (Views: 37.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-28 19:45:12 -0700 +Processing by TasksController#index as */* +Started GET "/tasks" for 127.0.0.1 at 2017-09-28 19:45:12 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (26.1ms) + Rendering tasks/index.html.erb within layouts/application + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" +Completed 200 OK in 82ms (Views: 63.8ms | ActiveRecord: 0.4ms) + + + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 118ms (Views: 50.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-28 19:45:12 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.8ms) +Completed 200 OK in 75ms (Views: 50.7ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-28 19:45:12 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 73ms (Views: 49.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/31" for 127.0.0.1 at 2017-09-28 19:45:13 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"31"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 31], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.5ms) +Completed 200 OK in 55ms (Views: 48.9ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/31" for 127.0.0.1 at 2017-09-28 19:45:13 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"31"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 31], ["LIMIT", 1]] +Completed 404 Not Found in 3ms (ActiveRecord: 0.4ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=31): + +app/controllers/tasks_controller.rb:31:in `show' +Started GET "/tasks/31" for 127.0.0.1 at 2017-09-28 19:45:14 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"31"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 31], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.3ms) +Completed 200 OK in 91ms (Views: 58.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/31" for 127.0.0.1 at 2017-09-28 19:45:14 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"31"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 31], ["LIMIT", 1]] +Completed 404 Not Found in 2ms (ActiveRecord: 0.2ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=31): + +app/controllers/tasks_controller.rb:31:in `show' +Started GET "/tasks/31" for 127.0.0.1 at 2017-09-28 19:45:15 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"31"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 31], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.4ms) +Completed 200 OK in 139ms (Views: 89.7ms | ActiveRecord: 0.2ms) + + + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 32], ["LIMIT", 1]] +Started GET "/tasks" for 127.0.0.1 at 2017-09-28 19:48:40 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 36ms (Views: 33.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-28 19:48:40 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.0ms) +Completed 200 OK in 68ms (Views: 43.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-28 19:48:40 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 53ms (Views: 35.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-28 19:48:40 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (6.5ms) +Completed 200 OK in 74ms (Views: 51.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-28 19:48:40 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 68ms (Views: 50.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-28 19:48:40 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.8ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (7.1ms) +Completed 200 OK in 78ms (Views: 51.0ms | ActiveRecord: 0.8ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-28 19:48:40 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 70ms (Views: 43.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-28 19:48:54 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (5.2ms) + Rendered tasks/new.html.erb within layouts/application (10.7ms) +Completed 200 OK in 48ms (Views: 45.7ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-28 19:48:54 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.9ms) + Rendered tasks/new.html.erb within layouts/application (26.3ms) +Completed 200 OK in 86ms (Views: 63.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-28 19:48:54 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (2.6ms) + Rendered tasks/new.html.erb within layouts/application (22.8ms) +Completed 200 OK in 81ms (Views: 63.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-28 19:48:54 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (3.0ms) + Rendered tasks/new.html.erb within layouts/application (24.4ms) +Completed 200 OK in 76ms (Views: 58.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-28 19:48:54 -0700 +Processing by TasksController#new as */* + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/_form.html.erb (3.9ms) + Rendered tasks/new.html.erb within layouts/application (26.2ms) +Completed 200 OK in 82ms (Views: 64.1ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-28 19:49:07 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"oDnZevsA2ZzE4dQ3UxkVyhAtSoB6kcPkzodUMgOIBF2bn5KpI3MgtXrUvRifMIsy8m2A/cPXu0+ayO6u7vGPaw==", "task"=>{"title"=>"work", "description"=>"work", "due_date"=>"2017-09-30", "completed"=>"0"}, "commit"=>"Create My Task"} +  (0.1ms) begin transaction + SQL (0.6ms) INSERT INTO "tasks" ("title", "completed", "description", "due_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["title", "work"], ["completed", "f"], ["description", "work"], ["due_date", "2017-09-30"], ["created_at", "2017-09-29 02:49:07.039629"], ["updated_at", "2017-09-29 02:49:07.039629"]] +  (0.1ms) rollback transaction +Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.8ms) + + + +ActiveRecord::StatementInvalid (SQLite3::ReadOnlyException: attempt to write a readonly database: INSERT INTO "tasks" ("title", "completed", "description", "due_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)): + +app/controllers/tasks_controller.rb:25:in `create' +Started GET "/tasks" for 127.0.0.1 at 2017-09-28 19:49:07 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 51ms (Views: 29.7ms | ActiveRecord: 0.4ms) + + +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Started POST "/tasks" for 127.0.0.1 at 2017-09-29 08:20:19 -0700 +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"oDnZevsA2ZzE4dQ3UxkVyhAtSoB6kcPkzodUMgOIBF2bn5KpI3MgtXrUvRifMIsy8m2A/cPXu0+ayO6u7vGPaw==", "task"=>{"title"=>"work", "description"=>"work", "due_date"=>"2017-09-30", "completed"=>"0"}, "commit"=>"Create My Task"} +  (0.1ms) begin transaction + SQL (2.2ms) INSERT INTO "tasks" ("title", "completed", "description", "due_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["title", "work"], ["completed", "f"], ["description", "work"], ["due_date", "2017-09-30"], ["created_at", "2017-09-29 15:20:20.222966"], ["updated_at", "2017-09-29 15:20:20.222966"]] +  (1.4ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 50ms (ActiveRecord: 4.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-29 08:20:20 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (5.2ms) +Completed 200 OK in 488ms (Views: 484.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-29 08:20:21 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 76ms (Views: 57.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-29 08:20:27 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 66ms (Views: 20.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-29 08:20:28 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 67ms (Views: 36.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-29 08:20:28 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["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 60ms (Views: 38.4ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-29 08:20:28 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 61ms (Views: 40.8ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-29 08:20:28 -0700 +Processing by TasksController#show as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.5ms) +Completed 200 OK in 58ms (Views: 36.2ms | ActiveRecord: 0.2ms) + + + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-29 08:21:05 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (1028.3ms) + Rendered tasks/edit.html.erb within layouts/application (1031.5ms) +Completed 200 OK in 1056ms (Views: 1053.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-29 08:21:06 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (3.4ms) + Rendered tasks/edit.html.erb within layouts/application (27.8ms) +Completed 200 OK in 103ms (Views: 73.2ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-29 08:21:06 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (7.7ms) + Rendered tasks/edit.html.erb within layouts/application (27.9ms) +Completed 200 OK in 111ms (Views: 86.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-29 08:21:06 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (8.9ms) + Rendered tasks/edit.html.erb within layouts/application (30.1ms) +Completed 200 OK in 107ms (Views: 85.3ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-29 08:21:06 -0700 +Processing by TasksController#edit as */* + Parameters: {"id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/_form.html.erb (3.3ms) + Rendered tasks/edit.html.erb within layouts/application (23.9ms) +Completed 200 OK in 93ms (Views: 72.5ms | ActiveRecord: 0.1ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-29 08:21:10 -0700 +Processing by TasksController#complete? as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"Id1p44Fm8YyQ0cricxpmw1PBOyL1pxcakKBtnAWiabCRFNhHpN/QNU4hJrH1iqeepbyrM8UfQDBvtglOk0ASvw==", "task"=>{"title"=>"work", "description"=>"work", "due_date"=>"2017-09-30", "completed"=>"1"}, "commit"=>"Edit My Task", "id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.5ms) UPDATE "tasks" SET "completed" = ?, "date_completed" = ?, "updated_at" = ? WHERE "tasks"."id" = ? [["completed", "t"], ["date_completed", "2017-09-29"], ["updated_at", "2017-09-29 15:21:11.002706"], ["id", 1]] +  (18.8ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 24ms (ActiveRecord: 19.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-29 08:21:11 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 21ms (Views: 18.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-29 08:21:11 -0700 +Processing by TasksController#index as */* + Rendering tasks/index.html.erb within layouts/application + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (2.9ms) +Completed 200 OK in 55ms (Views: 36.6ms | ActiveRecord: 0.3ms) + + + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]